From 0b728495e801a874026a766723835be2eaba7833 Mon Sep 17 00:00:00 2001 From: "qumeng039@126.com" <86925389+qumen@users.noreply.github.com> Date: Mon, 4 Aug 2025 16:18:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BE=A4=E4=BD=93=E7=83=9F?= =?UTF-8?q?=E8=8A=B1=E5=88=86=E6=9E=90=E5=9B=BE=E8=A1=A8=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/groupEvolution/index.js | 49 +------ .../GroupEvolution/component/groupChart.vue | 128 ++++++++++-------- .../GroupEvolution/component/groupPanel.vue | 16 ++- .../GroupEvolution/component/groupShow.vue | 51 ++++--- .../components/attentionTopic.vue | 1 - 5 files changed, 122 insertions(+), 123 deletions(-) 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 @@