diff --git a/src/assets/images/chuanbo_account_list.png b/src/assets/images/chuanbo_account_list.png index 3f7530b..2c1e3fb 100644 Binary files a/src/assets/images/chuanbo_account_list.png and b/src/assets/images/chuanbo_account_list.png differ diff --git a/src/assets/images/chuanbo_node_Info.png b/src/assets/images/chuanbo_node_Info.png new file mode 100644 index 0000000..a83ffe8 Binary files /dev/null and b/src/assets/images/chuanbo_node_Info.png differ diff --git a/src/assets/json/bridge_neighbors_communities.json b/src/assets/json/bridge_neighbors_communities.json index 26fb208..4cf3d9d 100644 --- a/src/assets/json/bridge_neighbors_communities.json +++ b/src/assets/json/bridge_neighbors_communities.json @@ -142,7 +142,8 @@ "communityId": "98", "usersNum": 120 } - ] + ], + "bridgeNeighbours": [] }, { "bridgeId": "2835451658", @@ -307,7 +308,8 @@ "communityId": "98", "usersNum": 120 } - ] + ], + "bridgeNeighbours": [] }, { "bridgeId": "1976143068", @@ -440,6 +442,9 @@ "communityId": "98", "usersNum": 120 } + ], + "bridgeNeighbours": [ + "1457867047334031360" ] }, { @@ -593,7 +598,8 @@ "communityId": "93", "usersNum": 120 } - ] + ], + "bridgeNeighbours": [] }, { "bridgeId": "3006348240", @@ -690,7 +696,8 @@ "communityId": "92", "usersNum": 120 } - ] + ], + "bridgeNeighbours": [] }, { "bridgeId": "1350150750966603777", @@ -787,7 +794,8 @@ "communityId": "93", "usersNum": 120 } - ] + ], + "bridgeNeighbours": [] }, { "bridgeId": "1151913018936053760", @@ -892,7 +900,8 @@ "communityId": "84", "usersNum": 120 } - ] + ], + "bridgeNeighbours": [] }, { "bridgeId": "818948638890217473", @@ -1041,7 +1050,8 @@ "communityId": "96", "usersNum": 120 } - ] + ], + "bridgeNeighbours": [] }, { "bridgeId": "1457867047334031360", @@ -1142,6 +1152,9 @@ "communityId": "98", "usersNum": 120 } + ], + "bridgeNeighbours": [ + "1976143068" ] }, { @@ -1231,6 +1244,7 @@ "communityId": "92", "usersNum": 120 } - ] + ], + "bridgeNeighbours": [] } ] \ No newline at end of file diff --git a/src/service/api/bridgeNode.js b/src/service/api/bridgeNode.js new file mode 100644 index 0000000..c78c70b --- /dev/null +++ b/src/service/api/bridgeNode.js @@ -0,0 +1,45 @@ +import http from "@/utils/http" + +// 获取到桥梁节点列表 + +/* getBridgeNodeList返回的数据结构: +{ + "code": 200, + "message": "操作成功", + "data": { + "id": "President Biden Archived", + "nodeId": "1349149096909668363", // 桥梁节点id + "userName": "President Biden Archived", // 用户名 + "chineseName": null, // 中文名 + "fans": "3670.7万", // 粉丝数 + "following": "718", // 关注数量 + "interactionNum": "8", // 互动次数 + "firstActiveTime": "2023-10-07 15:08:27", // 首次发布帖文时间 + "category": "政府账号", // 账号类型 + "postNum": "1万", // 发布的帖文总数 + "groups": [], // 连接的社团 + // 发布的帖文- + "posts": [ + { + "id": "1", // 帖文id + "timestamp": "2023-10-07 15:08:27", // 帖文的发布时间 + "userName": "President Biden Archived", // 发布帖文的用户名 + "influence": 69304.0, // 互动数量 + "highlighted": false, // 是否高亮 + "likes": 57400, // 点赞数量 + "comment": 2061, // 评论数量 + "transmit": 9843, // 被转发数量 + "content": "Today, I spoke with @IsraeliPM about the appalling Hamas terrorist attacks in Israel. I offered our support and reiterated my unwavering commitment to Israel’s security. @FLOTUS and I express our heartfelt condolences to the families who have lost loved ones." + } + ] + }, +} +*/ +export function getBridgeNodeList() { + return http.get("/critical/bridge_list") +} + +// 获取到桥梁节点的领居桥梁节点 +export function getBridgeNodeNeighbours() { + return http.get("/critical/bridge_relation_list") +} \ No newline at end of file diff --git a/src/views/KeyNodeRecognition2/components/LeaderDetailDialog.vue b/src/views/KeyNodeRecognition2/components/LeaderDetailDialog.vue index c2c8fb0..9edd9e0 100644 --- a/src/views/KeyNodeRecognition2/components/LeaderDetailDialog.vue +++ b/src/views/KeyNodeRecognition2/components/LeaderDetailDialog.vue @@ -1,7 +1,7 @@