From b877a3e8286bdbbabcfb9402e7e92ca3eb670624 Mon Sep 17 00:00:00 2001 From: weiwei Date: Mon, 18 Aug 2025 16:16:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=90=88=E4=BD=9C=E5=95=86=E5=AE=B6?= =?UTF-8?q?=E5=8F=AF=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/tabbar/coopMerchant.vue | 28 ++++++++++++++++++++++++++-- src/pages/tabbar/onlineShop.vue | 6 +++--- 2 files changed, 29 insertions(+), 5 deletions(-) diff --git a/src/pages/tabbar/coopMerchant.vue b/src/pages/tabbar/coopMerchant.vue index 01395e0..92d498f 100644 --- a/src/pages/tabbar/coopMerchant.vue +++ b/src/pages/tabbar/coopMerchant.vue @@ -11,6 +11,7 @@ const state = reactive({ pa: { pagesize: 10, type: "2", + name: "", catgoryId: null, }, tabs: [{ id: null, name: "全部", disabled: false }], @@ -40,6 +41,10 @@ onShow(() => { pageRef.value && pageRef.value.reload(false) }) +const search = () => { + pageRef.value && pageRef.value.reload(true) +} + const doTab = (e: any) => { const target = state.tabs[e] state.pa.catgoryId = target.id @@ -74,12 +79,31 @@ const toDetail = async (v: any) => { > - diff --git a/src/pages/tabbar/onlineShop.vue b/src/pages/tabbar/onlineShop.vue index ccdfa3e..0037727 100644 --- a/src/pages/tabbar/onlineShop.vue +++ b/src/pages/tabbar/onlineShop.vue @@ -29,9 +29,9 @@ class="flex-1" v-model="state.params.keyword" type="text" - :height="66" - :minHeight="66" - :fontSize="28" + height="66" + minHeight="66" + fontSize="28" :showClear="true" :focus="false" placeholder="请输入商品名称"