From af8e3a8084c3ea0cfe1c40a784d7f622dbe6f880 Mon Sep 17 00:00:00 2001 From: kele <1184860403@qq.com> Date: Fri, 7 Apr 2023 19:59:10 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix=EF=BC=9A=E6=90=9C=E7=B4=A2=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sheep/components/s-search-block/s-search-block.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sheep/components/s-search-block/s-search-block.vue b/sheep/components/s-search-block/s-search-block.vue index 204a02ee..5e3e08fa 100644 --- a/sheep/components/s-search-block/s-search-block.vue +++ b/sheep/components/s-search-block/s-search-block.vue @@ -26,6 +26,7 @@ cancelButton="none" clearButton="none" @confirm="onSearch" + v-model="state.searchVal" /> @@ -129,6 +130,9 @@ function onSearch(e) { if (e.value) { sheep.$router.go('/pages/goods/list', { keyword: e.value }); + setTimeout(() => { + state.searchVal = ''; + }, 100); } } @@ -137,14 +141,17 @@ .border-content { border: 2rpx solid #eee; } + .search-content { flex: 1; // height: 80rpx; position: relative; + .search-icon { font-size: 38rpx; margin-right: 20rpx; } + .keyword-link { position: absolute; right: 16rpx; From 1e1dda6794a7a625c32ed295818f1c47c8a3809e Mon Sep 17 00:00:00 2001 From: front-one Date: Wed, 12 Apr 2023 14:07:21 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=E5=AE=A2=E6=9C=8D=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/chat/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/chat/index.vue b/pages/chat/index.vue index 6eda036d..04d438d5 100644 --- a/pages/chat/index.vue +++ b/pages/chat/index.vue @@ -120,7 +120,7 @@ :src="sheep.$url.cdn(item.content.url)" :height="200" :width="200" - mode="scaleToFill" + mode="aspectFill" > @@ -707,7 +707,7 @@ } .imgred, img { - width: 100% !important; + width: 100%; } } }