feat: 界面切换暖色主题
统一配色/圆角/间距与图标资源,订单页结构简化, 健康档案与订单编辑交互调整;附主题色方案文档
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
/* pages/order/orderDetail.wxss */
|
||||
|
||||
page {
|
||||
background-color: #f5f6fa;
|
||||
color: #1a1a2e;
|
||||
background-color: #FAF6F1;
|
||||
color: #2A211B;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
||||
}
|
||||
|
||||
.detail-page {
|
||||
min-height: 100vh;
|
||||
background: #f5f6fa;
|
||||
background: #FAF6F1;
|
||||
padding-bottom: 120rpx;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ page {
|
||||
|
||||
.loading-text {
|
||||
font-size: 28rpx;
|
||||
color: #a0a3bd;
|
||||
color: #A3988B;
|
||||
}
|
||||
|
||||
/* === 顶部状态栏 === */
|
||||
@@ -43,23 +43,27 @@ page {
|
||||
}
|
||||
|
||||
.status-header.status-pending {
|
||||
background: linear-gradient(135deg, #f0b352 0%, #d99a2b 100%);
|
||||
background: #D98E04;
|
||||
}
|
||||
|
||||
.status-header.status-confirmed {
|
||||
background: linear-gradient(135deg, #74a3c4 0%, #5c88a8 100%);
|
||||
background: #3E6E9E;
|
||||
}
|
||||
|
||||
.status-header.status-in_progress {
|
||||
background: linear-gradient(135deg, #55b39c 0%, #43a08a 100%);
|
||||
background: #B4552A;
|
||||
}
|
||||
|
||||
.status-header.status-completed {
|
||||
background: linear-gradient(135deg, #9a8ac4 0%, #8a7bb5 100%);
|
||||
background: #8A7BB5;
|
||||
}
|
||||
|
||||
.status-header.status-cancelled {
|
||||
background: linear-gradient(135deg, #b0b0b0 0%, #c0c0c0 100%);
|
||||
background: #BFB6AC;
|
||||
}
|
||||
|
||||
.status-header.status-cancel_requested {
|
||||
background: #C0564A;
|
||||
}
|
||||
|
||||
.status-content {
|
||||
@@ -92,7 +96,7 @@ page {
|
||||
position: relative;
|
||||
font-size: 30rpx;
|
||||
font-weight: 600;
|
||||
color: #1a1a1a;
|
||||
color: #2A211B;
|
||||
margin-bottom: 24rpx;
|
||||
margin-left: 20rpx;
|
||||
letter-spacing: 1rpx;
|
||||
@@ -107,15 +111,15 @@ page {
|
||||
width: 8rpx;
|
||||
height: 28rpx;
|
||||
border-radius: 4rpx;
|
||||
background: linear-gradient(180deg, #2dd36f, #17c3a5);
|
||||
background: #C26A2E;
|
||||
}
|
||||
|
||||
.info-card {
|
||||
background: #ffffff;
|
||||
border-radius: 24rpx;
|
||||
border: 1rpx solid rgba(31, 61, 56, 0.06);
|
||||
border: 1rpx solid rgba(90, 62, 42, 0.06);
|
||||
padding: 28rpx 32rpx;
|
||||
box-shadow: 0 6rpx 20rpx rgba(31, 61, 56, 0.07);
|
||||
box-shadow: 0 6rpx 20rpx rgba(90, 62, 42, 0.07);
|
||||
}
|
||||
|
||||
.info-row {
|
||||
@@ -130,14 +134,14 @@ page {
|
||||
|
||||
.info-label {
|
||||
font-size: 28rpx;
|
||||
color: #a0a3bd;
|
||||
color: #A3988B;
|
||||
width: 140rpx;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.info-value {
|
||||
font-size: 28rpx;
|
||||
color: #3a3d5c;
|
||||
color: #5C5044;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
@@ -154,33 +158,33 @@ page {
|
||||
}
|
||||
|
||||
.patient-sex.male {
|
||||
background: rgba(26, 188, 156, 0.1);
|
||||
color: #1abc9c;
|
||||
background: rgba(62, 110, 158, 0.1);
|
||||
color: #3E6E9E;
|
||||
}
|
||||
|
||||
.patient-sex.female {
|
||||
background: rgba(234, 102, 150, 0.1);
|
||||
color: #ea6696;
|
||||
background: rgba(232, 106, 138, 0.1);
|
||||
color: #E86A8A;
|
||||
}
|
||||
|
||||
.patient-age {
|
||||
font-size: 26rpx;
|
||||
color: #a0a3bd;
|
||||
color: #A3988B;
|
||||
}
|
||||
|
||||
.patient-phone {
|
||||
font-size: 26rpx;
|
||||
color: #a0a3bd;
|
||||
color: #A3988B;
|
||||
}
|
||||
|
||||
.call-icon {
|
||||
color: #1abc9c;
|
||||
color: #C26A2E;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.divider {
|
||||
height: 1rpx;
|
||||
background: #f0f1f5;
|
||||
background: #F0EAE2;
|
||||
margin: 16rpx 0;
|
||||
}
|
||||
|
||||
@@ -195,7 +199,7 @@ page {
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(135deg, #2dd36f, #17c3a5);
|
||||
background: #C26A2E;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -218,19 +222,19 @@ page {
|
||||
.attendant-name {
|
||||
font-size: 30rpx;
|
||||
font-weight: 600;
|
||||
color: #1a1a2e;
|
||||
color: #2A211B;
|
||||
}
|
||||
|
||||
.attendant-phone {
|
||||
font-size: 26rpx;
|
||||
color: #a0a3bd;
|
||||
color: #A3988B;
|
||||
}
|
||||
|
||||
/* === 费用信息 === */
|
||||
.fee-value {
|
||||
font-size: 32rpx;
|
||||
font-weight: 700;
|
||||
color: #1a1a2e;
|
||||
color: #2A211B;
|
||||
font-family: 'DIN Alternate', 'Helvetica Neue', sans-serif;
|
||||
}
|
||||
|
||||
@@ -247,7 +251,7 @@ page {
|
||||
|
||||
.note-label {
|
||||
font-size: 26rpx;
|
||||
color: #a0a3bd;
|
||||
color: #A3988B;
|
||||
width: 140rpx;
|
||||
flex-shrink: 0;
|
||||
font-weight: 500;
|
||||
@@ -255,7 +259,7 @@ page {
|
||||
|
||||
.note-content {
|
||||
font-size: 26rpx;
|
||||
color: #3a3d5c;
|
||||
color: #5C5044;
|
||||
line-height: 1.6;
|
||||
flex: 1;
|
||||
}
|
||||
@@ -285,13 +289,13 @@ page {
|
||||
}
|
||||
|
||||
.btn-solid {
|
||||
background: linear-gradient(135deg, #2dd36f, #17c3a5);
|
||||
background: #C26A2E;
|
||||
color: #fff;
|
||||
box-shadow: 0 4rpx 16rpx rgba(23, 195, 165, 0.3);
|
||||
box-shadow: 0 4rpx 16rpx rgba(180, 85, 42, 0.3);
|
||||
}
|
||||
|
||||
.btn-ghost {
|
||||
background: #f5f6fa;
|
||||
color: #a0a3bd;
|
||||
border: 1rpx solid #f0f1f5;
|
||||
background: #FAF6F1;
|
||||
color: #A3988B;
|
||||
border: 1rpx solid #F0EAE2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user