From 617458b15989921db2c0e9bbff4c6495e97e32c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=80=9D?= Date: Fri, 16 Jan 2026 10:31:13 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=BC=80=E6=BA=90=E8=BD=AF?= =?UTF-8?q?=E4=BB=B6=E4=BB=93=E8=B0=83=E6=95=B4=E8=AE=BE=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../projecthome/v2/components/project.jsx | 23 ++++++++++++------- src/forge/Main/projecthome/v2/index.scss | 17 +++++++++----- 2 files changed, 26 insertions(+), 14 deletions(-) diff --git a/src/forge/Main/projecthome/v2/components/project.jsx b/src/forge/Main/projecthome/v2/components/project.jsx index 605cc5ba8..c35351eb3 100644 --- a/src/forge/Main/projecthome/v2/components/project.jsx +++ b/src/forge/Main/projecthome/v2/components/project.jsx @@ -43,14 +43,21 @@ const RepositoryV2 = () => {
{/* 导航标签 */} -
- {tabs.map((tab) => ( -
- {tab.label} - {tab.label} -
- ))} +
+
+
菌用开源资源可信服务平台
+ 菌用开源软件仓库是国防领域专业化开源服务平台,聚焦可信引入、安全存储、可控访问、高效分发核心能力,
遵循菌用标准,为菌用软件研发提供合规、安全、高效的开源资源支撑 +
+
+ {tabs.map((tab) => ( +
+ {tab.label} + {tab.label} +
+ ))} +
+ {/* 主要内容区域 */}
@@ -75,7 +82,7 @@ const RepositoryV2 = () => { ))}
- {rollingButton({href: `/explore`})} + {rollingButton({href: `/explore`, target:"_blank"})}
{/* 右侧架构图 - 使用图片 */} diff --git a/src/forge/Main/projecthome/v2/index.scss b/src/forge/Main/projecthome/v2/index.scss index 801ce1e1b..76bbd81c1 100644 --- a/src/forge/Main/projecthome/v2/index.scss +++ b/src/forge/Main/projecthome/v2/index.scss @@ -496,13 +496,18 @@ .nav-tabs-v2 { display: flex; justify-content: center; - gap: 60px; - margin-bottom: 50px; + flex-wrap: wrap; + gap: 20px; + width: 710px; .tab-item-v2 { - padding: 9px 35px; - background-color: #f6f7fa; - border-radius: 27px; + width:223px; + height:74px; + background-color:#f6f7fa; + border-radius:10px; + text-align: center; + line-height: 74px; + // transition: all 0.3s ease; // &.active { // background-color: #091221; @@ -541,7 +546,7 @@ } .supply-chain-governance { - padding: 30px 20px 50px; + padding: 70px 20px 50px; .governance-grid { display: flex;