feat(order): 订单池接单与共享入口,实习陪诊师只读

列表展示未分配/共享给我标记并新增接单按钮;详情页支持接单与共享给在职陪诊师,实习仅可查看脱敏信息。
This commit is contained in:
lik
2026-11-10 12:28:06 +08:00
parent 51b6ef497b
commit d70d9703ad
8 changed files with 473 additions and 24 deletions
+161 -1
View File
@@ -275,12 +275,13 @@ page {
padding-bottom: calc(24rpx + env(safe-area-inset-bottom));
box-shadow: 0 -4rpx 24rpx rgba(0, 0, 0, 0.06);
display: flex;
flex-wrap: wrap;
gap: 20rpx;
z-index: 100;
}
.action-btn {
flex: 1;
flex: 1 1 200rpx;
padding: 24rpx 0;
border-radius: 28rpx;
font-size: 28rpx;
@@ -299,3 +300,162 @@ page {
color: #A3988B;
border: 1rpx solid #F0EAE2;
}
/* === 接单 / 共享标识 === */
.status-title-row {
display: flex;
align-items: center;
gap: 14rpx;
margin-bottom: 12rpx;
}
.status-title-row .status-text {
margin-bottom: 0;
}
.order-tag {
font-size: 20rpx;
padding: 4rpx 14rpx;
border-radius: 20rpx;
font-weight: 500;
}
.tag-pool {
background: rgba(255, 255, 255, 0.2);
color: #fff;
}
.tag-shared {
background: rgba(255, 255, 255, 0.2);
color: #fff;
}
.tip-banner {
margin: 24rpx 32rpx 0;
padding: 20rpx 24rpx;
border-radius: 20rpx;
background: #FBF0DC;
color: #A97712;
font-size: 24rpx;
line-height: 1.5;
}
/* === 共享弹窗 === */
.share-mask {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0, 0, 0, 0.45);
z-index: 200;
display: flex;
align-items: flex-end;
}
.share-panel {
width: 100%;
max-height: 78vh;
background: #ffffff;
border-radius: 32rpx 32rpx 0 0;
padding: 32rpx 32rpx calc(32rpx + env(safe-area-inset-bottom));
display: flex;
flex-direction: column;
}
.share-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24rpx;
}
.share-title {
font-size: 32rpx;
font-weight: 600;
color: #3A322B;
}
.share-close {
font-size: 26rpx;
color: #A3988B;
}
.share-list {
flex: 1;
max-height: 56vh;
}
.share-item {
display: flex;
align-items: center;
padding: 24rpx 8rpx;
border-bottom: 1rpx solid #F5EFE8;
}
.share-check {
width: 40rpx;
height: 40rpx;
border-radius: 50%;
border: 2rpx solid #D9CFC3;
margin-right: 24rpx;
font-size: 24rpx;
line-height: 40rpx;
text-align: center;
color: #fff;
}
.share-check.checked {
background: #C26A2E;
border-color: #C26A2E;
}
.share-meta {
display: flex;
flex-direction: column;
}
.share-name {
font-size: 28rpx;
color: #3A322B;
font-weight: 500;
}
.share-stage {
font-size: 22rpx;
color: #A3988B;
margin-top: 6rpx;
}
.share-empty {
padding: 60rpx 0;
text-align: center;
font-size: 26rpx;
color: #A3988B;
}
.share-actions {
display: flex;
gap: 20rpx;
margin-top: 24rpx;
}
.share-btn {
flex: 1;
padding: 24rpx 0;
border-radius: 28rpx;
font-size: 28rpx;
font-weight: 600;
text-align: center;
}
.share-btn.ghost {
background: #FAF6F1;
color: #A3988B;
border: 1rpx solid #F0EAE2;
}
.share-btn.solid {
background: #C26A2E;
color: #fff;
}