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);