功能(小程序):同步用户体验流程到小程序

This commit is contained in:
xiaowang
2026-05-23 21:56:52 +08:00
parent 861eea933b
commit b67dae502f
38 changed files with 2163 additions and 126 deletions
+132 -3
View File
@@ -2,6 +2,53 @@
margin-bottom: 20rpx;
}
.recovery-card {
display: flex;
flex-direction: column;
gap: 14rpx;
padding: 26rpx;
border: 2rpx solid var(--theme-border);
}
.recovery-title {
font-size: 30rpx;
font-weight: 800;
color: #2d2430;
}
.recovery-desc {
font-size: 24rpx;
line-height: 1.6;
color: #8d7a84;
}
.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: #ffffff;
border: 2rpx solid var(--theme-border);
color: #5d4b55;
font-size: 24rpx;
font-weight: 700;
}
.recovery-btn.primary {
background: var(--theme-primary);
border-color: var(--theme-primary);
color: #ffffff;
}
.order-card + .order-card {
margin-top: 20rpx;
}
@@ -35,6 +82,51 @@
line-height: 1.5;
}
.order-timeline {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 10rpx;
margin-top: 18rpx;
}
.timeline-node {
min-width: 0;
padding: 12rpx 10rpx;
border-radius: 12rpx;
background: var(--theme-primary-soft);
color: #8d7a84;
}
.timeline-node.done {
color: var(--theme-primary);
}
.timeline-node.active {
outline: 2rpx solid var(--theme-primary);
}
.timeline-title,
.timeline-text,
.timeline-sub {
display: block;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.timeline-title {
font-size: 21rpx;
font-weight: 800;
color: #2d2430;
}
.timeline-text,
.timeline-sub {
margin-top: 4rpx;
font-size: 20rpx;
}
.order-head-copy {
flex: 1;
min-width: 0;
@@ -87,6 +179,13 @@
margin-top: 22rpx;
}
.order-item.focus-target {
padding: 12rpx;
border-radius: 18rpx;
background: rgba(255, 247, 249, 0.9);
outline: 2rpx solid var(--theme-primary);
}
.order-thumb {
width: 132rpx;
height: 132rpx;
@@ -118,13 +217,21 @@
align-items: center;
}
.order-actions {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 14rpx;
}
.order-amount {
font-size: 28rpx;
font-weight: 700;
color: #2d2430;
}
.cancel-btn {
.cancel-btn,
.rebook-btn {
display: inline-flex;
align-items: center;
justify-content: center;
@@ -132,12 +239,20 @@
height: 60rpx;
padding: 0 18rpx;
border-radius: 999rpx;
background: var(--theme-primary-soft);
color: var(--theme-accent);
font-size: 24rpx;
font-weight: 700;
}
.rebook-btn {
background: var(--theme-primary);
color: #ffffff;
}
.cancel-btn {
background: var(--theme-primary-soft);
color: var(--theme-accent);
}
.review-summary,
.review-panel,
.change-panel {
@@ -182,6 +297,20 @@
line-height: 1.6;
}
.impact-list {
display: flex;
flex-direction: column;
gap: 8rpx;
margin-top: 12rpx;
}
.impact-line {
font-size: 24rpx;
font-weight: 700;
color: var(--theme-primary);
line-height: 1.5;
}
.score-row {
display: flex;
flex-wrap: wrap;