From 1f4e7d0f73a73e7350cf5a1df279d5f30904c5d5 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 06 十二月 2023 08:41:32 +0800
Subject: [PATCH] bug
---
minipro_standard/components/Search.vue | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/minipro_standard/components/Search.vue b/minipro_standard/components/Search.vue
index 9c33b94..efac752 100644
--- a/minipro_standard/components/Search.vue
+++ b/minipro_standard/components/Search.vue
@@ -3,17 +3,17 @@
<view class="search_box">
<view class="search_input">
<image src="@/static/ic_search@2x.png" alt="">
- <input v-model="text" @keyup.enter="searchInput()" type="text" :placeholder="placeholder" />
+ <input v-model="text" @confirm="searchInput()" type="text" :placeholder="placeholder" />
</view>
<view class="search_operation" v-if="isShow">
<view class="search_operation_w"></view>
<image @click="openCate()" src="@/static/filter@2x.png" mode="widthFix">
</view>
</view>
- <u-popup :show="open" :round="10" mode="bottom">
- <view class="content">
+ <u-popup closeOnClickOverlay :show="open" @close="open=false" :round="10" mode="bottom">
+ <scroll-view scroll-y class="content">
<slot name="content"></slot>
- </view>
+ </scroll-view>
<view class="zhanwei"></view>
<view class="footer">
<view class="footer_close" @click="closes">閲嶇疆</view>
@@ -66,11 +66,15 @@
display: flex;
align-items: center;
.zhanwei {
- height: 180rpx;
+ width: 100%;
+ height: calc(88rpx + 30rpx);
background: #ffffff;
}
.content {
padding: 30rpx 30rpx 0 30rpx;
+ width: 100%;
+ height: 800rpx;
+ box-sizing: border-box;
}
.footer {
width: 100%;
@@ -79,7 +83,7 @@
justify-content: space-between;
padding-left: 40rpx;
padding-right: 40rpx;
- padding-bottom: 64rpx;
+ padding-bottom: env(safe-area-inset-bottom);
box-sizing: border-box;
position: fixed;
bottom: 0;
@@ -89,6 +93,7 @@
.footer_close {
flex: 1;
padding: 28rpx 0;
+ height: 88rpx;
box-sizing: border-box;
margin-right: 22rpx;
font-size: 32rpx;
@@ -101,6 +106,7 @@
}
.footer_submit {
flex: 1;
+ height: 88rpx;
padding: 28rpx 0;
box-sizing: border-box;
font-size: 32rpx;
--
Gitblit v1.9.3