|
@@ -337,6 +337,17 @@ export default {
|
|
|
const res=await apiUserInfo()
|
|
|
if(res.code===200){
|
|
|
this.userInfo=res.data
|
|
|
+ if(this.userInfo.is_bind===0){
|
|
|
+ Dialog.confirm({
|
|
|
+ title:'温馨提示',
|
|
|
+ message:'为了优化您的用户体验,\n 请登录后查看更多信息!',
|
|
|
+ confirmButtonText:'去登录',
|
|
|
+ confirmButtonColor:'#E6B77D',
|
|
|
+ cancelButtonColor:'#666'
|
|
|
+ }).then(res=>{
|
|
|
+ wx.miniProgram.reLaunch({url:'/pages/login'})
|
|
|
+ })
|
|
|
+ }
|
|
|
if(!iswatermark) return
|
|
|
this.$nextTick(()=>{
|
|
|
this.waterMark(res.data.mobile,this.$refs.richConBox)
|