This commit is contained in:
2026-09-02 10:19:05 +08:00
parent e969a1e559
commit b48044bdb3
6 changed files with 1759 additions and 738 deletions
+6 -6
View File
@@ -34,17 +34,17 @@ button { cursor: pointer; border: 0; background: none; font-family: inherit; }
.slogan { font-size: 18px; color: #003366; font-weight: bold; letter-spacing: 2px; }
/* ===== 板块3:主导航 ===== */
.mainnav { background: #003366; }
.mainnav { background: #F7F7F7; border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; }
.mainnav .inner { display: flex; align-items: center; height: 50px; }
.mainnav ul { display: flex; flex: 1; }
.mainnav li { position: relative; }
.mainnav li a { display: block; padding: 0 22px; height: 50px; line-height: 50px; color: #fff; font-size: 15px; font-weight: 500; }
.mainnav li:hover a { background: #002244; }
.mainnav li.cur a { background: #002244; }
.mainnav li a { display: block; padding: 0 22px; height: 50px; line-height: 50px; color: #333; font-size: 15px; font-weight: 500; }
.mainnav li:hover a { background: #fff; color: #CC0000; }
.mainnav li.cur a { background: #fff; color: #CC0000; }
.mainnav li.cur::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #CC0000; }
.nav-icons { display: flex; }
.nav-icon { width: 40px; height: 40px; background: #002244; color: #fff; margin-left: 5px; display: flex; align-items: center; justify-content: center; font-size: 18px; border-radius: 3px; }
.nav-icon:hover { background: #CC0000; color: #fff; }
.nav-icon { width: 40px; height: 40px; background: #fff; color: #003366; margin-left: 5px; display: flex; align-items: center; justify-content: center; font-size: 18px; border-radius: 3px; border: 1px solid #e0e0e0; }
.nav-icon:hover { background: #CC0000; color: #fff; border-color: #CC0000; }
/* ===== 板块通用:标题栏 ===== */
.sec-title { height: 40px; line-height: 40px; border-bottom: 1px solid #e0e0e0; margin-bottom: 10px; padding-left: 12px; position: relative; }