Răsfoiți Sursa

增加手机端首页栏目间距

手机端相邻首页栏目间距由30px增加到36px,首个校园新闻区块保持原有30px。

Validation: 本地和 hxcs 在390px宽度下,后续栏目 margin-top 均为36px。
非繁 2 luni în urmă
părinte
comite
12ed24d196

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

@@ -451,3 +451,8 @@ body.screen-list-page .footer-top{margin-top:auto}
 
 /* 媒体华夏标题单行省略 */
 #media .sub-list li strong{display:block;max-width:100%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
+
+/* 手机端首页相邻栏目间距增加6px */
+@media (max-width:900px){
+#home > .section + .section{margin-top:36px}
+}

+ 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-media-title-ellipsis">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260921-news-red-mobile-section-gap">
 </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-media-title-ellipsis">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260921-news-red-mobile-section-gap">
 </head>
 <body class="screen-red-theme">
 	<%@ 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">
 	<title>${website.seoTitle}</title>
 	<meta name="description" content="${website.seoDescription}">
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260921-news-red-media-title-ellipsis">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260921-news-red-mobile-section-gap">
 </head>
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>

+ 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-media-title-ellipsis">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260921-news-red-mobile-section-gap">
 </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-media-title-ellipsis">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260921-news-red-mobile-section-gap">
 </head>
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>