From 4978f9ed95f1aa5e0d51ccca958221112b6cd48d Mon Sep 17 00:00:00 2001 From: chen <2659004835@qq.com> Date: Mon, 8 Nov 2021 16:13:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=88=E6=9D=83=E4=B8=A4=E6=AC=A1=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/tabbar/pagehome/pagehome.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pages/tabbar/pagehome/pagehome.vue b/pages/tabbar/pagehome/pagehome.vue index 0e46823..e508255 100644 --- a/pages/tabbar/pagehome/pagehome.vue +++ b/pages/tabbar/pagehome/pagehome.vue @@ -235,8 +235,18 @@ this.checkSwi()//查询轮播图 // this.checkBanner()//调用轮播图查询事件 this.$toolAll.tools.buriedPointAll()//查询需要埋点的事件id + this.checkUserInfo(); }, methods: { + checkUserInfo(){ + this.$requst.post('user/info').then(res=>{ + if(res.code==0){ + if(res.data.phone_active!=0){ + uni.setStorageSync('phone_active',res.data.phone_active); + } + } + }) + }, changeBanner(e){ this.bcurrent = e.detail.current//当前的指示点下标 },