授权两次修复
parent
a8ffd5663b
commit
4978f9ed95
|
@ -235,8 +235,18 @@
|
||||||
this.checkSwi()//查询轮播图
|
this.checkSwi()//查询轮播图
|
||||||
// this.checkBanner()//调用轮播图查询事件
|
// this.checkBanner()//调用轮播图查询事件
|
||||||
this.$toolAll.tools.buriedPointAll()//查询需要埋点的事件id
|
this.$toolAll.tools.buriedPointAll()//查询需要埋点的事件id
|
||||||
|
this.checkUserInfo();
|
||||||
},
|
},
|
||||||
methods: {
|
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){
|
changeBanner(e){
|
||||||
this.bcurrent = e.detail.current//当前的指示点下标
|
this.bcurrent = e.detail.current//当前的指示点下标
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue