调整客户新增入口为悬浮加号

This commit is contained in:
2026-07-25 18:27:28 +08:00
parent c24b2725be
commit a3a7a66bd2
3 changed files with 13 additions and 9 deletions
+2 -1
View File
@@ -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">
+4 -8
View File
@@ -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;