فهرست منبع

放大顶部徽标并调整手机端排版

桌面端徽标Logo按原比例放大到46px高;手机端改为Logo在上、网站名称在下,Logo宽度固定120px。

Validation:
- 本地Microsoft Edge桌面Logo实测240×46px
- 本地Microsoft Edge手机Logo实测120×23px且文字位于下方
- 桌面保持Logo与名称同一行
非繁 2 ماه پیش
والد
کامیت
2030a34af3

+ 4 - 4
WebRoot/main/ffkj-portal/news-red.css

@@ -787,10 +787,10 @@ body.screen-red-theme .screen-footer-philosophy span {
 /* 顶部品牌:网站属性徽标 + 网站名称 */
 .brand{display:inline-flex;align-items:center;max-width:calc(100% - 230px);gap:14px;color:#fff;text-decoration:none;white-space:nowrap}
 .brand-name{display:inline-block;min-width:0;white-space:nowrap}
-.brand-logo{display:block;flex:0 0 auto;width:auto;max-width:180px;height:1.18em;object-fit:contain}
+.brand-logo{display:block;flex:0 0 auto;width:auto;max-width:none;height:46px;object-fit:contain}
 .brand-name{font-size:1em;font-weight:600;line-height:1.2}
 @media (max-width:900px){
-.brand{display:inline-flex;flex-wrap:nowrap;max-width:calc(100% - 52px);gap:8px;white-space:nowrap}
-.brand-logo{max-width:84px;height:1.15em}
-.brand-name{max-width:calc(100% - 92px);overflow:hidden;text-overflow:ellipsis;font-size:18px}
+.brand{display:flex;flex-direction:column;align-items:flex-start;max-width:calc(100% - 52px);gap:4px;white-space:normal}
+.brand-logo{width:120px;max-width:120px;height:auto}
+.brand-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:18px}
 }

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

@@ -10,7 +10,7 @@
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260922-brand-logo-name">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260922-brand-logo-46">
 </head>
 <body class="screen-red-theme screen-list-page">
 	<%@ include file="news-red-header.jsp"%>

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

@@ -7,7 +7,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/news-red.css?v=20260922-brand-logo-name">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260922-brand-logo-46">
 </head>
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>

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

@@ -12,7 +12,7 @@
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${website.seoTitle}</title>
 	<meta name="description" content="${website.seoDescription}">
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260922-brand-logo-name">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260922-brand-logo-46">
 </head>
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>

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

@@ -13,7 +13,7 @@
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260922-brand-logo-name">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260922-brand-logo-46">
 </head>
 <body class="screen-red-theme screen-list-page">
 	<%@ include file="news-red-header.jsp"%>

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

@@ -8,7 +8,7 @@
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>站内搜索_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260922-brand-logo-name">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260922-brand-logo-46">
 </head>
 <body class="screen-red-theme">
 	<%@ include file="news-red-header.jsp"%>