From e5940238949f403a51b978324ae663ba44f173a8 Mon Sep 17 00:00:00 2001 From: yaosen <741606767@qq.com> Date: Tue, 25 Jun 2024 16:45:14 +0800 Subject: [PATCH] a --- admin/src/router/index.js | 2 +- .../dashboard/admin/components/PanelGroup.vue | 94 ++++++++++++++----- admin/src/views/order/back.vue | 4 +- admin/src/views/order/index.vue | 4 +- admin/src/views/order/product.vue | 38 ++++++-- .../app/admin/controller/IndexController.php | 4 + .../app/admin/controller/OrderController.php | 2 +- 7 files changed, 106 insertions(+), 42 deletions(-) diff --git a/admin/src/router/index.js b/admin/src/router/index.js index d6e92d1d..8fc161e4 100644 --- a/admin/src/router/index.js +++ b/admin/src/router/index.js @@ -167,7 +167,7 @@ export const asyncRoutes = [ component: () => import('@/views/order/product'), name: 'productNameList', meta: { - title: '产品统计列表', + title: '产品统计', roles: ['order_pub', 'editor'] } }, diff --git a/admin/src/views/dashboard/admin/components/PanelGroup.vue b/admin/src/views/dashboard/admin/components/PanelGroup.vue index ecef75dd..011e663a 100644 --- a/admin/src/views/dashboard/admin/components/PanelGroup.vue +++ b/admin/src/views/dashboard/admin/components/PanelGroup.vue @@ -2,8 +2,8 @@
-
- +
+
@@ -15,7 +15,20 @@
-
+
+ +
+
+
+ 订单总额 +
+ +
+
+ + +
+
@@ -28,8 +41,8 @@
-
- +
+
@@ -41,21 +54,8 @@
-
- -
-
-
- 订单总额 -
- -
-
-
- -
-
- +
+
@@ -67,8 +67,8 @@
-
- +
+
@@ -80,8 +80,8 @@
-
- +
+
@@ -93,8 +93,8 @@
-
- +
+
@@ -182,13 +182,36 @@ export default { background: #36a3f7; } + .icon-message2 { + background: #656768; + } + + .icon-skill { + background: #7fd554; + } + .icon-money { background: #f4516c; } + .icon-money2 { + background: #7fd554; + } + + .icon-money3 { + background: #34bfa3; + } + .icon-shopping { background: #34bfa3 } + .icon-documentation { + background: #f4516c + } + + .icon-documentation2 { + background: #d972e4 + } } .icon-people { @@ -199,6 +222,18 @@ export default { color: #36a3f7; } + .icon-money2 { + color: #7fd554; + } + + .icon-money3 { + color: #34bfa3; + } + + .icon-skill { + color: #7fd554; + } + .icon-money { color: #f4516c; } @@ -206,6 +241,13 @@ export default { .icon-shopping { color: #34bfa3 } + .icon-documentation { + color: #f4516c + } + + .icon-documentation2 { + background: #d972e4 + } .card-panel-icon-wrapper { float: left; diff --git a/admin/src/views/order/back.vue b/admin/src/views/order/back.vue index 4b2437e1..f0d540a5 100644 --- a/admin/src/views/order/back.vue +++ b/admin/src/views/order/back.vue @@ -30,8 +30,8 @@ 拒绝 - - 取消 + + 取消流转 diff --git a/admin/src/views/order/index.vue b/admin/src/views/order/index.vue index 951fc448..8f6ee627 100644 --- a/admin/src/views/order/index.vue +++ b/admin/src/views/order/index.vue @@ -74,7 +74,7 @@