调整客户新增入口为悬浮加号
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<view class="page customer-page">
|
||||
<view class="customer-header">
|
||||
<text class="customer-title">客户</text>
|
||||
<button class="compact-btn customer-edit-btn" bindtap="addCustomer">编辑</button>
|
||||
</view>
|
||||
|
||||
<view class="search-card card">
|
||||
@@ -50,6 +49,8 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<button class="fab customer-fab" bindtap="addCustomer" aria-label="新增客户">+</button>
|
||||
|
||||
<view wx:if="{{createModalVisible}}" class="modal-mask" bindtap="closeCreateModal">
|
||||
<view class="customer-modal" catchtap="stopTap">
|
||||
<view class="modal-head">
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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`。
|
||||
|
||||
Reference in New Issue
Block a user