From ed7bd02f3c812e904e43a76e16a4a5598f5bfd48 Mon Sep 17 00:00:00 2001
From: Mr.Shi <1878285526@qq.com>
Date: 星期四, 07 九月 2023 17:53:33 +0800
Subject: [PATCH] 小程序
---
minipro_standard/components/Search.vue | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/minipro_standard/components/Search.vue b/minipro_standard/components/Search.vue
index 347b379..f79d349 100644
--- a/minipro_standard/components/Search.vue
+++ b/minipro_standard/components/Search.vue
@@ -3,7 +3,7 @@
<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>
@@ -66,7 +66,8 @@
display: flex;
align-items: center;
.zhanwei {
- height: 180rpx;
+ width: 100%;
+ height: calc(88rpx + 30rpx);
background: #ffffff;
}
.content {
@@ -82,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;
@@ -92,6 +93,7 @@
.footer_close {
flex: 1;
padding: 28rpx 0;
+ height: 88rpx;
box-sizing: border-box;
margin-right: 22rpx;
font-size: 32rpx;
@@ -104,6 +106,7 @@
}
.footer_submit {
flex: 1;
+ height: 88rpx;
padding: 28rpx 0;
box-sizing: border-box;
font-size: 32rpx;
--
Gitblit v1.9.3