feat(escort): 服务详情页增加支付方式弹窗,列表接入「其他项目」

提交预约后先选微信支付或线下支付,微信支付下单即拉起收银台并查单兜底;就医代办组补充 id 9 服务项。
This commit is contained in:
lik
2026-11-05 20:26:40 +08:00
parent a54e3695ae
commit 7b5599cd3d
4 changed files with 240 additions and 17 deletions
+95
View File
@@ -732,6 +732,101 @@ page {
transform: scale(0.98);
}
/* ===== 支付方式选择 ===== */
/* 两张可选卡片,选中态沿用品牌橙 */
.pay-channel-options {
display: flex;
flex-direction: column;
gap: 16rpx;
margin-top: 16rpx;
}
.pay-channel-option {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20rpx 24rpx;
border: 2rpx solid var(--line);
border-radius: 18rpx;
background: var(--paper);
}
.pay-channel-option.active {
border-color: var(--brand-line);
background: var(--brand-soft);
}
.pay-channel-text {
display: flex;
flex-direction: column;
gap: 6rpx;
}
.pay-channel-title {
color: var(--ink);
font-size: var(--fs-30);
font-weight: 600;
}
.pay-channel-desc {
color: var(--muted);
font-size: var(--fs-24);
}
.pay-channel-radio {
flex-shrink: 0;
width: 32rpx;
height: 32rpx;
border: 2rpx solid var(--line);
border-radius: 50%;
background: var(--white);
}
.pay-channel-radio.checked {
border-color: var(--brand-strong);
background: var(--brand-strong);
}
.pay-popup-tip {
display: block;
margin-top: 20rpx;
color: var(--muted);
font-size: var(--fs-24);
line-height: 1.6;
}
/* 支付弹窗底部只放两个等宽按钮,覆盖下单弹窗的「左价格右按钮」布局 */
.pay-actions {
justify-content: flex-end;
gap: 16rpx;
}
.popup-btn {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 22rpx 0;
border-radius: 999rpx;
font-size: var(--fs-30);
line-height: 1.4;
}
.popup-btn:active {
opacity: 0.7;
}
.popup-btn-ghost {
border: 3rpx solid var(--sep);
color: var(--muted);
}
.popup-btn-primary {
background: var(--brand-strong);
color: var(--white);
font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
.popup-content,
.popup-mask {