From ea81b75abdb0e47f42b681b7eb953eda5f3e47ff Mon Sep 17 00:00:00 2001 From: "qumeng039@126.com" <86925389+qumen@users.noreply.github.com> Date: Thu, 17 Jul 2025 10:06:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=A7=8B=E9=93=BE=E8=B7=AF=E9=A2=84?= =?UTF-8?q?=E6=B5=8B=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- src/router/index.js | 2 +- src/store/llinkPrediction/index.js | 2 +- .../characterInteraction/index.vue | 128 ++++++++++++++++++ .../components/anlysisPanle.vue | 7 + .../LinkPrediction/components/cloudWords.vue | 7 + src/views/LinkPrediction/components/graph.vue | 7 + .../LinkPrediction/components/postList.vue | 7 + .../LinkPrediction/components/userChart.vue | 7 + .../LinkPrediction/components/userPanel.vue | 7 + src/views/LinkPrediction1/index.vue | 0 11 files changed, 173 insertions(+), 3 deletions(-) create mode 100644 src/views/LinkPrediction/characterInteraction/index.vue create mode 100644 src/views/LinkPrediction/components/anlysisPanle.vue create mode 100644 src/views/LinkPrediction/components/cloudWords.vue create mode 100644 src/views/LinkPrediction/components/graph.vue create mode 100644 src/views/LinkPrediction/components/postList.vue create mode 100644 src/views/LinkPrediction/components/userChart.vue create mode 100644 src/views/LinkPrediction/components/userPanel.vue delete mode 100644 src/views/LinkPrediction1/index.vue diff --git a/src/App.vue b/src/App.vue index 6515712..f005dcc 100644 --- a/src/App.vue +++ b/src/App.vue @@ -110,7 +110,7 @@ const isActive = (routePath) => { //处理跳转页面逻辑 const jumpPage = (routePath) => { - const activedPaths = ["/key-node-1", "/key-node-2", "/key-node-3"]; + const activedPaths = ["/key-node-1", "/key-node-2", "/key-node-3", "/link-prediction-1"]; if (activedPaths.includes(routePath)) { router.push({ path: routePath }); return; diff --git a/src/router/index.js b/src/router/index.js index ac3da7a..15c49b6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3,7 +3,7 @@ import { createRouter, createWebHistory } from "vue-router"; const KeyNodeRecognition2 = () => import("@/views/KeyNodeRecognition1/index.vue"); const KeyNodeRecognition3 = () => import("@/views/KeyNodeRecognition2/index.vue"); const KeyNodeRecognition1 = () => import("@/views/KeyNodeRecognition3/index.vue"); -const LinkPrediction1 = () => import("@/views/LinkPrediction1.vue"); +const LinkPrediction1 = () => import("@/views/LinkPrediction/characterInteraction/index.vue"); const LinkPrediction2 = () => import("@/views/LinkPrediction2.vue"); const LinkPrediction3 = () => import("@/views/LinkPrediction3.vue"); const GroupEvolution1 = () => import("@/views/GroupEvolution1.vue"); diff --git a/src/store/llinkPrediction/index.js b/src/store/llinkPrediction/index.js index 69a1091..8417106 100644 --- a/src/store/llinkPrediction/index.js +++ b/src/store/llinkPrediction/index.js @@ -1,6 +1,6 @@ import { defineStore } from "pinia"; -export const useLinkPredictionStore = defineStore("linkPrediction", { +export const useCharacterInteractionStore = defineStore("characterInteraction", { state: () => ({}), actions: {}, persist: false // 开启持久化 diff --git a/src/views/LinkPrediction/characterInteraction/index.vue b/src/views/LinkPrediction/characterInteraction/index.vue new file mode 100644 index 0000000..b043a38 --- /dev/null +++ b/src/views/LinkPrediction/characterInteraction/index.vue @@ -0,0 +1,128 @@ + + + + + diff --git a/src/views/LinkPrediction/components/anlysisPanle.vue b/src/views/LinkPrediction/components/anlysisPanle.vue new file mode 100644 index 0000000..83ea4ff --- /dev/null +++ b/src/views/LinkPrediction/components/anlysisPanle.vue @@ -0,0 +1,7 @@ + + + + + diff --git a/src/views/LinkPrediction/components/cloudWords.vue b/src/views/LinkPrediction/components/cloudWords.vue new file mode 100644 index 0000000..a689fd9 --- /dev/null +++ b/src/views/LinkPrediction/components/cloudWords.vue @@ -0,0 +1,7 @@ + + + + + diff --git a/src/views/LinkPrediction/components/graph.vue b/src/views/LinkPrediction/components/graph.vue new file mode 100644 index 0000000..74da15a --- /dev/null +++ b/src/views/LinkPrediction/components/graph.vue @@ -0,0 +1,7 @@ + + + + + diff --git a/src/views/LinkPrediction/components/postList.vue b/src/views/LinkPrediction/components/postList.vue new file mode 100644 index 0000000..1809db8 --- /dev/null +++ b/src/views/LinkPrediction/components/postList.vue @@ -0,0 +1,7 @@ + + + + + diff --git a/src/views/LinkPrediction/components/userChart.vue b/src/views/LinkPrediction/components/userChart.vue new file mode 100644 index 0000000..e0c1823 --- /dev/null +++ b/src/views/LinkPrediction/components/userChart.vue @@ -0,0 +1,7 @@ + + + + + diff --git a/src/views/LinkPrediction/components/userPanel.vue b/src/views/LinkPrediction/components/userPanel.vue new file mode 100644 index 0000000..d5ea7a3 --- /dev/null +++ b/src/views/LinkPrediction/components/userPanel.vue @@ -0,0 +1,7 @@ + + + + + diff --git a/src/views/LinkPrediction1/index.vue b/src/views/LinkPrediction1/index.vue deleted file mode 100644 index e69de29..0000000