Browse Source

修正新闻模板头部整体增加60px

将60px增量从主导航移回顶部红色块;红色块调整为177px,主导航恢复44px,头部整体保持221px。首页首项、纯黑导航文字和选中红线贴底状态不变。\n\nValidation:\n- 顶部红色块177px、导航44px、整体221px\n- 首页为第一项,所有导航文字为纯黑\n- 选中红线与灰色底线间距为0px
非繁 2 months ago
parent
commit
04bb3a0aec

+ 2 - 2
WebRoot/main/ffkj-portal/news-red.css

@@ -111,7 +111,7 @@ body.screen-red-theme{--hx-red:#941c1e;--hx-red-dark:#580b0c;--hx-footer-soft:#f
 
 
 /* 首页头部:降低高度并修正品牌文字颜色 */
 /* 首页头部:降低高度并修正品牌文字颜色 */
 @media (min-width:901px){
 @media (min-width:901px){
-.hero-head{height:117px}
+.hero-head{height:177px}
 .head-inner{padding-top:30px}
 .head-inner{padding-top:30px}
 .brand{display:inline-block;color:#fff;text-decoration:none;font-size:24px;line-height:1.2}
 .brand{display:inline-block;color:#fff;text-decoration:none;font-size:24px;line-height:1.2}
 .brand small{font-size:14px;margin-left:10px}
 .brand small{font-size:14px;margin-left:10px}
@@ -143,7 +143,7 @@ body.screen-red-theme{--hx-red:#941c1e;--hx-red-dark:#580b0c;--hx-footer-soft:#f
 
 
 /* 主导航:增高、纯黑字体与贴底选中线 */
 /* 主导航:增高、纯黑字体与贴底选中线 */
 @media (min-width:901px){
 @media (min-width:901px){
-.main-nav{height:104px}
+.main-nav{height:44px}
 .main-nav ul{align-items:stretch}
 .main-nav ul{align-items:stretch}
 .main-nav li{display:flex;height:100%}
 .main-nav li{display:flex;height:100%}
 .main-nav a{height:100%;display:flex;align-items:center;color:#000;border-bottom:2px solid transparent}
 .main-nav a{height:100%;display:flex;align-items:center;color:#000;border-bottom:2px solid transparent}

+ 1 - 1
WebRoot/web/upload/ffkj-template/news-red-catalog.jsp

@@ -8,7 +8,7 @@
 	<meta charset="UTF-8">
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${navigation.name}_${website.seoTitle}</title>
 	<title>${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-nav-104">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-header-total-221">
 </head>
 </head>
 <body class="screen-red-theme">
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>
 	<%@ include file="news-red-header.jsp"%>

+ 1 - 1
WebRoot/web/upload/ffkj-template/news-red-details.jsp

@@ -7,7 +7,7 @@
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="description" content="${articleDescription}">
 	<meta name="description" content="${articleDescription}">
 	<title>${articleTitle}_${navigation.name}_${website.seoTitle}</title>
 	<title>${articleTitle}_${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-nav-104">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-header-total-221">
 </head>
 </head>
 <body class="screen-red-theme">
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>
 	<%@ include file="news-red-header.jsp"%>

+ 1 - 1
WebRoot/web/upload/ffkj-template/news-red-index.jsp

@@ -12,7 +12,7 @@
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${website.seoTitle}</title>
 	<title>${website.seoTitle}</title>
 	<meta name="description" content="${website.seoDescription}">
 	<meta name="description" content="${website.seoDescription}">
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-nav-104">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-header-total-221">
 </head>
 </head>
 <body class="screen-red-theme">
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>
 	<%@ include file="news-red-header.jsp"%>

+ 1 - 1
WebRoot/web/upload/ffkj-template/news-red-list.jsp

@@ -15,7 +15,7 @@
 	<meta charset="UTF-8">
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${navigation.name}_${website.seoTitle}</title>
 	<title>${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-nav-104">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-header-total-221">
 </head>
 </head>
 <body class="screen-red-theme">
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>
 	<%@ include file="news-red-header.jsp"%>

+ 1 - 1
WebRoot/web/upload/ffkj-template/news-red-search.jsp

@@ -8,7 +8,7 @@
 	<meta charset="UTF-8">
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>站内搜索_${website.seoTitle}</title>
 	<title>站内搜索_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-nav-104">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-header-total-221">
 </head>
 </head>
 <body class="screen-red-theme">
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>
 	<%@ include file="news-red-header.jsp"%>