462 lines
6.9 KiB
Plaintext
462 lines
6.9 KiB
Plaintext
/* pages/order/orderDetail.wxss */
|
|
|
|
page {
|
|
background-color: #FAF6F1;
|
|
color: #2A211B;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
}
|
|
|
|
.detail-page {
|
|
min-height: 100vh;
|
|
background: #FAF6F1;
|
|
padding-bottom: 120rpx;
|
|
}
|
|
|
|
.loading-box {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 200rpx 0;
|
|
}
|
|
|
|
.loading-text {
|
|
font-size: 28rpx;
|
|
color: #A3988B;
|
|
}
|
|
|
|
/* === 顶部状态栏 === */
|
|
.status-header {
|
|
padding: 60rpx 40rpx 80rpx;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.status-header::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: -60rpx;
|
|
right: -40rpx;
|
|
width: 240rpx;
|
|
height: 240rpx;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.status-header.status-pending {
|
|
background: #D98E04;
|
|
}
|
|
|
|
.status-header.status-confirmed {
|
|
background: #3E6E9E;
|
|
}
|
|
|
|
.status-header.status-in_progress {
|
|
background: #B4552A;
|
|
}
|
|
|
|
.status-header.status-completed {
|
|
background: #8A7BB5;
|
|
}
|
|
|
|
.status-header.status-cancelled {
|
|
background: #BFB6AC;
|
|
}
|
|
|
|
.status-header.status-cancel_requested {
|
|
background: #C0564A;
|
|
}
|
|
|
|
.status-content {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.status-text {
|
|
display: block;
|
|
font-size: 44rpx;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
letter-spacing: 2rpx;
|
|
margin-bottom: 12rpx;
|
|
}
|
|
|
|
.status-desc {
|
|
display: block;
|
|
font-size: 28rpx;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-weight: 300;
|
|
}
|
|
|
|
/* === 信息区块 === */
|
|
.info-section {
|
|
margin: 24rpx 24rpx 0;
|
|
}
|
|
|
|
.section-title {
|
|
position: relative;
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
color: #2A211B;
|
|
margin-bottom: 24rpx;
|
|
margin-left: 20rpx;
|
|
letter-spacing: 1rpx;
|
|
}
|
|
|
|
.section-title::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: -20rpx;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 8rpx;
|
|
height: 28rpx;
|
|
border-radius: 4rpx;
|
|
background: #C26A2E;
|
|
}
|
|
|
|
.info-card {
|
|
background: #ffffff;
|
|
border-radius: 24rpx;
|
|
border: 1rpx solid rgba(90, 62, 42, 0.06);
|
|
padding: 28rpx 32rpx;
|
|
box-shadow: 0 6rpx 20rpx rgba(90, 62, 42, 0.07);
|
|
}
|
|
|
|
.info-row {
|
|
display: flex;
|
|
align-items: baseline;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.info-row:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.info-label {
|
|
font-size: 28rpx;
|
|
color: #A3988B;
|
|
width: 140rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.info-value {
|
|
font-size: 28rpx;
|
|
color: #5C5044;
|
|
flex: 1;
|
|
}
|
|
|
|
/* === 患者信息 === */
|
|
.info-card patient-info {
|
|
display: block;
|
|
}
|
|
|
|
.patient-sex {
|
|
font-size: 24rpx;
|
|
padding: 4rpx 12rpx;
|
|
border-radius: 10rpx;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.patient-sex.male {
|
|
background: rgba(62, 110, 158, 0.1);
|
|
color: #3E6E9E;
|
|
}
|
|
|
|
.patient-sex.female {
|
|
background: rgba(232, 106, 138, 0.1);
|
|
color: #E86A8A;
|
|
}
|
|
|
|
.patient-age {
|
|
font-size: 28rpx;
|
|
color: #A3988B;
|
|
}
|
|
|
|
.patient-phone {
|
|
font-size: 28rpx;
|
|
color: #A3988B;
|
|
}
|
|
|
|
.call-icon {
|
|
color: #C26A2E;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.divider {
|
|
height: 1rpx;
|
|
background: #F0EAE2;
|
|
margin: 16rpx 0;
|
|
}
|
|
|
|
/* === 陪诊员信息 === */
|
|
.attendant-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20rpx;
|
|
}
|
|
|
|
.attendant-avatar {
|
|
width: 80rpx;
|
|
height: 80rpx;
|
|
border-radius: 50%;
|
|
background: #C26A2E;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.avatar-text {
|
|
font-size: 32rpx;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
}
|
|
|
|
.attendant-info {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6rpx;
|
|
}
|
|
|
|
.attendant-name {
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
color: #2A211B;
|
|
}
|
|
|
|
.attendant-phone {
|
|
font-size: 28rpx;
|
|
color: #A3988B;
|
|
}
|
|
|
|
/* === 费用信息 === */
|
|
.fee-value {
|
|
font-size: 32rpx;
|
|
font-weight: 700;
|
|
color: #2A211B;
|
|
font-family: 'DIN Alternate', 'Helvetica Neue', sans-serif;
|
|
}
|
|
|
|
/* === 备注信息 === */
|
|
.note-block {
|
|
display: flex;
|
|
align-items: baseline;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.note-block:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.note-label {
|
|
font-size: 28rpx;
|
|
color: #A3988B;
|
|
width: 140rpx;
|
|
flex-shrink: 0;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.note-content {
|
|
font-size: 28rpx;
|
|
color: #5C5044;
|
|
line-height: 1.6;
|
|
flex: 1;
|
|
}
|
|
|
|
/* === 底部操作 === */
|
|
.bottom-actions {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: #ffffff;
|
|
padding: 24rpx 32rpx;
|
|
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 1 200rpx;
|
|
padding: 24rpx 0;
|
|
border-radius: 28rpx;
|
|
font-size: 28rpx;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
}
|
|
|
|
.btn-solid {
|
|
background: #C26A2E;
|
|
color: #fff;
|
|
box-shadow: 0 4rpx 16rpx rgba(180, 85, 42, 0.3);
|
|
}
|
|
|
|
.btn-ghost {
|
|
background: #FAF6F1;
|
|
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: 22rpx;
|
|
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: 26rpx;
|
|
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: 28rpx;
|
|
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: 26rpx;
|
|
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: 24rpx;
|
|
color: #A3988B;
|
|
margin-top: 6rpx;
|
|
}
|
|
|
|
.share-empty {
|
|
padding: 60rpx 0;
|
|
text-align: center;
|
|
font-size: 28rpx;
|
|
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;
|
|
}
|