diff --git a/layouts/admin/router/adminComponentMap.uts b/layouts/admin/router/adminComponentMap.uts index afa9c55d..54ec49a4 100644 --- a/layouts/admin/router/adminComponentMap.uts +++ b/layouts/admin/router/adminComponentMap.uts @@ -30,12 +30,12 @@ import ProductStatistic from '@/pages/mall/admin/product/product-statistics/inde import ProductList from '@/pages/mall/admin/product/product-management/index.uvue' import ProductEdit from '@/pages/mall/admin/product/product-management/edit.uvue' import ProductMemberPrice from '@/pages/mall/admin/product/product-management/member-price.uvue' -import ProductClassify from '@/pages/mall/admin/product/classify.uvue' -import ProductReply from '@/pages/mall/admin/product/reply.uvue' -import ProductAttr from '@/pages/mall/admin/product/attr.uvue' -import ProductParam from '@/pages/mall/admin/product/param.uvue' -import ProductLabel from '@/pages/mall/admin/product/label.uvue' -import ProductProtection from '@/pages/mall/admin/product/protection.uvue' +import ProductClassify from '@/pages/mall/admin/product/classification/index.uvue' +import ProductReply from '@/pages/mall/admin/product/reviews/index.uvue' +import ProductAttr from '@/pages/mall/admin/product/specifications/index.uvue' +import ProductParam from '@/pages/mall/admin/product/parameters/index.uvue' +import ProductLabel from '@/pages/mall/admin/product/labels/index.uvue' +import ProductProtection from '@/pages/mall/admin/product/protection/index.uvue' // 导入订单模块(纯组件,不包含 AdminLayout) import OrderList from '@/pages/mall/admin/order/list.uvue' diff --git a/layouts/admin/router/adminRoutes.uts b/layouts/admin/router/adminRoutes.uts index 502dc2ae..b1f90708 100644 --- a/layouts/admin/router/adminRoutes.uts +++ b/layouts/admin/router/adminRoutes.uts @@ -301,7 +301,7 @@ export const routes: RouteRecord[] = [ { id: 'product_productClassify', title: '商品分类', - path: '/pages/mall/admin/product/classify', + path: '/pages/mall/admin/product/classification/index', componentKey: 'ProductClassify', parentId: 'product', groupId: 'product-manage', @@ -311,7 +311,7 @@ export const routes: RouteRecord[] = [ { id: 'product_productAttr', title: '商品规格', - path: '/pages/mall/admin/product/attr', + path: '/pages/mall/admin/product/specifications/index', componentKey: 'ProductAttr', parentId: 'product', groupId: 'product-manage', @@ -321,7 +321,7 @@ export const routes: RouteRecord[] = [ { id: 'product_paramList', title: '商品参数', - path: '/pages/mall/admin/product/param', + path: '/pages/mall/admin/product/parameters/index', componentKey: 'ProductParam', parentId: 'product', groupId: 'product-manage', @@ -331,7 +331,7 @@ export const routes: RouteRecord[] = [ { id: 'product_labelList', title: '商品标签', - path: '/pages/mall/admin/product/label', + path: '/pages/mall/admin/product/labels/index', componentKey: 'ProductLabel', parentId: 'product', groupId: 'product-manage', @@ -341,7 +341,7 @@ export const routes: RouteRecord[] = [ { id: 'product_protectionList', title: '商品保障', - path: '/pages/mall/admin/product/protection', + path: '/pages/mall/admin/product/protection/index', componentKey: 'ProductProtection', parentId: 'product', groupId: 'product-manage', @@ -351,7 +351,7 @@ export const routes: RouteRecord[] = [ { id: 'product_productEvaluate', title: '商品评论', - path: '/pages/mall/admin/product/reply', + path: '/pages/mall/admin/product/reviews/index', componentKey: 'ProductReply', parentId: 'product', groupId: 'product-manage', diff --git a/pages.json b/pages.json index cb78c7e9..b6c72b9d 100644 --- a/pages.json +++ b/pages.json @@ -460,7 +460,7 @@ } }, { - "path": "product-management", + "path": "product/product-management/index", "style": { "navigationBarTitleText": "商品管理", "navigationStyle": "custom" @@ -633,4 +633,4 @@ "navigationBarBackgroundColor": "#FFFFFF", "backgroundColor": "#F8F8F8" } -} \ No newline at end of file +} diff --git a/pages/mall/admin/finance/withdrawal.uvue b/pages/mall/admin/finance/withdrawal.uvue index 5d9ef872..61e9980d 100644 --- a/pages/mall/admin/finance/withdrawal.uvue +++ b/pages/mall/admin/finance/withdrawal.uvue @@ -5,19 +5,29 @@ 时间选择: - + 提现状态: - + + + {{ statusLabel }} + + + 提现方式: - + + + {{ methodLabel }} + + + 搜索: - + @@ -107,9 +117,10 @@ - - diff --git a/pages/mall/admin/product-labels.uvue b/pages/mall/admin/product-labels.uvue deleted file mode 100644 index 0fa9f92e..00000000 --- a/pages/mall/admin/product-labels.uvue +++ /dev/null @@ -1,64 +0,0 @@ - - - - diff --git a/pages/mall/admin/product-management.uvue b/pages/mall/admin/product-management.uvue deleted file mode 100644 index ab91ffdb..00000000 --- a/pages/mall/admin/product-management.uvue +++ /dev/null @@ -1,64 +0,0 @@ - - - - diff --git a/pages/mall/admin/product-parameters.uvue b/pages/mall/admin/product-parameters.uvue deleted file mode 100644 index 0c28fe61..00000000 --- a/pages/mall/admin/product-parameters.uvue +++ /dev/null @@ -1,64 +0,0 @@ - - - - diff --git a/pages/mall/admin/product-protection.uvue b/pages/mall/admin/product-protection.uvue deleted file mode 100644 index f045f2ba..00000000 --- a/pages/mall/admin/product-protection.uvue +++ /dev/null @@ -1,64 +0,0 @@ - - - - diff --git a/pages/mall/admin/product-reviews.uvue b/pages/mall/admin/product-reviews.uvue deleted file mode 100644 index aa0afb5b..00000000 --- a/pages/mall/admin/product-reviews.uvue +++ /dev/null @@ -1,65 +0,0 @@ - - - - diff --git a/pages/mall/admin/product-specifications.uvue b/pages/mall/admin/product-specifications.uvue deleted file mode 100644 index 9fde03b0..00000000 --- a/pages/mall/admin/product-specifications.uvue +++ /dev/null @@ -1,64 +0,0 @@ - - - - diff --git a/pages/mall/admin/product/classify.uvue b/pages/mall/admin/product/classification/index.uvue similarity index 100% rename from pages/mall/admin/product/classify.uvue rename to pages/mall/admin/product/classification/index.uvue diff --git a/pages/mall/admin/product/label.uvue b/pages/mall/admin/product/labels/index.uvue similarity index 100% rename from pages/mall/admin/product/label.uvue rename to pages/mall/admin/product/labels/index.uvue diff --git a/pages/mall/admin/product/param.uvue b/pages/mall/admin/product/parameters/index.uvue similarity index 100% rename from pages/mall/admin/product/param.uvue rename to pages/mall/admin/product/parameters/index.uvue diff --git a/pages/mall/admin/product/product-classification/index.uvue b/pages/mall/admin/product/product-classification/index.uvue deleted file mode 100644 index 9d71a55a..00000000 --- a/pages/mall/admin/product/product-classification/index.uvue +++ /dev/null @@ -1,25 +0,0 @@ - - - - - diff --git a/pages/mall/admin/product/product-label/index.uvue b/pages/mall/admin/product/product-label/index.uvue deleted file mode 100644 index 9d71a55a..00000000 --- a/pages/mall/admin/product/product-label/index.uvue +++ /dev/null @@ -1,25 +0,0 @@ - - - - - diff --git a/pages/mall/admin/product/product-param/index.uvue b/pages/mall/admin/product/product-param/index.uvue deleted file mode 100644 index 9d71a55a..00000000 --- a/pages/mall/admin/product/product-param/index.uvue +++ /dev/null @@ -1,25 +0,0 @@ - - - - - diff --git a/pages/mall/admin/product/product-protection/index.uvue b/pages/mall/admin/product/product-protection/index.uvue deleted file mode 100644 index ffe3f945..00000000 --- a/pages/mall/admin/product/product-protection/index.uvue +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - diff --git a/pages/mall/admin/product/product-reviews/index.uvue b/pages/mall/admin/product/product-reviews/index.uvue deleted file mode 100644 index 9d71a55a..00000000 --- a/pages/mall/admin/product/product-reviews/index.uvue +++ /dev/null @@ -1,25 +0,0 @@ - - - - - diff --git a/pages/mall/admin/product/product-specifications/index.uvue b/pages/mall/admin/product/product-specifications/index.uvue deleted file mode 100644 index 3060a6eb..00000000 --- a/pages/mall/admin/product/product-specifications/index.uvue +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - diff --git a/pages/mall/admin/product/protection.uvue b/pages/mall/admin/product/protection/index.uvue similarity index 100% rename from pages/mall/admin/product/protection.uvue rename to pages/mall/admin/product/protection/index.uvue diff --git a/pages/mall/admin/product/reply.uvue b/pages/mall/admin/product/reviews/index.uvue similarity index 100% rename from pages/mall/admin/product/reply.uvue rename to pages/mall/admin/product/reviews/index.uvue diff --git a/pages/mall/admin/product/attr.uvue b/pages/mall/admin/product/specifications/index.uvue similarity index 100% rename from pages/mall/admin/product/attr.uvue rename to pages/mall/admin/product/specifications/index.uvue