Ver Fonte

适配车辆学院参考站字号基线

参照 info.scau.edu.cn 调整车辆与自动化学院网站及 ffkjvehicle1 模板的字号,
覆盖导航、首页栏目、新闻标题、摘要、日期、卡片说明、正文和页脚。
保持1200px版心、栅格、间距、模块顺序和图标尺寸不变,仅缩小桌面导航项左右内边距以容纳新字号。

Validation:
- 首页、列表页、正文页和后台工作台均返回200。
- 1440/1280/1201px导航均在1200版心内。
- 1200/980/820/768/640/390/320px均无横向溢出。
- 正文16px,导航17.6px,栏目标题22.4px,新闻标题16.8px。
- 线上CSS与本地SHA-256一致,未修改栏目、文章、图片或业务数据。
非繁 há 2 semanas atrás
pai
commit
cb58a0af0b

+ 55 - 0
WebRoot/main/ffkj-portal/vehicle-college.css

@@ -497,3 +497,58 @@ body.vehicle-page button{cursor:pointer}
   .vc-ref-adm-grid{grid-template-columns:1fr}
   .vc-ref-adm-grid{grid-template-columns:1fr}
   .vc-ref-admissions{padding:20px}
   .vc-ref-admissions{padding:20px}
 }
 }
+
+/* ===== 参考站字号基线(2026-11-13) =====
+   仅调整字号,不改变版心宽度、栅格、间距、模块顺序或图标尺寸。 */
+:root{
+  --vc-type-body:16px;
+  --vc-type-nav:17.6px;
+  --vc-type-section:22.4px;
+  --vc-type-title:16.8px;
+  --vc-type-desc:14.4px;
+  --vc-type-meta:13px;
+}
+body.vehicle-page{font-size:var(--vc-type-body)}
+.vc-topbar{font-size:14px}
+.vc-nav-link{font-size:var(--vc-type-nav);padding-left:5px;padding-right:5px}
+.vc-subnav a{font-size:15px}
+.vc-home-eyebrow{font-size:var(--vc-type-section)}
+.vc-home-eyebrow .en{font-size:12px}
+.vc-home-more-link{font-size:14px}
+.vc-news-list a,.vc-notice-list strong{font-size:var(--vc-type-title)}
+.vc-news-list time,.vc-notice-list time{font-size:var(--vc-type-meta)}
+.vc-ref-news-title{font-size:var(--vc-type-title)}
+.vc-ref-news-date b{font-size:16px}
+.vc-ref-news-date span{font-size:var(--vc-type-meta)}
+.vc-ref-news-stage figcaption{font-size:var(--vc-type-desc)}
+.vc-ref-explore-copy h3,.vc-ref-industry-card h3{font-size:17px}
+.vc-ref-explore-copy p,.vc-ref-industry-card p,.vc-ref-industry-photo figcaption{font-size:var(--vc-type-desc)}
+.vc-ref-explore-go{font-size:var(--vc-type-desc)}
+.vc-ref-video-duration{font-size:var(--vc-type-meta)}
+.vc-ref-adm-sub{font-size:16px}
+.vc-ref-adm-card strong{font-size:var(--vc-type-title)}
+.vc-ref-adm-card span{font-size:var(--vc-type-meta)}
+.vc-ref-student-card span{font-size:var(--vc-type-desc)}
+.vc-footer{font-size:13px}
+.vc-footer h4{font-size:16px}
+.vc-sidebar-nav a{font-size:15px}
+.vc-article-copy h2{font-size:var(--vc-type-title)}
+.vc-article-copy p{font-size:var(--vc-type-desc)}
+.vc-article-meta{font-size:var(--vc-type-meta)}
+.vc-catalog-card p{font-size:var(--vc-type-desc)}
+.vc-detail-meta{font-size:var(--vc-type-meta)}
+.vc-detail-content{font-size:16px}
+.vc-detail-content table{font-size:15px}
+.vc-detail-content .vehicle-source-link{font-size:13px}
+.vc-detail-actions a{font-size:14px}
+.vc-search-form input,.vc-search-form button{font-size:16px}
+@media (max-width:1200px){
+  .vc-nav-link{font-size:16px;padding:12px 8px}
+}
+@media (max-width:560px){
+  .vc-topbar{font-size:14px}
+  .vc-home-eyebrow{font-size:20px}
+  .vc-home-eyebrow .en{font-size:11px}
+  .vc-ref-news-title,.vc-news-list a,.vc-notice-list strong{font-size:16px}
+  .vc-detail-content{font-size:16px}
+}

+ 1 - 1
WebRoot/web/upload/ffkj-template/vehicle-catalog.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">
 	<title>${navigation.name}_${empty website.seoTitle ? website.name : website.seoTitle}</title>
 	<title>${navigation.name}_${empty website.seoTitle ? website.name : website.seoTitle}</title>
 	<link rel="icon" href="${empty website.seoIcon ? website.logo : website.seoIcon}?v=20261105-logo-2">
 	<link rel="icon" href="${empty website.seoIcon ? website.logo : website.seoIcon}?v=20261105-logo-2">
-	<link rel="stylesheet" href="/main/ffkj-portal/vehicle-college.css?v=20261105-home-tuning-6">
+	<link rel="stylesheet" href="/main/ffkj-portal/vehicle-college.css?v=20261113-scau-font-baseline">
 </head>
 </head>
 <body class="vehicle-page" id="top">
 <body class="vehicle-page" id="top">
 	<%@ include file="vehicle-header.jsp"%>
 	<%@ include file="vehicle-header.jsp"%>

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

@@ -12,7 +12,7 @@
 	<title>${articleTitle}_${navigation.name}_${empty website.seoTitle ? website.name : website.seoTitle}</title>
 	<title>${articleTitle}_${navigation.name}_${empty website.seoTitle ? website.name : website.seoTitle}</title>
 	<script src="/main/dist/websites/plug-in/jquery/jquery1.11.3.min.js"></script>
 	<script src="/main/dist/websites/plug-in/jquery/jquery1.11.3.min.js"></script>
 	<link rel="icon" href="${empty website.seoIcon ? website.logo : website.seoIcon}?v=20261105-logo-2">
 	<link rel="icon" href="${empty website.seoIcon ? website.logo : website.seoIcon}?v=20261105-logo-2">
-	<link rel="stylesheet" href="/main/ffkj-portal/vehicle-college.css?v=20261105-home-tuning-6">
+	<link rel="stylesheet" href="/main/ffkj-portal/vehicle-college.css?v=20261113-scau-font-baseline">
 </head>
 </head>
 <body class="vehicle-page" id="top">
 <body class="vehicle-page" id="top">
 	<%@ include file="vehicle-header.jsp"%>
 	<%@ include file="vehicle-header.jsp"%>

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

@@ -45,7 +45,7 @@
 	<meta name="description" content="${website.seoDescription}">
 	<meta name="description" content="${website.seoDescription}">
 	<title>${empty website.seoTitle ? website.name : website.seoTitle}</title>
 	<title>${empty website.seoTitle ? website.name : website.seoTitle}</title>
 	<link rel="icon" href="${empty website.seoIcon ? website.logo : website.seoIcon}?v=20261105-logo-2">
 	<link rel="icon" href="${empty website.seoIcon ? website.logo : website.seoIcon}?v=20261105-logo-2">
-	<link rel="stylesheet" href="/main/ffkj-portal/vehicle-college.css?v=20261105-home-tuning-6">
+	<link rel="stylesheet" href="/main/ffkj-portal/vehicle-college.css?v=20261113-scau-font-baseline">
 </head>
 </head>
 <body class="vehicle-page" id="top">
 <body class="vehicle-page" id="top">
 	<%@ include file="vehicle-header.jsp"%>
 	<%@ include file="vehicle-header.jsp"%>

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

@@ -11,7 +11,7 @@
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${navigation.name}_${empty website.seoTitle ? website.name : website.seoTitle}</title>
 	<title>${navigation.name}_${empty website.seoTitle ? website.name : website.seoTitle}</title>
 	<link rel="icon" href="${empty website.seoIcon ? website.logo : website.seoIcon}?v=20261105-logo-2">
 	<link rel="icon" href="${empty website.seoIcon ? website.logo : website.seoIcon}?v=20261105-logo-2">
-	<link rel="stylesheet" href="/main/ffkj-portal/vehicle-college.css?v=20261105-home-tuning-6">
+	<link rel="stylesheet" href="/main/ffkj-portal/vehicle-college.css?v=20261113-scau-font-baseline">
 </head>
 </head>
 <body class="vehicle-page" id="top">
 <body class="vehicle-page" id="top">
 	<%@ include file="vehicle-header.jsp"%>
 	<%@ include file="vehicle-header.jsp"%>

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

@@ -9,7 +9,7 @@
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>站内搜索_${empty website.seoTitle ? website.name : website.seoTitle}</title>
 	<title>站内搜索_${empty website.seoTitle ? website.name : website.seoTitle}</title>
 	<link rel="icon" href="${empty website.seoIcon ? website.logo : website.seoIcon}?v=20261105-logo-2">
 	<link rel="icon" href="${empty website.seoIcon ? website.logo : website.seoIcon}?v=20261105-logo-2">
-	<link rel="stylesheet" href="/main/ffkj-portal/vehicle-college.css?v=20261105-home-tuning-6">
+	<link rel="stylesheet" href="/main/ffkj-portal/vehicle-college.css?v=20261113-scau-font-baseline">
 </head>
 </head>
 <body class="vehicle-page" id="top">
 <body class="vehicle-page" id="top">
 	<%@ include file="vehicle-header.jsp"%>
 	<%@ include file="vehicle-header.jsp"%>

+ 88 - 0
local-run/reports/vehicle-scau-font-baseline-20261113/README.md

@@ -0,0 +1,88 @@
+# 车辆与自动化学院参考站字号适配
+
+- 执行日期:2026-11-13
+- 网站:`https://cl2026.gzhxtc.edu.cn/`
+- 网站 ID:`10080`
+- 模板:`ffkjvehicle1`(模板 ID `69`)
+- 参考站:`https://info.scau.edu.cn/`
+- 范围:只调整字号;不改版心宽度、栅格、间距、模块顺序、图标尺寸、栏目、文章、图片或业务数据
+
+## 1. 字号基线
+
+参考站关键字号:
+
+- 基础字号:`16px`
+- 主导航:`17.6px`
+- 栏目标题:`22.4px`
+- 新闻标题:`16.8px`
+- 新闻摘要:`14.4px`
+- 日期:约 `13px`
+- “更多”:`14px`
+
+车辆学院调整后:
+
+- 基础字号:`16px`
+- 主导航:`17.6px`
+- 首页栏目名称:`22.4px`
+- 新闻/列表标题:`16.8px`
+- 新闻摘要、卡片说明:`14.4px`
+- 日期、文章元信息:`13px`
+- 正文:`16px`
+- 正文表格:`15px`
+- 页脚正文:`13px`
+
+导航字号增大后,仅缩小导航项自身左右内边距以保持 1200px 版心,不改变导航高度、顺序和版式结构。
+
+## 2. 覆盖页面
+
+- 首页
+- 列表页
+- 目录页
+- 正文页
+- 站内搜索页
+
+模板文件:
+
+- `WebRoot/main/ffkj-portal/vehicle-college.css`
+- `WebRoot/web/upload/ffkj-template/vehicle-index.jsp`
+- `WebRoot/web/upload/ffkj-template/vehicle-list.jsp`
+- `WebRoot/web/upload/ffkj-template/vehicle-catalog.jsp`
+- `WebRoot/web/upload/ffkj-template/vehicle-details.jsp`
+- `WebRoot/web/upload/ffkj-template/vehicle-search.jsp`
+
+CSS 缓存版本:
+
+`20261113-scau-font-baseline`
+
+## 3. 验证结果
+
+桌面 1440px:
+
+- 导航:`17.6px`
+- 栏目标题:`22.4px`
+- 新闻标题:`16.8px`
+- 新闻摘要:`14.4px`
+- 日期:`13px`
+- 正文:`16px`
+
+响应式与布局:
+
+- `1440 / 1280 / 1201px` 导航均位于 1200px 版心内
+- `1200px` 起切换移动导航
+- `980 / 820 / 768 / 640 / 390 / 320px` 均无横向溢出
+- 页面版心保持 `1200px`
+- 原有栅格、间距、模块顺序和图标尺寸未调整
+
+页面状态:
+
+- 首页:`200`
+- 列表页:`200`
+- 正文页:`200`
+- 后台工作台:`200`
+
+线上 CSS 与本地 SHA-256 一致,未重启服务,未修改内容数据。
+
+## 4. 备份
+
+- `/home/hxxy/zq/backups/vehicle-scau-font-20261113/external/`
+- `/home/hxxy/zq/backups/vehicle-scau-font-20261113/internal/`

+ 38 - 0
local-run/reports/vehicle-scau-font-baseline-20261113/verification.json

@@ -0,0 +1,38 @@
+{
+  "checked_at": "2026-11-13T14:20:00+08:00",
+  "site": "https://cl2026.gzhxtc.edu.cn/",
+  "websiteid": 10080,
+  "template": "ffkjvehicle1",
+  "css_version": "20261113-scau-font-baseline",
+  "metrics_1440": {
+    "content_width": 1200,
+    "body_font": "16px",
+    "nav_font": "17.6px",
+    "section_title_font": "22.4px",
+    "news_title_font": "16.8px",
+    "news_desc_font": "14.4px",
+    "meta_font": "13px",
+    "article_content_font": "16px"
+  },
+  "responsive_overflow": {
+    "1440": false,
+    "1280": false,
+    "1201": false,
+    "1200": false,
+    "980": false,
+    "820": false,
+    "768": false,
+    "640": false,
+    "390": false,
+    "320": false
+  },
+  "page_status": {
+    "home": 200,
+    "list": 200,
+    "article": 200,
+    "workbench": 200
+  },
+  "layout_changed": false,
+  "content_changed": false,
+  "services_restarted": false
+}