From a89fe32c353040bbb95d7519cf7bafc4b5934f10 Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期三, 06 九月 2023 09:54:14 +0800
Subject: [PATCH] 小程序
---
minipro_standard/components/Search.vue | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/minipro_standard/components/Search.vue b/minipro_standard/components/Search.vue
index 9c33b94..082e02b 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>
@@ -11,9 +11,9 @@
</view>
</view>
<u-popup :show="open" :round="10" mode="bottom">
- <view class="content">
+ <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,13 @@
display: flex;
align-items: center;
.zhanwei {
- height: 180rpx;
background: #ffffff;
}
.content {
padding: 30rpx 30rpx 0 30rpx;
+ width: 100%;
+ height: 800rpx;
+ box-sizing: border-box;
}
.footer {
width: 100%;
--
Gitblit v1.9.3