Просмотр исходного кода

调整红色系内页头图栏目标题

全屏风-红色系内页列表头图左下角显示当前栏目名称,并为标题增加半透明红色底块。

隐藏红色系头图区域原有面包屑和描述文字,保留其他主题原有表现。

Validation:

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

- curl -s http://ffkj-screen-red.localhost:4188/xiaoyuanxinwen/zhuantizhuanlan/ | rg -n 'portal-source.css\?v=|<h1>专题专栏</h1>|专题报道和重点专栏|inner-breadcrumb'
非繁 5 месяцев назад
Родитель
Сommit
e5eb4dbe5b

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

@@ -8064,6 +8064,16 @@ body.drawer-open .drawer-head {
   padding: 14px 0 18px;
 }
 
+body.screen-red-theme .screen-inner-shell .inner-hero-inner {
+  position: absolute;
+  right: 0;
+  bottom: 0;
+  left: 0;
+  z-index: 2;
+  min-height: 0;
+  padding: 0;
+}
+
 .screen-inner-shell .inner-breadcrumb,
 .screen-inner-shell .inner-hero span {
   width: fit-content;
@@ -8072,6 +8082,11 @@ body.drawer-open .drawer-head {
   text-shadow: none;
 }
 
+body.screen-red-theme .screen-inner-shell .inner-breadcrumb,
+body.screen-red-theme .screen-inner-shell .inner-hero span {
+  display: none;
+}
+
 .screen-inner-shell .inner-breadcrumb {
   padding: 0;
   background: transparent;
@@ -8082,6 +8097,22 @@ body.drawer-open .drawer-head {
   display: none;
 }
 
+body.screen-red-theme .screen-inner-shell .inner-hero h1 {
+  display: inline-flex;
+  align-items: center;
+  max-width: min(520px, 100%);
+  min-height: 58px;
+  margin: 0;
+  padding: 0 34px;
+  color: #ffffff;
+  background: rgba(148, 28, 30, 0.82);
+  font-family: syh-m, "Microsoft YaHei", "PingFang SC", sans-serif;
+  font-size: clamp(26px, 2vw, 34px);
+  font-weight: 600;
+  line-height: 1.2;
+  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
+}
+
 .screen-inner-shell .inner-hero span {
   margin-top: 7px;
   padding: 0;

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

@@ -8061,6 +8061,16 @@ body.drawer-open .drawer-head {
   padding: 14px 0 18px;
 }
 
+body.screen-red-theme .screen-inner-shell .inner-hero-inner {
+  position: absolute;
+  right: 0;
+  bottom: 0;
+  left: 0;
+  z-index: 2;
+  min-height: 0;
+  padding: 0;
+}
+
 .screen-inner-shell .inner-breadcrumb,
 .screen-inner-shell .inner-hero span {
   width: fit-content;
@@ -8069,6 +8079,11 @@ body.drawer-open .drawer-head {
   text-shadow: none;
 }
 
+body.screen-red-theme .screen-inner-shell .inner-breadcrumb,
+body.screen-red-theme .screen-inner-shell .inner-hero span {
+  display: none;
+}
+
 .screen-inner-shell .inner-breadcrumb {
   padding: 0;
   background: transparent;
@@ -8079,6 +8094,22 @@ body.drawer-open .drawer-head {
   display: none;
 }
 
+body.screen-red-theme .screen-inner-shell .inner-hero h1 {
+  display: inline-flex;
+  align-items: center;
+  max-width: min(520px, 100%);
+  min-height: 58px;
+  margin: 0;
+  padding: 0 34px;
+  color: #ffffff;
+  background: rgba(148, 28, 30, 0.82);
+  font-family: syh-m, "Microsoft YaHei", "PingFang SC", sans-serif;
+  font-size: clamp(26px, 2vw, 34px);
+  font-weight: 600;
+  line-height: 1.2;
+  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
+}
+
 .screen-inner-shell .inner-hero span {
   margin-top: 7px;
   padding: 0;

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

@@ -30,7 +30,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-topic-thumb">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260625-screen-red-inner-title">
 </head>
 <body class="${portalThemeClass}">
 	<div class="portal-shell inner-shell ${portalThemeClass} ${screenHeaderMode ? 'screen-shell screen-inner-shell screen-inner-hero-page' : ''}">