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

调整全屏风首页栏目标题顺序

将全屏风模板首页栏目标题统一调整为英文在上、中文在下,覆盖校园新闻、媒体华夏、通知公告、就读华夏以及快捷入口栏目标题。

通过 screen-shell 范围内的样式控制顺序,避免影响二级学院等其他模板;同步刷新全屏风首页资源版本号。

Validation:

- git diff --check

- 启动本地完整后台并同步运行副本

- 浏览器验证 ffkj-screen 首页多个栏目标题英文 y 坐标均在中文上方
非繁 5 месяцев назад
Родитель
Сommit
9942daf533

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

@@ -1213,6 +1213,22 @@ img {
   text-transform: uppercase;
 }
 
+.screen-shell .section-title h2 span,
+.screen-shell .section-heading span,
+.screen-shell .colorful-kicker span {
+  grid-column: 2;
+  grid-row: 2;
+}
+
+.screen-shell .section-title h2 em,
+.screen-shell .section-heading em,
+.screen-shell .colorful-kicker em {
+  grid-column: 2;
+  grid-row: 1;
+  margin-top: 0;
+  margin-bottom: 3px;
+}
+
 .section-title a {
   color: var(--hx-accent-strong);
   font-size: 13px;

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

@@ -1213,6 +1213,22 @@ img {
   text-transform: uppercase;
 }
 
+.screen-shell .section-title h2 span,
+.screen-shell .section-heading span,
+.screen-shell .colorful-kicker span {
+  grid-column: 2;
+  grid-row: 2;
+}
+
+.screen-shell .section-title h2 em,
+.screen-shell .section-heading em,
+.screen-shell .colorful-kicker em {
+  grid-column: 2;
+  grid-row: 1;
+  margin-top: 0;
+  margin-bottom: 3px;
+}
+
 .section-title a {
   color: var(--hx-accent-strong);
   font-size: 13px;

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

@@ -11,7 +11,7 @@
 	<meta name="keywords" content="${website.seoKeywords}">
 	<meta name="description" content="${website.seoDescription}">
 	<title>${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260621-screen-nav-up">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-screen-title-en-top">
 </head>
 <body class="${empty portalThemeClass ? 'screen-blue-theme' : portalThemeClass}">
 	<div class="portal-shell screen-shell ${empty portalThemeClass ? 'screen-blue-theme' : portalThemeClass}">
@@ -392,6 +392,6 @@
 			</div>
 		</footer>
 	</div>
-	<script src="/main/ffkj-portal/portal-zq.js?v=20260621-screen-nav-up"></script>
+	<script src="/main/ffkj-portal/portal-zq.js?v=20260623-screen-title-en-top"></script>
 </body>
 </html>