Browse Source

恢复红色内页路径显示

调整全屏风-红色系内页横幅样式,让栏目标题继续覆盖在图片左下角,同时恢复图片下方的面包屑路径显示。

保留原先隐藏栏目摘要的处理,并刷新红色主题 CSS 版本号避免缓存。

Validation:

- curl 学院要闻列表页,确认输出 首页 / 校园新闻 / 学院要闻 路径和新版 CSS 参数

- git diff --check --cached
非繁 5 months ago
parent
commit
cec0c00a33

+ 13 - 6
WebRoot/main/ffkj-portal/portal-source.css

@@ -8109,13 +8109,10 @@ body.screen-red-theme .screen-inner-shell > .copyright {
 }
 
 body.screen-red-theme .screen-inner-shell .inner-hero-inner {
-  position: absolute;
-  right: 0;
-  bottom: 0;
-  left: 0;
+  position: relative;
   z-index: 2;
   min-height: 0;
-  padding: 0;
+  padding: 12px 0 0;
 }
 
 .screen-inner-shell .inner-breadcrumb,
@@ -8126,7 +8123,6 @@ body.screen-red-theme .screen-inner-shell .inner-hero-inner {
   text-shadow: none;
 }
 
-body.screen-red-theme .screen-inner-shell .inner-breadcrumb,
 body.screen-red-theme .screen-inner-shell .inner-hero span {
   display: none;
 }
@@ -8137,11 +8133,22 @@ body.screen-red-theme .screen-inner-shell .inner-hero span {
   font-weight: 500;
 }
 
+body.screen-red-theme .screen-inner-shell .inner-breadcrumb {
+  display: flex;
+  margin: 0;
+  color: rgba(var(--hx-red-dark-rgb), 0.72);
+  font-size: 14px;
+  line-height: 1.7;
+}
+
 .screen-inner-shell .inner-hero h1 {
   display: none;
 }
 
 body.screen-red-theme .screen-inner-shell .inner-hero h1 {
+  position: absolute;
+  bottom: 100%;
+  left: 0;
   display: inline-flex;
   align-items: center;
   max-width: min(520px, 100%);

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

@@ -8106,13 +8106,10 @@ body.screen-red-theme .screen-inner-shell > .copyright {
 }
 
 body.screen-red-theme .screen-inner-shell .inner-hero-inner {
-  position: absolute;
-  right: 0;
-  bottom: 0;
-  left: 0;
+  position: relative;
   z-index: 2;
   min-height: 0;
-  padding: 0;
+  padding: 12px 0 0;
 }
 
 .screen-inner-shell .inner-breadcrumb,
@@ -8123,7 +8120,6 @@ body.screen-red-theme .screen-inner-shell .inner-hero-inner {
   text-shadow: none;
 }
 
-body.screen-red-theme .screen-inner-shell .inner-breadcrumb,
 body.screen-red-theme .screen-inner-shell .inner-hero span {
   display: none;
 }
@@ -8134,11 +8130,22 @@ body.screen-red-theme .screen-inner-shell .inner-hero span {
   font-weight: 500;
 }
 
+body.screen-red-theme .screen-inner-shell .inner-breadcrumb {
+  display: flex;
+  margin: 0;
+  color: rgba(var(--hx-red-dark-rgb), 0.72);
+  font-size: 14px;
+  line-height: 1.7;
+}
+
 .screen-inner-shell .inner-hero h1 {
   display: none;
 }
 
 body.screen-red-theme .screen-inner-shell .inner-hero h1 {
+  position: absolute;
+  bottom: 100%;
+  left: 0;
   display: inline-flex;
   align-items: center;
   max-width: min(520px, 100%);

+ 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="description" content="${articleDescription}">
 	<title>${articleTitle}_${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260625-screen-red-nav-thumb-size">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260625-screen-red-inner-path">
 </head>
 <body class="${portalThemeClass}">
 	<div class="portal-shell inner-shell ${portalThemeClass} ${screenHeaderMode ? 'screen-shell screen-inner-shell' : ''}">

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

@@ -33,7 +33,7 @@
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="description" content="${navigation.desc}">
 	<title>${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260625-screen-red-nav-thumb-size">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260625-screen-red-inner-path">
 </head>
 <body class="${portalThemeClass}">
 	<div class="portal-shell inner-shell ${portalThemeClass} ${screenHeaderMode ? 'screen-shell screen-inner-shell screen-inner-hero-page' : ''}">

+ 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="20260625-screen-red-nav-thumb-size"/>
+	<c:set var="screenPortalCssVersion" value="20260625-screen-red-inner-path"/>
 	<c:set var="screenPortalJsVersion" value="20260625-screen-red-topic-wide"/>
 </c:if>
 <!doctype html>