diff --git a/src/components/chart/Trend.vue b/src/components/chart/Trend.vue new file mode 100644 index 0000000..bcbfa55 --- /dev/null +++ b/src/components/chart/Trend.vue @@ -0,0 +1,82 @@ + + + + + diff --git a/src/components/dashboard/Dashboard.vue b/src/components/dashboard/Dashboard.vue index 1e276f9..87df5c8 100644 --- a/src/components/dashboard/Dashboard.vue +++ b/src/components/dashboard/Dashboard.vue @@ -7,18 +7,10 @@
-
- 同周比 - 12% - -
-
- 日环比 - 11% - -
+ +
-
日均销售额 ¥ 234.56
+
日均销售额 ¥234.56
@@ -29,7 +21,7 @@
-
日均销售额 ¥ 234.56
+
日访问量 123,4
@@ -40,18 +32,21 @@
-
日均销售额 ¥ 234.56
+
转化率 60%
- +
-
日均销售额 ¥ 234.56
+
+ + +
@@ -122,6 +117,7 @@ import Bar from '../chart/Bar' import RankingList from '../chart/RankingList' import HotSearch from '../analysis/HotSearch' import SalesData from '../analysis/SalesData' +import Trend from '../chart/Trend' const rankList = [] @@ -142,6 +138,7 @@ export default { } }, components: { + Trend, SalesData, HotSearch, RankingList,