diff --git a/src/plugins/echarts.js b/src/plugins/echarts.js
index 18be75f..c419c84 100644
--- a/src/plugins/echarts.js
+++ b/src/plugins/echarts.js
@@ -1,7 +1,12 @@
import * as echarts from "echarts/core";
-import { GridComponent, TooltipComponent } from "echarts/components";
-import { LineChart } from "echarts/charts";
-import { UniversalTransition } from "echarts/features";
+import {
+ GridComponent,
+ TooltipComponent,
+ TitleComponent,
+ LegendComponent,
+} from "echarts/components";
+import { LineChart, PieChart } from "echarts/charts";
+import { UniversalTransition, LabelLayout } from "echarts/features";
import { CanvasRenderer } from "echarts/renderers";
echarts.use([
GridComponent,
@@ -9,5 +14,9 @@ echarts.use([
LineChart,
CanvasRenderer,
UniversalTransition,
+ TitleComponent,
+ LegendComponent,
+ PieChart,
+ LabelLayout,
]);
export default echarts;
diff --git a/src/views/platform/data_statistics/category_ranking.vue b/src/views/platform/data_statistics/category_ranking.vue
new file mode 100644
index 0000000..ab88a2e
--- /dev/null
+++ b/src/views/platform/data_statistics/category_ranking.vue
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 生鲜水果
+ 53221
+ ¥78615.54
+ 235
+ ¥574.36
+ 0.9%
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file