态势感知平台-增加武汉市开源建设生态页面展示

This commit is contained in:
fmk1023
2026-01-04 15:29:42 +08:00
parent 31da7bdea9
commit 4d9c8ed52c
4 changed files with 1508 additions and 84 deletions

View File

@@ -29,6 +29,7 @@
<transition name="fade-scale" mode="out-in">
<RiskMonitor v-if="activeTab === 'risk'" />
<EcoValuePan v-else-if="activeTab === 'eco'" />
<Community v-else-if="activeTab === 'whky'" />
</transition>
</main>
</div>
@@ -38,13 +39,14 @@
import { ref,onMounted,onUnmounted } from 'vue';
import RiskMonitor from '@/views/Jyh/security/index.vue';
import EcoValuePan from '@/views/Jyh/ecosystem/index.vue';
import Community from '@/views/Jyh/Community/index.vue';
const activeTab = ref('risk');
const tabs = [
{ id: 'risk', label: '全球开源风险态势感知监控中心', icon: 'fas fa-shield-virus' },
{ id: 'eco', label: '开源生态与贡献价值全景', icon: 'fas fa-chart-network' },
{ id: 'whky', label: '开源武汉', icon: 'fas fa-chart-network' },
{ id: 'whky', label: '武汉市开源生态建设', icon: 'fas fa-chart-network' },
];
const isFixed = ref(false);