From 4d9c8ed52cde69a9df05c0b8c767e1a0532ed900 Mon Sep 17 00:00:00 2001 From: fmk1023 Date: Sun, 4 Jan 2026 15:29:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=80=81=E5=8A=BF=E6=84=9F=E7=9F=A5=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0-=E5=A2=9E=E5=8A=A0=E6=AD=A6=E6=B1=89=E5=B8=82?= =?UTF-8?q?=E5=BC=80=E6=BA=90=E5=BB=BA=E8=AE=BE=E7=94=9F=E6=80=81=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Jyh/Community/StatsBar.vue | 166 +-- src/views/Jyh/Community/index.vue | 14 +- src/views/Jyh/Community/indexOld.vue | 1408 ++++++++++++++++++++++++++ src/views/Jyh/Situation/index.vue | 4 +- 4 files changed, 1508 insertions(+), 84 deletions(-) create mode 100644 src/views/Jyh/Community/indexOld.vue diff --git a/src/views/Jyh/Community/StatsBar.vue b/src/views/Jyh/Community/StatsBar.vue index aaa10af..18ea38b 100644 --- a/src/views/Jyh/Community/StatsBar.vue +++ b/src/views/Jyh/Community/StatsBar.vue @@ -1,23 +1,23 @@ @@ -29,91 +29,109 @@ name: "StatsBar" diff --git a/src/views/Jyh/Community/index.vue b/src/views/Jyh/Community/index.vue index e347d3c..da349bd 100644 --- a/src/views/Jyh/Community/index.vue +++ b/src/views/Jyh/Community/index.vue @@ -13,7 +13,7 @@
-

+

开源 · 武汉

@@ -750,10 +750,11 @@ onMounted(() => { } .index-module__NV_5cW__header { + width: 1400px; text-align: center; - margin-bottom: 3rem; - padding: 2rem 1rem 1rem; + padding: 1rem; position: relative; + margin: 0 auto 3rem; } .index-module__NV_5cW__floatingElements { @@ -809,7 +810,6 @@ onMounted(() => { } } -// 加宽标题区域:移除max-width限制,调整宽度为100%,增加内边距 .index-module__NV_5cW__titleSection { color: #333; z-index: 2; @@ -818,10 +818,6 @@ onMounted(() => { gap: 1rem; display: flex; position: relative; - width: 100%; - max-width: 1200px; // 增加最大宽度,适配大屏 - margin: 0 auto; // 居中显示 - padding: 0 2rem; // 增加左右内边距 } .index-module__NV_5cW__titleContainer { @@ -1084,7 +1080,7 @@ onMounted(() => { } .index-module__NV_5cW__sectionTitle { - color: #333; + //color: #333; text-align: center; justify-content: center; align-items: center; diff --git a/src/views/Jyh/Community/indexOld.vue b/src/views/Jyh/Community/indexOld.vue new file mode 100644 index 0000000..e347d3c --- /dev/null +++ b/src/views/Jyh/Community/indexOld.vue @@ -0,0 +1,1408 @@ + + + + + diff --git a/src/views/Jyh/Situation/index.vue b/src/views/Jyh/Situation/index.vue index 694257e..638482c 100644 --- a/src/views/Jyh/Situation/index.vue +++ b/src/views/Jyh/Situation/index.vue @@ -29,6 +29,7 @@ +
@@ -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);