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//当前的指示点下标 },