feat: 界面切换暖色主题
统一配色/圆角/间距与图标资源,订单页结构简化, 健康档案与订单编辑交互调整;附主题色方案文档
This commit is contained in:
+41
-37
@@ -1,13 +1,12 @@
|
||||
/* pages/order/index.less */
|
||||
|
||||
@bg: #f5f6fa;
|
||||
@bg: #FAF6F1;
|
||||
@card: #ffffff;
|
||||
@dark: #1a1a2e;
|
||||
@text: #3a3d5c;
|
||||
@muted: #a0a3bd;
|
||||
@border: #f0f1f5;
|
||||
@accent: #1abc9c;
|
||||
@accent-end: #17c3a5;
|
||||
@dark: #2A211B;
|
||||
@text: #5C5044;
|
||||
@muted: #A3988B;
|
||||
@border: #F0EAE2;
|
||||
@accent: #C26A2E;
|
||||
|
||||
page {
|
||||
background-color: @bg;
|
||||
@@ -24,11 +23,11 @@ page {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* === 顶部(home 同款翡翠绿圆角卡片) === */
|
||||
/* === 顶部(home 同款暖棕圆角卡片) === */
|
||||
.header {
|
||||
background: linear-gradient(135deg, #29b785 0%, #1a8a63 100%);
|
||||
background: #C26A2E;
|
||||
border-radius: 28rpx;
|
||||
box-shadow: 0 12rpx 32rpx rgba(26, 138, 99, 0.25);
|
||||
box-shadow: 0 12rpx 32rpx rgba(122, 62, 29, 0.25);
|
||||
padding: 36rpx 32rpx;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
@@ -116,15 +115,15 @@ page {
|
||||
border-radius: 28rpx;
|
||||
font-size: 24rpx;
|
||||
color: @muted;
|
||||
border: 1rpx solid rgba(31, 61, 56, 0.06);
|
||||
box-shadow: 0 4rpx 12rpx rgba(31, 61, 56, 0.05);
|
||||
border: 1rpx solid rgba(90, 62, 42, 0.06);
|
||||
box-shadow: 0 4rpx 12rpx rgba(90, 62, 42, 0.05);
|
||||
transition: all 0.25s;
|
||||
|
||||
&.active {
|
||||
background: linear-gradient(135deg, @accent, @accent-end);
|
||||
background: @accent;
|
||||
color: #fff;
|
||||
border-color: transparent;
|
||||
box-shadow: 0 4rpx 16rpx rgba(23, 195, 165, 0.3);
|
||||
box-shadow: 0 4rpx 16rpx rgba(180, 85, 42, 0.3);
|
||||
|
||||
.filter-count {
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
@@ -169,8 +168,8 @@ page {
|
||||
margin-top: 24rpx;
|
||||
background: @card;
|
||||
border-radius: 24rpx;
|
||||
border: 1rpx solid rgba(31, 61, 56, 0.06);
|
||||
box-shadow: 0 6rpx 20rpx rgba(31, 61, 56, 0.07);
|
||||
border: 1rpx solid rgba(90, 62, 42, 0.06);
|
||||
box-shadow: 0 6rpx 20rpx rgba(90, 62, 42, 0.07);
|
||||
padding: 64rpx 40rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -190,7 +189,7 @@ page {
|
||||
.empty-btn {
|
||||
margin-top: 24rpx;
|
||||
padding: 14rpx 48rpx;
|
||||
background: linear-gradient(135deg, @accent, @accent-end);
|
||||
background: @accent;
|
||||
color: #fff;
|
||||
font-size: 26rpx;
|
||||
border-radius: 28rpx;
|
||||
@@ -206,14 +205,14 @@ page {
|
||||
margin-bottom: 20rpx;
|
||||
background: @card;
|
||||
border-radius: 24rpx;
|
||||
border: 1rpx solid rgba(31, 61, 56, 0.06);
|
||||
box-shadow: 0 6rpx 20rpx rgba(31, 61, 56, 0.07);
|
||||
border: 1rpx solid rgba(90, 62, 42, 0.06);
|
||||
box-shadow: 0 6rpx 20rpx rgba(90, 62, 42, 0.07);
|
||||
padding: 24rpx 32rpx;
|
||||
transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.3s cubic-bezier(0.32, 0.72, 0, 1);
|
||||
|
||||
&:active {
|
||||
transform: scale(0.98);
|
||||
box-shadow: 0 4rpx 12rpx rgba(31, 61, 56, 0.08);
|
||||
box-shadow: 0 4rpx 12rpx rgba(90, 62, 42, 0.08);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -239,28 +238,33 @@ page {
|
||||
}
|
||||
|
||||
.status-pending {
|
||||
background: #fdf3e0;
|
||||
color: #d99a2b;
|
||||
background: #FBF0DC;
|
||||
color: #D98E04;
|
||||
}
|
||||
|
||||
.status-confirmed {
|
||||
background: #e9f1f8;
|
||||
color: #5c88a8;
|
||||
background: #EAF1F8;
|
||||
color: #3E6E9E;
|
||||
}
|
||||
|
||||
.status-in_progress {
|
||||
background: #e6f4ee;
|
||||
color: #43a08a;
|
||||
background: #FBEEDF;
|
||||
color: #C26A2E;
|
||||
}
|
||||
|
||||
.status-completed {
|
||||
background: #efedf6;
|
||||
color: #8a7bb5;
|
||||
background: #F0EDF6;
|
||||
color: #8A7BB5;
|
||||
}
|
||||
|
||||
.status-cancelled {
|
||||
background: #f5f5f5;
|
||||
color: #b0b0b0;
|
||||
background: #F3EEE8;
|
||||
color: #BFB6AC;
|
||||
}
|
||||
|
||||
.status-cancel_requested {
|
||||
background: #FBEDEB;
|
||||
color: #C0564A;
|
||||
}
|
||||
|
||||
/* === 卡片主体 === */
|
||||
@@ -279,7 +283,7 @@ page {
|
||||
width: 72rpx;
|
||||
height: 72rpx;
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(135deg, @accent, @accent-end);
|
||||
background: @accent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -316,13 +320,13 @@ page {
|
||||
font-weight: 500;
|
||||
|
||||
&.male {
|
||||
background: rgba(26, 188, 156, 0.1);
|
||||
color: @accent;
|
||||
background: rgba(62, 110, 158, 0.1);
|
||||
color: #3E6E9E;
|
||||
}
|
||||
|
||||
&.female {
|
||||
background: rgba(234, 102, 150, 0.1);
|
||||
color: #ea6696;
|
||||
background: rgba(232, 106, 138, 0.1);
|
||||
color: #E86A8A;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -407,9 +411,9 @@ page {
|
||||
}
|
||||
|
||||
.btn-solid {
|
||||
background: linear-gradient(135deg, @accent, @accent-end);
|
||||
background: @accent;
|
||||
color: #fff;
|
||||
box-shadow: 0 4rpx 16rpx rgba(23, 195, 165, 0.25);
|
||||
box-shadow: 0 4rpx 16rpx rgba(180, 85, 42, 0.25);
|
||||
}
|
||||
|
||||
.btn-ghost {
|
||||
|
||||
Reference in New Issue
Block a user