From 9857c2a2f957939538f111608f2b79b4e70ae252 Mon Sep 17 00:00:00 2001 From: "X1627315083@163.com" <1627315083@qq.com> Date: Thu, 9 Apr 2026 10:31:29 +0800 Subject: [PATCH] fix --- .../icons/{ => seller}/sellerToolTipClose.svg | 0 .../sellerToolTip-1.png | Bin .../sellerToolTip-2.png | Bin .../sellerToolTip-3.png | Bin src/router/index.ts | 27 +++++- .../MyListingCreateSelect/index.vue | 47 +++++++++++ .../MyListingCreateSelectItem/index.vue | 48 +++++++++++ .../SellerDashboard/MyListings/index.vue | 79 ++++++++++++++++++ src/views/SellerDashboard/seller-header.vue | 1 + src/views/SellerDashboard/toolTipBox.vue | 8 +- 10 files changed, 205 insertions(+), 5 deletions(-) rename src/assets/icons/{ => seller}/sellerToolTipClose.svg (100%) rename src/assets/images/{sellerToolTip => seller}/sellerToolTip-1.png (100%) rename src/assets/images/{sellerToolTip => seller}/sellerToolTip-2.png (100%) rename src/assets/images/{sellerToolTip => seller}/sellerToolTip-3.png (100%) create mode 100644 src/views/SellerDashboard/MyListingCreateSelect/index.vue create mode 100644 src/views/SellerDashboard/MyListingCreateSelectItem/index.vue create mode 100644 src/views/SellerDashboard/MyListings/index.vue diff --git a/src/assets/icons/sellerToolTipClose.svg b/src/assets/icons/seller/sellerToolTipClose.svg similarity index 100% rename from src/assets/icons/sellerToolTipClose.svg rename to src/assets/icons/seller/sellerToolTipClose.svg diff --git a/src/assets/images/sellerToolTip/sellerToolTip-1.png b/src/assets/images/seller/sellerToolTip-1.png similarity index 100% rename from src/assets/images/sellerToolTip/sellerToolTip-1.png rename to src/assets/images/seller/sellerToolTip-1.png diff --git a/src/assets/images/sellerToolTip/sellerToolTip-2.png b/src/assets/images/seller/sellerToolTip-2.png similarity index 100% rename from src/assets/images/sellerToolTip/sellerToolTip-2.png rename to src/assets/images/seller/sellerToolTip-2.png diff --git a/src/assets/images/sellerToolTip/sellerToolTip-3.png b/src/assets/images/seller/sellerToolTip-3.png similarity index 100% rename from src/assets/images/sellerToolTip/sellerToolTip-3.png rename to src/assets/images/seller/sellerToolTip-3.png diff --git a/src/router/index.ts b/src/router/index.ts index 1be69976..a32ec66e 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -192,7 +192,32 @@ const routes: Array = [ path: "myListings", name: "myListings", meta: { enter: "all" }, - component: () => import("@/views/SellerDashboard/BrandProfile/index.vue"), + children:[ + { + path: "", + name: "myListingsChild", + meta: { enter: "all" }, + redirect: "/home/seller/myListings/index", + }, + { + path: "index", + name: "myListingsIndex", + meta: { enter: "all" }, + component: () => import("@/views/SellerDashboard/MyListings/index.vue"), + }, + { + path: "select", + name: "myListingsSelect", + meta: { enter: "all" }, + component: () => import("@/views/SellerDashboard/MyListingCreateSelect/index.vue"), + }, + { + path: "select/:id", + name: "myListingsSelectItem", + meta: { enter: "all" }, + component: () => import("@/views/SellerDashboard/MyListingCreateSelectItem/index.vue"), + }, + ] }, { path: "myOrders", diff --git a/src/views/SellerDashboard/MyListingCreateSelect/index.vue b/src/views/SellerDashboard/MyListingCreateSelect/index.vue new file mode 100644 index 00000000..4fdccc62 --- /dev/null +++ b/src/views/SellerDashboard/MyListingCreateSelect/index.vue @@ -0,0 +1,47 @@ + + + \ No newline at end of file diff --git a/src/views/SellerDashboard/MyListingCreateSelectItem/index.vue b/src/views/SellerDashboard/MyListingCreateSelectItem/index.vue new file mode 100644 index 00000000..dffcf02f --- /dev/null +++ b/src/views/SellerDashboard/MyListingCreateSelectItem/index.vue @@ -0,0 +1,48 @@ + + + \ No newline at end of file diff --git a/src/views/SellerDashboard/MyListings/index.vue b/src/views/SellerDashboard/MyListings/index.vue new file mode 100644 index 00000000..0f245408 --- /dev/null +++ b/src/views/SellerDashboard/MyListings/index.vue @@ -0,0 +1,79 @@ + + + \ No newline at end of file diff --git a/src/views/SellerDashboard/seller-header.vue b/src/views/SellerDashboard/seller-header.vue index 33c693cb..7d26376c 100644 --- a/src/views/SellerDashboard/seller-header.vue +++ b/src/views/SellerDashboard/seller-header.vue @@ -51,6 +51,7 @@