feat: 界面切换暖色主题

统一配色/圆角/间距与图标资源,订单页结构简化,
健康档案与订单编辑交互调整;附主题色方案文档
This commit is contained in:
lik
2026-11-08 12:01:55 +08:00
parent c8bcc79865
commit 5915396192
19 changed files with 617 additions and 330 deletions
+98 -1
View File
@@ -1,9 +1,106 @@
/**app.wxss**/ /**app.wxss**/
page { page {
background-color: #f3f3f3; background-color: #FAF6F1;
} }
.page { .page {
height: 100vh; height: 100vh;
background-color: #fff; 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);
}
+19 -19
View File
@@ -15,7 +15,7 @@
position: relative; position: relative;
font-size: 30rpx; font-size: 30rpx;
font-weight: 600; font-weight: 600;
color: #1a1a1a; color: #2A211B;
margin-left: 20rpx; margin-left: 20rpx;
letter-spacing: 1rpx; letter-spacing: 1rpx;
} }
@@ -29,13 +29,13 @@
width: 8rpx; width: 8rpx;
height: 28rpx; height: 28rpx;
border-radius: 4rpx; border-radius: 4rpx;
background: linear-gradient(180deg, #2dd36f, #17c3a5); background: #C26A2E;
} }
.os-card { .os-card {
background: linear-gradient(135deg, #ffffff 0%, #f3fbf8 100%); background: #ffffff;
border-radius: 24rpx; 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; padding: 36rpx 0 32rpx;
display: flex; display: flex;
align-items: stretch; align-items: stretch;
@@ -43,7 +43,7 @@
overflow: hidden; overflow: hidden;
} }
/* 左上角装饰色块,呼应首页头部渐变 */ /* 左上角装饰色块,呼应首页头部主色 */
.os-card::before { .os-card::before {
content: ''; content: '';
position: absolute; position: absolute;
@@ -52,7 +52,7 @@
width: 160rpx; width: 160rpx;
height: 160rpx; height: 160rpx;
border-radius: 50%; 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 { .os-item {
@@ -72,51 +72,51 @@
} }
.os-num.green { .os-num.green {
color: #2dd36f; color: #E8A96B;
} }
.os-num.blue { .os-num.blue {
color: #17c3a5; color: #C26A2E;
} }
.os-num.orange { .os-num.orange {
color: #f5a623; color: #D98E04;
} }
.os-label { .os-label {
margin-top: 12rpx; margin-top: 12rpx;
font-size: 24rpx; font-size: 24rpx;
color: #888888; color: #8A8078;
} }
.os-fee { .os-fee {
margin-top: 10rpx; margin-top: 10rpx;
font-size: 22rpx; font-size: 22rpx;
font-weight: 600; font-weight: 600;
color: #1a1a1a; color: #2A211B;
padding: 4rpx 16rpx; padding: 4rpx 16rpx;
border-radius: 20rpx; border-radius: 20rpx;
background: rgba(26, 26, 46, 0.05); background: rgba(42, 33, 27, 0.05);
} }
.os-item:nth-child(1) .os-fee { .os-item:nth-child(1) .os-fee {
color: #1ea55c; color: #C26A2E;
background: rgba(45, 211, 111, 0.12); background: rgba(232, 169, 107, 0.12);
} }
.os-item:nth-child(3) .os-fee { .os-item:nth-child(3) .os-fee {
color: #14a08a; color: #A8551F;
background: rgba(23, 195, 165, 0.12); background: rgba(180, 85, 42, 0.12);
} }
.os-item:nth-child(5) .os-fee { .os-item:nth-child(5) .os-fee {
color: #d99a2b; color: #D98E04;
background: rgba(245, 166, 35, 0.14); background: rgba(217, 142, 4, 0.14);
} }
.os-divider { .os-divider {
width: 1rpx; width: 1rpx;
margin: 8rpx 0; 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; flex-shrink: 0;
} }
+10 -10
View File
@@ -7,8 +7,8 @@
width: 72rpx; width: 72rpx;
height: 72rpx; height: 72rpx;
border-radius: 50%; border-radius: 50%;
background-color: #e6f9f3; background-color: #FBEEDF;
color: #1abc9c; color: #C26A2E;
font-size: 30rpx; font-size: 30rpx;
font-weight: 600; font-weight: 600;
display: flex; display: flex;
@@ -43,7 +43,7 @@
.pi-name { .pi-name {
font-size: 30rpx; font-size: 30rpx;
font-weight: 600; font-weight: 600;
color: #1a1a1a; color: #2A211B;
} }
.pi-sex { .pi-sex {
@@ -55,13 +55,13 @@
} }
.pi-sex.male { .pi-sex.male {
background: rgba(26, 188, 156, 0.1); background: rgba(62, 110, 158, 0.1);
color: #1abc9c; color: #3E6E9E;
} }
.pi-sex.female { .pi-sex.female {
background: rgba(234, 102, 150, 0.1); background: rgba(232, 106, 138, 0.1);
color: #ea6696; color: #E86A8A;
} }
.pi-mobile-wrap { .pi-mobile-wrap {
@@ -72,19 +72,19 @@
.pi-mobile { .pi-mobile {
font-size: 24rpx; font-size: 24rpx;
color: #888888; color: #8A8078;
} }
.pi-call { .pi-call {
font-size: 24rpx; font-size: 24rpx;
color: #1abc9c; color: #C26A2E;
font-weight: 500; font-weight: 500;
margin-left: 8rpx; margin-left: 8rpx;
} }
.pi-extra { .pi-extra {
font-size: 24rpx; font-size: 24rpx;
color: #888888; color: #8A8078;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
+174
View File
@@ -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` 全局继承。
+43 -43
View File
@@ -1,6 +1,6 @@
page { page {
background-color: #f5f6fa; background-color: #FAF6F1;
color: #1a1a2e; color: #2A211B;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
} }
@@ -8,7 +8,7 @@ page {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100vh; height: 100vh;
background-color: #f5f6fa; background-color: #FAF6F1;
} }
.chat-header { .chat-header {
@@ -18,14 +18,14 @@ page {
height: 88rpx; height: 88rpx;
padding: 0 24rpx; padding: 0 24rpx;
background-color: #ffffff; background-color: #ffffff;
border-bottom: 1rpx solid #e5e7eb; border-bottom: 1rpx solid #EAE1D6;
flex-shrink: 0; flex-shrink: 0;
} }
.chat-header-title { .chat-header-title {
font-size: 30rpx; font-size: 30rpx;
font-weight: 600; font-weight: 600;
color: #1a1a2e; color: #2A211B;
} }
.message-list { .message-list {
@@ -45,7 +45,7 @@ page {
.welcome-text { .welcome-text {
font-size: 32rpx; font-size: 32rpx;
color: #1a1a2e; color: #2A211B;
margin-bottom: 40rpx; margin-bottom: 40rpx;
text-align: center; text-align: center;
font-weight: 500; font-weight: 500;
@@ -63,16 +63,16 @@ page {
border-radius: 24rpx; border-radius: 24rpx;
padding: 24rpx 32rpx; padding: 24rpx 32rpx;
font-size: 28rpx; font-size: 28rpx;
color: #1abc9c; color: #C26A2E;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04); box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
text-align: center; text-align: center;
border: 1rpx solid #e5e7eb; border: 1rpx solid #EAE1D6;
transition: all 0.2s ease; transition: all 0.2s ease;
} }
.quick-item:active { .quick-item:active {
transform: scale(0.98); transform: scale(0.98);
background-color: rgba(26, 188, 156, 0.05); background-color: rgba(194, 106, 46, 0.05);
} }
.message-item { .message-item {
@@ -91,7 +91,7 @@ page {
.message-time { .message-time {
font-size: 22rpx; font-size: 22rpx;
color: #9ca3af; color: #A3988B;
margin-top: 8rpx; margin-top: 8rpx;
padding: 0 4rpx; padding: 0 4rpx;
} }
@@ -118,13 +118,13 @@ page {
} }
.user-avatar { .user-avatar {
background: linear-gradient(135deg, #2dd36f, #17c3a5); background: #C26A2E;
box-shadow: 0 4rpx 12rpx rgba(23, 195, 165, 0.25); box-shadow: 0 4rpx 12rpx rgba(180, 85, 42, 0.25);
} }
.ai-avatar { .ai-avatar {
background: linear-gradient(135deg, #20c997, #51cf66); background: #B4552A;
box-shadow: 0 4rpx 12rpx rgba(32, 201, 151, 0.25); box-shadow: 0 4rpx 12rpx rgba(217, 134, 52, 0.25);
} }
.avatar-text { .avatar-text {
@@ -157,19 +157,19 @@ page {
} }
.user-bubble { .user-bubble {
background: linear-gradient(135deg, #2dd36f, #17c3a5); background: #C26A2E;
color: #fff; color: #fff;
border-bottom-right-radius: 4rpx; 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; margin-right: 4rpx;
} }
.ai-bubble { .ai-bubble {
background-color: #ffffff; background-color: #ffffff;
color: #1a1a2e; color: #2A211B;
border-bottom-left-radius: 4rpx; border-bottom-left-radius: 4rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04); box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
border: 1rpx solid #e5e7eb; border: 1rpx solid #EAE1D6;
margin-left: 4rpx; margin-left: 4rpx;
} }
@@ -177,7 +177,7 @@ page {
.message-markdown { .message-markdown {
width: 100%; width: 100%;
font-size: 28rpx; font-size: 28rpx;
color: #1a1a2e; color: #2A211B;
line-height: 1.6; line-height: 1.6;
} }
@@ -187,7 +187,7 @@ page {
max-width: 100%; max-width: 100%;
overflow-x: auto; overflow-x: auto;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
border: 1rpx solid #e5e7eb; border: 1rpx solid #EAE1D6;
border-radius: 8rpx; border-radius: 8rpx;
} }
@@ -214,13 +214,13 @@ page {
} }
.message-markdown .t-chat-markdown-table__th { .message-markdown .t-chat-markdown-table__th {
background-color: #f5f6fa; background-color: #FAF6F1;
font-weight: 600; font-weight: 600;
color: #1a1a2e; color: #2A211B;
} }
.message-markdown .t-chat-markdown-table__tr:nth-child(2n) { .message-markdown .t-chat-markdown-table__tr:nth-child(2n) {
background-color: #fafbfc; background-color: #FCFAF7;
} }
/* 代码块样式覆盖 */ /* 代码块样式覆盖 */
@@ -240,12 +240,12 @@ page {
.subagent-label { .subagent-label {
font-size: 24rpx; font-size: 24rpx;
color: #6b7280; color: #6F655C;
} }
.subagent-arrow { .subagent-arrow {
font-size: 24rpx; font-size: 24rpx;
color: #9ca3af; color: #A3988B;
transition: transform 0.2s ease; transition: transform 0.2s ease;
} }
@@ -256,7 +256,7 @@ page {
.subagent-body { .subagent-body {
margin-top: 12rpx; margin-top: 12rpx;
padding-top: 12rpx; padding-top: 12rpx;
border-top: 1rpx solid #e5e7eb; border-top: 1rpx solid #EAE1D6;
} }
.typing-indicator { .typing-indicator {
@@ -275,13 +275,13 @@ page {
border-radius: 16rpx; border-radius: 16rpx;
border-bottom-left-radius: 4rpx; border-bottom-left-radius: 4rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04); box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
border: 1rpx solid #e5e7eb; border: 1rpx solid #EAE1D6;
} }
.dot { .dot {
width: 16rpx; width: 16rpx;
height: 16rpx; height: 16rpx;
background-color: #9ca3af; background-color: #A3988B;
border-radius: 50%; border-radius: 50%;
animation: bounce 1.4s infinite ease-in-out both; animation: bounce 1.4s infinite ease-in-out both;
} }
@@ -326,9 +326,9 @@ page {
align-items: right; align-items: right;
justify-content: right; justify-content: right;
padding: 12rpx 24rpx; padding: 12rpx 24rpx;
background-color: #f5f6fa; background-color: #FAF6F1;
border-top: 1rpx solid #e5e7eb; border-top: 1rpx solid #EAE1D6;
border-bottom: 1rpx solid #e5e7eb; border-bottom: 1rpx solid #EAE1D6;
} }
.chat-toolbar-action { .chat-toolbar-action {
@@ -338,40 +338,40 @@ page {
padding: 6rpx 24rpx; padding: 6rpx 24rpx;
border-radius: 24rpx; border-radius: 24rpx;
background-color: #ffffff; background-color: #ffffff;
border: 1rpx solid #e5e7eb; border: 1rpx solid #EAE1D6;
transition: all 0.2s ease; transition: all 0.2s ease;
} }
.chat-toolbar-action:active { .chat-toolbar-action:active {
transform: scale(0.96); transform: scale(0.96);
background-color: rgba(26, 188, 156, 0.08); background-color: rgba(194, 106, 46, 0.08);
border-color: #1abc9c; border-color: #C26A2E;
} }
.chat-toolbar-action text { .chat-toolbar-action text {
font-size: 24rpx; font-size: 24rpx;
color: #6b7280; color: #6F655C;
} }
.chat-input { .chat-input {
flex: 1; flex: 1;
height: 72rpx; height: 72rpx;
background-color: #f5f6fa; background-color: #FAF6F1;
border-radius: 36rpx; border-radius: 36rpx;
padding: 0 28rpx; padding: 0 28rpx;
font-size: 28rpx; font-size: 28rpx;
color: #1a1a2e; color: #2A211B;
border: 1rpx solid #e5e7eb; border: 1rpx solid #EAE1D6;
} }
.chat-input::placeholder { .chat-input::placeholder {
color: #9ca3af; color: #A3988B;
} }
.send-btn { .send-btn {
width: 120rpx; width: 120rpx;
height: 72rpx; height: 72rpx;
background-color: #e5e7eb; background-color: #EAE1D6;
border-radius: 36rpx; border-radius: 36rpx;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -380,12 +380,12 @@ page {
} }
.send-btn.active { .send-btn.active {
background: linear-gradient(135deg, #2dd36f, #17c3a5); background: #C26A2E;
box-shadow: 0 4rpx 12rpx rgba(23, 195, 165, 0.25); box-shadow: 0 4rpx 12rpx rgba(180, 85, 42, 0.25);
} }
.send-text { .send-text {
color: #9ca3af; color: #A3988B;
font-size: 28rpx; font-size: 28rpx;
font-weight: 500; font-weight: 500;
transition: color 0.2s ease; transition: color 0.2s ease;
+22 -24
View File
@@ -1,20 +1,18 @@
/* pages/customer/index.less */ /* pages/customer/index.less */
// 颜色变量 // 颜色变量
@bg-primary: #f5f6fa; @bg-primary: #FAF6F1;
@bg-secondary: #ffffff; @bg-secondary: #ffffff;
@bg-card: #ffffff; @bg-card: #ffffff;
@accent-primary: #1abc9c; @accent-primary: #C26A2E;
@accent-secondary: #17c3a5; @accent-secondary: #B4552A;
@accent-gradient-start: #2dd36f; @text-primary: #2A211B;
@accent-gradient-end: #17c3a5; @text-secondary: #6F655C;
@text-primary: #1a1a2e; @text-muted: #A3988B;
@text-secondary: #6b7280; @border-color: #EAE1D6;
@text-muted: #9ca3af; @male-color: #3E6E9E;
@border-color: #e5e7eb; @female-color: #E86A8A;
@male-color: #1abc9c; @divider-color: #F4EFE9;
@female-color: #ff6b6b;
@divider-color: #f3f4f6;
page { page {
background-color: @bg-primary; background-color: @bg-primary;
@@ -71,13 +69,13 @@ page {
.search-btn { .search-btn {
padding: 16rpx 28rpx; padding: 16rpx 28rpx;
background: linear-gradient(135deg, @accent-gradient-start, @accent-gradient-end); background: @accent-primary;
color: #ffffff; color: #ffffff;
font-size: 26rpx; font-size: 26rpx;
font-weight: 500; font-weight: 500;
border-radius: 32rpx; border-radius: 32rpx;
white-space: nowrap; 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 { &:active {
opacity: 0.9; opacity: 0.9;
@@ -165,7 +163,7 @@ page {
.empty-action { .empty-action {
margin-top: 30rpx; margin-top: 30rpx;
padding: 16rpx 48rpx; padding: 16rpx 48rpx;
background: linear-gradient(135deg, @accent-gradient-start, @accent-gradient-end); background: @accent-primary;
color: #ffffff; color: #ffffff;
font-size: 28rpx; font-size: 28rpx;
border-radius: 32rpx; border-radius: 32rpx;
@@ -214,15 +212,15 @@ page {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
background: linear-gradient(135deg, @accent-gradient-start, @accent-gradient-end); background: @accent-primary;
box-shadow: 0 4rpx 12rpx rgba(23, 195, 165, 0.25); box-shadow: 0 4rpx 12rpx rgba(180, 85, 42, 0.25);
&.male { &.male {
background: linear-gradient(135deg, #2dd36f, #17c3a5); background: @male-color;
} }
&.female { &.female {
background: linear-gradient(135deg, #ff6b6b, #ff8787); background: @female-color;
} }
} }
@@ -263,12 +261,12 @@ page {
font-weight: 500; font-weight: 500;
&.male { &.male {
background-color: rgba(26, 188, 156, 0.1); background-color: rgba(62, 110, 158, 0.1);
color: @male-color; color: @male-color;
} }
&.female { &.female {
background-color: rgba(255, 107, 107, 0.1); background-color: rgba(232, 106, 138, 0.1);
color: @female-color; color: @female-color;
} }
} }
@@ -301,16 +299,16 @@ page {
width: 72rpx; width: 72rpx;
height: 72rpx; height: 72rpx;
border-radius: 50%; border-radius: 50%;
background-color: rgba(26, 188, 156, 0.08); background-color: rgba(194, 106, 46, 0.08);
transition: all 0.2s ease; transition: all 0.2s ease;
&:active { &:active {
background-color: rgba(26, 188, 156, 0.15); background-color: rgba(194, 106, 46, 0.15);
transform: scale(0.95); transform: scale(0.95);
} }
&.call { &.call {
background-color: rgba(26, 188, 156, 0.08); background-color: rgba(194, 106, 46, 0.08);
} }
} }
+3 -3
View File
@@ -4,7 +4,7 @@
<!-- 搜索区域 --> <!-- 搜索区域 -->
<view class="search-section"> <view class="search-section">
<view class="search-bar"> <view class="search-bar">
<t-icon name="search" size="32rpx" color="#9ca3af" /> <t-icon name="search" size="32rpx" color="#A3988B" />
<input <input
class="search-input" class="search-input"
type="text" type="text"
@@ -15,7 +15,7 @@
bindconfirm="onSearch" bindconfirm="onSearch"
/> />
<view class="search-clear" wx:if="{{searchKey}}" bindtap="onClearSearch"> <view class="search-clear" wx:if="{{searchKey}}" bindtap="onClearSearch">
<t-icon name="close-circle" size="32rpx" color="#9ca3af" /> <t-icon name="close-circle" size="32rpx" color="#A3988B" />
</view> </view>
</view> </view>
<view class="search-btn" bindtap="onSearch">搜索</view> <view class="search-btn" bindtap="onSearch">搜索</view>
@@ -100,7 +100,7 @@
<!-- 操作按钮 --> <!-- 操作按钮 -->
<view class="customer-action"> <view class="customer-action">
<view class="action-btn call" data-phone="{{item.mobile}}" catchtap="onCallPhone"> <view class="action-btn call" data-phone="{{item.mobile}}" catchtap="onCallPhone">
<t-icon name="call" size="32rpx" color="#1abc9c" /> <t-icon name="call" size="32rpx" color="#C26A2E" />
</view> </view>
</view> </view>
</view> </view>
+8 -8
View File
@@ -1,7 +1,7 @@
/* pages/healthprofile/index.less */ /* pages/healthprofile/index.less */
page { page {
background-color: #f5f6fa; background-color: #FAF6F1;
color: #1a1a2e; color: #2A211B;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
} }
@@ -18,11 +18,11 @@ page {
/* 头部统计卡 */ /* 头部统计卡 */
.header-card { .header-card {
background: linear-gradient(135deg, #2dd36f, #17c3a5); background: #C26A2E;
border-radius: 24rpx; border-radius: 24rpx;
padding: 32rpx; padding: 32rpx;
color: #ffffff; 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 { .header-row {
@@ -75,7 +75,7 @@ page {
display: block; display: block;
font-size: 32rpx; font-size: 32rpx;
font-weight: 700; font-weight: 700;
color: #1a1a1a; color: #2A211B;
margin-left: 8rpx; margin-left: 8rpx;
} }
@@ -101,7 +101,7 @@ page {
.quick-icon { .quick-icon {
width: 80rpx; width: 80rpx;
height: 80rpx; height: 80rpx;
background-color: #e6f9f3; background-color: #FBEEDF;
border-radius: 20rpx; border-radius: 20rpx;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -111,7 +111,7 @@ page {
.quick-label { .quick-label {
font-size: 24rpx; font-size: 24rpx;
color: #333333; color: #3A322B;
} }
/* 健康档案列表 */ /* 健康档案列表 */
@@ -122,7 +122,7 @@ page {
patient-info { patient-info {
display: block; display: block;
padding: 24rpx 0; padding: 24rpx 0;
border-bottom: 1rpx solid #f5f5f5; border-bottom: 1rpx solid #F3EEE8;
&:last-child { &:last-child {
border-bottom: none; border-bottom: none;
+1 -1
View File
@@ -20,7 +20,7 @@
<view class="quick-grid card"> <view class="quick-grid card">
<view class="quick-item" wx:for="{{quickMenus}}" wx:key="title" data-index="{{index}}" bindtap="onMenuTap"> <view class="quick-item" wx:for="{{quickMenus}}" wx:key="title" data-index="{{index}}" bindtap="onMenuTap">
<view class="quick-icon"> <view class="quick-icon">
<t-icon name="{{item.icon}}" size="40rpx" color="#1abc9c" /> <t-icon name="{{item.icon}}" size="40rpx" color="#C26A2E" />
</view> </view>
<text class="quick-label">{{item.title}}</text> <text class="quick-label">{{item.title}}</text>
</view> </view>
+33 -28
View File
@@ -1,7 +1,7 @@
/* pages/healthprofile/profileInfo.less */ /* pages/healthprofile/profileInfo.less */
page { page {
background-color: #f5f6fa; background-color: #FAF6F1;
color: #1a1a2e; color: #2A211B;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
} }
@@ -25,7 +25,7 @@ page {
display: block; display: block;
font-size: 30rpx; font-size: 30rpx;
font-weight: 600; font-weight: 600;
color: #1a1a1a; color: #2A211B;
margin-left: 28rpx; margin-left: 28rpx;
letter-spacing: 1rpx; letter-spacing: 1rpx;
@@ -38,7 +38,7 @@ page {
width: 8rpx; width: 8rpx;
height: 28rpx; height: 28rpx;
border-radius: 4rpx; border-radius: 4rpx;
background: linear-gradient(180deg, #2dd36f, #17c3a5); background: #C26A2E;
} }
} }
@@ -56,7 +56,7 @@ page {
.form-label { .form-label {
width: 170rpx; width: 170rpx;
font-size: 28rpx; font-size: 28rpx;
color: #333333; color: #3A322B;
flex-shrink: 0; flex-shrink: 0;
} }
@@ -65,7 +65,7 @@ page {
.picker-value { .picker-value {
flex: 1; flex: 1;
font-size: 28rpx; font-size: 28rpx;
color: #1a1a1a; color: #2A211B;
} }
.form-textarea { .form-textarea {
@@ -74,12 +74,12 @@ page {
} }
.placeholder { .placeholder {
color: #b8b8c4; color: #C0B7AC;
} }
.form-divider { .form-divider {
height: 1rpx; height: 1rpx;
background-color: #f0f0f0; background-color: #F0EAE2;
} }
/* 关联预约订单 */ /* 关联预约订单 */
@@ -109,14 +109,14 @@ page {
.order-patient { .order-patient {
font-size: 30rpx; font-size: 30rpx;
font-weight: 600; font-weight: 600;
color: #1a1a1a; color: #2A211B;
margin-right: 16rpx; margin-right: 16rpx;
} }
.order-service { .order-service {
font-size: 26rpx; font-size: 26rpx;
font-weight: 500; font-weight: 500;
color: #1abc9c; color: #C26A2E;
flex: 1; flex: 1;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
@@ -132,28 +132,33 @@ page {
} }
.status-pending { .status-pending {
background: #fdf3e0; background: #FBF0DC;
color: #d99a2b; color: #D98E04;
} }
.status-confirmed { .status-confirmed {
background: #e6f4ee; background: #EAF1F8;
color: #43a08a; color: #3E6E9E;
} }
.status-in_progress { .status-in_progress {
background: #e6f4ee; background: #FBEEDF;
color: #43a08a; color: #C26A2E;
} }
.status-completed { .status-completed {
background: #efedf6; background: #F0EDF6;
color: #8a7bb5; color: #8A7BB5;
} }
.status-cancelled { .status-cancelled {
background: #f5f5f5; background: #F3EEE8;
color: #b0b0b0; color: #BFB6AC;
}
.status-cancel_requested {
background: #FBEDEB;
color: #C0564A;
} }
.order-line2 { .order-line2 {
@@ -165,7 +170,7 @@ page {
.order-hospital { .order-hospital {
font-size: 26rpx; font-size: 26rpx;
color: #888888; color: #8A8078;
flex: 1; flex: 1;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
@@ -175,7 +180,7 @@ page {
.order-time { .order-time {
font-size: 26rpx; font-size: 26rpx;
color: #a0a3bd; color: #A3988B;
flex-shrink: 0; flex-shrink: 0;
} }
@@ -188,7 +193,7 @@ page {
text { text {
font-size: 26rpx; font-size: 26rpx;
color: #b8b8c4; color: #C0B7AC;
} }
} }
@@ -217,8 +222,8 @@ page {
} }
.btn-primary { .btn-primary {
background: linear-gradient(135deg, #2dd36f, #17c3a5); background: #C26A2E;
box-shadow: 0 8rpx 24rpx rgba(23, 195, 165, 0.25); box-shadow: 0 8rpx 24rpx rgba(180, 85, 42, 0.25);
&.disabled { &.disabled {
opacity: 0.6; opacity: 0.6;
@@ -226,15 +231,15 @@ page {
} }
.btn-danger { .btn-danger {
background-color: #ff4d4f; background-color: #C0564A;
} }
.btn-outline { .btn-outline {
background-color: #ffffff; background-color: #ffffff;
border: 2rpx solid #1abc9c; border: 2rpx solid #C26A2E;
text { text {
color: #1abc9c; color: #C26A2E;
} }
} }
+2 -2
View File
@@ -77,7 +77,7 @@
<text class="section-title">近7日订单</text> <text class="section-title">近7日订单</text>
<view class="view-all" bindtap="viewAllOrders"> <view class="view-all" bindtap="viewAllOrders">
<text>全部</text> <text>全部</text>
<t-icon name="chevron-right" size="28rpx" color="#a0a3bd" /> <t-icon name="chevron-right" size="28rpx" color="#A3988B" />
</view> </view>
</view> </view>
@@ -98,7 +98,7 @@
</view> </view>
<view class="empty-state" wx:else> <view class="empty-state" wx:else>
<t-icon name="inbox" size="72rpx" color="#d8dde8" /> <t-icon name="inbox" size="72rpx" color="#DFD7CE" />
<text class="empty-text">暂无近7日订单</text> <text class="empty-text">暂无近7日订单</text>
</view> </view>
</view> </view>
+38 -33
View File
@@ -1,8 +1,8 @@
/* pages/home/index.wxss */ /* pages/home/index.wxss */
page { page {
background: #ededed; background: #F4EFE9;
color: #1a1a2e; color: #2A211B;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
} }
@@ -13,15 +13,15 @@ page {
background-color: transparent; background-color: transparent;
} }
/* === 头部信息卡(翡翠绿实底) === */ /* === 头部信息卡(暖棕主色实底) === */
.header-card { .header-card {
position: relative; position: relative;
overflow: hidden; overflow: hidden;
background: linear-gradient(135deg, #29b785 0%, #1a8a63 100%); background: #C26A2E;
border-radius: 28rpx; border-radius: 28rpx;
padding: 36rpx 32rpx; padding: 36rpx 32rpx;
color: #ffffff; 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 { .switch-track.on .switch-thumb {
left: 26rpx; left: 26rpx;
background-color: #1a8a63; background-color: #C26A2E;
} }
.stats-row { .stats-row {
@@ -215,7 +215,7 @@ page {
position: relative; position: relative;
font-size: 30rpx; font-size: 30rpx;
font-weight: 600; font-weight: 600;
color: #1a1a1a; color: #2A211B;
margin-left: 20rpx; margin-left: 20rpx;
letter-spacing: 1rpx; letter-spacing: 1rpx;
} }
@@ -229,7 +229,7 @@ page {
width: 8rpx; width: 8rpx;
height: 28rpx; height: 28rpx;
border-radius: 4rpx; border-radius: 4rpx;
background: linear-gradient(180deg, #2dd36f, #17c3a5); background: #C26A2E;
} }
.section-header { .section-header {
@@ -243,15 +243,15 @@ page {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 24rpx; font-size: 24rpx;
color: #a0a3bd; color: #A3988B;
} }
/* === 快捷功能入口 === */ /* === 快捷功能入口 === */
.card { .card {
background-color: #ffffff; background-color: #ffffff;
border-radius: 24rpx; border-radius: 24rpx;
border: 1rpx solid rgba(31, 61, 56, 0.06); border: 1rpx solid rgba(90, 62, 42, 0.06);
box-shadow: 0 6rpx 20rpx rgba(31, 61, 56, 0.07); box-shadow: 0 6rpx 20rpx rgba(90, 62, 42, 0.07);
} }
.quick-grid { .quick-grid {
@@ -288,12 +288,12 @@ page {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
margin-bottom: 14rpx; 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 { .quick-label {
font-size: 26rpx; font-size: 26rpx;
color: #3a3f4d; color: #5C5044;
} }
/* === 订单列表 === */ /* === 订单列表 === */
@@ -306,15 +306,15 @@ page {
.order-card { .order-card {
background: #ffffff; background: #ffffff;
border-radius: 24rpx; border-radius: 24rpx;
border: 1rpx solid rgba(31, 61, 56, 0.06); border: 1rpx solid rgba(90, 62, 42, 0.06);
padding: 28rpx 32rpx; 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); 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 { .order-card:active {
transform: scale(0.98); 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 { .order-line1 {
@@ -325,14 +325,14 @@ page {
.order-patient { .order-patient {
font-size: 30rpx; font-size: 30rpx;
font-weight: 600; font-weight: 600;
color: #1a1a1a; color: #2A211B;
margin-right: 16rpx; margin-right: 16rpx;
} }
.order-service { .order-service {
font-size: 26rpx; font-size: 26rpx;
font-weight: 500; font-weight: 500;
color: #1abc9c; color: #C26A2E;
flex: 1; flex: 1;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
@@ -348,28 +348,33 @@ page {
} }
.status-pending { .status-pending {
background: #fdf3e0; background: #FBF0DC;
color: #d99a2b; color: #D98E04;
} }
.status-confirmed { .status-confirmed {
background: #e9f1f8; background: #EAF1F8;
color: #5c88a8; color: #3E6E9E;
} }
.status-in_progress { .status-in_progress {
background: #e6f4ee; background: #FBEEDF;
color: #43a08a; color: #C26A2E;
} }
.status-completed { .status-completed {
background: #efedf6; background: #F0EDF6;
color: #8a7bb5; color: #8A7BB5;
} }
.status-cancelled { .status-cancelled {
background: #f5f5f5; background: #F3EEE8;
color: #b0b0b0; color: #BFB6AC;
}
.status-cancel_requested {
background: #FBEDEB;
color: #C0564A;
} }
.order-line2 { .order-line2 {
@@ -381,7 +386,7 @@ page {
.order-hospital { .order-hospital {
font-size: 26rpx; font-size: 26rpx;
color: #888888; color: #8A8078;
flex: 1; flex: 1;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
@@ -391,7 +396,7 @@ page {
.order-time { .order-time {
font-size: 26rpx; font-size: 26rpx;
color: #a0a3bd; color: #A3988B;
flex-shrink: 0; flex-shrink: 0;
} }
@@ -399,16 +404,16 @@ page {
.empty-state { .empty-state {
background: #ffffff; background: #ffffff;
border-radius: 24rpx; border-radius: 24rpx;
border: 1rpx solid rgba(31, 61, 56, 0.06); border: 1rpx solid rgba(90, 62, 42, 0.06);
padding: 64rpx 0; padding: 64rpx 0;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; 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 { .empty-text {
margin-top: 16rpx; margin-top: 16rpx;
font-size: 26rpx; font-size: 26rpx;
color: #c0c3d4; color: #C7BDB2;
} }
+8 -8
View File
@@ -1,26 +1,26 @@
/* pages/me/index.less */ /* pages/me/index.less */
page { page {
background-color: #f5f6fa; background-color: #FAF6F1;
color: #1a1a2e; color: #2A211B;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
} }
.page { .page {
min-height: 100vh; min-height: 100vh;
background: #f5f6fa; background: #FAF6F1;
box-sizing: border-box; box-sizing: border-box;
padding: 24rpx; padding: 24rpx;
} }
/* === 用户信息卡 === */ /* === 用户信息卡 === */
.header-card { .header-card {
background: linear-gradient(135deg, #2dd36f, #17c3a5); background: #C26A2E;
border-radius: 24rpx; border-radius: 24rpx;
padding: 40rpx 32rpx; padding: 40rpx 32rpx;
display: flex; display: flex;
align-items: center; align-items: center;
color: #ffffff; 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 { .avatar {
@@ -80,7 +80,7 @@ page {
padding: 28rpx 0; padding: 28rpx 0;
& + .info-item { & + .info-item {
border-top: 1rpx solid #f0f1f5; border-top: 1rpx solid #F0EAE2;
} }
} }
@@ -92,12 +92,12 @@ page {
.info-label { .info-label {
margin-left: 16rpx; margin-left: 16rpx;
font-size: 28rpx; font-size: 28rpx;
color: #6b7280; color: #6F655C;
} }
.info-value { .info-value {
font-size: 28rpx; font-size: 28rpx;
color: #1a1a2e; color: #2A211B;
max-width: 400rpx; max-width: 400rpx;
text-align: right; text-align: right;
overflow: hidden; overflow: hidden;
+6 -6
View File
@@ -16,42 +16,42 @@
<view class="info-card"> <view class="info-card">
<view class="info-item"> <view class="info-item">
<view class="info-left"> <view class="info-left">
<t-icon name="user" size="36rpx" color="#1abc9c" /> <t-icon name="user" size="36rpx" color="#C26A2E" />
<text class="info-label">性别</text> <text class="info-label">性别</text>
</view> </view>
<text class="info-value">{{user.sexLabel}}</text> <text class="info-value">{{user.sexLabel}}</text>
</view> </view>
<view class="info-item"> <view class="info-item">
<view class="info-left"> <view class="info-left">
<t-icon name="calendar" size="36rpx" color="#1abc9c" /> <t-icon name="calendar" size="36rpx" color="#C26A2E" />
<text class="info-label">出生日期</text> <text class="info-label">出生日期</text>
</view> </view>
<text class="info-value">{{user.birthText || '未填写'}}</text> <text class="info-value">{{user.birthText || '未填写'}}</text>
</view> </view>
<view class="info-item"> <view class="info-item">
<view class="info-left"> <view class="info-left">
<t-icon name="mail" size="36rpx" color="#1abc9c" /> <t-icon name="mail" size="36rpx" color="#C26A2E" />
<text class="info-label">邮箱</text> <text class="info-label">邮箱</text>
</view> </view>
<text class="info-value">{{user.email || '未填写'}}</text> <text class="info-value">{{user.email || '未填写'}}</text>
</view> </view>
<view class="info-item"> <view class="info-item">
<view class="info-left"> <view class="info-left">
<t-icon name="id-card" size="36rpx" color="#1abc9c" /> <t-icon name="id-card" size="36rpx" color="#C26A2E" />
<text class="info-label">身份证号</text> <text class="info-label">身份证号</text>
</view> </view>
<text class="info-value">{{user.idnumber || '未填写'}}</text> <text class="info-value">{{user.idnumber || '未填写'}}</text>
</view> </view>
<view class="info-item"> <view class="info-item">
<view class="info-left"> <view class="info-left">
<t-icon name="location" size="36rpx" color="#1abc9c" /> <t-icon name="location" size="36rpx" color="#C26A2E" />
<text class="info-label">所在地区</text> <text class="info-label">所在地区</text>
</view> </view>
<text class="info-value">{{user.locationText || '未填写'}}</text> <text class="info-value">{{user.locationText || '未填写'}}</text>
</view> </view>
<view class="info-item"> <view class="info-item">
<view class="info-left"> <view class="info-left">
<t-icon name="time" size="36rpx" color="#1abc9c" /> <t-icon name="time" size="36rpx" color="#C26A2E" />
<text class="info-label">注册时间</text> <text class="info-label">注册时间</text>
</view> </view>
<text class="info-value">{{user.createText || '未知'}}</text> <text class="info-value">{{user.createText || '未知'}}</text>
+41 -37
View File
@@ -1,13 +1,12 @@
/* pages/order/index.less */ /* pages/order/index.less */
@bg: #f5f6fa; @bg: #FAF6F1;
@card: #ffffff; @card: #ffffff;
@dark: #1a1a2e; @dark: #2A211B;
@text: #3a3d5c; @text: #5C5044;
@muted: #a0a3bd; @muted: #A3988B;
@border: #f0f1f5; @border: #F0EAE2;
@accent: #1abc9c; @accent: #C26A2E;
@accent-end: #17c3a5;
page { page {
background-color: @bg; background-color: @bg;
@@ -24,11 +23,11 @@ page {
box-sizing: border-box; box-sizing: border-box;
} }
/* === 顶部(home 同款翡翠绿圆角卡片) === */ /* === 顶部(home 同款暖棕圆角卡片) === */
.header { .header {
background: linear-gradient(135deg, #29b785 0%, #1a8a63 100%); background: #C26A2E;
border-radius: 28rpx; 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; padding: 36rpx 32rpx;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
@@ -116,15 +115,15 @@ page {
border-radius: 28rpx; border-radius: 28rpx;
font-size: 24rpx; font-size: 24rpx;
color: @muted; color: @muted;
border: 1rpx solid rgba(31, 61, 56, 0.06); border: 1rpx solid rgba(90, 62, 42, 0.06);
box-shadow: 0 4rpx 12rpx rgba(31, 61, 56, 0.05); box-shadow: 0 4rpx 12rpx rgba(90, 62, 42, 0.05);
transition: all 0.25s; transition: all 0.25s;
&.active { &.active {
background: linear-gradient(135deg, @accent, @accent-end); background: @accent;
color: #fff; color: #fff;
border-color: transparent; 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 { .filter-count {
background: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.25);
@@ -169,8 +168,8 @@ page {
margin-top: 24rpx; margin-top: 24rpx;
background: @card; background: @card;
border-radius: 24rpx; border-radius: 24rpx;
border: 1rpx solid rgba(31, 61, 56, 0.06); border: 1rpx solid rgba(90, 62, 42, 0.06);
box-shadow: 0 6rpx 20rpx rgba(31, 61, 56, 0.07); box-shadow: 0 6rpx 20rpx rgba(90, 62, 42, 0.07);
padding: 64rpx 40rpx; padding: 64rpx 40rpx;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -190,7 +189,7 @@ page {
.empty-btn { .empty-btn {
margin-top: 24rpx; margin-top: 24rpx;
padding: 14rpx 48rpx; padding: 14rpx 48rpx;
background: linear-gradient(135deg, @accent, @accent-end); background: @accent;
color: #fff; color: #fff;
font-size: 26rpx; font-size: 26rpx;
border-radius: 28rpx; border-radius: 28rpx;
@@ -206,14 +205,14 @@ page {
margin-bottom: 20rpx; margin-bottom: 20rpx;
background: @card; background: @card;
border-radius: 24rpx; border-radius: 24rpx;
border: 1rpx solid rgba(31, 61, 56, 0.06); border: 1rpx solid rgba(90, 62, 42, 0.06);
box-shadow: 0 6rpx 20rpx rgba(31, 61, 56, 0.07); box-shadow: 0 6rpx 20rpx rgba(90, 62, 42, 0.07);
padding: 24rpx 32rpx; 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); 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 { &:active {
transform: scale(0.98); 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 { .status-pending {
background: #fdf3e0; background: #FBF0DC;
color: #d99a2b; color: #D98E04;
} }
.status-confirmed { .status-confirmed {
background: #e9f1f8; background: #EAF1F8;
color: #5c88a8; color: #3E6E9E;
} }
.status-in_progress { .status-in_progress {
background: #e6f4ee; background: #FBEEDF;
color: #43a08a; color: #C26A2E;
} }
.status-completed { .status-completed {
background: #efedf6; background: #F0EDF6;
color: #8a7bb5; color: #8A7BB5;
} }
.status-cancelled { .status-cancelled {
background: #f5f5f5; background: #F3EEE8;
color: #b0b0b0; color: #BFB6AC;
}
.status-cancel_requested {
background: #FBEDEB;
color: #C0564A;
} }
/* === 卡片主体 === */ /* === 卡片主体 === */
@@ -279,7 +283,7 @@ page {
width: 72rpx; width: 72rpx;
height: 72rpx; height: 72rpx;
border-radius: 50%; border-radius: 50%;
background: linear-gradient(135deg, @accent, @accent-end); background: @accent;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -316,13 +320,13 @@ page {
font-weight: 500; font-weight: 500;
&.male { &.male {
background: rgba(26, 188, 156, 0.1); background: rgba(62, 110, 158, 0.1);
color: @accent; color: #3E6E9E;
} }
&.female { &.female {
background: rgba(234, 102, 150, 0.1); background: rgba(232, 106, 138, 0.1);
color: #ea6696; color: #E86A8A;
} }
} }
@@ -407,9 +411,9 @@ page {
} }
.btn-solid { .btn-solid {
background: linear-gradient(135deg, @accent, @accent-end); background: @accent;
color: #fff; 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 { .btn-ghost {
+38 -34
View File
@@ -1,14 +1,14 @@
/* pages/order/orderDetail.wxss */ /* pages/order/orderDetail.wxss */
page { page {
background-color: #f5f6fa; background-color: #FAF6F1;
color: #1a1a2e; color: #2A211B;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
} }
.detail-page { .detail-page {
min-height: 100vh; min-height: 100vh;
background: #f5f6fa; background: #FAF6F1;
padding-bottom: 120rpx; padding-bottom: 120rpx;
} }
@@ -21,7 +21,7 @@ page {
.loading-text { .loading-text {
font-size: 28rpx; font-size: 28rpx;
color: #a0a3bd; color: #A3988B;
} }
/* === 顶部状态栏 === */ /* === 顶部状态栏 === */
@@ -43,23 +43,27 @@ page {
} }
.status-header.status-pending { .status-header.status-pending {
background: linear-gradient(135deg, #f0b352 0%, #d99a2b 100%); background: #D98E04;
} }
.status-header.status-confirmed { .status-header.status-confirmed {
background: linear-gradient(135deg, #74a3c4 0%, #5c88a8 100%); background: #3E6E9E;
} }
.status-header.status-in_progress { .status-header.status-in_progress {
background: linear-gradient(135deg, #55b39c 0%, #43a08a 100%); background: #B4552A;
} }
.status-header.status-completed { .status-header.status-completed {
background: linear-gradient(135deg, #9a8ac4 0%, #8a7bb5 100%); background: #8A7BB5;
} }
.status-header.status-cancelled { .status-header.status-cancelled {
background: linear-gradient(135deg, #b0b0b0 0%, #c0c0c0 100%); background: #BFB6AC;
}
.status-header.status-cancel_requested {
background: #C0564A;
} }
.status-content { .status-content {
@@ -92,7 +96,7 @@ page {
position: relative; position: relative;
font-size: 30rpx; font-size: 30rpx;
font-weight: 600; font-weight: 600;
color: #1a1a1a; color: #2A211B;
margin-bottom: 24rpx; margin-bottom: 24rpx;
margin-left: 20rpx; margin-left: 20rpx;
letter-spacing: 1rpx; letter-spacing: 1rpx;
@@ -107,15 +111,15 @@ page {
width: 8rpx; width: 8rpx;
height: 28rpx; height: 28rpx;
border-radius: 4rpx; border-radius: 4rpx;
background: linear-gradient(180deg, #2dd36f, #17c3a5); background: #C26A2E;
} }
.info-card { .info-card {
background: #ffffff; background: #ffffff;
border-radius: 24rpx; border-radius: 24rpx;
border: 1rpx solid rgba(31, 61, 56, 0.06); border: 1rpx solid rgba(90, 62, 42, 0.06);
padding: 28rpx 32rpx; 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 { .info-row {
@@ -130,14 +134,14 @@ page {
.info-label { .info-label {
font-size: 28rpx; font-size: 28rpx;
color: #a0a3bd; color: #A3988B;
width: 140rpx; width: 140rpx;
flex-shrink: 0; flex-shrink: 0;
} }
.info-value { .info-value {
font-size: 28rpx; font-size: 28rpx;
color: #3a3d5c; color: #5C5044;
flex: 1; flex: 1;
} }
@@ -154,33 +158,33 @@ page {
} }
.patient-sex.male { .patient-sex.male {
background: rgba(26, 188, 156, 0.1); background: rgba(62, 110, 158, 0.1);
color: #1abc9c; color: #3E6E9E;
} }
.patient-sex.female { .patient-sex.female {
background: rgba(234, 102, 150, 0.1); background: rgba(232, 106, 138, 0.1);
color: #ea6696; color: #E86A8A;
} }
.patient-age { .patient-age {
font-size: 26rpx; font-size: 26rpx;
color: #a0a3bd; color: #A3988B;
} }
.patient-phone { .patient-phone {
font-size: 26rpx; font-size: 26rpx;
color: #a0a3bd; color: #A3988B;
} }
.call-icon { .call-icon {
color: #1abc9c; color: #C26A2E;
font-weight: 500; font-weight: 500;
} }
.divider { .divider {
height: 1rpx; height: 1rpx;
background: #f0f1f5; background: #F0EAE2;
margin: 16rpx 0; margin: 16rpx 0;
} }
@@ -195,7 +199,7 @@ page {
width: 80rpx; width: 80rpx;
height: 80rpx; height: 80rpx;
border-radius: 50%; border-radius: 50%;
background: linear-gradient(135deg, #2dd36f, #17c3a5); background: #C26A2E;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -218,19 +222,19 @@ page {
.attendant-name { .attendant-name {
font-size: 30rpx; font-size: 30rpx;
font-weight: 600; font-weight: 600;
color: #1a1a2e; color: #2A211B;
} }
.attendant-phone { .attendant-phone {
font-size: 26rpx; font-size: 26rpx;
color: #a0a3bd; color: #A3988B;
} }
/* === 费用信息 === */ /* === 费用信息 === */
.fee-value { .fee-value {
font-size: 32rpx; font-size: 32rpx;
font-weight: 700; font-weight: 700;
color: #1a1a2e; color: #2A211B;
font-family: 'DIN Alternate', 'Helvetica Neue', sans-serif; font-family: 'DIN Alternate', 'Helvetica Neue', sans-serif;
} }
@@ -247,7 +251,7 @@ page {
.note-label { .note-label {
font-size: 26rpx; font-size: 26rpx;
color: #a0a3bd; color: #A3988B;
width: 140rpx; width: 140rpx;
flex-shrink: 0; flex-shrink: 0;
font-weight: 500; font-weight: 500;
@@ -255,7 +259,7 @@ page {
.note-content { .note-content {
font-size: 26rpx; font-size: 26rpx;
color: #3a3d5c; color: #5C5044;
line-height: 1.6; line-height: 1.6;
flex: 1; flex: 1;
} }
@@ -285,13 +289,13 @@ page {
} }
.btn-solid { .btn-solid {
background: linear-gradient(135deg, #2dd36f, #17c3a5); background: #C26A2E;
color: #fff; 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 { .btn-ghost {
background: #f5f6fa; background: #FAF6F1;
color: #a0a3bd; color: #A3988B;
border: 1rpx solid #f0f1f5; border: 1rpx solid #F0EAE2;
} }
+41 -41
View File
@@ -1,13 +1,13 @@
/* pages/order/orderEdit.wxss */ /* pages/order/orderEdit.wxss */
page { page {
background-color: #f5f6fa; background-color: #FAF6F1;
color: #1a1a2e; color: #2A211B;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
} }
.page { .page {
min-height: 100vh; min-height: 100vh;
background: #f5f6fa; background: #FAF6F1;
padding: 24rpx; padding: 24rpx;
box-sizing: border-box; box-sizing: border-box;
} }
@@ -20,10 +20,10 @@ page {
.profile-brief { .profile-brief {
background: #ffffff; background: #ffffff;
border-radius: 24rpx; border-radius: 24rpx;
border: 1rpx solid rgba(31, 61, 56, 0.06); border: 1rpx solid rgba(90, 62, 42, 0.06);
padding: 28rpx 32rpx; padding: 28rpx 32rpx;
margin-bottom: 24rpx; 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 { .brief-tags {
@@ -35,8 +35,8 @@ page {
.brief-tag { .brief-tag {
font-size: 22rpx; font-size: 22rpx;
background-color: rgba(26, 188, 156, 0.1); background-color: rgba(194, 106, 46, 0.1);
color: #1abc9c; color: #C26A2E;
border-radius: 16rpx; border-radius: 16rpx;
padding: 6rpx 16rpx; padding: 6rpx 16rpx;
} }
@@ -45,7 +45,7 @@ page {
display: block; display: block;
margin-top: 16rpx; margin-top: 16rpx;
font-size: 24rpx; font-size: 24rpx;
color: #888888; color: #8A8078;
line-height: 1.5; line-height: 1.5;
} }
@@ -64,20 +64,20 @@ page {
.profile-empty-title { .profile-empty-title {
font-size: 30rpx; font-size: 30rpx;
font-weight: 600; font-weight: 600;
color: #1a1a1a; color: #2A211B;
} }
.profile-empty-sub { .profile-empty-sub {
margin-top: 6rpx; margin-top: 6rpx;
font-size: 24rpx; font-size: 24rpx;
color: #888888; color: #8A8078;
} }
.profile-empty-btn { .profile-empty-btn {
padding: 14rpx 32rpx; padding: 14rpx 32rpx;
border-radius: 40rpx; border-radius: 40rpx;
background-color: rgba(26, 188, 156, 0.1); background-color: rgba(194, 106, 46, 0.1);
color: #1abc9c; color: #C26A2E;
font-size: 26rpx; font-size: 26rpx;
font-weight: 600; font-weight: 600;
} }
@@ -112,12 +112,12 @@ page {
.picker-title { .picker-title {
font-size: 32rpx; font-size: 32rpx;
font-weight: 700; font-weight: 700;
color: #1a1a1a; color: #2A211B;
} }
.picker-close { .picker-close {
font-size: 32rpx; font-size: 32rpx;
color: #999; color: #9A9087;
padding: 8rpx; padding: 8rpx;
} }
@@ -128,12 +128,12 @@ page {
.picker-search-input { .picker-search-input {
width: 100%; width: 100%;
height: 72rpx; height: 72rpx;
background: #f5f6fa; background: #FAF6F1;
border-radius: 36rpx; border-radius: 36rpx;
padding: 0 32rpx; padding: 0 32rpx;
box-sizing: border-box; box-sizing: border-box;
font-size: 28rpx; font-size: 28rpx;
color: #1a1a2e; color: #2A211B;
} }
.picker-list { .picker-list {
@@ -148,7 +148,7 @@ page {
display: flex; display: flex;
align-items: center; align-items: center;
padding: 24rpx 0; padding: 24rpx 0;
border-bottom: 1rpx solid #f0f1f5; border-bottom: 1rpx solid #F0EAE2;
} }
.picker-item:last-child { .picker-item:last-child {
@@ -159,8 +159,8 @@ page {
width: 72rpx; width: 72rpx;
height: 72rpx; height: 72rpx;
border-radius: 50%; border-radius: 50%;
background: #e6f9f3; background: #FBEEDF;
color: #17c3a5; color: #C26A2E;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -183,24 +183,24 @@ page {
.picker-item-name { .picker-item-name {
font-size: 30rpx; font-size: 30rpx;
font-weight: 600; font-weight: 600;
color: #1a1a2e; color: #2A211B;
} }
.picker-item-sub { .picker-item-sub {
margin-left: 12rpx; margin-left: 12rpx;
font-size: 24rpx; font-size: 24rpx;
color: #999; color: #9A9087;
} }
.picker-item-mobile { .picker-item-mobile {
display: block; display: block;
margin-top: 4rpx; margin-top: 4rpx;
font-size: 24rpx; font-size: 24rpx;
color: #999; color: #9A9087;
} }
.picker-arrow { .picker-arrow {
color: #c0c4cc; color: #C7BDB2;
font-size: 32rpx; font-size: 32rpx;
} }
@@ -208,19 +208,19 @@ page {
padding: 60rpx 0; padding: 60rpx 0;
text-align: center; text-align: center;
font-size: 26rpx; font-size: 26rpx;
color: #999; color: #9A9087;
} }
.section { .section {
margin-bottom: 32rpx; margin-bottom: 32rpx;
} }
/* home 同款绿色竖条标题 */ /* home 同款暖铜竖条标题 */
.section-title { .section-title {
position: relative; position: relative;
font-size: 30rpx; font-size: 30rpx;
font-weight: 600; font-weight: 600;
color: #1a1a1a; color: #2A211B;
margin-bottom: 16rpx; margin-bottom: 16rpx;
margin-left: 20rpx; margin-left: 20rpx;
letter-spacing: 1rpx; letter-spacing: 1rpx;
@@ -234,23 +234,23 @@ page {
width: 8rpx; width: 8rpx;
height: 28rpx; height: 28rpx;
border-radius: 4rpx; border-radius: 4rpx;
background: linear-gradient(180deg, #2dd36f, #17c3a5); background: #C26A2E;
} }
} }
.info-card { .info-card {
background: #ffffff; background: #ffffff;
border-radius: 24rpx; border-radius: 24rpx;
border: 1rpx solid rgba(31, 61, 56, 0.06); border: 1rpx solid rgba(90, 62, 42, 0.06);
padding: 8rpx 32rpx; 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 { .field {
display: flex; display: flex;
align-items: center; align-items: center;
min-height: 96rpx; min-height: 96rpx;
border-bottom: 1rpx solid #f0f1f5; border-bottom: 1rpx solid #F0EAE2;
} }
.field:last-child { .field:last-child {
@@ -261,13 +261,13 @@ page {
width: 160rpx; width: 160rpx;
flex-shrink: 0; flex-shrink: 0;
font-size: 28rpx; font-size: 28rpx;
color: #666; color: #6F655C;
} }
.field-input { .field-input {
flex: 1; flex: 1;
font-size: 28rpx; font-size: 28rpx;
color: #1a1a2e; color: #2A211B;
} }
.field-picker { .field-picker {
@@ -286,11 +286,11 @@ page {
font-size: 26rpx; font-size: 26rpx;
&.paid { &.paid {
color: #17c3a5; color: #C26A2E;
} }
&.unpaid { &.unpaid {
color: #9ca3af; color: #A3988B;
} }
} }
@@ -299,15 +299,15 @@ page {
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
font-size: 28rpx; font-size: 28rpx;
color: #1a1a2e; color: #2A211B;
} }
.field-value.placeholder { .field-value.placeholder {
color: #c0c4cc; color: #C7BDB2;
} }
.arrow { .arrow {
color: #c0c4cc; color: #C7BDB2;
font-size: 32rpx; font-size: 32rpx;
} }
@@ -320,14 +320,14 @@ page {
flex: 1; flex: 1;
min-height: 120rpx; min-height: 120rpx;
font-size: 28rpx; font-size: 28rpx;
color: #1a1a2e; color: #2A211B;
} }
.field-tip { .field-tip {
display: block; display: block;
margin-top: 8rpx; margin-top: 8rpx;
font-size: 24rpx; font-size: 24rpx;
color: #e6a23c; color: #D98E04;
} }
.submit-btn { .submit-btn {
@@ -338,7 +338,7 @@ page {
font-size: 32rpx; font-size: 32rpx;
font-weight: 600; font-weight: 600;
color: #ffffff; color: #ffffff;
background: linear-gradient(135deg, #2dd36f, #17c3a5); background: #C26A2E;
border-radius: 48rpx; 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);
} }
+8 -8
View File
@@ -17,7 +17,7 @@
</view> </view>
<view class="user-info login-area" wx:else> <view class="user-info login-area" wx:else>
<view class="user-avatar default-avatar"> <view class="user-avatar default-avatar">
<t-icon name="user" size="40rpx" color="#8f9d97" /> <t-icon name="user" size="40rpx" color="#A3988B" />
</view> </view>
<view class="user-detail"> <view class="user-detail">
<text class="login-title">未登录</text> <text class="login-title">未登录</text>
@@ -35,11 +35,11 @@
<view class="menu-item" wx:for="{{menuList}}" wx:key="index" data-index="{{index}}" bindtap="onMenuTap"> <view class="menu-item" wx:for="{{menuList}}" wx:key="index" data-index="{{index}}" bindtap="onMenuTap">
<view class="menu-left"> <view class="menu-left">
<view class="menu-icon"> <view class="menu-icon">
<t-icon name="{{item.icon}}" size="32rpx" color="#1a8a63" /> <t-icon name="{{item.icon}}" size="32rpx" color="#C26A2E" />
</view> </view>
<text class="menu-title">{{item.title}}</text> <text class="menu-title">{{item.title}}</text>
</view> </view>
<t-icon name="chevron-right" size="28rpx" color="#b7c6c0" /> <t-icon name="chevron-right" size="28rpx" color="#C7BDB2" />
</view> </view>
</view> </view>
</view> </view>
@@ -50,20 +50,20 @@
<view class="menu-item" bindtap="onClearCache"> <view class="menu-item" bindtap="onClearCache">
<view class="menu-left"> <view class="menu-left">
<view class="menu-icon danger-bg"> <view class="menu-icon danger-bg">
<t-icon name="delete" size="32rpx" color="#e05a4e" /> <t-icon name="delete" size="32rpx" color="#C0564A" />
</view> </view>
<text class="menu-title danger">清除缓存</text> <text class="menu-title danger">清除缓存</text>
</view> </view>
<t-icon name="chevron-right" size="28rpx" color="#b7c6c0" /> <t-icon name="chevron-right" size="28rpx" color="#C7BDB2" />
</view> </view>
<view class="menu-item" wx:if="{{isLoggedIn}}" bindtap="onLogout"> <view class="menu-item" wx:if="{{isLoggedIn}}" bindtap="onLogout">
<view class="menu-left"> <view class="menu-left">
<view class="menu-icon danger-bg"> <view class="menu-icon danger-bg">
<t-icon name="logout" size="32rpx" color="#e05a4e" /> <t-icon name="logout" size="32rpx" color="#C0564A" />
</view> </view>
<text class="menu-title danger">退出登录</text> <text class="menu-title danger">退出登录</text>
</view> </view>
<t-icon name="chevron-right" size="28rpx" color="#b7c6c0" /> <t-icon name="chevron-right" size="28rpx" color="#C7BDB2" />
</view> </view>
</view> </view>
</view> </view>
@@ -74,7 +74,7 @@
<view class="popup-header"> <view class="popup-header">
<text class="popup-title">用户登录</text> <text class="popup-title">用户登录</text>
<view class="popup-close" bindtap="onCloseLoginPopup"> <view class="popup-close" bindtap="onCloseLoginPopup">
<t-icon name="close" size="32rpx" color="#9ca3af" /> <t-icon name="close" size="32rpx" color="#A3988B" />
</view> </view>
</view> </view>
<view class="popup-body"> <view class="popup-body">
+24 -24
View File
@@ -1,6 +1,6 @@
page { page {
background: #ededed; background: #F4EFE9;
color: #1a1a2e; color: #2A211B;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
} }
@@ -10,13 +10,13 @@ page {
box-sizing: border-box; box-sizing: border-box;
} }
/* === 用户卡片(翡翠绿,呼应首页头部) === */ /* === 用户卡片(暖棕主色,呼应首页头部) === */
.user-card { .user-card {
position: relative; position: relative;
overflow: hidden; overflow: hidden;
background: linear-gradient(135deg, #29b785 0%, #1a8a63 100%); background: #C26A2E;
border-radius: 28rpx; 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; margin-bottom: 32rpx;
} }
@@ -134,7 +134,7 @@ page {
.login-btn-text { .login-btn-text {
font-size: 26rpx; font-size: 26rpx;
color: #1a8a63; color: #C26A2E;
font-weight: 600; font-weight: 600;
} }
@@ -146,8 +146,8 @@ page {
.card { .card {
background-color: #ffffff; background-color: #ffffff;
border-radius: 24rpx; border-radius: 24rpx;
border: 1rpx solid rgba(31, 61, 56, 0.06); border: 1rpx solid rgba(90, 62, 42, 0.06);
box-shadow: 0 6rpx 20rpx rgba(31, 61, 56, 0.07); box-shadow: 0 6rpx 20rpx rgba(90, 62, 42, 0.07);
} }
.menu-list { .menu-list {
@@ -159,7 +159,7 @@ page {
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: 28rpx 0; 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; transition: opacity 0.2s ease;
} }
@@ -181,24 +181,24 @@ page {
width: 64rpx; width: 64rpx;
height: 64rpx; height: 64rpx;
border-radius: 18rpx; border-radius: 18rpx;
background-color: rgba(26, 138, 99, 0.08); background-color: rgba(194, 106, 46, 0.08);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.menu-icon.danger-bg { .menu-icon.danger-bg {
background-color: rgba(224, 90, 78, 0.08); background-color: rgba(192, 86, 74, 0.08);
} }
.menu-title { .menu-title {
font-size: 28rpx; font-size: 28rpx;
color: #1a1a1a; color: #2A211B;
font-weight: 500; font-weight: 500;
} }
.menu-title.danger { .menu-title.danger {
color: #e05a4e; color: #C0564A;
} }
/* === 版本信息 === */ /* === 版本信息 === */
@@ -211,7 +211,7 @@ page {
.version-text { .version-text {
font-size: 24rpx; font-size: 24rpx;
color: #9fb0a9; color: #A3988B;
} }
/* === 登录弹窗 === */ /* === 登录弹窗 === */
@@ -234,7 +234,7 @@ page {
background-color: #ffffff; background-color: #ffffff;
border-radius: 28rpx; border-radius: 28rpx;
overflow: hidden; 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 { .popup-header {
@@ -247,7 +247,7 @@ page {
.popup-title { .popup-title {
font-size: 32rpx; font-size: 32rpx;
font-weight: 600; font-weight: 600;
color: #1a1a1a; color: #2A211B;
} }
.popup-close { .popup-close {
@@ -260,7 +260,7 @@ page {
} }
.popup-close:active { .popup-close:active {
background-color: #f3f4f6; background-color: #F4EFE9;
} }
.popup-body { .popup-body {
@@ -278,7 +278,7 @@ page {
.form-label { .form-label {
display: block; display: block;
font-size: 26rpx; font-size: 26rpx;
color: #6b7280; color: #6F655C;
margin-bottom: 12rpx; margin-bottom: 12rpx;
font-weight: 500; font-weight: 500;
} }
@@ -286,17 +286,17 @@ page {
.form-input { .form-input {
width: 100%; width: 100%;
height: 80rpx; height: 80rpx;
background-color: #f7f9f8; background-color: #FAF6F1;
border-radius: 16rpx; border-radius: 16rpx;
padding: 0 24rpx; padding: 0 24rpx;
font-size: 28rpx; font-size: 28rpx;
color: #1a1a1a; color: #2A211B;
box-sizing: border-box; box-sizing: border-box;
border: 1rpx solid #e5eae8; border: 1rpx solid #EAE1D6;
} }
.form-input:focus { .form-input:focus {
border-color: #1a8a63; border-color: #C26A2E;
} }
.popup-footer { .popup-footer {
@@ -306,12 +306,12 @@ page {
.submit-btn { .submit-btn {
width: 100%; width: 100%;
height: 88rpx; height: 88rpx;
background: linear-gradient(135deg, #29b785, #1a8a63); background: #C26A2E;
border-radius: 44rpx; border-radius: 44rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: 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; transition: all 0.2s ease;
} }