feat: aigc 组件

This commit is contained in:
2026-06-04 16:05:07 +08:00
parent 41feba7a8b
commit 7b514d7dcc
5 changed files with 118 additions and 3 deletions

View File

@@ -14,11 +14,11 @@
display: flex;
flex-direction: column;
gap: 6px;
margin-bottom: 8px;
margin-bottom: 4px;
}
.content-body-image-bottom {
margin-bottom: 8px;
margin-bottom: 4px;
}
.content-body-image {
@@ -69,6 +69,11 @@
border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.detail-action-zone-no-divider {
margin-top: 0;
border-top: none;
}
.detail-action-label {
padding: 0 0 10px;
color: #94a3b8;
@@ -284,6 +289,52 @@
text-align: center;
}
.aigc-image {
width: 100%;
height: 160px;
background: #f1f5f9;
}
.aigc-cover {
position: relative;
}
.aigc-badge {
position: absolute;
top: 10px;
left: 10px;
padding: 4px 10px;
border-radius: 10px;
color: #fff;
background: linear-gradient(135deg, #8b5cf6, #6366f1);
box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
font-size: 10px;
font-weight: 900;
}
.aigc-body {
padding: 12px 14px 14px;
}
.aigc-title {
color: #1e293b;
font-size: 15px;
font-weight: 900;
line-height: 22px;
}
.aigc-desc {
margin: 5px 0 12px;
color: #64748b;
font-size: 11.5px;
font-weight: 700;
line-height: 18px;
}
.aigc-button {
background: linear-gradient(135deg, #8b5cf6, #6366f1);
}
.detail-faq-wrap {
margin: 0;
}