fix: task 6 review round 1

This commit is contained in:
2026-08-07 17:05:23 +08:00
parent 6dd9e15ea5
commit 97b9568823
3 changed files with 31 additions and 62 deletions
+10 -44
View File
@@ -289,59 +289,25 @@
line-height: 1;
}
/* --- Bottom CTA Bar --- */
.shop-cta-bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 60;
padding: 20rpx 32rpx calc(20rpx + env(safe-area-inset-bottom, 0px));
display: flex;
align-items: center;
justify-content: space-between;
gap: 24rpx;
backdrop-filter: blur(16rpx) saturate(1.2);
-webkit-backdrop-filter: blur(16rpx) saturate(1.2);
box-shadow: var(--shadow-card);
transition: background-color 0.4s ease;
/* --- Bottom Action Bar — 样式由全局 .action-bar 提供,本地只补充价格摘要 --- */
.action-bar .price-summary {
flex-shrink: 0;
}
.shop-cta-price-col {
display: flex;
align-items: baseline;
gap: 12rpx;
.summary-label {
font-size: 22rpx;
color: var(--text-secondary);
display: block;
}
.shop-cta-price {
.summary-price {
font-size: 40rpx;
font-weight: 700;
color: var(--accent-primary);
}
.shop-cta-original {
.summary-original {
font-size: 24rpx;
color: #8a7e72;
color: var(--text-muted);
text-decoration: line-through;
}
.shop-cta-btn {
flex: 1;
max-width: 260rpx;
background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-strong) 99%);
color: #fff;
border-radius: 50rpx;
padding: 24rpx 48rpx;
font-size: 30rpx;
font-weight: 600;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
box-shadow: var(--shadow-card);
}
.shop-cta-btn-text {
color: inherit;
font-weight: 600;
}