423 lines
6.9 KiB
Plaintext
423 lines
6.9 KiB
Plaintext
.cart-page {
|
|
padding-bottom: calc(env(safe-area-inset-bottom) + 150rpx);
|
|
background: var(--theme-page-bg);
|
|
}
|
|
|
|
.cart-content {
|
|
padding-bottom: 20rpx;
|
|
}
|
|
|
|
.cart-hero {
|
|
background: var(--theme-gradient-soft);
|
|
}
|
|
|
|
.issue-card {
|
|
margin-top: 20rpx;
|
|
margin-bottom: 20rpx;
|
|
padding: 22rpx 24rpx;
|
|
border-radius: 24rpx;
|
|
background: var(--theme-primary-soft);
|
|
color: var(--theme-neutral);
|
|
}
|
|
|
|
.issue-title {
|
|
font-size: 28rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.issue-item {
|
|
margin-top: 10rpx;
|
|
font-size: 24rpx;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.recovery-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14rpx;
|
|
margin-bottom: 20rpx;
|
|
padding: 26rpx;
|
|
border: 2rpx solid var(--theme-border);
|
|
}
|
|
|
|
.recovery-title {
|
|
font-size: 30rpx;
|
|
font-weight: 800;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.recovery-desc {
|
|
font-size: 24rpx;
|
|
line-height: 1.6;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.recovery-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 14rpx;
|
|
}
|
|
|
|
.recovery-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 136rpx;
|
|
height: 60rpx;
|
|
padding: 0 20rpx;
|
|
border-radius: 999rpx;
|
|
background: var(--theme-card-bg);
|
|
border: 2rpx solid var(--theme-border);
|
|
color: var(--theme-neutral);
|
|
font-size: 24rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.recovery-btn.primary {
|
|
background: var(--theme-primary);
|
|
border-color: var(--theme-primary);
|
|
color: var(--theme-tertiary);
|
|
}
|
|
|
|
.cart-item-card + .cart-item-card,
|
|
.coupon-card,
|
|
.summary-card {
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.cart-item-card {
|
|
padding: 24rpx;
|
|
}
|
|
|
|
.cart-item-top {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.select-dot {
|
|
width: 34rpx;
|
|
height: 34rpx;
|
|
margin-top: 8rpx;
|
|
border-radius: 50%;
|
|
border: 4rpx solid var(--theme-border);
|
|
}
|
|
|
|
.select-dot.active {
|
|
border-color: var(--theme-primary);
|
|
background: var(--theme-primary);
|
|
}
|
|
|
|
.cart-thumb {
|
|
width: 140rpx;
|
|
height: 140rpx;
|
|
border-radius: 22rpx;
|
|
background: var(--theme-primary-soft);
|
|
}
|
|
|
|
.cart-main {
|
|
flex: 1;
|
|
}
|
|
|
|
.cart-title-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.cart-title {
|
|
flex: 1;
|
|
min-width: 0;
|
|
font-size: 30rpx;
|
|
font-weight: 700;
|
|
line-height: 1.5;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.cart-price {
|
|
font-size: 30rpx;
|
|
font-weight: 700;
|
|
color: var(--theme-primary-action);
|
|
}
|
|
|
|
.cart-meta-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 12rpx;
|
|
margin-top: 12rpx;
|
|
}
|
|
|
|
.meta-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 42rpx;
|
|
padding: 0 16rpx;
|
|
border-radius: 999rpx;
|
|
background: var(--theme-primary-soft);
|
|
color: var(--theme-primary);
|
|
font-size: 20rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.cart-meta {
|
|
font-size: 24rpx;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.selector-group {
|
|
margin-top: 24rpx;
|
|
}
|
|
|
|
.selector-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
min-height: 76rpx;
|
|
padding: 0 22rpx;
|
|
border-radius: 20rpx;
|
|
background: var(--theme-primary-soft);
|
|
}
|
|
|
|
.selector-row.compact {
|
|
min-height: 72rpx;
|
|
}
|
|
|
|
.selector-row.issue {
|
|
background: var(--theme-secondary-soft);
|
|
}
|
|
|
|
.selector-label {
|
|
font-size: 24rpx;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.selector-value {
|
|
font-size: 24rpx;
|
|
color: var(--text-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.time-grid {
|
|
display: flex;
|
|
gap: 14rpx;
|
|
margin-top: 14rpx;
|
|
}
|
|
|
|
.time-grid picker {
|
|
flex: 1;
|
|
}
|
|
|
|
.appointment-preview {
|
|
margin-top: 14rpx;
|
|
font-size: 24rpx;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.cart-item-foot {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 24rpx;
|
|
}
|
|
|
|
.qty-box {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.qty-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 56rpx;
|
|
height: 56rpx;
|
|
border-radius: 50%;
|
|
background: var(--theme-primary-soft);
|
|
color: var(--theme-primary-action);
|
|
font-size: 34rpx;
|
|
}
|
|
|
|
.qty-value {
|
|
min-width: 48rpx;
|
|
text-align: center;
|
|
font-size: 28rpx;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.remove-btn {
|
|
font-size: 24rpx;
|
|
color: var(--theme-primary-action);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.coupon-card,
|
|
.summary-card {
|
|
padding: 26rpx;
|
|
}
|
|
|
|
.coupon-option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18rpx;
|
|
margin-top: 20rpx;
|
|
padding: 20rpx 0;
|
|
border-top: 2rpx solid var(--theme-border);
|
|
}
|
|
|
|
.coupon-option:first-child {
|
|
border-top: 0;
|
|
padding-top: 10rpx;
|
|
}
|
|
|
|
.coupon-option.active {
|
|
color: var(--theme-primary);
|
|
}
|
|
|
|
.coupon-texts {
|
|
flex: 1;
|
|
}
|
|
|
|
.coupon-name {
|
|
font-size: 26rpx;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.coupon-desc {
|
|
margin-top: 8rpx;
|
|
font-size: 22rpx;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.coupon-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 92rpx;
|
|
height: 44rpx;
|
|
padding: 0 14rpx;
|
|
border-radius: 999rpx;
|
|
background: var(--theme-primary-soft);
|
|
color: var(--theme-primary);
|
|
font-size: 20rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.unavailable-coupon-list {
|
|
margin-top: 22rpx;
|
|
padding-top: 18rpx;
|
|
border-top: 2rpx solid var(--theme-border);
|
|
}
|
|
|
|
.unavailable-title {
|
|
font-size: 24rpx;
|
|
font-weight: 700;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.unavailable-coupon {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 18rpx;
|
|
margin-top: 14rpx;
|
|
font-size: 22rpx;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.unavailable-coupon text:first-child {
|
|
flex: 1;
|
|
min-width: 0;
|
|
color: var(--theme-neutral);
|
|
}
|
|
|
|
.unavailable-coupon text:last-child {
|
|
max-width: 260rpx;
|
|
text-align: right;
|
|
}
|
|
|
|
.summary-preview,
|
|
.summary-vip {
|
|
margin-bottom: 14rpx;
|
|
padding: 16rpx 18rpx;
|
|
border-radius: 18rpx;
|
|
background: var(--theme-primary-soft);
|
|
color: var(--theme-neutral);
|
|
font-size: 24rpx;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.summary-vip {
|
|
color: var(--theme-primary);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.summary-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 10rpx 0;
|
|
font-size: 26rpx;
|
|
color: var(--theme-neutral);
|
|
}
|
|
|
|
.summary-row.total {
|
|
margin-top: 10rpx;
|
|
padding-top: 18rpx;
|
|
border-top: 2rpx solid var(--theme-border);
|
|
font-size: 30rpx;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.checkout-bar {
|
|
position: fixed;
|
|
left: 24rpx;
|
|
right: 24rpx;
|
|
bottom: calc(env(safe-area-inset-bottom) + 20rpx);
|
|
z-index: 20;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20rpx;
|
|
padding: 18rpx 20rpx;
|
|
border-radius: 30rpx;
|
|
background: rgba(255, 255, 255, 0.98);
|
|
box-shadow: 0 18rpx 50rpx rgba(122, 67, 88, 0.12);
|
|
}
|
|
|
|
.checkout-copy {
|
|
flex: 1;
|
|
}
|
|
|
|
.checkout-total {
|
|
font-size: 36rpx;
|
|
font-weight: 800;
|
|
color: var(--theme-primary-action);
|
|
}
|
|
|
|
.checkout-meta {
|
|
margin-top: 8rpx;
|
|
font-size: 22rpx;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.checkout-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 220rpx;
|
|
height: 84rpx;
|
|
padding: 0 26rpx;
|
|
border-radius: 999rpx;
|
|
background: var(--theme-gradient);
|
|
color: var(--theme-tertiary);
|
|
font-size: 28rpx;
|
|
font-weight: 700;
|
|
}
|