Sfoglia il codice sorgente

调整红色首页移动端底部间距

在红色模板 900px 以下断点内调整底部二维码区域的上、右、下间距和顶部内边距,并为友情链接网格增加底部留白。

采用标注里的最终值:二维码 margin-bottom 使用 31px,友情链接 padding-bottom 13px、margin-bottom 28px。同步更新首页 CSS 版本号避免缓存。

Validation:

- git diff --check -- WebRoot/main/ffkj-portal/portal-source.css WebRoot/web/upload/ffkj-template/portal-source.css WebRoot/web/upload/ffkj-template/screen-index.jsp

- 630px 移动端视口验证:二维码 margin-top 20px、margin-right -4px、margin-bottom 31px、padding-top 1px;友情链接 margin-bottom 28px、padding-bottom 13px。
非繁 5 mesi fa
parent
commit
81ba0c0aa0

+ 4 - 3
WebRoot/main/ffkj-portal/portal-source.css

@@ -1043,8 +1043,8 @@ body.screen-red-theme .screen-shell .campus-news-list li:last-child {
 
   body.screen-red-theme .screen-footer-qrcode {
     justify-content: center;
-    margin: 0;
-    padding: 0;
+    margin: 20px -4px 31px 0;
+    padding: 1px 0 0;
   }
 
   body.screen-red-theme .screen-footer-logo {
@@ -1066,7 +1066,8 @@ body.screen-red-theme .screen-shell .campus-news-list li:last-child {
   body.screen-red-theme .screen-footer-links .screen-footer-friend-grid {
     display: grid;
     width: min(420px, 100%);
-    margin: 0 auto;
+    margin: 0 auto 28px;
+    padding-bottom: 13px;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 8px 28px;
   }

+ 4 - 3
WebRoot/web/upload/ffkj-template/portal-source.css

@@ -1043,8 +1043,8 @@ body.screen-red-theme .screen-shell .campus-news-list li:last-child {
 
   body.screen-red-theme .screen-footer-qrcode {
     justify-content: center;
-    margin: 0;
-    padding: 0;
+    margin: 20px -4px 31px 0;
+    padding: 1px 0 0;
   }
 
   body.screen-red-theme .screen-footer-logo {
@@ -1066,7 +1066,8 @@ body.screen-red-theme .screen-shell .campus-news-list li:last-child {
   body.screen-red-theme .screen-footer-links .screen-footer-friend-grid {
     display: grid;
     width: min(420px, 100%);
-    margin: 0 auto;
+    margin: 0 auto 28px;
+    padding-bottom: 13px;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 8px 28px;
   }

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

@@ -9,7 +9,7 @@
 <c:set var="screenPortalCssVersion" value="20260623-news-bg"/>
 <c:set var="screenPortalJsVersion" value="20260623-hero-wheel-return"/>
 <c:if test="${portalThemeClass eq 'screen-red-theme'}">
-	<c:set var="screenPortalCssVersion" value="20260626-screen-red-mobile-close-red"/>
+	<c:set var="screenPortalCssVersion" value="20260626-screen-red-mobile-footer-spacing"/>
 	<c:set var="screenPortalJsVersion" value="20260626-screen-red-nav-panel-fade"/>
 </c:if>
 <!doctype html>