Files
YGChatCS/src/pages/ChatMain/ChatLongAnswer/styles/ParsedValueView.scss
2026-06-04 16:05:07 +08:00

372 lines
5.9 KiB
SCSS

.parsed-value {
display: flex;
flex-direction: column;
}
.content-body-text {
color: #111827;
font-size: 15px;
font-weight: 400;
line-height: 20px;
}
.content-body-image-card {
display: flex;
flex-direction: column;
gap: 6px;
margin-bottom: 4px;
}
.content-body-image-bottom {
margin-bottom: 4px;
}
.content-body-image {
width: 100%;
display: block;
border-radius: 8px;
background: #f3f4f6;
}
.content-body-image-caption {
color: #6b7280;
font-size: 12px;
font-weight: 400;
line-height: 18px;
}
.content-body-list-card {
display: flex;
flex-direction: column;
gap: 4px;
padding: 12px;
border-radius: 12px;
margin-bottom: 8px;
}
.content-body-list-item {
display: flex;
align-items: flex-start;
}
.content-body-list-marker {
width: 22px;
flex-shrink: 0;
font-size: 15px;
font-weight: 800;
line-height: 20px;
}
.content-body-list-text {
flex: 1;
font-size: 15px;
font-weight: 400;
line-height: 20px;
}
.detail-action-zone {
margin-top: 6px;
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;
font-size: 10px;
font-weight: 900;
letter-spacing: 0.6px;
line-height: 16px;
}
.detail-action-card {
overflow: hidden;
border: 1px solid #f1f5f9;
border-radius: 16px;
background: #fff;
}
.detail-action-card.is-raised {
border-radius: 24px;
box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
.poi-mini-tag {
display: inline-flex;
width: fit-content;
margin: 14px 0 0 14px;
padding: 4px 10px;
align-items: center;
border-radius: 8px;
color: #059669;
background: rgba(255, 255, 255, 0.9);
box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
font-size: 10px;
font-weight: 900;
}
.poi-mini-body {
padding: 10px 20px 16px;
}
.poi-mini-title {
margin-bottom: 10px;
color: #1e293b;
font-size: 19px;
font-weight: 900;
line-height: 26px;
}
.poi-mini-desc {
margin-bottom: 12px;
padding: 10px 12px;
border: 1px solid rgba(167, 243, 208, 0.5);
border-radius: 12px;
color: #065f46;
background: linear-gradient(to right, #ecfdf5, rgba(240, 253, 250, 0.5));
font-size: 12px;
font-weight: 800;
line-height: 20px;
}
.detail-solid-button {
width: 100%;
height: 42px;
padding: 0;
border: 0;
border-radius: 14px;
color: #fff;
background: #0f172a;
font-size: 13px;
font-weight: 900;
line-height: 42px;
}
.detail-solid-button::after {
border: 0;
}
.detail-product-scroll {
width: 100%;
white-space: nowrap;
}
.detail-product-row {
display: flex;
gap: 10px;
}
.detail-product-card {
width: 220px;
flex-shrink: 0;
overflow: hidden;
border: 1px solid #f1f5f9;
border-radius: 20px;
background: #fff;
box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
.detail-product-image {
width: 100%;
height: 110px;
background: #f1f5f9;
}
.detail-product-body {
padding: 10px 12px 12px;
}
.detail-product-tag {
display: inline-flex;
width: fit-content;
margin-bottom: 4px;
padding: 2px 6px;
border-radius: 6px;
color: #f43f5e;
background: #fef2f2;
font-size: 9px;
font-weight: 900;
}
.detail-product-name {
overflow: hidden;
color: #1e293b;
font-size: 13px;
font-weight: 900;
line-height: 20px;
text-overflow: ellipsis;
white-space: nowrap;
}
.detail-product-price {
margin: 4px 0 8px;
color: #f43f5e;
font-size: 20px;
font-weight: 900;
line-height: 26px;
}
.detail-product-currency {
font-size: 12px;
}
.detail-buy-button {
width: 100%;
height: 34px;
padding: 0;
border: 0;
border-radius: 12px;
color: #451a03;
background: #fbbf24;
font-size: 12px;
font-weight: 900;
line-height: 34px;
}
.detail-buy-button::after {
border: 0;
}
.photo-card-swiper {
width: 100%;
height: 228px;
}
.photo-card {
position: relative;
height: 200px;
overflow: hidden;
border-radius: 16px;
background: #f8fafc;
}
.photo-card-image {
width: 100%;
height: 200px;
background: #f1f5f9;
}
.photo-card-caption {
position: absolute;
right: 0;
bottom: 0;
left: 0;
padding: 28px 14px 12px;
background: linear-gradient(to top, rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0));
}
.photo-card-title {
color: #fff;
font-size: 13px;
font-weight: 900;
line-height: 18px;
}
.photo-card-subtitle {
margin-top: 2px;
color: rgba(255, 255, 255, 0.78);
font-size: 11px;
font-weight: 700;
line-height: 16px;
}
.photo-card-expand {
position: absolute;
top: 10px;
right: 10px;
width: 28px;
height: 28px;
border-radius: 50%;
color: #fff;
background: rgba(15, 23, 42, 0.42);
font-size: 15px;
font-weight: 900;
line-height: 28px;
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;
}
.detail-faq-chip {
display: inline-flex;
align-items: center;
gap: 5px;
margin: 0 6px 8px 0;
padding: 8px 13px;
border: 1px solid #e2e8f0;
border-radius: 20px;
color: #475569;
background: #fff;
font-size: 11.5px;
font-weight: 800;
line-height: 16px;
}
.detail-faq-chip::before {
content: "?";
display: inline-flex;
align-items: center;
justify-content: center;
width: 11px;
height: 11px;
flex-shrink: 0;
border: 1px solid #10b981;
border-radius: 50%;
color: #10b981;
font-size: 8px;
font-weight: 900;
line-height: 11px;
}