- 移除 BestSellers 组件中多余的 SCSS 样式,改用 TailwindCSS 工具类规范字体大小和颜色 - 替换 BestSellers.tsx 中对应元素的样式类为 TailwindCSS 实现,提升样式一致性和维护性 - 调整 CatalogShowcase 组件样式,删除不必要的 SCSS 样式,增加内边距并修改书本尺寸,整体优化布局 - CatalogShowcase.tsx 中相关文本和图形元素改为 TailwindCSS 实现,规范字体大小、颜色和间距 - ContactSection 组件部分样式移除过
57 lines
1.1 KiB
SCSS
57 lines
1.1 KiB
SCSS
.contact-section {
|
|
margin-top: 0;
|
|
padding: 32px 20px 24px;
|
|
background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
|
|
border-radius: 24px 24px 0 0;
|
|
color: #ffffff;
|
|
|
|
/* ═══ 引言区 ═══ */
|
|
&__intro {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
/* ═══ 操作按钮区 ═══ */
|
|
&__actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
&__action {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 16px 18px;
|
|
border-radius: 14px;
|
|
transition: opacity 0.2s;
|
|
|
|
&:active {
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
|
|
&__action--primary {
|
|
background: linear-gradient(135deg, #3b82f6, #2563eb);
|
|
box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
|
|
}
|
|
|
|
&__action--secondary {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
&__action-text {
|
|
flex: 1;
|
|
margin-left: 14px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* ═══ 底部信息 ═══ */
|
|
&__footer {
|
|
text-align: center;
|
|
padding-top: 20px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
}
|