优化项目选择弹窗关闭按钮

This commit is contained in:
2026-06-25 22:41:53 +08:00
parent 1fab83926a
commit 5f808e5344
2 changed files with 11 additions and 8 deletions
@@ -60,7 +60,7 @@
<view> <view>
<text class="modal-title">选择项目内容</text> <text class="modal-title">选择项目内容</text>
</view> </view>
<button class="modal-close" bindtap="closeProductModal">×</button> <view class="modal-close" bindtap="closeProductModal">×</view>
</view> </view>
<input class="product-search" value="{{productKeyword}}" bindinput="onProductSearch" placeholder="搜索作品、标签、美甲师" /> <input class="product-search" value="{{productKeyword}}" bindinput="onProductSearch" placeholder="搜索作品、标签、美甲师" />
<scroll-view class="product-list" scroll-y> <scroll-view class="product-list" scroll-y>
@@ -97,7 +97,7 @@
.modal-head { .modal-head {
display: flex; display: flex;
align-items: flex-start; align-items: center;
justify-content: space-between; justify-content: space-between;
gap: 20rpx; gap: 20rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
@@ -114,15 +114,18 @@
} }
.modal-close { .modal-close {
width: 58rpx; display: flex;
height: 58rpx; align-items: center;
margin: 0; justify-content: center;
padding: 0; width: 56rpx;
min-width: 56rpx;
height: 56rpx;
border-radius: 50%; border-radius: 50%;
background: #f2e7da; background: #f2e7da;
color: #61554c; color: #61554c;
font-size: 40rpx; font-size: 32rpx;
line-height: 58rpx; font-weight: 800;
line-height: 1;
} }
.product-search { .product-search {