Преглед изворни кода

对齐通知公告与下载专栏容器

为通知公告增加与下载专栏相同的灰色内容框、内边距和标题底边样式,使两列容器、标题和每一行边界完全对齐。

Validation: hxcs 两列容器均为 left 120/738、right 702/1320、top 1633.734、bottom 2031.234;首行 top/bottom 完全一致。
非繁 пре 2 месеци
родитељ
комит
1882913672

+ 6 - 0
WebRoot/main/ffkj-portal/news-red.css

@@ -395,3 +395,9 @@ body.screen-list-page .footer-top{margin-top:auto}
 #notice .plain-list li{height:60.5px;min-height:60.5px;padding:0}
 #notice .plain-list li a{height:100%;align-items:center}
 }
+
+
+/* 通知公告与下载专栏容器样式保持一致 */
+.notice-box{background:#f5f5f2;padding:0 44px 25px}
+.notice-box .section-title{border-bottom:1px solid #deded9}
+@media (max-width:900px){.notice-box{padding:0 18px 16px}}

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

@@ -10,7 +10,7 @@
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260921-news-red-notice-align">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260921-news-red-notice-box-align">
 </head>
 <body class="screen-red-theme screen-list-page">
 	<%@ 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="description" content="${articleDescription}">
 	<title>${articleTitle}_${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260921-news-red-notice-align">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260921-news-red-notice-box-align">
 </head>
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>

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

@@ -12,7 +12,7 @@
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${website.seoTitle}</title>
 	<meta name="description" content="${website.seoDescription}">
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260921-news-red-notice-align">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260921-news-red-notice-box-align">
 </head>
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>
@@ -77,7 +77,7 @@
 		</section>
 
 		<section class="section bottom-grid" id="notice">
-			<div>
+			<div class="notice-box">
 				<div class="section-title"><h2>${empty newsRedNoticeNmv.navigationMap.name ? '通知公告' : newsRedNoticeNmv.navigationMap.name}</h2><em>NOTICES</em><a class="more" href="${newsRedNoticeNmv.navigationMap.url}">更多 →</a></div>
 				<ul class="plain-list">
 					<c:forEach items="${newsRedNoticeNmv.articleList}" var="item">

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

@@ -17,7 +17,7 @@
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260921-news-red-notice-align">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260921-news-red-notice-box-align">
 </head>
 <body class="screen-red-theme screen-list-page">
 	<%@ 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 name="viewport" content="width=device-width, initial-scale=1">
 	<title>站内搜索_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260921-news-red-notice-align">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260921-news-red-notice-box-align">
 </head>
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>