Răsfoiți Sursa

去掉全屏风校园新闻白色底

移除全屏风首页校园新闻内容区的白色容器背景和阴影,同时取消左侧轮播图外层白色 padding 与右侧列表白底,让该区域自然融入页面浅色背景。

同步模板 CSS 副本并更新全屏风相关 JSP 的样式版本号,避免浏览器继续读取旧缓存。

Validation:

- git diff --check

- 浏览器验证 ffkj-screen.localhost 首页校园新闻内容容器、左图区域、右侧列表背景均为透明
非繁 5 luni în urmă
părinte
comite
c8b181fe2f

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

@@ -1294,8 +1294,8 @@ img {
   grid-template-columns: minmax(0, 704px) minmax(0, 1fr);
   grid-template-columns: minmax(0, 704px) minmax(0, 1fr);
   align-items: stretch;
   align-items: stretch;
   gap: 20px;
   gap: 20px;
-  background: var(--white);
-  box-shadow: 0 10px 28px rgba(var(--hx-red-dark-rgb), 0.08);
+  background: transparent;
+  box-shadow: none;
 }
 }
 
 
 .campus-feature-area {
 .campus-feature-area {
@@ -1303,8 +1303,8 @@ img {
   align-items: center;
   align-items: center;
   justify-content: center;
   justify-content: center;
   min-width: 0;
   min-width: 0;
-  padding: 12px;
-  background: var(--white);
+  padding: 0;
+  background: transparent;
 }
 }
 
 
 .campus-feature-carousel {
 .campus-feature-carousel {
@@ -1427,9 +1427,9 @@ img {
   min-width: 0;
   min-width: 0;
   min-height: 100%;
   min-height: 100%;
   margin: 0;
   margin: 0;
-  padding: 26px 40px 24px 0;
+  padding: 14px 40px 12px 0;
   list-style: none;
   list-style: none;
-  background: var(--white);
+  background: transparent;
 }
 }
 
 
 .campus-news-list li {
 .campus-news-list li {
@@ -5562,11 +5562,11 @@ body.drawer-open .drawer-head {
   }
   }
 
 
   .campus-feature-area {
   .campus-feature-area {
-    padding: 18px;
+    padding: 0;
   }
   }
 
 
   .campus-news-list {
   .campus-news-list {
-    padding: 20px 28px 18px 0;
+    padding: 12px 28px 10px 0;
   }
   }
 
 
   .campus-news-list a {
   .campus-news-list a {

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

@@ -1294,8 +1294,8 @@ img {
   grid-template-columns: minmax(0, 704px) minmax(0, 1fr);
   grid-template-columns: minmax(0, 704px) minmax(0, 1fr);
   align-items: stretch;
   align-items: stretch;
   gap: 20px;
   gap: 20px;
-  background: var(--white);
-  box-shadow: 0 10px 28px rgba(var(--hx-red-dark-rgb), 0.08);
+  background: transparent;
+  box-shadow: none;
 }
 }
 
 
 .campus-feature-area {
 .campus-feature-area {
@@ -1303,8 +1303,8 @@ img {
   align-items: center;
   align-items: center;
   justify-content: center;
   justify-content: center;
   min-width: 0;
   min-width: 0;
-  padding: 12px;
-  background: var(--white);
+  padding: 0;
+  background: transparent;
 }
 }
 
 
 .campus-feature-carousel {
 .campus-feature-carousel {
@@ -1427,9 +1427,9 @@ img {
   min-width: 0;
   min-width: 0;
   min-height: 100%;
   min-height: 100%;
   margin: 0;
   margin: 0;
-  padding: 26px 40px 24px 0;
+  padding: 14px 40px 12px 0;
   list-style: none;
   list-style: none;
-  background: var(--white);
+  background: transparent;
 }
 }
 
 
 .campus-news-list li {
 .campus-news-list li {
@@ -5562,11 +5562,11 @@ body.drawer-open .drawer-head {
   }
   }
 
 
   .campus-feature-area {
   .campus-feature-area {
-    padding: 18px;
+    padding: 0;
   }
   }
 
 
   .campus-news-list {
   .campus-news-list {
-    padding: 20px 28px 18px 0;
+    padding: 12px 28px 10px 0;
   }
   }
 
 
   .campus-news-list a {
   .campus-news-list a {

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

@@ -9,7 +9,7 @@
 	<meta charset="UTF-8">
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${navigation.name}_${website.seoTitle}</title>
 	<title>${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-scau-header">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-news-bg">
 </head>
 </head>
 <body class="${portalThemeClass}">
 <body class="${portalThemeClass}">
 	<div class="portal-shell inner-shell ${portalThemeClass} ${screenHeaderMode ? 'screen-shell screen-inner-shell' : ''}">
 	<div class="portal-shell inner-shell ${portalThemeClass} ${screenHeaderMode ? 'screen-shell screen-inner-shell' : ''}">

+ 1 - 1
WebRoot/web/upload/ffkj-template/school-details.jsp

@@ -10,7 +10,7 @@
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="description" content="${articleDescription}">
 	<meta name="description" content="${articleDescription}">
 	<title>${articleTitle}_${navigation.name}_${website.seoTitle}</title>
 	<title>${articleTitle}_${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-scau-header">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-news-bg">
 </head>
 </head>
 <body class="${portalThemeClass}">
 <body class="${portalThemeClass}">
 	<div class="portal-shell inner-shell ${portalThemeClass} ${screenHeaderMode ? 'screen-shell screen-inner-shell' : ''}">
 	<div class="portal-shell inner-shell ${portalThemeClass} ${screenHeaderMode ? 'screen-shell screen-inner-shell' : ''}">

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

@@ -24,7 +24,7 @@
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="description" content="${navigation.desc}">
 	<meta name="description" content="${navigation.desc}">
 	<title>${navigation.name}_${website.seoTitle}</title>
 	<title>${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-scau-header">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-news-bg">
 </head>
 </head>
 <body class="${portalThemeClass}">
 <body class="${portalThemeClass}">
 	<div class="portal-shell inner-shell ${portalThemeClass} ${screenHeaderMode ? 'screen-shell screen-inner-shell' : ''}">
 	<div class="portal-shell inner-shell ${portalThemeClass} ${screenHeaderMode ? 'screen-shell screen-inner-shell' : ''}">

+ 1 - 1
WebRoot/web/upload/ffkj-template/school-search.jsp

@@ -10,7 +10,7 @@
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="description" content="${website.seoDescription}">
 	<meta name="description" content="${website.seoDescription}">
 	<title>站内搜索_${website.seoTitle}</title>
 	<title>站内搜索_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-scau-header">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-news-bg">
 </head>
 </head>
 <body class="${portalThemeClass}">
 <body class="${portalThemeClass}">
 	<div class="portal-shell inner-shell ${portalThemeClass} ${screenHeaderMode ? 'screen-shell screen-inner-shell' : ''}">
 	<div class="portal-shell inner-shell ${portalThemeClass} ${screenHeaderMode ? 'screen-shell screen-inner-shell' : ''}">

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

@@ -11,7 +11,7 @@
 	<meta name="keywords" content="${website.seoKeywords}">
 	<meta name="keywords" content="${website.seoKeywords}">
 	<meta name="description" content="${website.seoDescription}">
 	<meta name="description" content="${website.seoDescription}">
 	<title>${website.seoTitle}</title>
 	<title>${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-scau-header">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-news-bg">
 </head>
 </head>
 <body class="${empty portalThemeClass ? 'screen-blue-theme' : portalThemeClass}">
 <body class="${empty portalThemeClass ? 'screen-blue-theme' : portalThemeClass}">
 	<div class="portal-shell screen-shell ${empty portalThemeClass ? 'screen-blue-theme' : portalThemeClass}">
 	<div class="portal-shell screen-shell ${empty portalThemeClass ? 'screen-blue-theme' : portalThemeClass}">