接通前端订单与支付链路

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
This commit is contained in:
lik
2026-10-24 18:18:15 +08:00
committed by trae-solo-agent
co-authored by Claude Sonnet 4.6 noreply@anthropic.com
parent 031227710d
commit d3f399d1ad
19 changed files with 817 additions and 705 deletions
+84 -5
View File
@@ -28,6 +28,38 @@ page {
padding: 0 32rpx 40rpx;
}
.page-state {
min-height: 70vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 48rpx 32rpx;
box-sizing: border-box;
}
.page-state-text {
font-size: 28rpx;
color: var(--muted);
line-height: 1.6;
}
.page-retry {
margin: 28rpx 0 0;
padding: 12rpx 36rpx;
border: 2rpx solid var(--brand-strong);
border-radius: 999rpx;
background: transparent;
color: var(--brand-strong);
font-size: 28rpx;
font-weight: 500;
line-height: 1.5;
}
.page-retry::after {
border: none;
}
/* ===== 抬头状态 ===== */
.page-header {
/* 抬头自成一区,靠空间 + 一条线立住,不引入第二套容器语言:
@@ -382,14 +414,38 @@ page {
letter-spacing: 1rpx;
}
/* 未付清时的出口指引:与元信息同一档(24rpx / --muted),只做说明不做按钮——
付款动作发生在客服侧,本页给不出可点的东西,硬做描边按钮会是空动作 */
/* 支付/退款指引是可点击的客服入口,用 chevron 给出显性动作暗示 */
.pay-hint {
display: flex;
align-items: center;
margin-top: 12rpx;
color: var(--muted);
}
.pay-hint:active {
opacity: 0.65;
}
.pay-hint-text {
flex: 1;
min-width: 0;
font-size: 24rpx;
letter-spacing: 1rpx;
line-height: 1.6;
}
.shipping-recipient {
display: block;
font-size: 28rpx;
font-weight: 700;
color: var(--ink);
}
.shipping-address {
display: block;
margin-top: 12rpx;
font-size: 24rpx;
color: var(--muted);
letter-spacing: 1rpx;
font-size: 26rpx;
color: var(--ink-2);
line-height: 1.6;
}
@@ -406,6 +462,29 @@ page {
margin-top: 10rpx;
}
.order-extra {
display: flex;
align-items: flex-start;
margin-top: 16rpx;
padding-top: 16rpx;
border-top: 2rpx solid var(--line);
}
.order-extra-label {
flex-shrink: 0;
font-size: 24rpx;
color: var(--muted);
}
.order-extra-value {
flex: 1;
min-width: 0;
margin-left: 20rpx;
font-size: 26rpx;
color: var(--ink-2);
line-height: 1.5;
}
/* ===== 备注(只读文本块) ===== */
.note-block {
margin-top: 18rpx;