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`。