feat: 移除合作伙伴模块并优化荣誉资质展示样式与名称显示
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yiqiu
2025-12-26 22:51:23 +08:00
parent 56a31b968d
commit ec93a25ff5
3 changed files with 51 additions and 58 deletions

View File

@@ -1884,6 +1884,8 @@
margin-left: auto;
margin-right: auto;
line-height: 1.8;
text-align: center;
/* 居中对齐 */
}
/* 网格布局容器 */
@@ -1896,6 +1898,8 @@
padding: 0 20px;
position: relative;
z-index: 1;
justify-items: center;
/* 网格项居中对齐 */
}
/* 网格项样式 */
@@ -1908,8 +1912,13 @@
transition: all 0.3s ease;
overflow: hidden;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
/* 占满网格单元 */
max-width: 220px;
/* 限制最大宽度 */
}
.honor-grid-item:hover {
@@ -1920,16 +1929,38 @@
}
.honor-grid-item img {
width: 100%;
width: auto;
/* 宽度自适应 */
max-width: 100%;
/* 不超过容器宽度 */
height: 180px;
/* 固定高度 */
object-fit: contain;
/* 保持比例 */
transition: all 0.3s ease;
margin-bottom: 12px;
}
.honor-grid-item:hover img {
transform: scale(1.05);
}
/* 证书名称样式 */
.honor-grid-name {
font-size: 14px;
color: rgba(203, 213, 225, 0.9);
text-align: center;
margin: 0;
margin-top: 8px;
line-height: 1.4;
font-weight: 500;
transition: color 0.3s ease;
}
.honor-grid-item:hover .honor-grid-name {
color: #38BDF8;
}
.honor-list {
gap: 20px;
}
@@ -3005,12 +3036,18 @@ html {
.honor-grid-item {
padding: 16px;
max-width: 100%;
}
.honor-grid-item img {
height: 140px;
}
.honor-grid-name {
font-size: 13px;
margin-top: 6px;
}
/* ===== 新闻区域 - 紧凑 ===== */
.section.news {
padding: 25px 0 !important;
@@ -3410,12 +3447,18 @@ html {
.honor-grid-item {
padding: 12px;
max-width: 100%;
}
.honor-grid-item img {
height: 120px;
}
.honor-grid-name {
font-size: 12px;
margin-top: 6px;
}
/* ===== 新闻 - 紧凑 ===== */
.section.news {
padding: 20px 0 !important;
@@ -3958,12 +4001,18 @@ html {
.honor-grid-item {
padding: 10px;
max-width: 100%;
}
.honor-grid-item img {
height: 100px;
}
.honor-grid-name {
font-size: 11px;
margin-top: 4px;
}
/* ===== 新闻 - 极简 ===== */
.section.news {
padding: 18px 0 !important;