diff --git a/src/App.vue b/src/App.vue index 7abf926..a68093d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -90,17 +90,20 @@ const getThemeOverrides = computed(() => { // transform: rotate(-90deg) !important; // } .n-scrollbar-content { - padding: 0 7.97px 0 4px; + padding: 0 7.97px 16 16px; } .n-form-item .n-form-item-label { font-size: 14px !important; color: #333333 !important; } -.n-slider-dots > .n-slider-dot:nth-child(2) { +.n-slider-dots > .n-slider-dot { display: none !important; } .n-collapse-item-arrow i svg { width: 14px !important; height: 14px !important; } +.v-binder-follower-content { + left: -60px; +} diff --git a/src/api/task/task.ts b/src/api/task/task.ts index 5087c50..395607b 100644 --- a/src/api/task/task.ts +++ b/src/api/task/task.ts @@ -28,7 +28,7 @@ export async function getApprovalList(page: any) { /** * 审核 - * @param param + * @param params */ export async function audit(params) { return http.request({ @@ -82,8 +82,6 @@ export async function removeFiles(params) { /** * 获取某个任务详情(相似图片列表) - * @param packageid 任务包id - * @param taskchildpictureid 任务详情的id * @param params * @returns */ diff --git a/src/components/DataHeader/index.vue b/src/components/DataHeader/index.vue index 5c58b41..da586cc 100644 --- a/src/components/DataHeader/index.vue +++ b/src/components/DataHeader/index.vue @@ -1,29 +1,68 @@ - - - - - - {{ item.count }} - - - {{ item.title }} + + + + + + + {{ item.count }} + + + {{ item.title }} + + @@ -99,41 +148,48 @@ async function getData() { align-items: center; justify-content: space-between; padding: 1rem 1rem 1rem 3.125rem; - background: #fff; + background: #f5f7f9; margin-bottom: 1rem; - - .header_item { - min-width: 10%; + // 180-62 header + padding-left: 2.125rem; + .header_box { display: flex; flex-flow: row nowrap; align-items: center; justify-content: center; - svg { - width: 2.75rem !important; - height: 2.75rem !important; - } - .data_wrap { - margin-left: 0.8125rem; - .data_title { - font-size: 1.125rem; - font-family: HarmonyOS Sans SC, HarmonyOS Sans SC-Bold; - font-weight: 900; - text-align: left; - color: #202020; - line-height: 1.4375rem; - text-align: center; - white-space: nowrap; + min-width: 10%; + .header_item { + display: flex; + flex-flow: row nowrap; + align-items: center; + justify-content: center; + svg { + width: 2.75rem !important; + height: 2.75rem !important; } - .data_content { - opacity: 0.6; - font-size: 0.75rem; - font-family: PingFang SC, PingFang SC-Regular; - font-weight: 500; - text-align: center; - color: #202020; - line-height: 1rem; - text-align: center; - white-space: nowrap; + .data_wrap { + margin-left: 0.75rem; + .data_title { + font-size: 1.125rem; + font-family: HarmonyOS Sans SC, HarmonyOS Sans SC-Bold; + font-weight: 900; + text-align: left; + color: #202020; + line-height: 1.4375rem; + text-align: center; + white-space: nowrap; + } + .data_content { + opacity: 0.6; + font-size: 0.75rem; + font-family: PingFang SC, PingFang SC-Regular; + font-weight: 500; + text-align: center; + color: #202020; + line-height: 1rem; + text-align: center; + white-space: nowrap; + } } } } @@ -142,4 +198,9 @@ async function getData() { width: 1rem !important; height: 1rem !important; } +.line { + width: 0.0625rem; + height: 1.25rem; + background: #e8e8e8; +} diff --git a/src/components/RichEditor/Quill.vue b/src/components/RichEditor/Quill.vue index c87d0ef..0e03ce6 100644 --- a/src/components/RichEditor/Quill.vue +++ b/src/components/RichEditor/Quill.vue @@ -88,9 +88,9 @@ const saveHandler = debounce(() => { .title { font-size: 18px; font-family: PingFang SC, PingFang SC-Medium; - font-weight: Medium; color: #333333; margin-bottom: 24px; + font-weight: 500; } .ql-toolbar.ql-snow { diff --git a/src/components/Search/Search.vue b/src/components/Search/Search.vue index 2d31538..f422b1b 100644 --- a/src/components/Search/Search.vue +++ b/src/components/Search/Search.vue @@ -107,12 +107,19 @@ onMounted(() => { - + @@ -159,7 +166,7 @@ onMounted(() => { class="list_item" @click="goPath(item, sitem.id)" > - + @@ -169,10 +176,11 @@ onMounted(() => { diff --git a/src/views/home/content/Content.vue b/src/views/home/content/Content.vue index 3d0d0e1..cc2bd83 100644 --- a/src/views/home/content/Content.vue +++ b/src/views/home/content/Content.vue @@ -27,6 +27,9 @@ import GeneratePackageModal from './modal/GeneratePackageModal.vue' import LoginSuccessModal from './modal/LoginSuccessModal.vue' import PackageSettingsModal from './modal/PackageSettingsModal.vue' import QueryRepeatedTasksModal from './modal/QueryRepeatedTasksModal.vue' +import type { PictureSortParam } from '/#/api' +import defaultAvatar from '@/assets/icons/avatar.svg' +import baseImg from '@/assets/images/baseImg.png' import { getImgUrl } from '@/utils/urlUtils' import emitter from '@/utils/mitt' import { hideDownload } from '@/utils/image' @@ -44,11 +47,12 @@ import { queryPageListByCheckNo, removeCheckDuplicate, } from '@/api/home/main' -import type { PictureSortParam } from '/#/api' -import defaultAvatar from '@/assets/icons/avatar.svg' -import baseImg from '@/assets/images/baseImg.png' + import bgLoading from '@/assets/images/bg-loading.png' +const listData = ref([]) +const timer = ref() +const showClose = ref(false) const deviceHeight = ref(600) let _masonry: null | Masonry = null let _imagesload: any @@ -165,13 +169,11 @@ configStore.$subscribe(() => { console.log('subscribe', 'configStore') isAllowDownload.value = configStore.isAllowDownload calNum.value = configStore.getTimeNum - // console.log("calNum.value----------", calNum.value) + // console.log("calNum.value----------", calNum.value); searchValue.value = configStore.getSearchValue console.log(configStore.getSearchValue, 'getSearchValue') }) -const listData = ref([]) - watch( () => searchValue.value, async (newVal, oldVal) => { @@ -181,7 +183,7 @@ watch( const more = await featchList() listData.value = more isInitSeaerch.value = false - // configStore.setSearchValue("") + // configStore.setSearchValue(""); } else { isInitSeaerch.value = true @@ -293,8 +295,6 @@ const gridHeight = computed(() => { return height }) -const timer = ref() - async function oneCheck() { const asideVal = cloneDeep(configStore.getAsideValue) asideVal.upUserName = searchValue.value @@ -580,7 +580,10 @@ function refresh(val?: any) { }) } } -function cancel(val) { +/** + * 取消查重任务 + */ +function cancel() { if (checkTaskStatus.value === 1) { removeCheckDuplicate(checkDuplicateNo.value).then((res) => { if (res.code === 'OK') { @@ -618,11 +621,6 @@ const dropdownOptions = ref([ }, ]) -function loadImgOver(item) { - console.log('loadImgOver', item) - setTimeout(() => (item.loadOver = true), 2000) -} - defineExpose({ showLoginSuccessModal, }) @@ -672,7 +670,7 @@ defineExpose({ 视图 - + 时间排序 - + 相似度排序 - + 共 {{ totalCount }} 项 + @@ -708,10 +707,16 @@ defineExpose({ class="wrapper-content-item-img" :class="{ 'wrapper-content-item-img-fit': viewMode !== 'masonry' }" :src="item.imgUrl" > --> + {{ item.imgName }} + @@ -934,6 +944,7 @@ defineExpose({ overflow: hidden; position: relative; transition: 0.5s; + margin: 0 6px 10px 6px; .tag-status { width: 46px; @@ -968,7 +979,9 @@ defineExpose({ border-radius: 7px; .img-name { - width: 70%; + // width: 70%; + width: 15px; + height: 15px; color: #fff; /* 设置文本溢出时的样式为省略号 */ text-overflow: ellipsis; @@ -1082,4 +1095,10 @@ defineExpose({ text-align: center; } } +.close_box { + position: absolute; + right: 10%; + top: 20%; + z-index: 10000000000000000000; +} diff --git a/src/views/home/content/modal/PackageSettingsModal.vue b/src/views/home/content/modal/PackageSettingsModal.vue index 0127675..e592eb5 100644 --- a/src/views/home/content/modal/PackageSettingsModal.vue +++ b/src/views/home/content/modal/PackageSettingsModal.vue @@ -1,7 +1,7 @@ @@ -58,13 +58,13 @@ configStore.$subscribe(() => { - 正在查重中 + 正在查重中 @@ -74,10 +74,22 @@ configStore.$subscribe(() => { diff --git a/src/views/task/aside/TaskList.vue b/src/views/task/aside/TaskList.vue index 024f8d4..9575e57 100644 --- a/src/views/task/aside/TaskList.vue +++ b/src/views/task/aside/TaskList.vue @@ -1,101 +1,101 @@