From 14eca9aff2d56898eae3e85dcfd2a1e2f066e841 Mon Sep 17 00:00:00 2001 From: "X1627315083@163.com" <1627315083@qq.com> Date: Tue, 5 May 2026 13:33:51 +0800 Subject: [PATCH 1/9] fix --- src/router/index.ts | 1 - .../SellerDashboard/MyListings/createSelectItem/index.vue | 5 +++-- src/views/SellerDashboard/MyListings/main/content.vue | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index b7e7601d..2d558328 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -283,7 +283,6 @@ const routes: Array = [ name: "myListingsSelectItem", meta: { enter: "all", - cache: true, sellerHeaderTitleKey: "Seller.SelectCollection", sellerBreadcrumbs: [ myListingsBreadcrumb, diff --git a/src/views/SellerDashboard/MyListings/createSelectItem/index.vue b/src/views/SellerDashboard/MyListings/createSelectItem/index.vue index bfb90480..f0c8cfae 100644 --- a/src/views/SellerDashboard/MyListings/createSelectItem/index.vue +++ b/src/views/SellerDashboard/MyListings/createSelectItem/index.vue @@ -147,9 +147,10 @@ onMounted(()=>{ // 开始监听 if(resizeObserver)resizeObserver.observe(listingsBoxRef.value) }) + chooseList.value = [] + getCollectionDetail() }) onActivated(()=>{ - getCollectionDetail() }) onUnmounted(()=>{ }) @@ -370,7 +371,7 @@ const {} = toRefs(data); } > img{ height: 100%; - object-fit: cover; + object-fit: contain; } &.active{ border: 1.5px solid #000; diff --git a/src/views/SellerDashboard/MyListings/main/content.vue b/src/views/SellerDashboard/MyListings/main/content.vue index d6b44f4d..486b18fa 100644 --- a/src/views/SellerDashboard/MyListings/main/content.vue +++ b/src/views/SellerDashboard/MyListings/main/content.vue @@ -157,7 +157,7 @@ const draftListing = async (item: any)=>{ list2.value.unshift(item) list.value = list.value.filter((v: any)=>v.id != item.id) }) - message.success(t('Seller.draftMessage')) + message.success($t('Seller.draftMessage')) } const publishListing = async (item: any)=>{ @@ -165,7 +165,7 @@ const publishListing = async (item: any)=>{ list.value.unshift(item) list2.value = list2.value.filter((v: any)=>v.id != item.id) }) - message.success(t('Seller.publishMessage')) + message.success($t('Seller.publishMessage')) } const editListing = (item: any)=>{ From 5f4656c6299c8b67b06708a7a3bd443e4c07defb Mon Sep 17 00:00:00 2001 From: "X1627315083@163.com" <1627315083@qq.com> Date: Tue, 5 May 2026 13:38:43 +0800 Subject: [PATCH 2/9] fix --- src/views/SellerDashboard/MyListings/createSelectItem/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/SellerDashboard/MyListings/createSelectItem/index.vue b/src/views/SellerDashboard/MyListings/createSelectItem/index.vue index f0c8cfae..77bfafd4 100644 --- a/src/views/SellerDashboard/MyListings/createSelectItem/index.vue +++ b/src/views/SellerDashboard/MyListings/createSelectItem/index.vue @@ -371,6 +371,7 @@ const {} = toRefs(data); } > img{ height: 100%; + width: 100%; object-fit: contain; } &.active{ From e20092c77fcfc3cca4d862e9ddc2a209b73bb3fb Mon Sep 17 00:00:00 2001 From: "X1627315083@163.com" <1627315083@qq.com> Date: Tue, 5 May 2026 13:41:18 +0800 Subject: [PATCH 3/9] fix --- .env.dev_build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.dev_build b/.env.dev_build index a25d8b1c..3f14d652 100644 --- a/.env.dev_build +++ b/.env.dev_build @@ -3,6 +3,6 @@ VITE_USER_NODE_ENV = 'development_cloud' # VITE_APP_BASE_URL = 'http://18.167.251.121:10088' # VITE_APP_BASE_URL = 'https://api.aida.com.hk' # VITE_APP_BASE_URL = 'https://develop.api.aida.com.hk' -VITE_APP_BASE_URL = 'https://develop-ms.api.aida.com.hk' +VITE_APP_BASE_URL = 'https://www.develop-ms.api.aida.com.hk/' # VITE_APP_BASE_URL = 'http://localhost:22170' From 4a11d172d2ae0aaa0b7a2aec0b1502c367b70417 Mon Sep 17 00:00:00 2001 From: "X1627315083@163.com" <1627315083@qq.com> Date: Tue, 5 May 2026 14:27:59 +0800 Subject: [PATCH 4/9] fix --- .env.dev_build | 4 ++-- .gitignore | 4 +++- .../MyListings/EditDetail/components/ApparelSketchList.vue | 2 ++ .../MyListings/EditDetail/components/ProductImageList.vue | 2 ++ src/views/SellerDashboard/seller-header.vue | 5 +++-- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.env.dev_build b/.env.dev_build index 3f14d652..3b695a10 100644 --- a/.env.dev_build +++ b/.env.dev_build @@ -2,7 +2,7 @@ VITE_USER_NODE_ENV = 'development_cloud' # VITE_APP_BASE_URL = 'https://aida.com.hk/test' # VITE_APP_BASE_URL = 'http://18.167.251.121:10088' # VITE_APP_BASE_URL = 'https://api.aida.com.hk' -# VITE_APP_BASE_URL = 'https://develop.api.aida.com.hk' -VITE_APP_BASE_URL = 'https://www.develop-ms.api.aida.com.hk/' +VITE_APP_BASE_URL = 'https://develop.api.aida.com.hk' +# VITE_APP_BASE_URL = 'https://www.develop-ms.api.aida.com.hk/' # VITE_APP_BASE_URL = 'http://localhost:22170' diff --git a/.gitignore b/.gitignore index 97c229d8..cbc6cb77 100644 --- a/.gitignore +++ b/.gitignore @@ -24,4 +24,6 @@ dist.rar *.sw? .eslintrc-auto-import.json components.d.ts -.cursor \ No newline at end of file +.cursor +*.zip +*.7z \ No newline at end of file diff --git a/src/views/SellerDashboard/MyListings/EditDetail/components/ApparelSketchList.vue b/src/views/SellerDashboard/MyListings/EditDetail/components/ApparelSketchList.vue index 2379ea97..0ce7fc90 100644 --- a/src/views/SellerDashboard/MyListings/EditDetail/components/ApparelSketchList.vue +++ b/src/views/SellerDashboard/MyListings/EditDetail/components/ApparelSketchList.vue @@ -71,6 +71,8 @@ .img-src { width: 100%; + height: 100%; + object-fit: contain; } .crop-tool { diff --git a/src/views/SellerDashboard/MyListings/EditDetail/components/ProductImageList.vue b/src/views/SellerDashboard/MyListings/EditDetail/components/ProductImageList.vue index 3f2b5593..b25023ac 100644 --- a/src/views/SellerDashboard/MyListings/EditDetail/components/ProductImageList.vue +++ b/src/views/SellerDashboard/MyListings/EditDetail/components/ProductImageList.vue @@ -130,7 +130,9 @@ } .img-src { + width: 100%; height: 100%; + object-fit: contain; } .main-pic { diff --git a/src/views/SellerDashboard/seller-header.vue b/src/views/SellerDashboard/seller-header.vue index fb17442f..dd159c10 100644 --- a/src/views/SellerDashboard/seller-header.vue +++ b/src/views/SellerDashboard/seller-header.vue @@ -108,8 +108,9 @@ } const resolveTitle = (title?: RouteMetaValue, titleKey?: RouteMetaValue) => { - const key = resolveMetaValue(titleKey) - return title ? t(title) || "" : "" + let key = title || titleKey + // const key = resolveMetaValue(titleKey) + return key ? t(key) || "" : "" } const autoBreadcrumbs = computed(() => { From d4e9462d394d581fee0b03e8cbc9ed3fed97244c Mon Sep 17 00:00:00 2001 From: "X1627315083@163.com" <1627315083@qq.com> Date: Tue, 5 May 2026 14:34:12 +0800 Subject: [PATCH 5/9] fix --- .../Detail/detailLeft/module/uploadList.vue | 2 +- src/component/HomePage/Generate.vue | 4 +- .../HomePage/MarketingSketchUpload.vue | 2 +- src/component/HomePage/Upload.vue | 2 +- src/component/HomePage/layout.vue | 2 +- src/component/LibraryPage/createBrand.vue | 2 +- .../home/batchGeneration/createCloud.vue | 4 +- .../design/collection/MoodboardUpload.vue | 2 +- .../design/collection/PrintboardUpload.vue | 6 +- .../design/collection/SketchboardUpload.vue | 2 +- .../home/tools/deReconstruction/index.vue | 2 +- .../home/tools/patternMaking3D/three.vue | 2 +- .../home/tools/poseTransfer/index.vue | 4 +- src/component/home/tools/toProduct/index.vue | 2 +- src/tool/https.js | 528 +++++++++--------- src/views/HomeView/library.vue | 4 +- .../MyListings/EditDetail/api.ts | 2 +- 17 files changed, 286 insertions(+), 286 deletions(-) diff --git a/src/component/Detail/detailLeft/module/uploadList.vue b/src/component/Detail/detailLeft/module/uploadList.vue index de9737b4..4e36788c 100644 --- a/src/component/Detail/detailLeft/module/uploadList.vue +++ b/src/component/Detail/detailLeft/module/uploadList.vue @@ -12,7 +12,7 @@
- + { if (rv) { for(let file of this.fileList){ @@ -491,7 +491,7 @@ export default defineComponent({ } this.isUpload = true const hide = message.loading('loading', 0); - Https.axiosPost('/aida/api/element/upload', new_data,{headers:{'Content-Type': 'multipart/form-data'}}).then( + Https.axiosPost('/api/element/upload', new_data,{headers:{'Content-Type': 'multipart/form-data'}}).then( (rv: any) => { for(let file of this.fileList){ if(fileData.uid === file.uid){ diff --git a/src/component/home/design/collection/SketchboardUpload.vue b/src/component/home/design/collection/SketchboardUpload.vue index 3c127296..7db1638c 100644 --- a/src/component/home/design/collection/SketchboardUpload.vue +++ b/src/component/home/design/collection/SketchboardUpload.vue @@ -70,7 +70,7 @@ v-show="sketchboardList.length < 20" >
--> - + @@ -28,6 +29,7 @@ const route = useRoute() const router = useRouter() const store = useStore() + const userId = computed(() => store.state.UserHabit.userDetail.userId) const applyStatus = computed(() => store.state.seller.applyStatus) const list = computed(() => [ { From a1e071f7bc76444a68820d0ba4ac7227c5129e04 Mon Sep 17 00:00:00 2001 From: "X1627315083@163.com" <1627315083@qq.com> Date: Tue, 5 May 2026 14:41:14 +0800 Subject: [PATCH 7/9] fix --- .env.dev_build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.dev_build b/.env.dev_build index 3b695a10..83dcc9e7 100644 --- a/.env.dev_build +++ b/.env.dev_build @@ -2,7 +2,7 @@ VITE_USER_NODE_ENV = 'development_cloud' # VITE_APP_BASE_URL = 'https://aida.com.hk/test' # VITE_APP_BASE_URL = 'http://18.167.251.121:10088' # VITE_APP_BASE_URL = 'https://api.aida.com.hk' -VITE_APP_BASE_URL = 'https://develop.api.aida.com.hk' +VITE_APP_BASE_URL = 'https://develop.api.aida.com.hk/' # VITE_APP_BASE_URL = 'https://www.develop-ms.api.aida.com.hk/' # VITE_APP_BASE_URL = 'http://localhost:22170' From e7b052f10043b62bdf9cf66bd9652d955e8c1f91 Mon Sep 17 00:00:00 2001 From: "X1627315083@163.com" <1627315083@qq.com> Date: Tue, 5 May 2026 14:43:00 +0800 Subject: [PATCH 8/9] fix --- src/store/seller/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/store/seller/index.ts b/src/store/seller/index.ts index 39ff178b..0600b73b 100644 --- a/src/store/seller/index.ts +++ b/src/store/seller/index.ts @@ -76,9 +76,9 @@ const seller: Module = { actions: { get_isSeller({ commit }) { - Https.axiosGet(Https.httpUrls.checkSellerDesigner).then(rv => { - commit('set_isSeller', !!rv) - }) + // Https.axiosGet(Https.httpUrls.checkSellerDesigner).then(rv => { + // commit('set_isSeller', !!rv) + // }) }, async get_designerInfo({ commit }) { const rv = await Https.axiosGet(Https.httpUrls.getDesignerInfo) From 1f413b36ca3daa8ef131ead74e16e26b01552c11 Mon Sep 17 00:00:00 2001 From: "X1627315083@163.com" <1627315083@qq.com> Date: Tue, 5 May 2026 14:53:49 +0800 Subject: [PATCH 9/9] fix --- .env.dev_build | 4 +- .../Detail/detailLeft/module/uploadList.vue | 2 +- src/component/HomePage/Generate.vue | 4 +- .../HomePage/MarketingSketchUpload.vue | 2 +- src/component/HomePage/Upload.vue | 2 +- src/component/HomePage/layout.vue | 2 +- src/component/LibraryPage/createBrand.vue | 2 +- .../home/batchGeneration/createCloud.vue | 4 +- .../design/collection/MoodboardUpload.vue | 2 +- .../design/collection/PrintboardUpload.vue | 6 +- .../design/collection/SketchboardUpload.vue | 2 +- .../home/tools/deReconstruction/index.vue | 2 +- .../home/tools/patternMaking3D/three.vue | 2 +- .../home/tools/poseTransfer/index.vue | 4 +- src/component/home/tools/toProduct/index.vue | 2 +- src/store/seller/index.ts | 6 +- src/tool/https.js | 528 +++++++++--------- src/views/HomeView/library.vue | 4 +- .../MyListings/EditDetail/api.ts | 2 +- 19 files changed, 291 insertions(+), 291 deletions(-) diff --git a/.env.dev_build b/.env.dev_build index 83dcc9e7..eb405885 100644 --- a/.env.dev_build +++ b/.env.dev_build @@ -2,7 +2,7 @@ VITE_USER_NODE_ENV = 'development_cloud' # VITE_APP_BASE_URL = 'https://aida.com.hk/test' # VITE_APP_BASE_URL = 'http://18.167.251.121:10088' # VITE_APP_BASE_URL = 'https://api.aida.com.hk' -VITE_APP_BASE_URL = 'https://develop.api.aida.com.hk/' -# VITE_APP_BASE_URL = 'https://www.develop-ms.api.aida.com.hk/' +# VITE_APP_BASE_URL = 'https://develop.api.aida.com.hk' +VITE_APP_BASE_URL = 'https://www.develop-ms.api.aida.com.hk' # VITE_APP_BASE_URL = 'http://localhost:22170' diff --git a/src/component/Detail/detailLeft/module/uploadList.vue b/src/component/Detail/detailLeft/module/uploadList.vue index 4e36788c..de9737b4 100644 --- a/src/component/Detail/detailLeft/module/uploadList.vue +++ b/src/component/Detail/detailLeft/module/uploadList.vue @@ -12,7 +12,7 @@
- + { if (rv) { for(let file of this.fileList){ @@ -491,7 +491,7 @@ export default defineComponent({ } this.isUpload = true const hide = message.loading('loading', 0); - Https.axiosPost('/api/element/upload', new_data,{headers:{'Content-Type': 'multipart/form-data'}}).then( + Https.axiosPost('/aida/api/element/upload', new_data,{headers:{'Content-Type': 'multipart/form-data'}}).then( (rv: any) => { for(let file of this.fileList){ if(fileData.uid === file.uid){ diff --git a/src/component/home/design/collection/SketchboardUpload.vue b/src/component/home/design/collection/SketchboardUpload.vue index 7db1638c..3c127296 100644 --- a/src/component/home/design/collection/SketchboardUpload.vue +++ b/src/component/home/design/collection/SketchboardUpload.vue @@ -70,7 +70,7 @@ v-show="sketchboardList.length < 20" >
--> - +