From 1aaaac986d96901377c1e3e888184a83d7ef1381 Mon Sep 17 00:00:00 2001 From: xiaowang <2161656029@qq.com> Date: Thu, 23 Jul 2026 17:56:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=A2=84=E7=BA=A6=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E6=97=B6=E9=97=B4=E9=80=89=E6=8B=A9=E5=85=A5=E5=8F=A3?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/appointment-form/index.wxml | 6 ++--- .../pages/appointment-form/index.wxss | 26 +++++++++++++++++++ docs/项目变更记录.md | 8 ++++++ memory/progress.md | 7 ++--- 4 files changed, 41 insertions(+), 6 deletions(-) diff --git a/JY-Salon-WeChat/pages/appointment-form/index.wxml b/JY-Salon-WeChat/pages/appointment-form/index.wxml index ac0b4ed7..ce8e3cb5 100644 --- a/JY-Salon-WeChat/pages/appointment-form/index.wxml +++ b/JY-Salon-WeChat/pages/appointment-form/index.wxml @@ -22,8 +22,8 @@ 预约日期 - - {{form.appointmentDate}} + + {{form.appointmentDate}} @@ -62,7 +62,7 @@ - {{form.appointmentTime || timeSelectTip}} + {{form.appointmentTime || timeSelectTip}} {{form.appointmentDate}} · {{selectedArtist.name}} · {{form.durationMinutes}}分钟 › diff --git a/JY-Salon-WeChat/pages/appointment-form/index.wxss b/JY-Salon-WeChat/pages/appointment-form/index.wxss index 2d40e6cd..bf60b04a 100644 --- a/JY-Salon-WeChat/pages/appointment-form/index.wxss +++ b/JY-Salon-WeChat/pages/appointment-form/index.wxss @@ -269,6 +269,8 @@ align-items: center; justify-content: space-between; gap: 16rpx; + border-color: #cfe1d8; + background: #eef7f2; } .time-value > view { @@ -279,15 +281,39 @@ gap: 6rpx; } +.time-main-text { + color: #2f2923; + font-size: 30rpx; + font-weight: 900; + line-height: 1.2; +} + +.time-placeholder-text { + color: #7f8b84; + font-size: 28rpx; + font-weight: 800; + line-height: 1.2; +} + .time-value.placeholder { color: #aaa096; } +.date-native-picker, .time-native-picker { + display: block; min-width: 0; flex: 1; } +.date-value { + border-color: #cfe1d8; + background: #eef7f2; + color: #2f2923; + font-size: 30rpx; + font-weight: 900; +} + .time-range { overflow: hidden; color: #9a9288; diff --git a/docs/项目变更记录.md b/docs/项目变更记录.md index 74623a67..31cfed5c 100644 --- a/docs/项目变更记录.md +++ b/docs/项目变更记录.md @@ -378,3 +378,11 @@ - 数据库说明:本次不新增 SQL,不修改初始化 SQL,不需要执行数据库迁移。 - 影响范围:仅影响 `JY-Salon-WeChat/pages/appointment-form/` 的预约时间选择交互;不影响后端、接口契约、SQL 和预约提交 payload。 - 验证方式:已执行预约表单 JS 语法检查、旧 `picker-view/time-picker` 引用检索、`git diff --check` 和 GitNexus staged `detect-changes`;微信开发者工具连接与当前路由验证通过,元素查询通道超时且 `mp_healthCheck` 显示 `needsRecovery=false`,运行态元素断言以工具通道缺口记录。 + +## 2026-07-23 店务小程序预约日期时间选择入口主题样式调整 + +- 变更原因:预约时间改为原生时间选择器后,日期和时间选择入口的数字字号与背景色需要更贴近当前小程序主题。 +- 处理方式:预约日期和预约时间选择入口统一使用浅绿色主题背景与绿色系边框;日期数字和已选时间数字字号略放大并加粗,时间未选择占位文案保持次级颜色。 +- 数据库说明:本次不新增 SQL,不修改初始化 SQL,不需要执行数据库迁移。 +- 影响范围:仅影响 `JY-Salon-WeChat/pages/appointment-form/` 日期和时间选择入口的视觉样式;不影响选择器类型、预约时间校验、预约提交 payload 和后端接口。 +- 验证方式:执行预约表单 JS 语法检查、相关页面 `git diff --check`、GitNexus staged `detect-changes`,并确认本次暂存只包含预约表单样式和项目记录。 diff --git a/memory/progress.md b/memory/progress.md index 94b4c16b..9dfc72c9 100644 --- a/memory/progress.md +++ b/memory/progress.md @@ -2,7 +2,7 @@ ## 当前任务 -店务小程序预约时间改为原生时间选择器。 +店务小程序预约日期和时间选择入口主题样式调整。 ## 已完成 @@ -12,10 +12,11 @@ - 已删除旧时间底部弹窗、自定义小时/分钟滚轮模板和相关样式。 - 已完成 JS 语法检查、旧引用检索、`git diff --check` 和 GitNexus staged 检测,检测结果为低风险、影响流程 0。 - 已补充 `docs/项目变更记录.md`。 +- 已按用户确认调整预约日期和预约时间选择入口:数字略放大,背景改为主题一致的浅绿色。 ## 下一步 -- 提交本次相关改动。 +- 运行本次样式改动检查、GitNexus staged 变更检测并提交。 ## 当前阻塞点 @@ -23,7 +24,7 @@ ## 最近一次重要操作结果 -2026-07-23 已完成源码层和静态验证:旧 `timeSheetVisible`、`picker-view`、`time-picker` 样式和旧确认方法引用检索为空;微信开发者工具可确认路由在 `pages/appointment-form/index`,但元素查询通道超时。 +2026-07-23 已完成日期/时间选择入口样式改造:预约日期和预约时间入口使用同一套主题浅绿色背景,日期数字和已选时间数字放大到 30rpx。 ## 2026-07-23 预约图片链路检查 - 已完成:梳理新建预约手工作品上传、预约详情上传/删除、后端 `PlanningServiceImpl` 回显链路,并修复详情页旧字段回退隐患。 - 下一步:无,等待用户验收预约图片链路。