Sfoglia il codice sorgente

调整红色首页新闻网入口移动端位置

在 900px 以下将校园新闻图片区和“进入新闻网”入口改为纵向排列,使按钮位于图片下方并与图片左侧对齐,避免手机端被挤到图片右侧。

更新红色模板首页 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

- 710px 移动端视口验证:按钮左侧与图片左侧均为 16px,按钮位于图片底部下方 12px。
非繁 5 mesi fa
parent
commit
d0265cae5d

+ 7 - 0
WebRoot/main/ffkj-portal/portal-source.css

@@ -989,8 +989,15 @@ body.screen-red-theme .screen-shell .campus-news-list li:last-child {
 }
 
 @media (max-width: 900px) {
+  body.screen-red-theme .screen-shell .campus-feature-area.has-newsroom-entry {
+    flex-direction: column;
+    align-items: stretch;
+    justify-content: flex-start;
+  }
+
   body.screen-red-theme .screen-shell .campus-feature-area.has-newsroom-entry .campus-feature-action {
     margin-top: 12px;
+    justify-content: flex-start;
   }
 
   body.screen-red-theme .screen-shell .screen-media-panel .media-report-list {

+ 7 - 0
WebRoot/web/upload/ffkj-template/portal-source.css

@@ -989,8 +989,15 @@ body.screen-red-theme .screen-shell .campus-news-list li:last-child {
 }
 
 @media (max-width: 900px) {
+  body.screen-red-theme .screen-shell .campus-feature-area.has-newsroom-entry {
+    flex-direction: column;
+    align-items: stretch;
+    justify-content: flex-start;
+  }
+
   body.screen-red-theme .screen-shell .campus-feature-area.has-newsroom-entry .campus-feature-action {
     margin-top: 12px;
+    justify-content: flex-start;
   }
 
   body.screen-red-theme .screen-shell .screen-media-panel .media-report-list {

+ 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-hero-arrow-hover"/>
+	<c:set var="screenPortalCssVersion" value="20260626-screen-red-newsroom-entry-mobile"/>
 	<c:set var="screenPortalJsVersion" value="20260626-screen-red-nav-panel-fade"/>
 </c:if>
 <!doctype html>