From 63e00179d4a67f5b3030baa1280846abaa979432 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期一, 12 八月 2024 15:25:58 +0800 Subject: [PATCH] update 更新供应商统计和商家首页的分类样式、供应商的分类等级过滤 --- sub_pages/customer/shopping/shopping.vue | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/sub_pages/customer/shopping/shopping.vue b/sub_pages/customer/shopping/shopping.vue index a7de25c..766613d 100644 --- a/sub_pages/customer/shopping/shopping.vue +++ b/sub_pages/customer/shopping/shopping.vue @@ -160,15 +160,19 @@ } }) let that = this - setTimeout(() => { + if (code === 0) { that.$message.hideLoading() - if (code === 0) { - that.$storage.setItem('_cache_shopping_dto', JSON.stringify(data)) - uni.navigateTo({ - url: '/sub_pages/customer/shopping/confirm' - }) - } - }, 300) + that.$storage.setItem('_cache_shopping_dto', JSON.stringify(data)) + uni.navigateTo({ + url: '/sub_pages/customer/shopping/confirm' + }) + } else { + //提示消失快 + setTimeout(() => { + that.$message.hideLoading() + }, 2000) + } + }, async clickSwipeButton(item, check) { // console.log('clickSwipeButton', e) -- Gitblit v1.9.3