diff --git a/app.wxss b/app.wxss
index d5d4f06..6679a96 100644
--- a/app.wxss
+++ b/app.wxss
@@ -1,9 +1,106 @@
/**app.wxss**/
page {
- background-color: #f3f3f3;
+ background-color: #FAF6F1;
}
.page {
height: 100vh;
background-color: #fff;
}
+
+/* === TDesign 主题覆写:暖橙棕商务色系 ===
+ 组件库默认蓝色主题变量未引入,这里直接覆盖 page 作用域的 CSS 变量,
+ TDesign 组件内的 var(--td-brand-color) / var(--td-primary-color-*) 会继承生效。*/
+page,
+.page {
+ /* 品牌色阶:浅金 → 主色 → 深咖 */
+ --td-primary-color-1: #FCF3E9;
+ --td-primary-color-2: #F7E4CE;
+ --td-primary-color-3: #EFCAA6;
+ --td-primary-color-4: #E3AE78;
+ --td-primary-color-5: #D59450;
+ --td-primary-color-6: #D07F3D;
+ --td-primary-color-7: #C26A2E;
+ --td-primary-color-8: #A8551F;
+ --td-primary-color-9: #8A4318;
+ --td-primary-color-10: #6B3212;
+
+ --td-brand-color: var(--td-primary-color-7);
+ --td-brand-color-focus: var(--td-primary-color-1);
+ --td-brand-color-active: var(--td-primary-color-8);
+ --td-brand-color-disabled: var(--td-primary-color-3);
+ --td-brand-color-light: var(--td-primary-color-1);
+ --td-brand-color-light-active: var(--td-primary-color-2);
+
+ /* 警告色:琥珀金 */
+ --td-warning-color-1: #FDF3E0;
+ --td-warning-color-2: #FAE3BE;
+ --td-warning-color-3: #F4CE8D;
+ --td-warning-color-4: #EDB65C;
+ --td-warning-color-5: #E8A33C;
+ --td-warning-color-6: #D98E04;
+ --td-warning-color-7: #B57403;
+ --td-warning-color-8: #8D5A02;
+ --td-warning-color-9: #684201;
+ --td-warning-color-10: #472D01;
+
+ /* 错误色:砖红 */
+ --td-error-color-1: #FCEEEB;
+ --td-error-color-2: #F8D8D2;
+ --td-error-color-3: #F0B3A8;
+ --td-error-color-4: #E28C7B;
+ --td-error-color-5: #D66A55;
+ --td-error-color-6: #C0564A;
+ --td-error-color-7: #9E443A;
+ --td-error-color-8: #7C352D;
+ --td-error-color-9: #5A261F;
+ --td-error-color-10: #3C1813;
+
+ /* 中性色:整体去冷转暖 */
+ --td-gray-color-1: #FAF6F1;
+ --td-gray-color-2: #F4EFE9;
+ --td-gray-color-3: #EAE1D6;
+ --td-gray-color-4: #DED3C6;
+ --td-gray-color-5: #C7BDB2;
+ --td-gray-color-6: #A3988B;
+ --td-gray-color-7: #8A8078;
+ --td-gray-color-8: #6F655C;
+ --td-gray-color-9: #5C5044;
+ --td-gray-color-10: #4A4038;
+ --td-gray-color-11: #3A322B;
+ --td-gray-color-12: #2A211B;
+ --td-gray-color-13: #241D18;
+ --td-gray-color-14: #1A1512;
+
+ --td-font-white-1: #ffffff;
+ --td-font-white-2: rgba(255, 255, 255, 0.55);
+ --td-font-white-3: rgba(255, 255, 255, 0.35);
+ --td-font-white-4: rgba(255, 255, 255, 0.22);
+ --td-font-gray-1: rgba(42, 33, 27, 0.9);
+ --td-font-gray-2: rgba(42, 33, 27, 0.6);
+ --td-font-gray-3: rgba(42, 33, 27, 0.4);
+ --td-font-gray-4: rgba(42, 33, 27, 0.26);
+
+ /* 背景与容器 */
+ --td-bg-color-page: var(--td-gray-color-1);
+ --td-bg-color-container: #ffffff;
+ --td-bg-color-container-active: var(--td-gray-color-3);
+ --td-bg-color-secondarycontainer: var(--td-gray-color-2);
+ --td-bg-color-component: var(--td-gray-color-3);
+ --td-bg-color-component-active: var(--td-gray-color-5);
+
+ /* 文字 */
+ --td-text-color-primary: var(--td-font-gray-1);
+ --td-text-color-secondary: var(--td-font-gray-2);
+ --td-text-color-placeholder: var(--td-font-gray-3);
+ --td-text-color-disabled: var(--td-font-gray-4);
+ --td-text-color-anti: var(--td-font-white-1);
+ --td-text-color-brand: var(--td-brand-color);
+ --td-text-color-link: var(--td-brand-color);
+
+ /* 描边 */
+ --td-border-level-1-color: var(--td-gray-color-3);
+ --td-border-level-2-color: var(--td-gray-color-4);
+ --td-component-stroke: var(--td-gray-color-3);
+ --td-component-border: var(--td-gray-color-4);
+}
diff --git a/components/order-stats/index.wxss b/components/order-stats/index.wxss
index ffb6c84..d303ead 100644
--- a/components/order-stats/index.wxss
+++ b/components/order-stats/index.wxss
@@ -15,7 +15,7 @@
position: relative;
font-size: 30rpx;
font-weight: 600;
- color: #1a1a1a;
+ color: #2A211B;
margin-left: 20rpx;
letter-spacing: 1rpx;
}
@@ -29,13 +29,13 @@
width: 8rpx;
height: 28rpx;
border-radius: 4rpx;
- background: linear-gradient(180deg, #2dd36f, #17c3a5);
+ background: #C26A2E;
}
.os-card {
- background: linear-gradient(135deg, #ffffff 0%, #f3fbf8 100%);
+ background: #ffffff;
border-radius: 24rpx;
- box-shadow: 0 4rpx 20rpx rgba(23, 195, 165, 0.10);
+ box-shadow: 0 4rpx 20rpx rgba(180, 85, 42, 0.10);
padding: 36rpx 0 32rpx;
display: flex;
align-items: stretch;
@@ -43,7 +43,7 @@
overflow: hidden;
}
-/* 左上角装饰色块,呼应首页头部渐变 */
+/* 左上角装饰色块,呼应首页头部主色 */
.os-card::before {
content: '';
position: absolute;
@@ -52,7 +52,7 @@
width: 160rpx;
height: 160rpx;
border-radius: 50%;
- background: linear-gradient(135deg, rgba(45, 211, 111, 0.10), rgba(23, 195, 165, 0.10));
+ background: rgba(194, 106, 46, 0.07);
}
.os-item {
@@ -72,51 +72,51 @@
}
.os-num.green {
- color: #2dd36f;
+ color: #E8A96B;
}
.os-num.blue {
- color: #17c3a5;
+ color: #C26A2E;
}
.os-num.orange {
- color: #f5a623;
+ color: #D98E04;
}
.os-label {
margin-top: 12rpx;
font-size: 24rpx;
- color: #888888;
+ color: #8A8078;
}
.os-fee {
margin-top: 10rpx;
font-size: 22rpx;
font-weight: 600;
- color: #1a1a1a;
+ color: #2A211B;
padding: 4rpx 16rpx;
border-radius: 20rpx;
- background: rgba(26, 26, 46, 0.05);
+ background: rgba(42, 33, 27, 0.05);
}
.os-item:nth-child(1) .os-fee {
- color: #1ea55c;
- background: rgba(45, 211, 111, 0.12);
+ color: #C26A2E;
+ background: rgba(232, 169, 107, 0.12);
}
.os-item:nth-child(3) .os-fee {
- color: #14a08a;
- background: rgba(23, 195, 165, 0.12);
+ color: #A8551F;
+ background: rgba(180, 85, 42, 0.12);
}
.os-item:nth-child(5) .os-fee {
- color: #d99a2b;
- background: rgba(245, 166, 35, 0.14);
+ color: #D98E04;
+ background: rgba(217, 142, 4, 0.14);
}
.os-divider {
width: 1rpx;
margin: 8rpx 0;
- background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #e8e8e8 30%, #e8e8e8 70%, rgba(0, 0, 0, 0) 100%);
+ background: #EAE1D6;
flex-shrink: 0;
}
\ No newline at end of file
diff --git a/components/patient-info/index.wxss b/components/patient-info/index.wxss
index e273c2d..3afc931 100644
--- a/components/patient-info/index.wxss
+++ b/components/patient-info/index.wxss
@@ -7,8 +7,8 @@
width: 72rpx;
height: 72rpx;
border-radius: 50%;
- background-color: #e6f9f3;
- color: #1abc9c;
+ background-color: #FBEEDF;
+ color: #C26A2E;
font-size: 30rpx;
font-weight: 600;
display: flex;
@@ -43,7 +43,7 @@
.pi-name {
font-size: 30rpx;
font-weight: 600;
- color: #1a1a1a;
+ color: #2A211B;
}
.pi-sex {
@@ -55,13 +55,13 @@
}
.pi-sex.male {
- background: rgba(26, 188, 156, 0.1);
- color: #1abc9c;
+ background: rgba(62, 110, 158, 0.1);
+ color: #3E6E9E;
}
.pi-sex.female {
- background: rgba(234, 102, 150, 0.1);
- color: #ea6696;
+ background: rgba(232, 106, 138, 0.1);
+ color: #E86A8A;
}
.pi-mobile-wrap {
@@ -72,19 +72,19 @@
.pi-mobile {
font-size: 24rpx;
- color: #888888;
+ color: #8A8078;
}
.pi-call {
font-size: 24rpx;
- color: #1abc9c;
+ color: #C26A2E;
font-weight: 500;
margin-left: 8rpx;
}
.pi-extra {
font-size: 24rpx;
- color: #888888;
+ color: #8A8078;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
diff --git a/doc/theme-color-scheme.md b/doc/theme-color-scheme.md
new file mode 100644
index 0000000..2e4cf1c
--- /dev/null
+++ b/doc/theme-color-scheme.md
@@ -0,0 +1,174 @@
+# 陪诊端(管理端)配色方案
+
+> 适用项目:`ui/wxapp_escort_admin`
+> 主题方向:商务暖色 · 琥珀金 × 深咖
+> 设计约束:**纯色填充,不使用任何渐变**
+
+## 一、色彩令牌
+
+### 1.1 品牌主色阶
+
+| Token | 色值 | 用途 |
+| --- | --- | --- |
+| brand-700 | `#7A3E1D` | 深咖,深度强调、品牌文字 |
+| brand-600 | `#C26A2E` | **主色**,按钮、头卡、图标、重点文字 |
+| brand-500 | `#B4552A` | 次级主色,AI 头像、进行中状态 |
+| brand-300 | `#E8A96B` | 琥珀浅色,快捷入口图标 |
+| brand-100 | `#FBEEDF` | 浅底,标签底色 |
+| brand-50 | `#FDF6EE` | 米色浅底 |
+
+### 1.2 中性色阶(去冷转暖)
+
+| 用途 | 色值 |
+| --- | --- |
+| 页面底色 | `#FAF6F1` |
+| 次级底色 | `#F4EFE9` |
+| 描边 | `#EAE1D6` |
+| 分隔线 / 占位 | `#C7BDB2` |
+| 弱文字 | `#A3988B` |
+| 次文字 | `#6F655C` |
+| 正文文字 | `#5C5044` |
+| 深文字 / 标题 | `#2A211B` |
+| TabBar 未选中 | `#8A8078` |
+| 卡片阴影 | `rgba(90, 62, 42, 0.06 ~ 0.10)` |
+
+### 1.3 语义状态色
+
+状态标签统一使用「浅底 + 深字」双色组合,详情页头卡使用对应的深色实底。
+
+| 状态 | 文字色 | 标签底色 | 状态标识 |
+| --- | --- | --- | --- |
+| 待确认 `pending` | `#D98E04` | `#FBF0DC` | 琥珀金 |
+| 已确认 `confirmed` | `#3E6E9E` | `#EAF1F8` | 商务蓝 |
+| 待取消 `cancel_requested` | `#C0564A` | `#FBEDEB` | 砖红 |
+| 进行中 `in_progress` | `#C26A2E` | `#FBEEDF` | 暖铜 |
+| 已完成 `completed` | `#8A7BB5` | `#F0EDF6` | 雾紫 |
+| 已取消 `cancelled` | `#BFB6AC` | `#F3EEE8` | 暖灰 |
+
+### 1.4 性别标识色
+
+| 性别 | 色值 | 标签底色 |
+| --- | --- | --- |
+| 男 | `#3E6E9E` | `rgba(62, 110, 158, 0.1)` |
+| 女 | `#E86A8A` | `rgba(232, 106, 138, 0.1)` |
+
+### 1.5 功能色
+
+| 用途 | 色值 |
+| --- | --- |
+| 审核通过徽章 | 文字 `#3E6E9E` / 底 `#EAF1F8` |
+| 警示 / 待办 | `#D98E04` |
+| 危险 / 删除 / 退出 | `#C0564A` |
+| 危险浅底 | `#FCEEEB` |
+| 危险深字 | `#9E443A` |
+
+## 二、TDesign 变量覆写
+
+组件库未引入默认主题文件,因此在 `app.wxss` 中以 `page, .page` 作用域覆写 CSS 变量。
+
+### 2.1 品牌色阶
+
+```
+--td-primary-color-1: #FCF3E9
+--td-primary-color-2: #F7E4CE
+--td-primary-color-3: #EFCAA6
+--td-primary-color-4: #E3AE78
+--td-primary-color-5: #D59450
+--td-primary-color-6: #D07F3D
+--td-primary-color-7: #C26A2E ← --td-brand-color
+--td-primary-color-8: #A8551F
+--td-primary-color-9: #8A4318
+--td-primary-color-10: #6B3212
+```
+
+### 2.2 警告色阶(琥珀金)
+
+```
+--td-warning-color-1..10:
+#FDF3E0 #FAE3BE #F4CE8D #EDB65C #E8A33C #D98E04 #B57403 #8D5A02 #684201 #472D01
+```
+
+### 2.3 错误色阶(砖红)
+
+```
+--td-error-color-1..10:
+#FCEEEB #F8D8D2 #F0B3A8 #E28C7B #D66A55 #C0564A #9E443A #7C352D #5A261F #3C1813
+```
+
+### 2.4 中性色阶
+
+```
+--td-gray-color-1 .. -14:
+#FAF6F1 #F4EFE9 #EAE1D6 #DED3C6 #C7BDB2 #A3988B #8A8078
+#6F655C #5C5044 #4A4038 #3A322B #2A211B #241D18 #1A1512
+```
+
+### 2.5 语义映射
+
+| TDesign 变量 | 指向 |
+| --- | --- |
+| `--td-brand-color` | `--td-primary-color-7`(`#C26A2E`) |
+| `--td-brand-color-active` | `--td-primary-color-8` |
+| `--td-brand-color-disabled` | `--td-primary-color-3` |
+| `--td-bg-color-page` | `#FAF6F1` |
+| `--td-bg-color-container` | `#ffffff` |
+| `--td-text-color-primary` | `rgba(42, 33, 27, 0.9)` |
+| `--td-text-color-secondary` | `rgba(42, 33, 27, 0.6)` |
+| `--td-text-color-placeholder` | `rgba(42, 33, 27, 0.4)` |
+| `--td-border-level-1-color` | `#EAE1D6` |
+| `--td-border-level-2-color` | `#DED3C6` |
+
+## 三、TabBar
+
+| 项 | 值 |
+| --- | --- |
+| 选中文字色 | `#C26A2E` |
+| 未选中文字色 | `#8A8078` |
+| 背景色 | `#ffffff` |
+| 选中图标 | `images/home-warm.png`、`images/chat-warm.png`、`images/set-warm.png` |
+| 未选中图标 | `images/home.png`、`images/chat.png`、`images/set.png`(暖灰 `#8A8078`) |
+
+图标为 128×128 PNG,选中态像素色 `rgb(194, 106, 46)`。
+
+## 四、无渐变规范
+
+所有原渐变位已改为纯色,替换规则如下:
+
+| 原渐变 | 现值 |
+| --- | --- |
+| `#C26A2E → #7A3E1D` 头卡 | `#C26A2E` |
+| `#E8A96B → #C26A2E` 按钮 / 头像 / 竖条 / 气泡 | `#C26A2E` |
+| `#B4552A → #7A3E1D` AI 头像 | `#B4552A` |
+| `#ffffff → #FDF6EE` 统计卡 | `#ffffff` |
+| 装饰光斑双层 rgba | `rgba(194, 106, 46, 0.07)` |
+| 透明 → `#EAE1D6` → 透明 分隔线 | `#EAE1D6` 实线 |
+| 状态头卡双色渐变 | 对应状态纯色 |
+
+层级区分依靠字号、字重、留白、描边与阴影,不依赖渐变过渡。
+
+## 五、落地位置索引
+
+| 内容 | 文件 |
+| --- | --- |
+| TDesign 变量覆写、页面底色 | `app.wxss` |
+| TabBar 配色与图标 | `app.json` |
+| 首页头卡、快捷入口、状态标签 | `pages/home/index.wxss`、`pages/home/index.js` |
+| 订单列表头卡、筛选、状态标签 | `pages/order/index.less` |
+| 订单详情状态头卡 | `pages/order/orderDetail.wxss` |
+| 订单编辑按钮 | `pages/order/orderEdit.less` |
+| 客户列表、男女标识 | `pages/customer/index.less` |
+| 健康档案列表、档案详情 | `pages/healthprofile/index.less`、`pages/healthprofile/profileInfo.less` |
+| 个人信息卡 | `pages/me/index.less` |
+| AI 对话头像与气泡 | `pages/ai/index.wxss` |
+| 设置页用户卡、登录按钮 | `pages/set/index.wxss` |
+| 申请页徽章 | `pages/apply/index.wxss` |
+| 订单统计组件 | `components/order-stats/index.wxss` |
+| 患者信息组件 | `components/patient-info/index.wxss` |
+
+## 六、开发约束
+
+1. **不使用渐变**:新增样式一律使用纯色,禁止 `linear-gradient` / `radial-gradient`。
+2. **JS 色值保持 6 位十六进制**:首页快捷入口使用 `style="background-color: {{item.color}}1a;"` 拼接 alpha,若改成 8 位会渲染异常。
+3. **状态色单一来源**:新增或调整状态色时,需同步 `pages/home/index.wxss`、`pages/order/index.less`、`pages/healthprofile/profileInfo.less` 三处 `.status-*`,以及 `pages/order/index.js` 的 `STATUS_MAP`。
+4. **不改动 `miniprogram_npm`**:TDesign 组件外观通过 `app.wxss` 变量覆写实现,不修改 vendor 代码。
+5. **新增页面接入主题**:只需在页面根节点使用上述色值,TDesign 变量由 `app.wxss` 全局继承。
diff --git a/pages/ai/index.wxss b/pages/ai/index.wxss
index a69308b..0fedfc3 100644
--- a/pages/ai/index.wxss
+++ b/pages/ai/index.wxss
@@ -1,6 +1,6 @@
page {
- background-color: #f5f6fa;
- color: #1a1a2e;
+ background-color: #FAF6F1;
+ color: #2A211B;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
@@ -8,7 +8,7 @@ page {
display: flex;
flex-direction: column;
height: 100vh;
- background-color: #f5f6fa;
+ background-color: #FAF6F1;
}
.chat-header {
@@ -18,14 +18,14 @@ page {
height: 88rpx;
padding: 0 24rpx;
background-color: #ffffff;
- border-bottom: 1rpx solid #e5e7eb;
+ border-bottom: 1rpx solid #EAE1D6;
flex-shrink: 0;
}
.chat-header-title {
font-size: 30rpx;
font-weight: 600;
- color: #1a1a2e;
+ color: #2A211B;
}
.message-list {
@@ -45,7 +45,7 @@ page {
.welcome-text {
font-size: 32rpx;
- color: #1a1a2e;
+ color: #2A211B;
margin-bottom: 40rpx;
text-align: center;
font-weight: 500;
@@ -63,16 +63,16 @@ page {
border-radius: 24rpx;
padding: 24rpx 32rpx;
font-size: 28rpx;
- color: #1abc9c;
+ color: #C26A2E;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
text-align: center;
- border: 1rpx solid #e5e7eb;
+ border: 1rpx solid #EAE1D6;
transition: all 0.2s ease;
}
.quick-item:active {
transform: scale(0.98);
- background-color: rgba(26, 188, 156, 0.05);
+ background-color: rgba(194, 106, 46, 0.05);
}
.message-item {
@@ -91,7 +91,7 @@ page {
.message-time {
font-size: 22rpx;
- color: #9ca3af;
+ color: #A3988B;
margin-top: 8rpx;
padding: 0 4rpx;
}
@@ -118,13 +118,13 @@ page {
}
.user-avatar {
- background: linear-gradient(135deg, #2dd36f, #17c3a5);
- box-shadow: 0 4rpx 12rpx rgba(23, 195, 165, 0.25);
+ background: #C26A2E;
+ box-shadow: 0 4rpx 12rpx rgba(180, 85, 42, 0.25);
}
.ai-avatar {
- background: linear-gradient(135deg, #20c997, #51cf66);
- box-shadow: 0 4rpx 12rpx rgba(32, 201, 151, 0.25);
+ background: #B4552A;
+ box-shadow: 0 4rpx 12rpx rgba(217, 134, 52, 0.25);
}
.avatar-text {
@@ -157,19 +157,19 @@ page {
}
.user-bubble {
- background: linear-gradient(135deg, #2dd36f, #17c3a5);
+ background: #C26A2E;
color: #fff;
border-bottom-right-radius: 4rpx;
- box-shadow: 0 4rpx 12rpx rgba(23, 195, 165, 0.2);
+ box-shadow: 0 4rpx 12rpx rgba(180, 85, 42, 0.2);
margin-right: 4rpx;
}
.ai-bubble {
background-color: #ffffff;
- color: #1a1a2e;
+ color: #2A211B;
border-bottom-left-radius: 4rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
- border: 1rpx solid #e5e7eb;
+ border: 1rpx solid #EAE1D6;
margin-left: 4rpx;
}
@@ -177,7 +177,7 @@ page {
.message-markdown {
width: 100%;
font-size: 28rpx;
- color: #1a1a2e;
+ color: #2A211B;
line-height: 1.6;
}
@@ -187,7 +187,7 @@ page {
max-width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
- border: 1rpx solid #e5e7eb;
+ border: 1rpx solid #EAE1D6;
border-radius: 8rpx;
}
@@ -214,13 +214,13 @@ page {
}
.message-markdown .t-chat-markdown-table__th {
- background-color: #f5f6fa;
+ background-color: #FAF6F1;
font-weight: 600;
- color: #1a1a2e;
+ color: #2A211B;
}
.message-markdown .t-chat-markdown-table__tr:nth-child(2n) {
- background-color: #fafbfc;
+ background-color: #FCFAF7;
}
/* 代码块样式覆盖 */
@@ -240,12 +240,12 @@ page {
.subagent-label {
font-size: 24rpx;
- color: #6b7280;
+ color: #6F655C;
}
.subagent-arrow {
font-size: 24rpx;
- color: #9ca3af;
+ color: #A3988B;
transition: transform 0.2s ease;
}
@@ -256,7 +256,7 @@ page {
.subagent-body {
margin-top: 12rpx;
padding-top: 12rpx;
- border-top: 1rpx solid #e5e7eb;
+ border-top: 1rpx solid #EAE1D6;
}
.typing-indicator {
@@ -275,13 +275,13 @@ page {
border-radius: 16rpx;
border-bottom-left-radius: 4rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
- border: 1rpx solid #e5e7eb;
+ border: 1rpx solid #EAE1D6;
}
.dot {
width: 16rpx;
height: 16rpx;
- background-color: #9ca3af;
+ background-color: #A3988B;
border-radius: 50%;
animation: bounce 1.4s infinite ease-in-out both;
}
@@ -326,9 +326,9 @@ page {
align-items: right;
justify-content: right;
padding: 12rpx 24rpx;
- background-color: #f5f6fa;
- border-top: 1rpx solid #e5e7eb;
- border-bottom: 1rpx solid #e5e7eb;
+ background-color: #FAF6F1;
+ border-top: 1rpx solid #EAE1D6;
+ border-bottom: 1rpx solid #EAE1D6;
}
.chat-toolbar-action {
@@ -338,40 +338,40 @@ page {
padding: 6rpx 24rpx;
border-radius: 24rpx;
background-color: #ffffff;
- border: 1rpx solid #e5e7eb;
+ border: 1rpx solid #EAE1D6;
transition: all 0.2s ease;
}
.chat-toolbar-action:active {
transform: scale(0.96);
- background-color: rgba(26, 188, 156, 0.08);
- border-color: #1abc9c;
+ background-color: rgba(194, 106, 46, 0.08);
+ border-color: #C26A2E;
}
.chat-toolbar-action text {
font-size: 24rpx;
- color: #6b7280;
+ color: #6F655C;
}
.chat-input {
flex: 1;
height: 72rpx;
- background-color: #f5f6fa;
+ background-color: #FAF6F1;
border-radius: 36rpx;
padding: 0 28rpx;
font-size: 28rpx;
- color: #1a1a2e;
- border: 1rpx solid #e5e7eb;
+ color: #2A211B;
+ border: 1rpx solid #EAE1D6;
}
.chat-input::placeholder {
- color: #9ca3af;
+ color: #A3988B;
}
.send-btn {
width: 120rpx;
height: 72rpx;
- background-color: #e5e7eb;
+ background-color: #EAE1D6;
border-radius: 36rpx;
display: flex;
align-items: center;
@@ -380,12 +380,12 @@ page {
}
.send-btn.active {
- background: linear-gradient(135deg, #2dd36f, #17c3a5);
- box-shadow: 0 4rpx 12rpx rgba(23, 195, 165, 0.25);
+ background: #C26A2E;
+ box-shadow: 0 4rpx 12rpx rgba(180, 85, 42, 0.25);
}
.send-text {
- color: #9ca3af;
+ color: #A3988B;
font-size: 28rpx;
font-weight: 500;
transition: color 0.2s ease;
diff --git a/pages/customer/index.less b/pages/customer/index.less
index b6a40d6..7018448 100644
--- a/pages/customer/index.less
+++ b/pages/customer/index.less
@@ -1,20 +1,18 @@
/* pages/customer/index.less */
// 颜色变量
-@bg-primary: #f5f6fa;
+@bg-primary: #FAF6F1;
@bg-secondary: #ffffff;
@bg-card: #ffffff;
-@accent-primary: #1abc9c;
-@accent-secondary: #17c3a5;
-@accent-gradient-start: #2dd36f;
-@accent-gradient-end: #17c3a5;
-@text-primary: #1a1a2e;
-@text-secondary: #6b7280;
-@text-muted: #9ca3af;
-@border-color: #e5e7eb;
-@male-color: #1abc9c;
-@female-color: #ff6b6b;
-@divider-color: #f3f4f6;
+@accent-primary: #C26A2E;
+@accent-secondary: #B4552A;
+@text-primary: #2A211B;
+@text-secondary: #6F655C;
+@text-muted: #A3988B;
+@border-color: #EAE1D6;
+@male-color: #3E6E9E;
+@female-color: #E86A8A;
+@divider-color: #F4EFE9;
page {
background-color: @bg-primary;
@@ -71,13 +69,13 @@ page {
.search-btn {
padding: 16rpx 28rpx;
- background: linear-gradient(135deg, @accent-gradient-start, @accent-gradient-end);
+ background: @accent-primary;
color: #ffffff;
font-size: 26rpx;
font-weight: 500;
border-radius: 32rpx;
white-space: nowrap;
- box-shadow: 0 4rpx 16rpx rgba(23, 195, 165, 0.25);
+ box-shadow: 0 4rpx 16rpx rgba(180, 85, 42, 0.25);
&:active {
opacity: 0.9;
@@ -165,7 +163,7 @@ page {
.empty-action {
margin-top: 30rpx;
padding: 16rpx 48rpx;
- background: linear-gradient(135deg, @accent-gradient-start, @accent-gradient-end);
+ background: @accent-primary;
color: #ffffff;
font-size: 28rpx;
border-radius: 32rpx;
@@ -214,15 +212,15 @@ page {
display: flex;
align-items: center;
justify-content: center;
- background: linear-gradient(135deg, @accent-gradient-start, @accent-gradient-end);
- box-shadow: 0 4rpx 12rpx rgba(23, 195, 165, 0.25);
+ background: @accent-primary;
+ box-shadow: 0 4rpx 12rpx rgba(180, 85, 42, 0.25);
&.male {
- background: linear-gradient(135deg, #2dd36f, #17c3a5);
+ background: @male-color;
}
&.female {
- background: linear-gradient(135deg, #ff6b6b, #ff8787);
+ background: @female-color;
}
}
@@ -263,12 +261,12 @@ page {
font-weight: 500;
&.male {
- background-color: rgba(26, 188, 156, 0.1);
+ background-color: rgba(62, 110, 158, 0.1);
color: @male-color;
}
&.female {
- background-color: rgba(255, 107, 107, 0.1);
+ background-color: rgba(232, 106, 138, 0.1);
color: @female-color;
}
}
@@ -301,16 +299,16 @@ page {
width: 72rpx;
height: 72rpx;
border-radius: 50%;
- background-color: rgba(26, 188, 156, 0.08);
+ background-color: rgba(194, 106, 46, 0.08);
transition: all 0.2s ease;
&:active {
- background-color: rgba(26, 188, 156, 0.15);
+ background-color: rgba(194, 106, 46, 0.15);
transform: scale(0.95);
}
&.call {
- background-color: rgba(26, 188, 156, 0.08);
+ background-color: rgba(194, 106, 46, 0.08);
}
}
diff --git a/pages/customer/index.wxml b/pages/customer/index.wxml
index 35527bb..0320ba8 100644
--- a/pages/customer/index.wxml
+++ b/pages/customer/index.wxml
@@ -4,7 +4,7 @@
-
+
-
+
搜索
@@ -100,7 +100,7 @@
-
+
diff --git a/pages/healthprofile/index.less b/pages/healthprofile/index.less
index 46a7706..0d0e472 100644
--- a/pages/healthprofile/index.less
+++ b/pages/healthprofile/index.less
@@ -1,7 +1,7 @@
/* pages/healthprofile/index.less */
page {
- background-color: #f5f6fa;
- color: #1a1a2e;
+ background-color: #FAF6F1;
+ color: #2A211B;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
@@ -18,11 +18,11 @@ page {
/* 头部统计卡 */
.header-card {
- background: linear-gradient(135deg, #2dd36f, #17c3a5);
+ background: #C26A2E;
border-radius: 24rpx;
padding: 32rpx;
color: #ffffff;
- box-shadow: 0 8rpx 24rpx rgba(23, 195, 165, 0.25);
+ box-shadow: 0 8rpx 24rpx rgba(180, 85, 42, 0.25);
}
.header-row {
@@ -75,7 +75,7 @@ page {
display: block;
font-size: 32rpx;
font-weight: 700;
- color: #1a1a1a;
+ color: #2A211B;
margin-left: 8rpx;
}
@@ -101,7 +101,7 @@ page {
.quick-icon {
width: 80rpx;
height: 80rpx;
- background-color: #e6f9f3;
+ background-color: #FBEEDF;
border-radius: 20rpx;
display: flex;
align-items: center;
@@ -111,7 +111,7 @@ page {
.quick-label {
font-size: 24rpx;
- color: #333333;
+ color: #3A322B;
}
/* 健康档案列表 */
@@ -122,7 +122,7 @@ page {
patient-info {
display: block;
padding: 24rpx 0;
- border-bottom: 1rpx solid #f5f5f5;
+ border-bottom: 1rpx solid #F3EEE8;
&:last-child {
border-bottom: none;
diff --git a/pages/healthprofile/index.wxml b/pages/healthprofile/index.wxml
index d8e8160..0c187d2 100644
--- a/pages/healthprofile/index.wxml
+++ b/pages/healthprofile/index.wxml
@@ -20,7 +20,7 @@
-
+
{{item.title}}
diff --git a/pages/healthprofile/profileInfo.less b/pages/healthprofile/profileInfo.less
index ef80177..bc57536 100644
--- a/pages/healthprofile/profileInfo.less
+++ b/pages/healthprofile/profileInfo.less
@@ -1,7 +1,7 @@
/* pages/healthprofile/profileInfo.less */
page {
- background-color: #f5f6fa;
- color: #1a1a2e;
+ background-color: #FAF6F1;
+ color: #2A211B;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
@@ -25,7 +25,7 @@ page {
display: block;
font-size: 30rpx;
font-weight: 600;
- color: #1a1a1a;
+ color: #2A211B;
margin-left: 28rpx;
letter-spacing: 1rpx;
@@ -38,7 +38,7 @@ page {
width: 8rpx;
height: 28rpx;
border-radius: 4rpx;
- background: linear-gradient(180deg, #2dd36f, #17c3a5);
+ background: #C26A2E;
}
}
@@ -56,7 +56,7 @@ page {
.form-label {
width: 170rpx;
font-size: 28rpx;
- color: #333333;
+ color: #3A322B;
flex-shrink: 0;
}
@@ -65,7 +65,7 @@ page {
.picker-value {
flex: 1;
font-size: 28rpx;
- color: #1a1a1a;
+ color: #2A211B;
}
.form-textarea {
@@ -74,12 +74,12 @@ page {
}
.placeholder {
- color: #b8b8c4;
+ color: #C0B7AC;
}
.form-divider {
height: 1rpx;
- background-color: #f0f0f0;
+ background-color: #F0EAE2;
}
/* 关联预约订单 */
@@ -109,14 +109,14 @@ page {
.order-patient {
font-size: 30rpx;
font-weight: 600;
- color: #1a1a1a;
+ color: #2A211B;
margin-right: 16rpx;
}
.order-service {
font-size: 26rpx;
font-weight: 500;
- color: #1abc9c;
+ color: #C26A2E;
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
@@ -132,28 +132,33 @@ page {
}
.status-pending {
- background: #fdf3e0;
- color: #d99a2b;
+ background: #FBF0DC;
+ color: #D98E04;
}
.status-confirmed {
- background: #e6f4ee;
- color: #43a08a;
+ 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;
}
.order-line2 {
@@ -165,7 +170,7 @@ page {
.order-hospital {
font-size: 26rpx;
- color: #888888;
+ color: #8A8078;
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
@@ -175,7 +180,7 @@ page {
.order-time {
font-size: 26rpx;
- color: #a0a3bd;
+ color: #A3988B;
flex-shrink: 0;
}
@@ -188,7 +193,7 @@ page {
text {
font-size: 26rpx;
- color: #b8b8c4;
+ color: #C0B7AC;
}
}
@@ -217,8 +222,8 @@ page {
}
.btn-primary {
- background: linear-gradient(135deg, #2dd36f, #17c3a5);
- box-shadow: 0 8rpx 24rpx rgba(23, 195, 165, 0.25);
+ background: #C26A2E;
+ box-shadow: 0 8rpx 24rpx rgba(180, 85, 42, 0.25);
&.disabled {
opacity: 0.6;
@@ -226,15 +231,15 @@ page {
}
.btn-danger {
- background-color: #ff4d4f;
+ background-color: #C0564A;
}
.btn-outline {
background-color: #ffffff;
- border: 2rpx solid #1abc9c;
+ border: 2rpx solid #C26A2E;
text {
- color: #1abc9c;
+ color: #C26A2E;
}
}
diff --git a/pages/home/index.wxml b/pages/home/index.wxml
index 5207e78..4dc9254 100644
--- a/pages/home/index.wxml
+++ b/pages/home/index.wxml
@@ -77,7 +77,7 @@
近7日订单
全部
-
+
@@ -98,7 +98,7 @@
-
+
暂无近7日订单
diff --git a/pages/home/index.wxss b/pages/home/index.wxss
index f3b2ef4..cef3d82 100644
--- a/pages/home/index.wxss
+++ b/pages/home/index.wxss
@@ -1,8 +1,8 @@
/* pages/home/index.wxss */
page {
- background: #ededed;
- color: #1a1a2e;
+ background: #F4EFE9;
+ color: #2A211B;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
@@ -13,15 +13,15 @@ page {
background-color: transparent;
}
-/* === 头部信息卡(翡翠绿实底) === */
+/* === 头部信息卡(暖棕主色实底) === */
.header-card {
position: relative;
overflow: hidden;
- background: linear-gradient(135deg, #29b785 0%, #1a8a63 100%);
+ background: #C26A2E;
border-radius: 28rpx;
padding: 36rpx 32rpx;
color: #ffffff;
- box-shadow: 0 12rpx 32rpx rgba(26, 138, 99, 0.25);
+ box-shadow: 0 12rpx 32rpx rgba(122, 62, 29, 0.25);
}
/* 装饰光斑,增加层次 */
@@ -159,7 +159,7 @@ page {
.switch-track.on .switch-thumb {
left: 26rpx;
- background-color: #1a8a63;
+ background-color: #C26A2E;
}
.stats-row {
@@ -215,7 +215,7 @@ page {
position: relative;
font-size: 30rpx;
font-weight: 600;
- color: #1a1a1a;
+ color: #2A211B;
margin-left: 20rpx;
letter-spacing: 1rpx;
}
@@ -229,7 +229,7 @@ page {
width: 8rpx;
height: 28rpx;
border-radius: 4rpx;
- background: linear-gradient(180deg, #2dd36f, #17c3a5);
+ background: #C26A2E;
}
.section-header {
@@ -243,15 +243,15 @@ page {
display: flex;
align-items: center;
font-size: 24rpx;
- color: #a0a3bd;
+ color: #A3988B;
}
/* === 快捷功能入口 === */
.card {
background-color: #ffffff;
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);
}
.quick-grid {
@@ -288,12 +288,12 @@ page {
align-items: center;
justify-content: center;
margin-bottom: 14rpx;
- box-shadow: inset 0 2rpx 4rpx rgba(255, 255, 255, 0.8), 0 4rpx 10rpx rgba(31, 61, 56, 0.06);
+ box-shadow: inset 0 2rpx 4rpx rgba(255, 255, 255, 0.8), 0 4rpx 10rpx rgba(90, 62, 42, 0.06);
}
.quick-label {
font-size: 26rpx;
- color: #3a3f4d;
+ color: #5C5044;
}
/* === 订单列表 === */
@@ -306,15 +306,15 @@ page {
.order-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);
transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.order-card: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);
}
.order-line1 {
@@ -325,14 +325,14 @@ page {
.order-patient {
font-size: 30rpx;
font-weight: 600;
- color: #1a1a1a;
+ color: #2A211B;
margin-right: 16rpx;
}
.order-service {
font-size: 26rpx;
font-weight: 500;
- color: #1abc9c;
+ color: #C26A2E;
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
@@ -348,28 +348,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;
}
.order-line2 {
@@ -381,7 +386,7 @@ page {
.order-hospital {
font-size: 26rpx;
- color: #888888;
+ color: #8A8078;
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
@@ -391,7 +396,7 @@ page {
.order-time {
font-size: 26rpx;
- color: #a0a3bd;
+ color: #A3988B;
flex-shrink: 0;
}
@@ -399,16 +404,16 @@ page {
.empty-state {
background: #ffffff;
border-radius: 24rpx;
- border: 1rpx solid rgba(31, 61, 56, 0.06);
+ border: 1rpx solid rgba(90, 62, 42, 0.06);
padding: 64rpx 0;
display: flex;
flex-direction: column;
align-items: center;
- box-shadow: 0 6rpx 20rpx rgba(31, 61, 56, 0.07);
+ box-shadow: 0 6rpx 20rpx rgba(90, 62, 42, 0.07);
}
.empty-text {
margin-top: 16rpx;
font-size: 26rpx;
- color: #c0c3d4;
+ color: #C7BDB2;
}
diff --git a/pages/me/index.less b/pages/me/index.less
index 9a20609..2c25b51 100644
--- a/pages/me/index.less
+++ b/pages/me/index.less
@@ -1,26 +1,26 @@
/* pages/me/index.less */
page {
- background-color: #f5f6fa;
- color: #1a1a2e;
+ background-color: #FAF6F1;
+ color: #2A211B;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.page {
min-height: 100vh;
- background: #f5f6fa;
+ background: #FAF6F1;
box-sizing: border-box;
padding: 24rpx;
}
/* === 用户信息卡 === */
.header-card {
- background: linear-gradient(135deg, #2dd36f, #17c3a5);
+ background: #C26A2E;
border-radius: 24rpx;
padding: 40rpx 32rpx;
display: flex;
align-items: center;
color: #ffffff;
- box-shadow: 0 8rpx 24rpx rgba(23, 195, 165, 0.25);
+ box-shadow: 0 8rpx 24rpx rgba(180, 85, 42, 0.25);
}
.avatar {
@@ -80,7 +80,7 @@ page {
padding: 28rpx 0;
& + .info-item {
- border-top: 1rpx solid #f0f1f5;
+ border-top: 1rpx solid #F0EAE2;
}
}
@@ -92,12 +92,12 @@ page {
.info-label {
margin-left: 16rpx;
font-size: 28rpx;
- color: #6b7280;
+ color: #6F655C;
}
.info-value {
font-size: 28rpx;
- color: #1a1a2e;
+ color: #2A211B;
max-width: 400rpx;
text-align: right;
overflow: hidden;
diff --git a/pages/me/index.wxml b/pages/me/index.wxml
index b3b8cec..5bab2e5 100644
--- a/pages/me/index.wxml
+++ b/pages/me/index.wxml
@@ -16,42 +16,42 @@
-
+
性别
{{user.sexLabel}}
-
+
出生日期
{{user.birthText || '未填写'}}
-
+
邮箱
{{user.email || '未填写'}}
-
+
身份证号
{{user.idnumber || '未填写'}}
-
+
所在地区
{{user.locationText || '未填写'}}
-
+
注册时间
{{user.createText || '未知'}}
diff --git a/pages/order/index.less b/pages/order/index.less
index 5c80ade..86a769a 100644
--- a/pages/order/index.less
+++ b/pages/order/index.less
@@ -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 {
diff --git a/pages/order/orderDetail.wxss b/pages/order/orderDetail.wxss
index 99a4781..5c3fdf5 100644
--- a/pages/order/orderDetail.wxss
+++ b/pages/order/orderDetail.wxss
@@ -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;
}
diff --git a/pages/order/orderEdit.less b/pages/order/orderEdit.less
index 4846e1d..a56266f 100644
--- a/pages/order/orderEdit.less
+++ b/pages/order/orderEdit.less
@@ -1,13 +1,13 @@
/* pages/order/orderEdit.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;
}
.page {
min-height: 100vh;
- background: #f5f6fa;
+ background: #FAF6F1;
padding: 24rpx;
box-sizing: border-box;
}
@@ -20,10 +20,10 @@ page {
.profile-brief {
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;
margin-bottom: 24rpx;
- box-shadow: 0 6rpx 20rpx rgba(31, 61, 56, 0.07);
+ box-shadow: 0 6rpx 20rpx rgba(90, 62, 42, 0.07);
}
.brief-tags {
@@ -35,8 +35,8 @@ page {
.brief-tag {
font-size: 22rpx;
- background-color: rgba(26, 188, 156, 0.1);
- color: #1abc9c;
+ background-color: rgba(194, 106, 46, 0.1);
+ color: #C26A2E;
border-radius: 16rpx;
padding: 6rpx 16rpx;
}
@@ -45,7 +45,7 @@ page {
display: block;
margin-top: 16rpx;
font-size: 24rpx;
- color: #888888;
+ color: #8A8078;
line-height: 1.5;
}
@@ -64,20 +64,20 @@ page {
.profile-empty-title {
font-size: 30rpx;
font-weight: 600;
- color: #1a1a1a;
+ color: #2A211B;
}
.profile-empty-sub {
margin-top: 6rpx;
font-size: 24rpx;
- color: #888888;
+ color: #8A8078;
}
.profile-empty-btn {
padding: 14rpx 32rpx;
border-radius: 40rpx;
- background-color: rgba(26, 188, 156, 0.1);
- color: #1abc9c;
+ background-color: rgba(194, 106, 46, 0.1);
+ color: #C26A2E;
font-size: 26rpx;
font-weight: 600;
}
@@ -112,12 +112,12 @@ page {
.picker-title {
font-size: 32rpx;
font-weight: 700;
- color: #1a1a1a;
+ color: #2A211B;
}
.picker-close {
font-size: 32rpx;
- color: #999;
+ color: #9A9087;
padding: 8rpx;
}
@@ -128,12 +128,12 @@ page {
.picker-search-input {
width: 100%;
height: 72rpx;
- background: #f5f6fa;
+ background: #FAF6F1;
border-radius: 36rpx;
padding: 0 32rpx;
box-sizing: border-box;
font-size: 28rpx;
- color: #1a1a2e;
+ color: #2A211B;
}
.picker-list {
@@ -148,7 +148,7 @@ page {
display: flex;
align-items: center;
padding: 24rpx 0;
- border-bottom: 1rpx solid #f0f1f5;
+ border-bottom: 1rpx solid #F0EAE2;
}
.picker-item:last-child {
@@ -159,8 +159,8 @@ page {
width: 72rpx;
height: 72rpx;
border-radius: 50%;
- background: #e6f9f3;
- color: #17c3a5;
+ background: #FBEEDF;
+ color: #C26A2E;
display: flex;
align-items: center;
justify-content: center;
@@ -183,24 +183,24 @@ page {
.picker-item-name {
font-size: 30rpx;
font-weight: 600;
- color: #1a1a2e;
+ color: #2A211B;
}
.picker-item-sub {
margin-left: 12rpx;
font-size: 24rpx;
- color: #999;
+ color: #9A9087;
}
.picker-item-mobile {
display: block;
margin-top: 4rpx;
font-size: 24rpx;
- color: #999;
+ color: #9A9087;
}
.picker-arrow {
- color: #c0c4cc;
+ color: #C7BDB2;
font-size: 32rpx;
}
@@ -208,19 +208,19 @@ page {
padding: 60rpx 0;
text-align: center;
font-size: 26rpx;
- color: #999;
+ color: #9A9087;
}
.section {
margin-bottom: 32rpx;
}
-/* home 同款绿色竖条标题 */
+/* home 同款暖铜竖条标题 */
.section-title {
position: relative;
font-size: 30rpx;
font-weight: 600;
- color: #1a1a1a;
+ color: #2A211B;
margin-bottom: 16rpx;
margin-left: 20rpx;
letter-spacing: 1rpx;
@@ -234,23 +234,23 @@ 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: 8rpx 32rpx;
- box-shadow: 0 6rpx 20rpx rgba(31, 61, 56, 0.07);
+ box-shadow: 0 6rpx 20rpx rgba(90, 62, 42, 0.07);
}
.field {
display: flex;
align-items: center;
min-height: 96rpx;
- border-bottom: 1rpx solid #f0f1f5;
+ border-bottom: 1rpx solid #F0EAE2;
}
.field:last-child {
@@ -261,13 +261,13 @@ page {
width: 160rpx;
flex-shrink: 0;
font-size: 28rpx;
- color: #666;
+ color: #6F655C;
}
.field-input {
flex: 1;
font-size: 28rpx;
- color: #1a1a2e;
+ color: #2A211B;
}
.field-picker {
@@ -286,11 +286,11 @@ page {
font-size: 26rpx;
&.paid {
- color: #17c3a5;
+ color: #C26A2E;
}
&.unpaid {
- color: #9ca3af;
+ color: #A3988B;
}
}
@@ -299,15 +299,15 @@ page {
align-items: center;
justify-content: space-between;
font-size: 28rpx;
- color: #1a1a2e;
+ color: #2A211B;
}
.field-value.placeholder {
- color: #c0c4cc;
+ color: #C7BDB2;
}
.arrow {
- color: #c0c4cc;
+ color: #C7BDB2;
font-size: 32rpx;
}
@@ -320,14 +320,14 @@ page {
flex: 1;
min-height: 120rpx;
font-size: 28rpx;
- color: #1a1a2e;
+ color: #2A211B;
}
.field-tip {
display: block;
margin-top: 8rpx;
font-size: 24rpx;
- color: #e6a23c;
+ color: #D98E04;
}
.submit-btn {
@@ -338,7 +338,7 @@ page {
font-size: 32rpx;
font-weight: 600;
color: #ffffff;
- background: linear-gradient(135deg, #2dd36f, #17c3a5);
+ background: #C26A2E;
border-radius: 48rpx;
- box-shadow: 0 4rpx 16rpx rgba(23, 195, 165, 0.25);
+ box-shadow: 0 4rpx 16rpx rgba(180, 85, 42, 0.25);
}
\ No newline at end of file
diff --git a/pages/set/index.wxml b/pages/set/index.wxml
index e675445..9088d2e 100644
--- a/pages/set/index.wxml
+++ b/pages/set/index.wxml
@@ -17,7 +17,7 @@
-
+
未登录
@@ -35,11 +35,11 @@
@@ -50,20 +50,20 @@
@@ -74,7 +74,7 @@
diff --git a/pages/set/index.wxss b/pages/set/index.wxss
index bdeb858..1910177 100644
--- a/pages/set/index.wxss
+++ b/pages/set/index.wxss
@@ -1,6 +1,6 @@
page {
- background: #ededed;
- color: #1a1a2e;
+ background: #F4EFE9;
+ color: #2A211B;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
@@ -10,13 +10,13 @@ page {
box-sizing: border-box;
}
-/* === 用户卡片(翡翠绿,呼应首页头部) === */
+/* === 用户卡片(暖棕主色,呼应首页头部) === */
.user-card {
position: relative;
overflow: hidden;
- 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);
margin-bottom: 32rpx;
}
@@ -134,7 +134,7 @@ page {
.login-btn-text {
font-size: 26rpx;
- color: #1a8a63;
+ color: #C26A2E;
font-weight: 600;
}
@@ -146,8 +146,8 @@ page {
.card {
background-color: #ffffff;
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);
}
.menu-list {
@@ -159,7 +159,7 @@ page {
align-items: center;
justify-content: space-between;
padding: 28rpx 0;
- border-bottom: 1rpx solid rgba(31, 61, 56, 0.06);
+ border-bottom: 1rpx solid rgba(90, 62, 42, 0.06);
transition: opacity 0.2s ease;
}
@@ -181,24 +181,24 @@ page {
width: 64rpx;
height: 64rpx;
border-radius: 18rpx;
- background-color: rgba(26, 138, 99, 0.08);
+ background-color: rgba(194, 106, 46, 0.08);
display: flex;
align-items: center;
justify-content: center;
}
.menu-icon.danger-bg {
- background-color: rgba(224, 90, 78, 0.08);
+ background-color: rgba(192, 86, 74, 0.08);
}
.menu-title {
font-size: 28rpx;
- color: #1a1a1a;
+ color: #2A211B;
font-weight: 500;
}
.menu-title.danger {
- color: #e05a4e;
+ color: #C0564A;
}
/* === 版本信息 === */
@@ -211,7 +211,7 @@ page {
.version-text {
font-size: 24rpx;
- color: #9fb0a9;
+ color: #A3988B;
}
/* === 登录弹窗 === */
@@ -234,7 +234,7 @@ page {
background-color: #ffffff;
border-radius: 28rpx;
overflow: hidden;
- box-shadow: 0 16rpx 48rpx rgba(31, 61, 56, 0.18);
+ box-shadow: 0 16rpx 48rpx rgba(90, 62, 42, 0.18);
}
.popup-header {
@@ -247,7 +247,7 @@ page {
.popup-title {
font-size: 32rpx;
font-weight: 600;
- color: #1a1a1a;
+ color: #2A211B;
}
.popup-close {
@@ -260,7 +260,7 @@ page {
}
.popup-close:active {
- background-color: #f3f4f6;
+ background-color: #F4EFE9;
}
.popup-body {
@@ -278,7 +278,7 @@ page {
.form-label {
display: block;
font-size: 26rpx;
- color: #6b7280;
+ color: #6F655C;
margin-bottom: 12rpx;
font-weight: 500;
}
@@ -286,17 +286,17 @@ page {
.form-input {
width: 100%;
height: 80rpx;
- background-color: #f7f9f8;
+ background-color: #FAF6F1;
border-radius: 16rpx;
padding: 0 24rpx;
font-size: 28rpx;
- color: #1a1a1a;
+ color: #2A211B;
box-sizing: border-box;
- border: 1rpx solid #e5eae8;
+ border: 1rpx solid #EAE1D6;
}
.form-input:focus {
- border-color: #1a8a63;
+ border-color: #C26A2E;
}
.popup-footer {
@@ -306,12 +306,12 @@ page {
.submit-btn {
width: 100%;
height: 88rpx;
- background: linear-gradient(135deg, #29b785, #1a8a63);
+ background: #C26A2E;
border-radius: 44rpx;
display: flex;
align-items: center;
justify-content: center;
- box-shadow: 0 6rpx 18rpx rgba(26, 138, 99, 0.28);
+ box-shadow: 0 6rpx 18rpx rgba(122, 62, 29, 0.28);
transition: all 0.2s ease;
}