diff --git a/src/store/groupEvolution/index.js b/src/store/groupEvolution/index.js index 6222ba2..37810c3 100644 --- a/src/store/groupEvolution/index.js +++ b/src/store/groupEvolution/index.js @@ -1,5 +1,4 @@ import { defineStore } from "pinia" -import testAvatar from "@/assets/images/leader/chenchen.png" import nodePrefix from "@/assets/images/groupEvolution/node-prefix.png" import edgePrefix from "@/assets/images/groupEvolution/edge-prefix.png" import splitImg from "@/assets/images/groupMember/splitImg.png" @@ -13,46 +12,28 @@ export const useGroupDiscoveryStore = defineStore("groupDiscovery", { { id: 1, type: "群体一", + title: "关注话题:#中国海警首次登检菲律宾运补船只#", statistics: [ { id: 1, iconImg: nodePrefix, name: "节点数", value: 293 }, { id: 2, iconImg: edgePrefix, name: "连边数", value: 21389 } - ], - mediaList: [ - { id: 1, name: "胡锡进", avatar: testAvatar }, - { id: 2, name: "胡锡进", avatar: testAvatar }, - { id: 3, name: "胡锡进", avatar: testAvatar }, - { id: 4, name: "胡锡进", avatar: testAvatar }, - { id: 5, name: "胡锡进", avatar: testAvatar } ] }, { id: 2, type: "群体二", + title: "关注话题:#外交部回应中国海警缴获菲律宾士111111.", statistics: [ { id: 1, iconImg: nodePrefix, name: "节点数", value: 293 }, { id: 2, iconImg: edgePrefix, name: "连边数", value: 21389 } - ], - mediaList: [ - { id: 1, name: "胡锡进", avatar: testAvatar }, - { id: 2, name: "胡锡进", avatar: testAvatar }, - { id: 3, name: "胡锡进", avatar: testAvatar }, - { id: 4, name: "胡锡进", avatar: testAvatar }, - { id: 5, name: "胡锡进", avatar: testAvatar } ] }, { id: 3, type: "群体三", + title: "关注话题:#美军机在南海盘旋并投放不明物体#", statistics: [ { id: 1, iconImg: nodePrefix, name: "节点数", value: 293 }, { id: 2, iconImg: edgePrefix, name: "连边数", value: 21389 } - ], - mediaList: [ - { id: 1, name: "胡锡进", avatar: testAvatar }, - { id: 2, name: "胡锡进", avatar: testAvatar }, - { id: 3, name: "胡锡进", avatar: testAvatar }, - { id: 4, name: "胡锡进", avatar: testAvatar }, - { id: 5, name: "胡锡进", avatar: testAvatar } ] } ], @@ -62,35 +43,17 @@ export const useGroupDiscoveryStore = defineStore("groupDiscovery", { seriesList: [ { name: "头部自媒体", - type: "line", - lineStyle: { - color: "#33b6fb", - width: 1 // 设置线条宽度为3像素 - }, - symbolSize: 10, // 圆点大小 - borderWidth: 1, // 边框宽度 + themeColor: "#32b6fb", data: [200, 300, 330, 400, 380] }, { name: "官方媒体", - type: "line", - lineStyle: { - width: 1, - color: "#00d6da" // 折线颜色 - }, - symbolSize: 10, // 圆点大小 - borderWidth: 1, // 边框宽度 + themeColor: "#00d6da", data: [100, 200, 230, 300, 280] }, { name: "普通自媒体", - type: "line", - lineStyle: { - width: 1, - color: "#fddc33" // 折线颜色 - }, - symbolSize: 10, // 圆点大小 - borderWidth: 1, // 边框宽度 + themeColor: "#fddc33", data: [300, 400, 430, 500, 480] } ] diff --git a/src/views/GroupEvolution/component/groupChart.vue b/src/views/GroupEvolution/component/groupChart.vue index 1408777..7fe20e4 100644 --- a/src/views/GroupEvolution/component/groupChart.vue +++ b/src/views/GroupEvolution/component/groupChart.vue @@ -2,7 +2,7 @@
- + {{ chartName }}
@@ -17,10 +17,10 @@