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;