你的提交信息
24
social-networks/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
lerna-debug.log*
|
||||
|
||||
node_modules
|
||||
dist
|
||||
dist-ssr
|
||||
*.local
|
||||
|
||||
# Editor directories and files
|
||||
.vscode/*
|
||||
!.vscode/extensions.json
|
||||
.idea
|
||||
.DS_Store
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
3
social-networks/.vscode/extensions.json
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"recommendations": ["Vue.volar"]
|
||||
}
|
||||
5
social-networks/README.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Vue 3 + Vite
|
||||
|
||||
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
||||
|
||||
Learn more about IDE Support for Vue in the [Vue Docs Scaling up Guide](https://vuejs.org/guide/scaling-up/tooling.html#ide-support).
|
||||
13
social-networks/index.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="./src/assets/images/Union.png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>动态社交网络演化计算系统</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/src/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
1493
social-networks/package-lock.json
generated
Normal file
20
social-networks/package.json
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"name": "vite-project",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"element-plus": "^2.9.11",
|
||||
"vue": "^3.5.13",
|
||||
"vue-router": "^4.5.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^5.2.3",
|
||||
"vite": "^6.3.5"
|
||||
}
|
||||
}
|
||||
1
social-networks/public/vite.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
336
social-networks/src/App.vue
Normal file
|
|
@ -0,0 +1,336 @@
|
|||
<template>
|
||||
<div class="app-container">
|
||||
<header class="el-header">
|
||||
<div>
|
||||
<img src="./assets/images/head.png" alt="" style="width: 100%;height: 100%;">
|
||||
<div>
|
||||
<!-- 转换为按钮,添加点击事件 -->
|
||||
<button
|
||||
style="
|
||||
width: 110px;
|
||||
height: 34px;
|
||||
border: 2px solid;
|
||||
border-image:linear-gradient(to bottom, #C9E4FF, #0783FA00) 0;
|
||||
margin-left: 800px;
|
||||
margin-top: -140px;
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
background: none;
|
||||
cursor: pointer;
|
||||
"
|
||||
@click="showToggleJianjie = true"
|
||||
>
|
||||
<img src="./assets/images/shijianjianjie.png" alt="" style=" width: 100%; height: 100%; object-fit: cover;">
|
||||
</button>
|
||||
<button
|
||||
style="
|
||||
width: 111px;
|
||||
height: 34px;
|
||||
border: 2px solid;
|
||||
border-image:linear-gradient(to bottom, #C9E4FF, #0783FA00) 0;
|
||||
margin-left: 950px;
|
||||
margin-top: -140px;
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
background: none;
|
||||
cursor: pointer;
|
||||
"
|
||||
@click="showToggleJianjie = false"
|
||||
>
|
||||
<img src="./assets/images/zhanshidaping.png" alt="" style=" width: 100%; height: 100%; object-fit: cover;">
|
||||
</button>
|
||||
<!-- 根据状态控制显示 -->
|
||||
<div
|
||||
class="toogle-jianjie"
|
||||
v-if="showToggleJianjie"
|
||||
>
|
||||
<img src="./assets/images/toogle-pei.png" alt="" style="width: 640px;margin-left: 640px;margin-top: 176px;">
|
||||
<img src="./assets/images/cancel.png" alt="" style="margin-left: -40px;margin-bottom: 159px;cursor: pointer;"
|
||||
@click="showToggleJianjie = false">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<aside class="el-aside">
|
||||
<nav class="el-menu">
|
||||
<!-- 手动生成第一个菜单项 -->
|
||||
<div key="1" class="el-sub-menu">
|
||||
<div class="menu-title">
|
||||
<div class="tltlemenu-left">
|
||||
<img src="./assets/images/titlelogo.png" alt="" style="width: 20px;height: 20px;margin-right: 12px; ">
|
||||
{{ menuItems[0].title }}
|
||||
</div>
|
||||
<img src="./assets/images/titleright.png" alt="" style="width: 66px;height: 16px;">
|
||||
</div>
|
||||
<ul class="sub-menu-items">
|
||||
<router-link :to="menuItems[0].subItems[0].index" style="text-decoration:none;">
|
||||
<li key="/key-node-1" class="el-menu-item"
|
||||
:class="{ 'active': isActive(menuItems[0].subItems[0].index) }">
|
||||
<!-- 修改为 router-link -->
|
||||
<router-link :to="menuItems[0].subItems[0].index">
|
||||
{{ menuItems[0].subItems[0].title }}
|
||||
</router-link>
|
||||
</li>
|
||||
</router-link>
|
||||
<router-link :to="menuItems[0].subItems[1].index" style="text-decoration:none;">
|
||||
<li key="/key-node-2" class="el-menu-item"
|
||||
:class="{ 'active': isActive(menuItems[0].subItems[1].index) }">
|
||||
<!-- 修改为 router-link -->
|
||||
<router-link :to="menuItems[0].subItems[1].index">{{ menuItems[0].subItems[1].title }}</router-link>
|
||||
</li>
|
||||
</router-link>
|
||||
<router-link :to="menuItems[0].subItems[1].index" style="text-decoration:none;">
|
||||
<li key="/key-node-3" class="el-menu-item"
|
||||
:class="{ 'active': isActive(menuItems[0].subItems[2].index) }">
|
||||
<!-- 修改为 router-link -->
|
||||
<router-link :to="menuItems[0].subItems[2].index">{{ menuItems[0].subItems[2].title }}</router-link>
|
||||
</li>
|
||||
</router-link>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- 手动生成第二个菜单项 -->
|
||||
<div key="2" class="el-sub-menu">
|
||||
<div class="menu-title">
|
||||
<div class="tltlemenu-left">
|
||||
<img src="./assets/images/search.png" alt="" style="width: 20px;height: 20px;margin-right: 12px; ">
|
||||
{{ menuItems[1].title }}
|
||||
</div>
|
||||
<img src="./assets/images/titleright.png" alt="" style="width: 66px;height: 16px;">
|
||||
</div>
|
||||
<ul class="sub-menu-items">
|
||||
<router-link :to="menuItems[1].subItems[0].index" style="text-decoration:none;">
|
||||
<li key="/link-prediction-1" class="el-menu-item"
|
||||
:class="{ 'active': isActive(menuItems[1].subItems[0].index) }">
|
||||
<!-- 修改为 router-link -->
|
||||
<router-link :to="menuItems[1].subItems[0].index">{{ menuItems[1].subItems[0].title }}</router-link>
|
||||
</li>
|
||||
</router-link>
|
||||
<router-link :to="menuItems[1].subItems[1].index" style="text-decoration:none;">
|
||||
<li key="/link-prediction-2" class="el-menu-item"
|
||||
:class="{ 'active': isActive(menuItems[1].subItems[1].index) }">
|
||||
<!-- 修改为 router-link -->
|
||||
<router-link :to="menuItems[1].subItems[1].index">{{ menuItems[1].subItems[1].title }}</router-link>
|
||||
</li>
|
||||
</router-link>
|
||||
<router-link :to="menuItems[1].subItems[2].index" style="text-decoration:none;">
|
||||
<li key="/link-prediction-3" class="el-menu-item"
|
||||
:class="{ 'active': isActive(menuItems[1].subItems[2].index) }">
|
||||
<!-- 修改为 router-link -->
|
||||
<router-link :to="menuItems[1].subItems[2].index">{{ menuItems[1].subItems[2].title }}</router-link>
|
||||
</li>
|
||||
</router-link>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- 手动生成第三个菜单项 -->
|
||||
<div key="3" class="el-sub-menu">
|
||||
<div class="menu-title">
|
||||
<div class="tltlemenu-left">
|
||||
<img src="./assets/images/quntiyanhua.png" alt="" style="width: 20px;height: 20px;margin-right: 12px; ">
|
||||
{{ menuItems[2].title }}
|
||||
</div>
|
||||
<img src="./assets/images/titleright.png" alt="" style="width: 66px;height: 16px;">
|
||||
</div>
|
||||
<ul class="sub-menu-items">
|
||||
<router-link :to="menuItems[2].subItems[0].index" style="text-decoration:none;">
|
||||
<li key="/group-evolution-1" class="el-menu-item"
|
||||
:class="{ 'active': isActive(menuItems[2].subItems[0].index) }">
|
||||
<!-- 修改为 router-link -->
|
||||
<router-link :to="menuItems[2].subItems[0].index">{{ menuItems[2].subItems[0].title }}</router-link>
|
||||
</li>
|
||||
</router-link>
|
||||
<router-link :to="menuItems[2].subItems[1].index" style="text-decoration:none;">
|
||||
<li key="/group-evolution-2" class="el-menu-item"
|
||||
:class="{ 'active': isActive(menuItems[2].subItems[1].index) }">
|
||||
<!-- 修改为 router-link -->
|
||||
<router-link :to="menuItems[2].subItems[1].index">{{ menuItems[2].subItems[1].title }}</router-link>
|
||||
</li>
|
||||
</router-link>
|
||||
<router-link :to="menuItems[2].subItems[2].index" style="text-decoration:none;">
|
||||
<li key="/group-evolution-3" class="el-menu-item"
|
||||
:class="{ 'active': isActive(menuItems[2].subItems[2].index) }">
|
||||
<!-- 修改为 router-link -->
|
||||
<router-link :to="menuItems[2].subItems[2].index">{{ menuItems[2].subItems[2].title }}</router-link>
|
||||
</li>
|
||||
</router-link>
|
||||
<router-link :to="menuItems[2].subItems[3].index" style="text-decoration:none;">
|
||||
<li key="/group-evolution-4" class="el-menu-item"
|
||||
:class="{ 'active': isActive(menuItems[2].subItems[3].index) }">
|
||||
<!-- 修改为 router-link -->
|
||||
<router-link :to="menuItems[2].subItems[3].index">{{ menuItems[2].subItems[3].title }}</router-link>
|
||||
</li>
|
||||
</router-link>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</aside>
|
||||
<main class="main">
|
||||
<!-- 路由视图 -->
|
||||
<router-view></router-view>
|
||||
</main>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
|
||||
const route = useRoute();
|
||||
const menuItems = [
|
||||
{
|
||||
index: '1',
|
||||
title: '关键节点识别',
|
||||
subItems: [
|
||||
{ index: '/key-node-1', title: '传播意见领袖识别' },
|
||||
{ index: '/key-node-2', title: '传播桥梁节点识别' },
|
||||
{ index: '/key-node-3', title: '重大舆情事件锚点推荐' },
|
||||
],
|
||||
},
|
||||
{
|
||||
index: '2',
|
||||
title: '链路预测',
|
||||
subItems: [
|
||||
{ index: '/link-prediction-1', title: '人物互动隐关系预测' },
|
||||
{ index: '/link-prediction-2', title: '社交紧密团体识别' },
|
||||
{ index: '/link-prediction-3', title: '人物社交隐关系预测' },
|
||||
],
|
||||
},
|
||||
{
|
||||
index: '3',
|
||||
title: '群体演化分析',
|
||||
subItems: [
|
||||
{ index: '/group-evolution-1', title: '群体识别发现' },
|
||||
{ index: '/group-evolution-2', title: '群体结构演化分析' },
|
||||
{ index: '/group-evolution-3', title: '群体成员演化分析' },
|
||||
{ index: '/group-evolution-4', title: '异常群体捕捉' },
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
// 判断当前路由是否激活菜单项
|
||||
const isActive = (routePath) => {
|
||||
return route.path === routePath;
|
||||
};
|
||||
|
||||
// 控制弹窗显示状态
|
||||
const showToggleJianjie = ref(false);
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.app-container {
|
||||
width: 1920px;
|
||||
height: 1080px;
|
||||
background-image: url('./assets/images/bci.png');
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-color: #02131F;
|
||||
}
|
||||
|
||||
.el-header {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
}
|
||||
.toogle-jianjie{
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
position: fixed;
|
||||
z-index: 9999;
|
||||
backdrop-filter: blur(4px);
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
.el-aside {
|
||||
width: 320px;
|
||||
height: 944px;
|
||||
border: 2px;
|
||||
padding: 16px;
|
||||
left: 16px;
|
||||
color: aliceblue;
|
||||
font-family: Arial, sans-serif;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.el-menu {
|
||||
width: 320px;
|
||||
height: 100%;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
background-image: linear-gradient(to right, #063D7133, #081E38CC);
|
||||
}
|
||||
|
||||
.el-sub-menu {
|
||||
width: 288px;
|
||||
height: 176px;
|
||||
}
|
||||
|
||||
.menu-title {
|
||||
cursor: pointer;
|
||||
padding: 10px;
|
||||
width: 288px;
|
||||
border-radius: 2px;
|
||||
margin-top: 16px;
|
||||
margin-left: 16px;
|
||||
background-image: linear-gradient(to right, #18395C, #3378C200);
|
||||
border-image: linear-gradient(to right, #225F9200, #3AA1F8) 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.menu-title:hover {
|
||||
background-image: linear-gradient(to right, #0876BE, #0EA7D500);
|
||||
}
|
||||
|
||||
.el-menu-item {
|
||||
width: 288px;
|
||||
height: 36px;
|
||||
margin-top: 12px;
|
||||
line-height: 36px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.el-menu-item.active {
|
||||
background-image: linear-gradient(to right, #0876BE, #0EA7D500);
|
||||
/* 可以添加其他样式,如文字颜色等 */
|
||||
}
|
||||
|
||||
.tltlemenu-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
}
|
||||
|
||||
.sub-menu-items {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
margin-left: 16px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.el-menu-item {
|
||||
width: 288px;
|
||||
height: 36px;
|
||||
margin-top: 12px;
|
||||
line-height: 36px;
|
||||
}
|
||||
|
||||
.el-menu-item a {
|
||||
margin-left: 40px;
|
||||
color: aliceblue;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.el-menu-item:hover {
|
||||
background-image: linear-gradient(to right, #0876BE, #0EA7D500);
|
||||
}
|
||||
|
||||
.main {
|
||||
width: 1544px;
|
||||
height: 944px;
|
||||
margin-left: 360px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
</style>
|
||||
BIN
social-networks/src/assets/images/Union.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
social-networks/src/assets/images/bci.png
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
BIN
social-networks/src/assets/images/cancel.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
social-networks/src/assets/images/chuanbofenxi.png
Normal file
|
After Width: | Height: | Size: 210 KiB |
BIN
social-networks/src/assets/images/evenhot.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
social-networks/src/assets/images/head.png
Normal file
|
After Width: | Height: | Size: 647 KiB |
BIN
social-networks/src/assets/images/instruction.png
Normal file
|
After Width: | Height: | Size: 546 KiB |
BIN
social-networks/src/assets/images/leader-ansys.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
social-networks/src/assets/images/leader-show.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
social-networks/src/assets/images/leader-time.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
social-networks/src/assets/images/peiluoxi.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
social-networks/src/assets/images/quntiyanhua.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
social-networks/src/assets/images/search.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
social-networks/src/assets/images/shijianjianjie.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
social-networks/src/assets/images/tiewen.png
Normal file
|
After Width: | Height: | Size: 357 KiB |
BIN
social-networks/src/assets/images/titlelogo.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
social-networks/src/assets/images/titleright.png
Normal file
|
After Width: | Height: | Size: 273 B |
BIN
social-networks/src/assets/images/toogle-pei.png
Normal file
|
After Width: | Height: | Size: 476 KiB |
BIN
social-networks/src/assets/images/words.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
social-networks/src/assets/images/wordsimg.png
Normal file
|
After Width: | Height: | Size: 86 KiB |
BIN
social-networks/src/assets/images/zhanshidaping.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
1
social-networks/src/assets/vue.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="37.07" height="36" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 198"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></svg>
|
||||
|
After Width: | Height: | Size: 496 B |
10
social-networks/src/main.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { createApp } from 'vue'
|
||||
import App from './App.vue'
|
||||
import ElementPlus from 'element-plus'
|
||||
|
||||
import router from './router'
|
||||
|
||||
const app = createApp(App)
|
||||
app.use(ElementPlus)
|
||||
app.use(router)
|
||||
app.mount('#app')
|
||||
32
social-networks/src/router/index.js
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
import { createRouter, createWebHistory } from 'vue-router';
|
||||
// 导入组件,这里先占位
|
||||
const KeyNodeRecognition1 = () => import('@/views/KeyNodeRecognition1.vue');
|
||||
const KeyNodeRecognition2 = () => import('@/views/KeyNodeRecognition2.vue');
|
||||
const KeyNodeRecognition3 = () => import('@/views/KeyNodeRecognition3.vue');
|
||||
const LinkPrediction1 = () => import('@/views/LinkPrediction1.vue');
|
||||
const LinkPrediction2 = () => import('@/views/LinkPrediction2.vue');
|
||||
const LinkPrediction3 = () => import('@/views/LinkPrediction3.vue');
|
||||
const GroupEvolution1 = () => import('@/views/GroupEvolution1.vue');
|
||||
const GroupEvolution2 = () => import('@/views/GroupEvolution2.vue');
|
||||
const GroupEvolution3 = () => import('@/views/GroupEvolution3.vue');
|
||||
const GroupEvolution4 = () => import('@/views/GroupEvolution4.vue');
|
||||
|
||||
const routes = [
|
||||
{ path: '/key-node-1', component: KeyNodeRecognition1 },
|
||||
{ path: '/key-node-2', component: KeyNodeRecognition2 },
|
||||
{ path: '/key-node-3', component: KeyNodeRecognition3 },
|
||||
{ path: '/link-prediction-1', component: LinkPrediction1 },
|
||||
{ path: '/link-prediction-2', component: LinkPrediction2 },
|
||||
{ path: '/link-prediction-3', component: LinkPrediction3 },
|
||||
{ path: '/group-evolution-1', component: GroupEvolution1 },
|
||||
{ path: '/group-evolution-2', component: GroupEvolution2 },
|
||||
{ path: '/group-evolution-3', component: GroupEvolution3 },
|
||||
{ path: '/group-evolution-4', component: GroupEvolution4 },
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
routes,
|
||||
});
|
||||
|
||||
export default router;
|
||||
0
social-networks/src/style.css
Normal file
243
social-networks/src/views/GroupEvolution1.vue
Normal file
|
|
@ -0,0 +1,243 @@
|
|||
<template>
|
||||
<div>
|
||||
<div>
|
||||
<img src="../assets/images/instruction.png" alt="" class="intruduction">
|
||||
</div>
|
||||
<div class="leader-containner1">
|
||||
<div class="leader-show">
|
||||
<img src="../assets/images/leader-show.png" alt="" style="margin-top: -6px;">
|
||||
<div class="all-leader">
|
||||
<!-- 添加四个选择按钮 -->
|
||||
<button v-for="(item, index) in buttonList" :key="index" :class="{ active: activeButton === index }"
|
||||
@click="changeData(index)">
|
||||
{{ item }}
|
||||
</button>
|
||||
<div class="leader-data">
|
||||
<!-- 显示不同的数据信息 -->
|
||||
<div v-if="activeButton === 0">
|
||||
<!-- 全部种类的数据信息 -->
|
||||
全部种类的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 1">
|
||||
<!-- 新闻媒体的数据信息 -->
|
||||
|
||||
<el-avatar shape="square" :size="50" :src="squareUrl" />
|
||||
</div>
|
||||
<div v-if="activeButton === 2">
|
||||
<!-- 自媒体的数据信息 -->
|
||||
自媒体的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 3">
|
||||
<!-- 政府官号的数据信息 -->
|
||||
中国海警
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 时间节点图 -->
|
||||
<div class="leader-radio">
|
||||
<!-- 标题 -->
|
||||
<div>
|
||||
<img src="../assets/images/peiluoxi.png" alt="" style="margin-left: 125px;">
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div class="leader-time">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 领袖分析 -->
|
||||
<div class="leader-ansys">
|
||||
<div><img src="../assets/images/leader-ansys.png" alt="" style="margin-top: -6px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="leader-containner2">
|
||||
<div class="event-hot">
|
||||
<img src="../assets/images/evenhot.png" alt="" style="margin-top: -6px;">
|
||||
</div>
|
||||
<div class="leader-post">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="words">
|
||||
<img src="../assets/images/words.png" alt="" style="width: 100%;height: 308px;margin-top: -6px;">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
|
||||
// 定义按钮列表
|
||||
const buttonList = ['全部', '新闻媒体', '自媒体', '政府官号'];
|
||||
// 定义当前激活的按钮索引
|
||||
const activeButton = ref(0);
|
||||
|
||||
// 切换数据信息的方法
|
||||
const changeData = (index) => {
|
||||
activeButton.value = index;
|
||||
};
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.intruduction {
|
||||
width: 100%;
|
||||
margin-top: 0px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.leader-containner1 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.leader-containner2{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.leader-show {
|
||||
width: 352px;
|
||||
height: 540px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
.all-leader {
|
||||
width: 305px;
|
||||
height: 450px;
|
||||
margin-left: 24px;
|
||||
font-size: 0;
|
||||
/* 解决 inline-block 元素间的间隙问题 */
|
||||
}
|
||||
|
||||
.all-leader button {
|
||||
height: 24px;
|
||||
margin-left: 0px;
|
||||
font-family: OPPOSans;
|
||||
font-weight: 300;
|
||||
font-size: 14px;
|
||||
line-height: 18px;
|
||||
letter-spacing: 0%;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
background-color: #04142166;
|
||||
color: #E1F4FF;
|
||||
border: 1px solid #1C588F;
|
||||
border-radius: 0;
|
||||
/* 确保默认没有圆角 */
|
||||
display: inline-block;
|
||||
/* 让按钮横向排列 */
|
||||
vertical-align: middle;
|
||||
/* 垂直居中对齐 */
|
||||
}
|
||||
|
||||
/* 第一个按钮添加左圆角 */
|
||||
.all-leader button:first-child {
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
|
||||
/* 最后一个按钮添加右圆角 */
|
||||
.all-leader button:nth-child(4) {
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
/* 激活按钮样式 */
|
||||
.all-leader button.active {
|
||||
background-color: #236291;
|
||||
}
|
||||
|
||||
|
||||
.leader-radio {
|
||||
width: 800px;
|
||||
height: 540px;
|
||||
margin-left: 10px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
|
||||
}
|
||||
|
||||
|
||||
.leader-ansys {
|
||||
width: 372px;
|
||||
height: 542px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.event-hot{
|
||||
width: 352px;
|
||||
height:296px;
|
||||
margin-top: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.leader-post{
|
||||
width: 800px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.words{
|
||||
width: 372px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
</style>
|
||||
243
social-networks/src/views/GroupEvolution2.vue
Normal file
|
|
@ -0,0 +1,243 @@
|
|||
<template>
|
||||
<div>
|
||||
<div>
|
||||
<img src="../assets/images/instruction.png" alt="" class="intruduction">
|
||||
</div>
|
||||
<div class="leader-containner1">
|
||||
<div class="leader-show">
|
||||
<img src="../assets/images/leader-show.png" alt="" style="margin-top: -6px;">
|
||||
<div class="all-leader">
|
||||
<!-- 添加四个选择按钮 -->
|
||||
<button v-for="(item, index) in buttonList" :key="index" :class="{ active: activeButton === index }"
|
||||
@click="changeData(index)">
|
||||
{{ item }}
|
||||
</button>
|
||||
<div class="leader-data">
|
||||
<!-- 显示不同的数据信息 -->
|
||||
<div v-if="activeButton === 0">
|
||||
<!-- 全部种类的数据信息 -->
|
||||
全部种类的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 1">
|
||||
<!-- 新闻媒体的数据信息 -->
|
||||
|
||||
<el-avatar shape="square" :size="50" :src="squareUrl" />
|
||||
</div>
|
||||
<div v-if="activeButton === 2">
|
||||
<!-- 自媒体的数据信息 -->
|
||||
自媒体的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 3">
|
||||
<!-- 政府官号的数据信息 -->
|
||||
中国海警
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 时间节点图 -->
|
||||
<div class="leader-radio">
|
||||
<!-- 标题 -->
|
||||
<div>
|
||||
<img src="../assets/images/peiluoxi.png" alt="" style="margin-left: 125px;">
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div class="leader-time">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 领袖分析 -->
|
||||
<div class="leader-ansys">
|
||||
<div><img src="../assets/images/leader-ansys.png" alt="" style="margin-top: -6px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="leader-containner2">
|
||||
<div class="event-hot">
|
||||
<img src="../assets/images/evenhot.png" alt="" style="margin-top: -6px;">
|
||||
</div>
|
||||
<div class="leader-post">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="words">
|
||||
<img src="../assets/images/words.png" alt="" style="width: 100%;height: 308px;margin-top: -6px;">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
|
||||
// 定义按钮列表
|
||||
const buttonList = ['全部', '新闻媒体', '自媒体', '政府官号'];
|
||||
// 定义当前激活的按钮索引
|
||||
const activeButton = ref(0);
|
||||
|
||||
// 切换数据信息的方法
|
||||
const changeData = (index) => {
|
||||
activeButton.value = index;
|
||||
};
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.intruduction {
|
||||
width: 100%;
|
||||
margin-top: 0px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.leader-containner1 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.leader-containner2{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.leader-show {
|
||||
width: 352px;
|
||||
height: 540px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
.all-leader {
|
||||
width: 305px;
|
||||
height: 450px;
|
||||
margin-left: 24px;
|
||||
font-size: 0;
|
||||
/* 解决 inline-block 元素间的间隙问题 */
|
||||
}
|
||||
|
||||
.all-leader button {
|
||||
height: 24px;
|
||||
margin-left: 0px;
|
||||
font-family: OPPOSans;
|
||||
font-weight: 300;
|
||||
font-size: 14px;
|
||||
line-height: 18px;
|
||||
letter-spacing: 0%;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
background-color: #04142166;
|
||||
color: #E1F4FF;
|
||||
border: 1px solid #1C588F;
|
||||
border-radius: 0;
|
||||
/* 确保默认没有圆角 */
|
||||
display: inline-block;
|
||||
/* 让按钮横向排列 */
|
||||
vertical-align: middle;
|
||||
/* 垂直居中对齐 */
|
||||
}
|
||||
|
||||
/* 第一个按钮添加左圆角 */
|
||||
.all-leader button:first-child {
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
|
||||
/* 最后一个按钮添加右圆角 */
|
||||
.all-leader button:nth-child(4) {
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
/* 激活按钮样式 */
|
||||
.all-leader button.active {
|
||||
background-color: #236291;
|
||||
}
|
||||
|
||||
|
||||
.leader-radio {
|
||||
width: 800px;
|
||||
height: 540px;
|
||||
margin-left: 10px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
|
||||
}
|
||||
|
||||
|
||||
.leader-ansys {
|
||||
width: 372px;
|
||||
height: 542px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.event-hot{
|
||||
width: 352px;
|
||||
height:296px;
|
||||
margin-top: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.leader-post{
|
||||
width: 800px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.words{
|
||||
width: 372px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
</style>
|
||||
243
social-networks/src/views/GroupEvolution3.vue
Normal file
|
|
@ -0,0 +1,243 @@
|
|||
<template>
|
||||
<div>
|
||||
<div>
|
||||
<img src="../assets/images/instruction.png" alt="" class="intruduction">
|
||||
</div>
|
||||
<div class="leader-containner1">
|
||||
<div class="leader-show">
|
||||
<img src="../assets/images/leader-show.png" alt="" style="margin-top: -6px;">
|
||||
<div class="all-leader">
|
||||
<!-- 添加四个选择按钮 -->
|
||||
<button v-for="(item, index) in buttonList" :key="index" :class="{ active: activeButton === index }"
|
||||
@click="changeData(index)">
|
||||
{{ item }}
|
||||
</button>
|
||||
<div class="leader-data">
|
||||
<!-- 显示不同的数据信息 -->
|
||||
<div v-if="activeButton === 0">
|
||||
<!-- 全部种类的数据信息 -->
|
||||
全部种类的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 1">
|
||||
<!-- 新闻媒体的数据信息 -->
|
||||
|
||||
<el-avatar shape="square" :size="50" :src="squareUrl" />
|
||||
</div>
|
||||
<div v-if="activeButton === 2">
|
||||
<!-- 自媒体的数据信息 -->
|
||||
自媒体的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 3">
|
||||
<!-- 政府官号的数据信息 -->
|
||||
中国海警
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 时间节点图 -->
|
||||
<div class="leader-radio">
|
||||
<!-- 标题 -->
|
||||
<div>
|
||||
<img src="../assets/images/peiluoxi.png" alt="" style="margin-left: 125px;">
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div class="leader-time">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 领袖分析 -->
|
||||
<div class="leader-ansys">
|
||||
<div><img src="../assets/images/leader-ansys.png" alt="" style="margin-top: -6px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="leader-containner2">
|
||||
<div class="event-hot">
|
||||
<img src="../assets/images/evenhot.png" alt="" style="margin-top: -6px;">
|
||||
</div>
|
||||
<div class="leader-post">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="words">
|
||||
<img src="../assets/images/words.png" alt="" style="width: 100%;height: 308px;margin-top: -6px;">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
|
||||
// 定义按钮列表
|
||||
const buttonList = ['全部', '新闻媒体', '自媒体', '政府官号'];
|
||||
// 定义当前激活的按钮索引
|
||||
const activeButton = ref(0);
|
||||
|
||||
// 切换数据信息的方法
|
||||
const changeData = (index) => {
|
||||
activeButton.value = index;
|
||||
};
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.intruduction {
|
||||
width: 100%;
|
||||
margin-top: 0px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.leader-containner1 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.leader-containner2{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.leader-show {
|
||||
width: 352px;
|
||||
height: 540px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
.all-leader {
|
||||
width: 305px;
|
||||
height: 450px;
|
||||
margin-left: 24px;
|
||||
font-size: 0;
|
||||
/* 解决 inline-block 元素间的间隙问题 */
|
||||
}
|
||||
|
||||
.all-leader button {
|
||||
height: 24px;
|
||||
margin-left: 0px;
|
||||
font-family: OPPOSans;
|
||||
font-weight: 300;
|
||||
font-size: 14px;
|
||||
line-height: 18px;
|
||||
letter-spacing: 0%;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
background-color: #04142166;
|
||||
color: #E1F4FF;
|
||||
border: 1px solid #1C588F;
|
||||
border-radius: 0;
|
||||
/* 确保默认没有圆角 */
|
||||
display: inline-block;
|
||||
/* 让按钮横向排列 */
|
||||
vertical-align: middle;
|
||||
/* 垂直居中对齐 */
|
||||
}
|
||||
|
||||
/* 第一个按钮添加左圆角 */
|
||||
.all-leader button:first-child {
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
|
||||
/* 最后一个按钮添加右圆角 */
|
||||
.all-leader button:nth-child(4) {
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
/* 激活按钮样式 */
|
||||
.all-leader button.active {
|
||||
background-color: #236291;
|
||||
}
|
||||
|
||||
|
||||
.leader-radio {
|
||||
width: 800px;
|
||||
height: 540px;
|
||||
margin-left: 10px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
|
||||
}
|
||||
|
||||
|
||||
.leader-ansys {
|
||||
width: 372px;
|
||||
height: 542px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.event-hot{
|
||||
width: 352px;
|
||||
height:296px;
|
||||
margin-top: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.leader-post{
|
||||
width: 800px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.words{
|
||||
width: 372px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
</style>
|
||||
244
social-networks/src/views/GroupEvolution4.vue
Normal file
|
|
@ -0,0 +1,244 @@
|
|||
<template>
|
||||
<div>
|
||||
<div>
|
||||
<img src="../assets/images/instruction.png" alt="" class="intruduction">
|
||||
</div>
|
||||
<div class="leader-containner1">
|
||||
<div class="leader-show">
|
||||
<img src="../assets/images/leader-show.png" alt="" style="margin-top: -6px;">
|
||||
<div class="all-leader">
|
||||
<!-- 添加四个选择按钮 -->
|
||||
<button v-for="(item, index) in buttonList" :key="index" :class="{ active: activeButton === index }"
|
||||
@click="changeData(index)">
|
||||
{{ item }}
|
||||
</button>
|
||||
<div class="leader-data">
|
||||
<!-- 显示不同的数据信息 -->
|
||||
<div v-if="activeButton === 0">
|
||||
<!-- 全部种类的数据信息 -->
|
||||
全部种类的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 1">
|
||||
<!-- 新闻媒体的数据信息 -->
|
||||
|
||||
<el-avatar shape="square" :size="50" :src="squareUrl" />
|
||||
</div>
|
||||
<div v-if="activeButton === 2">
|
||||
<!-- 自媒体的数据信息 -->
|
||||
自媒体的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 3">
|
||||
<!-- 政府官号的数据信息 -->
|
||||
中国海警
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 时间节点图 -->
|
||||
<div class="leader-radio">
|
||||
<!-- 标题 -->
|
||||
<div>
|
||||
<img src="../assets/images/peiluoxi.png" alt="" style="margin-left: 125px;">
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div class="leader-time">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 领袖分析 -->
|
||||
<div class="leader-ansys">
|
||||
<div><img src="../assets/images/leader-ansys.png" alt="" style="margin-top: -6px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="leader-containner2">
|
||||
<div class="event-hot">
|
||||
<img src="../assets/images/evenhot.png" alt="" style="margin-top: -6px;">
|
||||
</div>
|
||||
<div class="leader-post">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="words">
|
||||
<img src="../assets/images/words.png" alt="" style="width: 100%;height: 308px;margin-top: -6px;">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
|
||||
// 定义按钮列表
|
||||
const buttonList = ['全部', '新闻媒体', '自媒体', '政府官号'];
|
||||
// 定义当前激活的按钮索引
|
||||
const activeButton = ref(0);
|
||||
|
||||
// 切换数据信息的方法
|
||||
const changeData = (index) => {
|
||||
activeButton.value = index;
|
||||
};
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.intruduction {
|
||||
width: 100%;
|
||||
margin-top: 0px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.leader-containner1 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.leader-containner2{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.leader-show {
|
||||
width: 352px;
|
||||
height: 540px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
.all-leader {
|
||||
width: 305px;
|
||||
height: 450px;
|
||||
margin-left: 24px;
|
||||
font-size: 0;
|
||||
/* 解决 inline-block 元素间的间隙问题 */
|
||||
}
|
||||
|
||||
.all-leader button {
|
||||
height: 24px;
|
||||
margin-left: 0px;
|
||||
font-family: OPPOSans;
|
||||
font-weight: 300;
|
||||
font-size: 14px;
|
||||
line-height: 18px;
|
||||
letter-spacing: 0%;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
background-color: #04142166;
|
||||
color: #E1F4FF;
|
||||
border: 1px solid #1C588F;
|
||||
border-radius: 0;
|
||||
/* 确保默认没有圆角 */
|
||||
display: inline-block;
|
||||
/* 让按钮横向排列 */
|
||||
vertical-align: middle;
|
||||
/* 垂直居中对齐 */
|
||||
}
|
||||
|
||||
/* 第一个按钮添加左圆角 */
|
||||
.all-leader button:first-child {
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
|
||||
/* 最后一个按钮添加右圆角 */
|
||||
.all-leader button:nth-child(4) {
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
/* 激活按钮样式 */
|
||||
.all-leader button.active {
|
||||
background-color: #236291;
|
||||
}
|
||||
|
||||
|
||||
.leader-radio {
|
||||
width: 800px;
|
||||
height: 540px;
|
||||
margin-left: 10px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
|
||||
}
|
||||
|
||||
|
||||
.leader-ansys {
|
||||
width: 372px;
|
||||
height: 542px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.event-hot{
|
||||
width: 352px;
|
||||
height:296px;
|
||||
margin-top: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.leader-post{
|
||||
width: 800px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.words{
|
||||
width: 372px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
</style>
|
||||
|
||||
453
social-networks/src/views/KeyNodeRecognition1.vue
Normal file
|
|
@ -0,0 +1,453 @@
|
|||
<template>
|
||||
<div>
|
||||
<div>
|
||||
<img src="../assets/images/instruction.png" alt="" class="intruduction">
|
||||
</div>
|
||||
<div class="leader-containner1">
|
||||
<div class="leader-show">
|
||||
<img src="../assets/images/leader-show.png" alt="" style="margin-top: -6px;">
|
||||
<div class="all-leader">
|
||||
<!-- 添加四个选择按钮 -->
|
||||
<button v-for="(item, index) in buttonList" :key="index" :class="{ active: activeButton === index }"
|
||||
@click="changeData(index)">
|
||||
{{ item }}
|
||||
</button>
|
||||
<div class="leader-data">
|
||||
|
||||
<!-- 新增根据时间点显示的数据 -->
|
||||
<div v-if="timePointDataIndex === 0">
|
||||
<!-- 时间点 1 的数据信息 -->
|
||||
<!-- 显示不同的数据信息 -->
|
||||
<div v-if="activeButton === 0">
|
||||
<!-- 全部种类的数据信息 -->
|
||||
全部种类的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 1">
|
||||
<!-- 新闻媒体的数据信息 -->
|
||||
|
||||
<el-avatar shape="square" :size="50" :src="squareUrl" />
|
||||
</div>
|
||||
<div v-if="activeButton === 2">
|
||||
<!-- 自媒体的数据信息 -->
|
||||
自媒体的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 3">
|
||||
<!-- 政府官号的数据信息 -->
|
||||
中国海警
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div v-if="timePointDataIndex === 1">
|
||||
时间点 2 的数据信息
|
||||
</div>
|
||||
<div v-if="timePointDataIndex === 2">
|
||||
时间点 3 的数据信息
|
||||
</div>
|
||||
<div v-if="timePointDataIndex === 3">
|
||||
时间点 4 的数据信息
|
||||
</div>
|
||||
<div v-if="timePointDataIndex === 4">
|
||||
时间点 5 的数据信息
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 时间节点图 -->
|
||||
<div class="leader-radio">
|
||||
<!-- 标题 -->
|
||||
<div>
|
||||
<img src="../assets/images/peiluoxi.png" alt="" style="margin-left: 125px;">
|
||||
</div>
|
||||
<!-- 领袖图 -->
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<!-- 时间轴 -->
|
||||
<div class="leader-time">
|
||||
<p>2022.07.31 00:00:00</p>
|
||||
<div class="progress-bar-container">
|
||||
<div class="progress-bar" :style="{ width: progress + '%' }"></div>
|
||||
<div
|
||||
v-for="(breakpoint, index) in breakpoints"
|
||||
:key="index"
|
||||
class="breakpoint"
|
||||
:style="{ left: breakpoint + '%' }"
|
||||
@click="pauseProgress(index)"
|
||||
></div>
|
||||
<!-- 添加可拖动的特殊按钮 -->
|
||||
<div
|
||||
class="drag-button"
|
||||
:style="{ left: progress + '%' }"
|
||||
@mousedown="startDrag"
|
||||
@mousemove="handleDrag"
|
||||
@mouseup="stopDrag"
|
||||
@mouseleave="stopDrag"
|
||||
></div>
|
||||
</div>
|
||||
<p>2022.08.01 00:00:00</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 领袖分析 -->
|
||||
<div class="leader-ansys">
|
||||
<div><img src="../assets/images/chuanbofenxi.png" alt="" style="margin-top: -6px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="leader-containner2">
|
||||
<div class="event-hot">
|
||||
<img src="../assets/images/evenhot.png" alt="" style="margin-top: -6px;">
|
||||
</div>
|
||||
<div class="leader-post" ref="leaderPost">
|
||||
<!-- 原始内容 -->
|
||||
<div ref="originalContent">
|
||||
<img src="../assets/images/tiewen.png" alt="">
|
||||
</div>
|
||||
<!-- 复制内容 -->
|
||||
<div ref="clonedContent"></div>
|
||||
</div>
|
||||
<div class="words">
|
||||
<img src="../assets/images/words.png" alt="" style="margin-top: -6px;">
|
||||
<img src="../assets/images/wordsimg.png" alt="" style="margin-top: 10px;margin-left: 20px;">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, onMounted, onUnmounted, nextTick } from 'vue';
|
||||
|
||||
// 定义按钮列表
|
||||
const buttonList = ['全部', '新闻媒体', '自媒体', '政府官号'];
|
||||
// 定义当前激活的按钮索引
|
||||
const activeButton = ref(0);
|
||||
// 定义 leader-post 容器的引用
|
||||
const leaderPost = ref(null);
|
||||
// 定义原始内容的引用
|
||||
const originalContent = ref(null);
|
||||
// 定义复制内容的引用
|
||||
const clonedContent = ref(null);
|
||||
// 定义是否正在拖动
|
||||
const isDragging = ref(false);
|
||||
// 定义定时器引用
|
||||
let scrollInterval = null;
|
||||
|
||||
// 定义进度条进度
|
||||
const progress = ref(0);
|
||||
// 定义定时器引用
|
||||
let progressInterval = null;
|
||||
// 定义断点位置
|
||||
const breakpoints = [4, 12.5, 25, 37.5, 50, 62.5, 75, 87.5];
|
||||
// 定义是否暂停
|
||||
const isPaused = ref(false);
|
||||
|
||||
// 开始拖动
|
||||
const startDrag = () => {
|
||||
isDragging.value = true;
|
||||
isPaused.value = true;
|
||||
};
|
||||
|
||||
// 开始进度条
|
||||
const startProgress = () => {
|
||||
progressInterval = setInterval(() => {
|
||||
if (!isPaused.value) {
|
||||
progress.value += 0.1;
|
||||
if (progress.value >= 100) {
|
||||
clearInterval(progressInterval);
|
||||
progress.value = 0;
|
||||
}
|
||||
}
|
||||
}, 10);
|
||||
};
|
||||
|
||||
// 暂停进度条
|
||||
const pauseProgress = (index) => {
|
||||
const breakpointValue = breakpoints[index];
|
||||
if (Math.abs(progress.value - breakpointValue) < 1) {
|
||||
isPaused.value = !isPaused.value;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// 切换数据信息的方法
|
||||
const changeData = (index) => {
|
||||
activeButton.value = index;
|
||||
};
|
||||
|
||||
onMounted(async () => {
|
||||
startProgress();
|
||||
if (scrollInterval) {
|
||||
clearInterval(scrollInterval);
|
||||
}
|
||||
await nextTick();
|
||||
if (leaderPost.value && originalContent.value && clonedContent.value) {
|
||||
console.log('leaderPost 高度:', leaderPost.value.offsetHeight);
|
||||
console.log('originalContent 高度:', originalContent.value.offsetHeight);
|
||||
// 复制原始内容到克隆容器
|
||||
clonedContent.value.innerHTML = originalContent.value.innerHTML;
|
||||
|
||||
// 开始自动滚动
|
||||
scrollInterval = setInterval(() => {
|
||||
const container = leaderPost.value;
|
||||
container.scrollTop += 1;
|
||||
console.log('当前滚动位置:', container.scrollTop);
|
||||
|
||||
// 当滚动到复制内容的起始位置时,重置滚动位置
|
||||
if (container.scrollTop >= originalContent.value.offsetHeight) {
|
||||
container.scrollTop = 0;
|
||||
}
|
||||
}, 50);
|
||||
} else {
|
||||
console.error('未能正确获取 DOM 元素');
|
||||
}
|
||||
});
|
||||
|
||||
onUnmounted(() => {
|
||||
if (progressInterval) {
|
||||
clearInterval(progressInterval);
|
||||
}
|
||||
if (scrollInterval) {
|
||||
clearInterval(scrollInterval);
|
||||
}
|
||||
});
|
||||
;
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.intruduction {
|
||||
width: 100%;
|
||||
margin-top: 0px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.leader-containner1 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.leader-containner2 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.leader-show {
|
||||
width: 352px;
|
||||
height: 540px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
.all-leader {
|
||||
width: 305px;
|
||||
height: 450px;
|
||||
margin-left: 24px;
|
||||
font-size: 0;
|
||||
/* 解决 inline-block 元素间的间隙问题 */
|
||||
}
|
||||
|
||||
.all-leader button {
|
||||
height: 24px;
|
||||
margin-left: 0px;
|
||||
font-family: OPPOSans;
|
||||
font-weight: 300;
|
||||
font-size: 14px;
|
||||
line-height: 18px;
|
||||
letter-spacing: 0%;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
background-color: #04142166;
|
||||
color: #E1F4FF;
|
||||
border: 1px solid #1C588F;
|
||||
border-radius: 0;
|
||||
/* 确保默认没有圆角 */
|
||||
display: inline-block;
|
||||
/* 让按钮横向排列 */
|
||||
vertical-align: middle;
|
||||
/* 垂直居中对齐 */
|
||||
}
|
||||
|
||||
/* 第一个按钮添加左圆角 */
|
||||
.all-leader button:first-child {
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
|
||||
/* 最后一个按钮添加右圆角 */
|
||||
.all-leader button:nth-child(4) {
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
/* 激活按钮样式 */
|
||||
.all-leader button.active {
|
||||
background-color: #236291;
|
||||
}
|
||||
|
||||
|
||||
.leader-radio {
|
||||
width: 800px;
|
||||
height: 540px;
|
||||
margin-left: 10px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
|
||||
}
|
||||
|
||||
.leader-time {
|
||||
width: 767px;
|
||||
height: 42px;
|
||||
margin-left: 7px;
|
||||
margin-top: 445px;
|
||||
border-radius: 4px;
|
||||
border-width: 1px;
|
||||
color: #FFFFFF;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 200;
|
||||
font-size: 14px;
|
||||
line-height: 100%;
|
||||
letter-spacing: 0%;
|
||||
background-image: linear-gradient(to right, #00527D, #97E3F87A);
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(6px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(6px);
|
||||
opacity: 0.;
|
||||
display: flex;
|
||||
/* 使用 Flexbox 布局 */
|
||||
justify-content: space-between;
|
||||
/* 让子元素两端对齐 */
|
||||
align-items: center;
|
||||
/* 垂直居中对齐 */
|
||||
padding: 0 10px;
|
||||
/* 可根据需要添加内边距 */
|
||||
}
|
||||
.progress-bar-container {
|
||||
position: absolute;
|
||||
width: 400px;
|
||||
top: 50%;
|
||||
margin-left:200px;
|
||||
height: 6px;
|
||||
border-radius: 20px;
|
||||
background-color:#3B7699;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
height: 100%;
|
||||
background-color: #007BFF;
|
||||
transition: width 0.1s linear;
|
||||
}
|
||||
|
||||
.breakpoint {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background-color: #007BFF;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
}
|
||||
.leader-ansys {
|
||||
width: 372px;
|
||||
height: 542px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
.event-hot {
|
||||
width: 352px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
.leader-post {
|
||||
width: 800px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
overflow: hidden;
|
||||
overflow-y: auto;
|
||||
max-height: 296px;
|
||||
-ms-overflow-style: none;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.words {
|
||||
width: 372px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
margin-top: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
</style>
|
||||
243
social-networks/src/views/KeyNodeRecognition2.vue
Normal file
|
|
@ -0,0 +1,243 @@
|
|||
<template>
|
||||
<div>
|
||||
<div>
|
||||
<img src="../assets/images/instruction.png" alt="" class="intruduction">
|
||||
</div>
|
||||
<div class="leader-containner1">
|
||||
<div class="leader-show">
|
||||
<img src="../assets/images/leader-show.png" alt="" style="margin-top: -6px;">
|
||||
<div class="all-leader">
|
||||
<!-- 添加四个选择按钮 -->
|
||||
<button v-for="(item, index) in buttonList" :key="index" :class="{ active: activeButton === index }"
|
||||
@click="changeData(index)">
|
||||
{{ item }}
|
||||
</button>
|
||||
<div class="leader-data">
|
||||
<!-- 显示不同的数据信息 -->
|
||||
<div v-if="activeButton === 0">
|
||||
<!-- 全部种类的数据信息 -->
|
||||
全部种类的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 1">
|
||||
<!-- 新闻媒体的数据信息 -->
|
||||
|
||||
<el-avatar shape="square" :size="50" :src="squareUrl" />
|
||||
</div>
|
||||
<div v-if="activeButton === 2">
|
||||
<!-- 自媒体的数据信息 -->
|
||||
自媒体的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 3">
|
||||
<!-- 政府官号的数据信息 -->
|
||||
中国海警
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 时间节点图 -->
|
||||
<div class="leader-radio">
|
||||
<!-- 标题 -->
|
||||
<div>
|
||||
<img src="../assets/images/peiluoxi.png" alt="" style="margin-left: 125px;">
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div class="leader-time">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 领袖分析 -->
|
||||
<div class="leader-ansys">
|
||||
<div><img src="../assets/images/leader-ansys.png" alt="" style="margin-top: -6px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="leader-containner2">
|
||||
<div class="event-hot">
|
||||
<img src="../assets/images/evenhot.png" alt="" style="margin-top: -6px;">
|
||||
</div>
|
||||
<div class="leader-post">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="words">
|
||||
<img src="../assets/images/words.png" alt="" style="width: 100%;height: 308px;margin-top: -6px;">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
|
||||
// 定义按钮列表
|
||||
const buttonList = ['全部', '新闻媒体', '自媒体', '政府官号'];
|
||||
// 定义当前激活的按钮索引
|
||||
const activeButton = ref(0);
|
||||
|
||||
// 切换数据信息的方法
|
||||
const changeData = (index) => {
|
||||
activeButton.value = index;
|
||||
};
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.intruduction {
|
||||
width: 100%;
|
||||
margin-top: 0px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.leader-containner1 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.leader-containner2{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.leader-show {
|
||||
width: 352px;
|
||||
height: 540px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
.all-leader {
|
||||
width: 305px;
|
||||
height: 450px;
|
||||
margin-left: 24px;
|
||||
font-size: 0;
|
||||
/* 解决 inline-block 元素间的间隙问题 */
|
||||
}
|
||||
|
||||
.all-leader button {
|
||||
height: 24px;
|
||||
margin-left: 0px;
|
||||
font-family: OPPOSans;
|
||||
font-weight: 300;
|
||||
font-size: 14px;
|
||||
line-height: 18px;
|
||||
letter-spacing: 0%;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
background-color: #04142166;
|
||||
color: #E1F4FF;
|
||||
border: 1px solid #1C588F;
|
||||
border-radius: 0;
|
||||
/* 确保默认没有圆角 */
|
||||
display: inline-block;
|
||||
/* 让按钮横向排列 */
|
||||
vertical-align: middle;
|
||||
/* 垂直居中对齐 */
|
||||
}
|
||||
|
||||
/* 第一个按钮添加左圆角 */
|
||||
.all-leader button:first-child {
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
|
||||
/* 最后一个按钮添加右圆角 */
|
||||
.all-leader button:nth-child(4) {
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
/* 激活按钮样式 */
|
||||
.all-leader button.active {
|
||||
background-color: #236291;
|
||||
}
|
||||
|
||||
|
||||
.leader-radio {
|
||||
width: 800px;
|
||||
height: 540px;
|
||||
margin-left: 10px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
|
||||
}
|
||||
|
||||
|
||||
.leader-ansys {
|
||||
width: 372px;
|
||||
height: 542px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.event-hot{
|
||||
width: 352px;
|
||||
height:296px;
|
||||
margin-top: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.leader-post{
|
||||
width: 800px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.words{
|
||||
width: 372px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
</style>
|
||||
243
social-networks/src/views/KeyNodeRecognition3.vue
Normal file
|
|
@ -0,0 +1,243 @@
|
|||
<template>
|
||||
<div>
|
||||
<div>
|
||||
<img src="../assets/images/instruction.png" alt="" class="intruduction">
|
||||
</div>
|
||||
<div class="leader-containner1">
|
||||
<div class="leader-show">
|
||||
<img src="../assets/images/leader-show.png" alt="" style="margin-top: -6px;">
|
||||
<div class="all-leader">
|
||||
<!-- 添加四个选择按钮 -->
|
||||
<button v-for="(item, index) in buttonList" :key="index" :class="{ active: activeButton === index }"
|
||||
@click="changeData(index)">
|
||||
{{ item }}
|
||||
</button>
|
||||
<div class="leader-data">
|
||||
<!-- 显示不同的数据信息 -->
|
||||
<div v-if="activeButton === 0">
|
||||
<!-- 全部种类的数据信息 -->
|
||||
全部种类的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 1">
|
||||
<!-- 新闻媒体的数据信息 -->
|
||||
|
||||
<el-avatar shape="square" :size="50" :src="squareUrl" />
|
||||
</div>
|
||||
<div v-if="activeButton === 2">
|
||||
<!-- 自媒体的数据信息 -->
|
||||
自媒体的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 3">
|
||||
<!-- 政府官号的数据信息 -->
|
||||
中国海警
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 时间节点图 -->
|
||||
<div class="leader-radio">
|
||||
<!-- 标题 -->
|
||||
<div>
|
||||
<img src="../assets/images/peiluoxi.png" alt="" style="margin-left: 125px;">
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div class="leader-time">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 领袖分析 -->
|
||||
<div class="leader-ansys">
|
||||
<div><img src="../assets/images/leader-ansys.png" alt="" style="margin-top: -6px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="leader-containner2">
|
||||
<div class="event-hot">
|
||||
<img src="../assets/images/evenhot.png" alt="" style="margin-top: -6px;">
|
||||
</div>
|
||||
<div class="leader-post">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="words">
|
||||
<img src="../assets/images/words.png" alt="" style="width: 100%;height: 308px;margin-top: -6px;">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
|
||||
// 定义按钮列表
|
||||
const buttonList = ['全部', '新闻媒体', '自媒体', '政府官号'];
|
||||
// 定义当前激活的按钮索引
|
||||
const activeButton = ref(0);
|
||||
|
||||
// 切换数据信息的方法
|
||||
const changeData = (index) => {
|
||||
activeButton.value = index;
|
||||
};
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.intruduction {
|
||||
width: 100%;
|
||||
margin-top: 0px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.leader-containner1 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.leader-containner2{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.leader-show {
|
||||
width: 352px;
|
||||
height: 540px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
.all-leader {
|
||||
width: 305px;
|
||||
height: 450px;
|
||||
margin-left: 24px;
|
||||
font-size: 0;
|
||||
/* 解决 inline-block 元素间的间隙问题 */
|
||||
}
|
||||
|
||||
.all-leader button {
|
||||
height: 24px;
|
||||
margin-left: 0px;
|
||||
font-family: OPPOSans;
|
||||
font-weight: 300;
|
||||
font-size: 14px;
|
||||
line-height: 18px;
|
||||
letter-spacing: 0%;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
background-color: #04142166;
|
||||
color: #E1F4FF;
|
||||
border: 1px solid #1C588F;
|
||||
border-radius: 0;
|
||||
/* 确保默认没有圆角 */
|
||||
display: inline-block;
|
||||
/* 让按钮横向排列 */
|
||||
vertical-align: middle;
|
||||
/* 垂直居中对齐 */
|
||||
}
|
||||
|
||||
/* 第一个按钮添加左圆角 */
|
||||
.all-leader button:first-child {
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
|
||||
/* 最后一个按钮添加右圆角 */
|
||||
.all-leader button:nth-child(4) {
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
/* 激活按钮样式 */
|
||||
.all-leader button.active {
|
||||
background-color: #236291;
|
||||
}
|
||||
|
||||
|
||||
.leader-radio {
|
||||
width: 800px;
|
||||
height: 540px;
|
||||
margin-left: 10px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
|
||||
}
|
||||
|
||||
|
||||
.leader-ansys {
|
||||
width: 372px;
|
||||
height: 542px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.event-hot{
|
||||
width: 352px;
|
||||
height:296px;
|
||||
margin-top: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.leader-post{
|
||||
width: 800px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.words{
|
||||
width: 372px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
</style>
|
||||
243
social-networks/src/views/LinkPrediction1.vue
Normal file
|
|
@ -0,0 +1,243 @@
|
|||
<template>
|
||||
<div>
|
||||
<div>
|
||||
<img src="../assets/images/instruction.png" alt="" class="intruduction">
|
||||
</div>
|
||||
<div class="leader-containner1">
|
||||
<div class="leader-show">
|
||||
<img src="../assets/images/leader-show.png" alt="" style="margin-top: -6px;">
|
||||
<div class="all-leader">
|
||||
<!-- 添加四个选择按钮 -->
|
||||
<button v-for="(item, index) in buttonList" :key="index" :class="{ active: activeButton === index }"
|
||||
@click="changeData(index)">
|
||||
{{ item }}
|
||||
</button>
|
||||
<div class="leader-data">
|
||||
<!-- 显示不同的数据信息 -->
|
||||
<div v-if="activeButton === 0">
|
||||
<!-- 全部种类的数据信息 -->
|
||||
全部种类的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 1">
|
||||
<!-- 新闻媒体的数据信息 -->
|
||||
|
||||
<el-avatar shape="square" :size="50" :src="squareUrl" />
|
||||
</div>
|
||||
<div v-if="activeButton === 2">
|
||||
<!-- 自媒体的数据信息 -->
|
||||
自媒体的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 3">
|
||||
<!-- 政府官号的数据信息 -->
|
||||
中国海警
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 时间节点图 -->
|
||||
<div class="leader-radio">
|
||||
<!-- 标题 -->
|
||||
<div>
|
||||
<img src="../assets/images/peiluoxi.png" alt="" style="margin-left: 125px;">
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div class="leader-time">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 领袖分析 -->
|
||||
<div class="leader-ansys">
|
||||
<div><img src="../assets/images/leader-ansys.png" alt="" style="margin-top: -6px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="leader-containner2">
|
||||
<div class="event-hot">
|
||||
<img src="../assets/images/evenhot.png" alt="" style="margin-top: -6px;">
|
||||
</div>
|
||||
<div class="leader-post">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="words">
|
||||
<img src="../assets/images/words.png" alt="" style="width: 100%;height: 308px;margin-top: -6px;">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
|
||||
// 定义按钮列表
|
||||
const buttonList = ['全部', '新闻媒体', '自媒体', '政府官号'];
|
||||
// 定义当前激活的按钮索引
|
||||
const activeButton = ref(0);
|
||||
|
||||
// 切换数据信息的方法
|
||||
const changeData = (index) => {
|
||||
activeButton.value = index;
|
||||
};
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.intruduction {
|
||||
width: 100%;
|
||||
margin-top: 0px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.leader-containner1 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.leader-containner2{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.leader-show {
|
||||
width: 352px;
|
||||
height: 540px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
.all-leader {
|
||||
width: 305px;
|
||||
height: 450px;
|
||||
margin-left: 24px;
|
||||
font-size: 0;
|
||||
/* 解决 inline-block 元素间的间隙问题 */
|
||||
}
|
||||
|
||||
.all-leader button {
|
||||
height: 24px;
|
||||
margin-left: 0px;
|
||||
font-family: OPPOSans;
|
||||
font-weight: 300;
|
||||
font-size: 14px;
|
||||
line-height: 18px;
|
||||
letter-spacing: 0%;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
background-color: #04142166;
|
||||
color: #E1F4FF;
|
||||
border: 1px solid #1C588F;
|
||||
border-radius: 0;
|
||||
/* 确保默认没有圆角 */
|
||||
display: inline-block;
|
||||
/* 让按钮横向排列 */
|
||||
vertical-align: middle;
|
||||
/* 垂直居中对齐 */
|
||||
}
|
||||
|
||||
/* 第一个按钮添加左圆角 */
|
||||
.all-leader button:first-child {
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
|
||||
/* 最后一个按钮添加右圆角 */
|
||||
.all-leader button:nth-child(4) {
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
/* 激活按钮样式 */
|
||||
.all-leader button.active {
|
||||
background-color: #236291;
|
||||
}
|
||||
|
||||
|
||||
.leader-radio {
|
||||
width: 800px;
|
||||
height: 540px;
|
||||
margin-left: 10px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
|
||||
}
|
||||
|
||||
|
||||
.leader-ansys {
|
||||
width: 372px;
|
||||
height: 542px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.event-hot{
|
||||
width: 352px;
|
||||
height:296px;
|
||||
margin-top: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.leader-post{
|
||||
width: 800px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.words{
|
||||
width: 372px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
</style>
|
||||
243
social-networks/src/views/LinkPrediction2.vue
Normal file
|
|
@ -0,0 +1,243 @@
|
|||
<template>
|
||||
<div>
|
||||
<div>
|
||||
<img src="../assets/images/instruction.png" alt="" class="intruduction">
|
||||
</div>
|
||||
<div class="leader-containner1">
|
||||
<div class="leader-show">
|
||||
<img src="../assets/images/leader-show.png" alt="" style="margin-top: -6px;">
|
||||
<div class="all-leader">
|
||||
<!-- 添加四个选择按钮 -->
|
||||
<button v-for="(item, index) in buttonList" :key="index" :class="{ active: activeButton === index }"
|
||||
@click="changeData(index)">
|
||||
{{ item }}
|
||||
</button>
|
||||
<div class="leader-data">
|
||||
<!-- 显示不同的数据信息 -->
|
||||
<div v-if="activeButton === 0">
|
||||
<!-- 全部种类的数据信息 -->
|
||||
全部种类的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 1">
|
||||
<!-- 新闻媒体的数据信息 -->
|
||||
|
||||
<el-avatar shape="square" :size="50" :src="squareUrl" />
|
||||
</div>
|
||||
<div v-if="activeButton === 2">
|
||||
<!-- 自媒体的数据信息 -->
|
||||
自媒体的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 3">
|
||||
<!-- 政府官号的数据信息 -->
|
||||
中国海警
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 时间节点图 -->
|
||||
<div class="leader-radio">
|
||||
<!-- 标题 -->
|
||||
<div>
|
||||
<img src="../assets/images/peiluoxi.png" alt="" style="margin-left: 125px;">
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div class="leader-time">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 领袖分析 -->
|
||||
<div class="leader-ansys">
|
||||
<div><img src="../assets/images/leader-ansys.png" alt="" style="margin-top: -6px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="leader-containner2">
|
||||
<div class="event-hot">
|
||||
<img src="../assets/images/evenhot.png" alt="" style="margin-top: -6px;">
|
||||
</div>
|
||||
<div class="leader-post">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="words">
|
||||
<img src="../assets/images/words.png" alt="" style="width: 100%;height: 308px;margin-top: -6px;">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
|
||||
// 定义按钮列表
|
||||
const buttonList = ['全部', '新闻媒体', '自媒体', '政府官号'];
|
||||
// 定义当前激活的按钮索引
|
||||
const activeButton = ref(0);
|
||||
|
||||
// 切换数据信息的方法
|
||||
const changeData = (index) => {
|
||||
activeButton.value = index;
|
||||
};
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.intruduction {
|
||||
width: 100%;
|
||||
margin-top: 0px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.leader-containner1 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.leader-containner2{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.leader-show {
|
||||
width: 352px;
|
||||
height: 540px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
.all-leader {
|
||||
width: 305px;
|
||||
height: 450px;
|
||||
margin-left: 24px;
|
||||
font-size: 0;
|
||||
/* 解决 inline-block 元素间的间隙问题 */
|
||||
}
|
||||
|
||||
.all-leader button {
|
||||
height: 24px;
|
||||
margin-left: 0px;
|
||||
font-family: OPPOSans;
|
||||
font-weight: 300;
|
||||
font-size: 14px;
|
||||
line-height: 18px;
|
||||
letter-spacing: 0%;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
background-color: #04142166;
|
||||
color: #E1F4FF;
|
||||
border: 1px solid #1C588F;
|
||||
border-radius: 0;
|
||||
/* 确保默认没有圆角 */
|
||||
display: inline-block;
|
||||
/* 让按钮横向排列 */
|
||||
vertical-align: middle;
|
||||
/* 垂直居中对齐 */
|
||||
}
|
||||
|
||||
/* 第一个按钮添加左圆角 */
|
||||
.all-leader button:first-child {
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
|
||||
/* 最后一个按钮添加右圆角 */
|
||||
.all-leader button:nth-child(4) {
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
/* 激活按钮样式 */
|
||||
.all-leader button.active {
|
||||
background-color: #236291;
|
||||
}
|
||||
|
||||
|
||||
.leader-radio {
|
||||
width: 800px;
|
||||
height: 540px;
|
||||
margin-left: 10px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
|
||||
}
|
||||
|
||||
|
||||
.leader-ansys {
|
||||
width: 372px;
|
||||
height: 542px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.event-hot{
|
||||
width: 352px;
|
||||
height:296px;
|
||||
margin-top: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.leader-post{
|
||||
width: 800px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.words{
|
||||
width: 372px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
</style>
|
||||
243
social-networks/src/views/LinkPrediction3.vue
Normal file
|
|
@ -0,0 +1,243 @@
|
|||
<template>
|
||||
<div>
|
||||
<div>
|
||||
<img src="../assets/images/instruction.png" alt="" class="intruduction">
|
||||
</div>
|
||||
<div class="leader-containner1">
|
||||
<div class="leader-show">
|
||||
<img src="../assets/images/leader-show.png" alt="" style="margin-top: -6px;">
|
||||
<div class="all-leader">
|
||||
<!-- 添加四个选择按钮 -->
|
||||
<button v-for="(item, index) in buttonList" :key="index" :class="{ active: activeButton === index }"
|
||||
@click="changeData(index)">
|
||||
{{ item }}
|
||||
</button>
|
||||
<div class="leader-data">
|
||||
<!-- 显示不同的数据信息 -->
|
||||
<div v-if="activeButton === 0">
|
||||
<!-- 全部种类的数据信息 -->
|
||||
全部种类的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 1">
|
||||
<!-- 新闻媒体的数据信息 -->
|
||||
|
||||
<el-avatar shape="square" :size="50" :src="squareUrl" />
|
||||
</div>
|
||||
<div v-if="activeButton === 2">
|
||||
<!-- 自媒体的数据信息 -->
|
||||
自媒体的数据信息
|
||||
</div>
|
||||
<div v-if="activeButton === 3">
|
||||
<!-- 政府官号的数据信息 -->
|
||||
中国海警
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 时间节点图 -->
|
||||
<div class="leader-radio">
|
||||
<!-- 标题 -->
|
||||
<div>
|
||||
<img src="../assets/images/peiluoxi.png" alt="" style="margin-left: 125px;">
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div class="leader-time">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 领袖分析 -->
|
||||
<div class="leader-ansys">
|
||||
<div><img src="../assets/images/leader-ansys.png" alt="" style="margin-top: -6px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="leader-containner2">
|
||||
<div class="event-hot">
|
||||
<img src="../assets/images/evenhot.png" alt="" style="margin-top: -6px;">
|
||||
</div>
|
||||
<div class="leader-post">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="words">
|
||||
<img src="../assets/images/words.png" alt="" style="width: 100%;height: 308px;margin-top: -6px;">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
|
||||
// 定义按钮列表
|
||||
const buttonList = ['全部', '新闻媒体', '自媒体', '政府官号'];
|
||||
// 定义当前激活的按钮索引
|
||||
const activeButton = ref(0);
|
||||
|
||||
// 切换数据信息的方法
|
||||
const changeData = (index) => {
|
||||
activeButton.value = index;
|
||||
};
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.intruduction {
|
||||
width: 100%;
|
||||
margin-top: 0px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.leader-containner1 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.leader-containner2{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.leader-show {
|
||||
width: 352px;
|
||||
height: 540px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
.all-leader {
|
||||
width: 305px;
|
||||
height: 450px;
|
||||
margin-left: 24px;
|
||||
font-size: 0;
|
||||
/* 解决 inline-block 元素间的间隙问题 */
|
||||
}
|
||||
|
||||
.all-leader button {
|
||||
height: 24px;
|
||||
margin-left: 0px;
|
||||
font-family: OPPOSans;
|
||||
font-weight: 300;
|
||||
font-size: 14px;
|
||||
line-height: 18px;
|
||||
letter-spacing: 0%;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
background-color: #04142166;
|
||||
color: #E1F4FF;
|
||||
border: 1px solid #1C588F;
|
||||
border-radius: 0;
|
||||
/* 确保默认没有圆角 */
|
||||
display: inline-block;
|
||||
/* 让按钮横向排列 */
|
||||
vertical-align: middle;
|
||||
/* 垂直居中对齐 */
|
||||
}
|
||||
|
||||
/* 第一个按钮添加左圆角 */
|
||||
.all-leader button:first-child {
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
|
||||
/* 最后一个按钮添加右圆角 */
|
||||
.all-leader button:nth-child(4) {
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
/* 激活按钮样式 */
|
||||
.all-leader button.active {
|
||||
background-color: #236291;
|
||||
}
|
||||
|
||||
|
||||
.leader-radio {
|
||||
width: 800px;
|
||||
height: 540px;
|
||||
margin-left: 10px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
|
||||
}
|
||||
|
||||
|
||||
.leader-ansys {
|
||||
width: 372px;
|
||||
height: 542px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.event-hot{
|
||||
width: 352px;
|
||||
height:296px;
|
||||
margin-top: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.leader-post{
|
||||
width: 800px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
border-radius: 2px;
|
||||
background-color: #04142166;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
||||
border-radius: 2px;
|
||||
/* 添加内阴影 */
|
||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||
/* 添加背景模糊 */
|
||||
backdrop-filter: blur(4px);
|
||||
/* 为了兼容 Safari 浏览器 */
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.words{
|
||||
width: 372px;
|
||||
height: 296px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
</style>
|
||||
13
social-networks/vite.config.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { defineConfig } from 'vite';
|
||||
import vue from '@vitejs/plugin-vue';
|
||||
import path from 'path';
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, 'src')
|
||||
}
|
||||
}
|
||||
})
|
||||