From a3a7a66bd216e911d84096710ec76e7c7107a99f Mon Sep 17 00:00:00 2001 From: xiaowang <2161656029@qq.com> Date: Sat, 25 Jul 2026 18:27:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=AE=A2=E6=88=B7=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=85=A5=E5=8F=A3=E4=B8=BA=E6=82=AC=E6=B5=AE=E5=8A=A0?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- JY-Salon-WeChat/pages/customers/index.wxml | 3 ++- JY-Salon-WeChat/pages/customers/index.wxss | 12 ++++-------- docs/项目变更记录.md | 7 +++++++ 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/JY-Salon-WeChat/pages/customers/index.wxml b/JY-Salon-WeChat/pages/customers/index.wxml index f64551ad..b08863f7 100644 --- a/JY-Salon-WeChat/pages/customers/index.wxml +++ b/JY-Salon-WeChat/pages/customers/index.wxml @@ -1,7 +1,6 @@ 客户 - @@ -50,6 +49,8 @@ + + diff --git a/JY-Salon-WeChat/pages/customers/index.wxss b/JY-Salon-WeChat/pages/customers/index.wxss index e5f54185..411adc9f 100644 --- a/JY-Salon-WeChat/pages/customers/index.wxss +++ b/JY-Salon-WeChat/pages/customers/index.wxss @@ -15,14 +15,6 @@ font-weight: 900; } -.customer-edit-btn { - width: 112rpx; - min-width: 112rpx; - max-width: 112rpx; - height: 58rpx; - font-size: 23rpx; -} - .search-card { display: flex; align-items: center; @@ -195,6 +187,10 @@ margin: 24rpx auto 0; } +.customer-fab { + bottom: calc(112rpx + env(safe-area-inset-bottom)); +} + .modal-mask { position: fixed; inset: 0; diff --git a/docs/项目变更记录.md b/docs/项目变更记录.md index 2933773e..8e3af71d 100644 --- a/docs/项目变更记录.md +++ b/docs/项目变更记录.md @@ -621,3 +621,10 @@ - 数据库说明:本次不新增 SQL,不修改初始化 SQL,不需要执行数据库迁移。 - 影响范围:`JY-Salon-WeChat/pages/planning/`、`pages/customers/` 和客户默认头像资源;不涉及后端、SQL 和其他端。 - 验证结果:规划页与客户页 JS 语法检查通过,修改文件无 UTF-8 BOM,`git diff --check` 通过;微信开发者工具运行态确认周视图 7 个日期列、时间轴和预约块正常渲染,客户页标题、编辑入口、搜索框和三项统计正常渲染。 + +## 2026-07-25 客户页新增入口改为右下角悬浮加号 + +- 变更原因:用户反馈客户页顶部“编辑”入口视觉突兀,希望与新建预约保持一致。 +- 处理方式:移除客户页顶部“编辑”按钮,新增右下角悬浮加号,点击后继续打开现有新增客户弹层。 +- 数据库说明:本次不新增 SQL,不修改初始化 SQL,不需要执行数据库迁移。 +- 验证结果:客户页 JS 语法、BOM、`git diff --check` 通过;微信开发者工具确认顶部按钮已移除、右下角加号存在,点击后 `createModalVisible` 正常变为 `true`。