From eaa0cc657c3e31a0ea4dd3db414d8bb16cee2a68 Mon Sep 17 00:00:00 2001 From: panqihua Date: Sat, 28 Jan 2023 22:25:43 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=8E=82=E5=95=86-=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/rank/list.vue | 107 +++++++++++++++++++++++++++++ src/views/manufacturer/index.vue | 73 +++----------------- src/views/manufacturer/rank.vue | 106 ++++++++++++++++++++++++++++ 3 files changed, 221 insertions(+), 65 deletions(-) create mode 100644 src/views/components/rank/list.vue create mode 100644 src/views/manufacturer/rank.vue diff --git a/src/views/components/rank/list.vue b/src/views/components/rank/list.vue new file mode 100644 index 0000000..7c15421 --- /dev/null +++ b/src/views/components/rank/list.vue @@ -0,0 +1,107 @@ + + + + + diff --git a/src/views/manufacturer/index.vue b/src/views/manufacturer/index.vue index 9e26b92..1c07805 100644 --- a/src/views/manufacturer/index.vue +++ b/src/views/manufacturer/index.vue @@ -51,27 +51,11 @@
我的直营门店
-
销售数据
-
- - 商品销售排行榜top5 - - 今日 - 昨日 - 本周 - 上周 - 本月 - 上月 - - - - -
{{ item }}
-
- 联想笔记本 - 99999 -
- +
销售数据
+
+ + + @@ -126,9 +110,11 @@ import Pay from './components/pay' import Notice from './components/notice' import NoticeContent from './components/notice-content' +import List from '@/views/components/rank/list' + export default { name: 'index.vue', - components: { Pay, Notice, NoticeContent }, + components: { Pay, Notice, NoticeContent, List }, data() { return { type: 'list' @@ -236,49 +222,6 @@ $circle-radius: 25px; margin-top: 30px; } -.rank-item { - align-items: center; - color: rgba(16, 16, 16, 1); - font-size: 14px; - text-align: left; - font-family: SourceHanSansSC-regular; - - - .circle { - background-color: #000; - color: white; - border-radius: 50%; - width: $circle-radius; - height: $circle-radius; - display: flex; - justify-content: center; - align-items: center; - } - - .circle.default { - background-color: rgba(190, 190, 190, 1); - } - - & > .num { - text-align: right; - padding-right: 10%; - } - -} - -.query { - text-align: right; - - & > span { - margin-right: 10px; - - } - - & > span.active { - color: blue; - } -} - .chart { height: 400px; } diff --git a/src/views/manufacturer/rank.vue b/src/views/manufacturer/rank.vue new file mode 100644 index 0000000..50df0a2 --- /dev/null +++ b/src/views/manufacturer/rank.vue @@ -0,0 +1,106 @@ + + + + +