From 666bcc20d989be1c7a2acb314594e8e017a611ac Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期日, 11 八月 2024 23:18:51 +0800 Subject: [PATCH] update花店的一些问题等 --- sub_pages/customer/trade/trade.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sub_pages/customer/trade/trade.vue b/sub_pages/customer/trade/trade.vue index ff15aae..e99cd81 100644 --- a/sub_pages/customer/trade/trade.vue +++ b/sub_pages/customer/trade/trade.vue @@ -9,7 +9,8 @@ </view> <view class="flex1 input"> - <u-input :placeholder="type==='category'?'请输入分类名称':'请输入店铺名称'" v-model="query.name" clearable @confirm="buttonSearchFlow" @clear="()=>{ + <u-input :placeholder="type==='category'?'请输入分类名称':'请输入店铺名称'" v-model="query.name" clearable + @confirm="buttonSearchFlow" @clear="()=>{ $nextTick(()=>{buttonSearchFlow()}) }"> <template slot="suffix"> @@ -106,6 +107,7 @@ props: { hidefooter: false, catgoryTree: [], + supplierId: '', }, data() { return { @@ -288,9 +290,10 @@ } }, toDetailList(item) { - //去商品列表页面 + //去商品列表页面 + console.log('toDetailList',this.supplierId) uni.navigateTo({ - url: `/sub_pages/customer/trade/list?categoryId=${item.id}` + url: `/sub_pages/customer/trade/list?categoryId=${item.id}&supplierId=${this.supplierId||''}` }) }, changeType(item) { -- Gitblit v1.9.3