企业资质与荣誉
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yiqiu
2025-12-26 18:09:00 +08:00
parent 58e59dd896
commit af57ed9710
3 changed files with 46 additions and 81 deletions

View File

@@ -1886,117 +1886,80 @@
margin-top: 20px; margin-top: 20px;
} }
/* 荣誉列表 - 响应式网格 */ /* 荣誉列表 - 水平证书展示 */
.honor-list { .honor-list {
display: grid; display: flex;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); justify-content: center;
gap: 32px; gap: 40px;
max-width: 1200px; max-width: 1200px;
margin: 0 auto; margin: 0 auto;
padding: 0 20px; padding: 0 20px;
position: relative; position: relative;
z-index: 1; z-index: 1;
flex-wrap: wrap;
} }
/* 荣誉卡片 - 3D玻璃态 */ /* 荣誉卡片 - 简洁证书样式 */
.honor-item { .honor-item {
background: rgba(30, 41, 59, 0.6); background: #FFFFFF;
backdrop-filter: blur(20px); border: 1px solid rgba(148, 163, 184, 0.2);
-webkit-backdrop-filter: blur(20px); border-radius: 8px;
border: 1px solid rgba(148, 163, 184, 0.15); padding: 16px;
border-radius: 16px; transition: all 0.3s ease;
padding: 32px 24px; cursor: default;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
position: relative; position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
box-shadow: box-shadow:
0 8px 32px rgba(15, 23, 42, 0.4), 0 4px 16px rgba(15, 23, 42, 0.3),
inset 0 1px 0 rgba(255, 255, 255, 0.05); 0 2px 4px rgba(15, 23, 42, 0.2);
flex: 0 0 auto;
max-width: 300px;
} }
/* 卡片光晕效果 */ /* 移除卡片光晕效果 */
.honor-item::before { .honor-item::before {
content: ''; display: none;
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle at center,
rgba(56, 189, 248, 0.15) 0%,
transparent 60%);
opacity: 0;
transition: opacity 0.5s ease;
pointer-events: none;
} }
/* 悬浮效果 */ /* 简化悬浮效果 */
.honor-item:hover { .honor-item:hover {
transform: translateY(-8px) scale(1.02); transform: translateY(-4px);
border-color: rgba(56, 189, 248, 0.4);
background: rgba(30, 41, 59, 0.8);
box-shadow: box-shadow:
0 20px 60px rgba(56, 189, 248, 0.25), 0 8px 24px rgba(15, 23, 42, 0.4),
0 0 40px rgba(56, 189, 248, 0.15), 0 4px 8px rgba(15, 23, 42, 0.3);
inset 0 1px 0 rgba(255, 255, 255, 0.1);
} }
.honor-item:hover::before { /* 荣誉图标容器改为简单图片容器 */
opacity: 1;
}
/* 荣誉图标容器 */
.honor-icon { .honor-icon {
width: 120px; width: 100%;
height: 160px; height: auto;
margin-bottom: 20px; margin-bottom: 0;
position: relative; position: relative;
display: flex; display: block;
align-items: center; overflow: visible;
justify-content: center;
overflow: hidden;
} }
.honor-icon img { .honor-icon img {
max-width: 100%; width: 100%;
max-height: 100%; height: auto;
object-fit: contain; object-fit: contain;
filter: drop-shadow(0 4px 12px rgba(56, 189, 248, 0.3)); display: block;
transition: all 0.4s ease; transition: none;
filter: none;
} }
.honor-item:hover .honor-icon img { /* 移除荣誉名称 - 证书图片自带名称 */
transform: scale(1.08);
filter: drop-shadow(0 8px 24px rgba(56, 189, 248, 0.5));
}
/* 荣誉名称 */
.honor-name { .honor-name {
font-size: 16px; display: none;
font-weight: 600;
color: #E5E7EB;
margin: 0;
transition: all 0.3s ease;
line-height: 1.5;
} }
.honor-item:hover .honor-name { .honor-list {
color: #38BDF8; gap: 20px;
text-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
} }
.honor-list {
gap: 20px;
}
.honor-item { .honor-item {
width: 100%; width: 100%;
max-width: 300px; max-width: 300px;
} }
} }
/* 旧样式保留(兼容性) */ /* 旧样式保留(兼容性) */
@@ -4819,4 +4782,4 @@ html {
For now, let's assume we stack them or show a simple list. For now, let's assume we stack them or show a simple list.
Actually, if HTML structure depends on clicks to show/hide, we need JS or CSS modification. Actually, if HTML structure depends on clicks to show/hide, we need JS or CSS modification.
Let's style the active one well first, or maybe show all? Let's style the active one well first, or maybe show all?
*/ */

View File

@@ -629,8 +629,8 @@
<div class="honor-section"> <div class="honor-section">
<div class="section-content"> <div class="section-content">
<div class="honor-title"> <div class="honor-title">
<h3>企业荣誉</h3> <h3>实体企业,资质齐全,技术独立</h3>
<p class="honor-subtitle">权威认证,值得信赖</p> <p class="honor-subtitle">国三资资质证书+增值电信业务经营许可证(ISP资质)+其他资质齐全可帮助用户办理ICP备案、公安备案等</p>
</div> </div>
<div class="honor-list" id="certBox"> <div class="honor-list" id="certBox">
<!-- 荣誉证书动态插入这里 --> <!-- 荣誉证书动态插入这里 -->

View File

@@ -138,6 +138,7 @@ $(function () {
// 否则通过 AJAX 获取 // 否则通过 AJAX 获取
getCommentInfo(); getCommentInfo();
} }
/* 图片查看器已禁用 - 荣誉证书不需要点击放大
var viewer = new Viewer(document.getElementById("viewer"), { var viewer = new Viewer(document.getElementById("viewer"), {
button: true, button: true,
inline: false, inline: false,
@@ -158,6 +159,7 @@ $(function () {
$("#viewer").attr("src", $(this).find("img").attr("src")); $("#viewer").attr("src", $(this).find("img").attr("src"));
viewer.show(); viewer.show();
}); });
*/
function formateTimeFun(time) { function formateTimeFun(time) {
const date = new Date(time * 1000); const date = new Date(time * 1000);
Y = date.getFullYear() + "-"; Y = date.getFullYear() + "-";