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

修复二级蓝色系分页样式

隔离 inner-pagination 分页按钮样式,覆盖栏目列表链接的网格布局影响,避免搜索页和列表页分页被拉伸成整行色块。

同步更新非繁二级网站模板-蓝色系相关页面的静态资源版本号,确保已有站点和后续创建站点都能加载新的分页样式。

Validation:

- git diff --check

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

- 浏览器验证教育学院搜索第 2 页分页按钮尺寸为正常小按钮
非繁 5 месяцев назад
Родитель
Сommit
3af561fb95

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

@@ -4839,12 +4839,18 @@ img {
 
 
 .inner-pagination {
 .inner-pagination {
   display: flex;
   display: flex;
+  justify-content: center;
+  align-items: center;
   gap: 8px;
   gap: 8px;
-  margin-top: 24px;
+  margin: 26px 0 0;
+  padding: 0;
 }
 }
 
 
+.department-column-list .inner-pagination a,
 .inner-pagination a {
 .inner-pagination a {
+  box-sizing: border-box;
   display: grid;
   display: grid;
+  grid-template-columns: none;
   place-items: center;
   place-items: center;
   min-width: 34px;
   min-width: 34px;
   height: 34px;
   height: 34px;
@@ -4852,12 +4858,18 @@ img {
   color: var(--hx-accent-brown);
   color: var(--hx-accent-brown);
   background: var(--white);
   background: var(--white);
   border: 1px solid var(--hx-line);
   border: 1px solid var(--hx-line);
+  border-radius: 2px;
+  font-size: 14px;
+  line-height: 1;
 }
 }
 
 
+.department-column-list .inner-pagination a.active,
+.department-column-list .inner-pagination a:hover,
 .inner-pagination a.active,
 .inner-pagination a.active,
 .inner-pagination a:hover {
 .inner-pagination a:hover {
   color: var(--white);
   color: var(--white);
   background: var(--hx-red);
   background: var(--hx-red);
+  border-color: var(--hx-red);
   text-decoration: none;
   text-decoration: none;
 }
 }
 
 

+ 2 - 2
WebRoot/web/upload/ffkj-template/college-blue-catalog.jsp

@@ -11,7 +11,7 @@
 	<meta charset="UTF-8">
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${navigation.name}_${website.seoTitle}</title>
 	<title>${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-college-blue-footer-links">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-college-blue-pagination">
 	<c:if test="${not empty portalThemeStyle}"><style>${portalThemeStyle}</style></c:if>
 	<c:if test="${not empty portalThemeStyle}"><style>${portalThemeStyle}</style></c:if>
 </head>
 </head>
 <body class="${portalThemeClass}">
 <body class="${portalThemeClass}">
@@ -29,6 +29,6 @@
 		</main>
 		</main>
 		<%@ include file="college-blue-footer.jsp"%>
 		<%@ include file="college-blue-footer.jsp"%>
 	</div>
 	</div>
-		<script src="/main/ffkj-portal/portal-zq.js?v=20260623-college-blue-footer-links"></script>
+		<script src="/main/ffkj-portal/portal-zq.js?v=20260623-college-blue-pagination"></script>
 </body>
 </body>
 </html>
 </html>

+ 2 - 2
WebRoot/web/upload/ffkj-template/college-blue-details.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">
 	<meta name="description" content="${articleDescription}">
 	<meta name="description" content="${articleDescription}">
 	<title>${articleTitle}_${navigation.name}_${website.seoTitle}</title>
 	<title>${articleTitle}_${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-college-blue-footer-links">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-college-blue-pagination">
 	<c:if test="${not empty portalThemeStyle}"><style>${portalThemeStyle}</style></c:if>
 	<c:if test="${not empty portalThemeStyle}"><style>${portalThemeStyle}</style></c:if>
 </head>
 </head>
 <body class="${portalThemeClass}">
 <body class="${portalThemeClass}">
@@ -58,6 +58,6 @@
 
 
 		<%@ include file="college-blue-footer.jsp"%>
 		<%@ include file="college-blue-footer.jsp"%>
 	</div>
 	</div>
-	<script src="/main/ffkj-portal/portal-zq.js?v=20260623-college-blue-footer-links"></script>
+	<script src="/main/ffkj-portal/portal-zq.js?v=20260623-college-blue-pagination"></script>
 </body>
 </body>
 </html>
 </html>

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

@@ -12,7 +12,7 @@
 	<meta name="keywords" content="${website.seoKeywords}">
 	<meta name="keywords" content="${website.seoKeywords}">
 	<meta name="description" content="${website.seoDescription}">
 	<meta name="description" content="${website.seoDescription}">
 	<title>${website.seoTitle}</title>
 	<title>${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-college-blue-news-hover">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-college-blue-pagination">
 	<c:if test="${not empty portalThemeStyle}"><style>${portalThemeStyle}</style></c:if>
 	<c:if test="${not empty portalThemeStyle}"><style>${portalThemeStyle}</style></c:if>
 </head>
 </head>
 <body class="${portalThemeClass}">
 <body class="${portalThemeClass}">
@@ -207,6 +207,6 @@
 
 
 		<%@ include file="college-blue-footer.jsp"%>
 		<%@ include file="college-blue-footer.jsp"%>
 	</div>
 	</div>
-		<script src="/main/ffkj-portal/portal-zq.js?v=20260623-college-blue-news-hover"></script>
+		<script src="/main/ffkj-portal/portal-zq.js?v=20260623-college-blue-pagination"></script>
 </body>
 </body>
 </html>
 </html>

+ 2 - 2
WebRoot/web/upload/ffkj-template/college-blue-list.jsp

@@ -26,7 +26,7 @@
 	<meta charset="UTF-8">
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${navigation.name}_${website.seoTitle}</title>
 	<title>${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-college-blue-footer-links">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-college-blue-pagination">
 	<c:if test="${not empty portalThemeStyle}"><style>${portalThemeStyle}</style></c:if>
 	<c:if test="${not empty portalThemeStyle}"><style>${portalThemeStyle}</style></c:if>
 </head>
 </head>
 <body class="${portalThemeClass}">
 <body class="${portalThemeClass}">
@@ -136,6 +136,6 @@
 
 
 		<%@ include file="college-blue-footer.jsp"%>
 		<%@ include file="college-blue-footer.jsp"%>
 	</div>
 	</div>
-	<script src="/main/ffkj-portal/portal-zq.js?v=20260623-college-blue-footer-links"></script>
+	<script src="/main/ffkj-portal/portal-zq.js?v=20260623-college-blue-pagination"></script>
 </body>
 </body>
 </html>
 </html>

+ 2 - 2
WebRoot/web/upload/ffkj-template/college-blue-search.jsp

@@ -10,7 +10,7 @@
 	<meta charset="UTF-8">
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>站内搜索_${website.seoTitle}</title>
 	<title>站内搜索_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-college-blue-footer-links">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260623-college-blue-pagination">
 	<c:if test="${not empty portalThemeStyle}"><style>${portalThemeStyle}</style></c:if>
 	<c:if test="${not empty portalThemeStyle}"><style>${portalThemeStyle}</style></c:if>
 </head>
 </head>
 <body class="${portalThemeClass}">
 <body class="${portalThemeClass}">
@@ -89,6 +89,6 @@
 
 
 		<%@ include file="college-blue-footer.jsp"%>
 		<%@ include file="college-blue-footer.jsp"%>
 	</div>
 	</div>
-	<script src="/main/ffkj-portal/portal-zq.js?v=20260623-college-blue-footer-links"></script>
+	<script src="/main/ffkj-portal/portal-zq.js?v=20260623-college-blue-pagination"></script>
 </body>
 </body>
 </html>
 </html>

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

@@ -4839,12 +4839,18 @@ img {
 
 
 .inner-pagination {
 .inner-pagination {
   display: flex;
   display: flex;
+  justify-content: center;
+  align-items: center;
   gap: 8px;
   gap: 8px;
-  margin-top: 24px;
+  margin: 26px 0 0;
+  padding: 0;
 }
 }
 
 
+.department-column-list .inner-pagination a,
 .inner-pagination a {
 .inner-pagination a {
+  box-sizing: border-box;
   display: grid;
   display: grid;
+  grid-template-columns: none;
   place-items: center;
   place-items: center;
   min-width: 34px;
   min-width: 34px;
   height: 34px;
   height: 34px;
@@ -4852,12 +4858,18 @@ img {
   color: var(--hx-accent-brown);
   color: var(--hx-accent-brown);
   background: var(--white);
   background: var(--white);
   border: 1px solid var(--hx-line);
   border: 1px solid var(--hx-line);
+  border-radius: 2px;
+  font-size: 14px;
+  line-height: 1;
 }
 }
 
 
+.department-column-list .inner-pagination a.active,
+.department-column-list .inner-pagination a:hover,
 .inner-pagination a.active,
 .inner-pagination a.active,
 .inner-pagination a:hover {
 .inner-pagination a:hover {
   color: var(--white);
   color: var(--white);
   background: var(--hx-red);
   background: var(--hx-red);
+  border-color: var(--hx-red);
   text-decoration: none;
   text-decoration: none;
 }
 }