|
|
|
|
|
|
|
|
userLevel: 0 |
|
|
userLevel: 0 |
|
|
}, |
|
|
}, |
|
|
isbtn:true,//防重复点击 |
|
|
isbtn:true,//防重复点击 |
|
|
|
|
|
maskid:0,//现实的弹窗 |
|
|
}, |
|
|
}, |
|
|
/** |
|
|
/** |
|
|
* 关闭提示弹窗 |
|
|
* 关闭提示弹窗 |
|
|
|
|
|
|
|
|
* 生命周期函数--监听页面显示 |
|
|
* 生命周期函数--监听页面显示 |
|
|
*/ |
|
|
*/ |
|
|
onShow: function () { |
|
|
onShow: function () { |
|
|
|
|
|
// app.globalData.certificationState=4; |
|
|
|
|
|
this.setData({maskid: app.globalData.certificationState}) |
|
|
if(app.globalData.certificationState==1){ |
|
|
if(app.globalData.certificationState==1){ |
|
|
this.setData({titleContent:'尊敬的启辰车主您好'}) |
|
|
this.setData({titleContent:'尊敬的启辰车主您好'}) |
|
|
}else if(app.globalData.certificationState==2){ |
|
|
}else if(app.globalData.certificationState==2){ |
|
|
this.setData({titleContent:'尊敬的合伙人您好'}) |
|
|
this.setData({titleContent:'尊敬的合伙人您好'}) |
|
|
}else if(app.globalData.certificationState==3){ |
|
|
}else if(app.globalData.certificationState==3){ |
|
|
this.setData({titleContent:'尊敬的同事您好'}) |
|
|
this.setData({titleContent:'尊敬的同事您好'}) |
|
|
|
|
|
}else if(app.globalData.certificationState==4){ |
|
|
|
|
|
this.setData({titleContent:'尊敬的星探顾问'}) |
|
|
} |
|
|
} |
|
|
if(app.globalData.userInfoData==null){ |
|
|
if(app.globalData.userInfoData==null){ |
|
|
this.setData({iconShow:true}) |
|
|
this.setData({iconShow:true}) |