From 951d2d7f30aec50a11815b0ee1c2cc80c66816e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=E4=B9=A0=E5=BE=88=E5=B7=AE=E5=95=A6?= <17633066053@163.com> Date: Wed, 29 Mar 2023 16:17:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=A8=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/tabbar/home/index.vue | 2 +- pages/tabbar/home/template/fetch_coupon.vue | 1 + pages/tabbar/home/views.vue | 6 ++++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pages/tabbar/home/index.vue b/pages/tabbar/home/index.vue index 6d693ca..c51ed08 100644 --- a/pages/tabbar/home/index.vue +++ b/pages/tabbar/home/index.vue @@ -17,7 +17,7 @@ export default { }, onShow(){ setTimeout(()=>{ - this.$refs.tpl.firstGetAuto(); + this.$refs.tpl.fetchCoupon(); },1000) }, methods: { diff --git a/pages/tabbar/home/template/fetch_coupon.vue b/pages/tabbar/home/template/fetch_coupon.vue index b2ca090..fe3d543 100644 --- a/pages/tabbar/home/template/fetch_coupon.vue +++ b/pages/tabbar/home/template/fetch_coupon.vue @@ -92,6 +92,7 @@ export default { return { storage, enableShowCoupon: false, + coupList:[] }; }, mounted() { diff --git a/pages/tabbar/home/views.vue b/pages/tabbar/home/views.vue index b6dc2de..0d1e700 100644 --- a/pages/tabbar/home/views.vue +++ b/pages/tabbar/home/views.vue @@ -34,7 +34,7 @@ - + @@ -73,7 +73,6 @@ export default { return { config, storage, - coupList:[], showCp:true, pageData: "", //楼层页面数据 isIos: "", @@ -111,6 +110,9 @@ export default { }, methods: { + fetchCoupon(){ + this.$refs.coupon.firstGetAuto(); + }, /** * 实例化首页数据楼层 */