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="请输入商品名称"