Browse Source

微调红色首页轮播分页点位置

将首页主轮播空心分页点放大 2px,并把红色主题分页点整体左移 10px、上移 5px。

同步更新首页 CSS 版本号,避免浏览器缓存旧样式。

Validation:

- git diff --staged --check

- curl 首页和新版 CSS,确认输出 screen-red-hero-dots 版本与新尺寸/定位值

- 浏览器读取计算样式:空心点 15px,right 40px,bottom 35px
非繁 5 months ago
parent
commit
571156e845

+ 8 - 8
WebRoot/main/ffkj-portal/portal-source.css

@@ -8544,8 +8544,8 @@ body.screen-red-theme .screen-inner-shell .inner-hero h1 {
 }
 
 .screen-hero-dots button {
-  width: 13px;
-  height: 13px;
+  width: 15px;
+  height: 15px;
   border: 2px solid rgba(255, 255, 255, 0.86);
   background: transparent;
   box-shadow: 0 2px 10px rgba(22, 48, 70, 0.16);
@@ -8572,8 +8572,8 @@ body.screen-red-theme .screen-inner-shell .inner-hero h1 {
 body.screen-red-theme .screen-hero-dots,
 .screen-red-theme .screen-hero-dots {
   left: auto;
-  right: 30px;
-  bottom: 30px;
+  right: 40px;
+  bottom: 35px;
   justify-content: flex-end;
 }
 
@@ -9432,8 +9432,8 @@ body.screen-red-theme .screen-hero-slide .screen-hero-summary {
   }
 
   .screen-hero-dots button {
-    width: 10px;
-    height: 10px;
+    width: 12px;
+    height: 12px;
   }
 
   .screen-hero-dots button.active {
@@ -9444,8 +9444,8 @@ body.screen-red-theme .screen-hero-slide .screen-hero-summary {
   body.screen-red-theme .screen-hero-dots,
   .screen-red-theme .screen-hero-dots {
     left: auto;
-    right: 30px;
-    bottom: 30px;
+    right: 40px;
+    bottom: 35px;
   }
 
   body.screen-red-theme .screen-hero-slide .screen-hero-summary {

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

@@ -8541,8 +8541,8 @@ body.screen-red-theme .screen-inner-shell .inner-hero h1 {
 }
 
 .screen-hero-dots button {
-  width: 13px;
-  height: 13px;
+  width: 15px;
+  height: 15px;
   border: 2px solid rgba(255, 255, 255, 0.86);
   background: transparent;
   box-shadow: 0 2px 10px rgba(22, 48, 70, 0.16);
@@ -8569,8 +8569,8 @@ body.screen-red-theme .screen-inner-shell .inner-hero h1 {
 body.screen-red-theme .screen-hero-dots,
 .screen-red-theme .screen-hero-dots {
   left: auto;
-  right: 30px;
-  bottom: 30px;
+  right: 40px;
+  bottom: 35px;
   justify-content: flex-end;
 }
 
@@ -9429,8 +9429,8 @@ body.screen-red-theme .screen-hero-slide .screen-hero-summary {
   }
 
   .screen-hero-dots button {
-    width: 10px;
-    height: 10px;
+    width: 12px;
+    height: 12px;
   }
 
   .screen-hero-dots button.active {
@@ -9441,8 +9441,8 @@ body.screen-red-theme .screen-hero-slide .screen-hero-summary {
   body.screen-red-theme .screen-hero-dots,
   .screen-red-theme .screen-hero-dots {
     left: auto;
-    right: 30px;
-    bottom: 30px;
+    right: 40px;
+    bottom: 35px;
   }
 
   body.screen-red-theme .screen-hero-slide .screen-hero-summary {

+ 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-footer-social"/>
+	<c:set var="screenPortalCssVersion" value="20260626-screen-red-hero-dots"/>
 	<c:set var="screenPortalJsVersion" value="20260626-screen-red-topic-arrows"/>
 </c:if>
 <!doctype html>