调整客户新增入口为悬浮加号
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;
|
||||
|
||||
Reference in New Issue
Block a user