From bcadfb6de692c138774688efd7928a973d59860f Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期二, 23 九月 2025 13:51:42 +0800
Subject: [PATCH] H5静态化
---
server/src/main/resources/templates/components/nav.html | 50 +++++++++++++++++++++++++++++++++++++-------------
1 files changed, 37 insertions(+), 13 deletions(-)
diff --git a/server/src/main/resources/templates/components/nav.html b/server/src/main/resources/templates/components/nav.html
index a3dba3d..b203e94 100644
--- a/server/src/main/resources/templates/components/nav.html
+++ b/server/src/main/resources/templates/components/nav.html
@@ -151,19 +151,40 @@
}
.nav-btn {
- margin-left: 80px;
+ margin-left: 10px;
flex-shrink: 0;
- width: 100px;
- height: 44px;
- line-height: 44px;
- text-align: center;
- background: #FF7900;
- border-radius: 22px;
- font-weight: 500;
- font-size: 16px;
- color: #FFFFFF;
- border: none;
- cursor: pointer;
+ .btn-code {
+ display:inline-block;
+ flex-shrink: 0;
+ width: 100px;
+ height: 44px;
+ line-height: 44px;
+ text-align: center;
+ border-radius: 22px;
+ border: 1px solid #FF7900;
+ font-weight: 500;
+ font-size: 16px;
+ color: #FF7900;
+ cursor: pointer;
+ }
+ .btn-use {
+ display:inline-block;
+ margin-left: 10px;
+ width: 100px;
+ height: 44px;
+ line-height: 44px;
+ text-align: center;
+ background: #FF7900;
+ border-radius: 22px;
+ font-weight: 500;
+ font-size: 16px;
+ color: #FFFFFF;
+ border: none;
+ cursor: pointer;
+ }
+ .btn-use:hover {
+ background: #FF8C24;
+ }
}
</style>
<nav>
@@ -213,7 +234,10 @@
<#if navIndex ==6></if><div class="underline"></div></#if>
</li>
</ul>
- <a href="${webDomain}/aboutChannel.html" class="nav-btn">鍏嶈垂璇曠敤</a>
+ <div class="nav-btn">
+ <a href="${gitCodeUrl}" target="_blank" class="btn-code">鑾峰彇婧愮爜</a>
+ <a href="${webDomain}/aboutChannel.html" class="btn-use">鍏嶈垂璇曠敤</a>
+ </div>
</div>
</div>
</nav>
\ No newline at end of file
--
Gitblit v1.9.3