@@ -17,6 +17,7 @@ Page({ | |||
userLevel: 0 | |||
}, | |||
isbtn:true,//防重复点击 | |||
maskid:0,//现实的弹窗 | |||
}, | |||
/** | |||
* 关闭提示弹窗 | |||
@@ -105,12 +106,16 @@ Page({ | |||
* 生命周期函数--监听页面显示 | |||
*/ | |||
onShow: function () { | |||
// app.globalData.certificationState=4; | |||
this.setData({maskid: app.globalData.certificationState}) | |||
if(app.globalData.certificationState==1){ | |||
this.setData({titleContent:'尊敬的启辰车主您好'}) | |||
}else if(app.globalData.certificationState==2){ | |||
this.setData({titleContent:'尊敬的合伙人您好'}) | |||
}else if(app.globalData.certificationState==3){ | |||
this.setData({titleContent:'尊敬的同事您好'}) | |||
}else if(app.globalData.certificationState==4){ | |||
this.setData({titleContent:'尊敬的星探顾问'}) | |||
} | |||
if(app.globalData.userInfoData==null){ | |||
this.setData({iconShow:true}) |
@@ -9,7 +9,8 @@ | |||
<view class="mask" wx:if="{{maskShow}}"> | |||
<view class="tipContent" wx:if="{{tipShow}}"> | |||
<view class="title">{{titleContent}}</view> | |||
<image class="txt" src="{{imgUrl+'/star/txt1.png'}}"></image> | |||
<image class="txt" wx:if="{{maskid<4}}" src="{{imgUrl+'/star/scout/tipContent.png'}}"></image> | |||
<image class="txt2" wx:if="{{maskid>3}}" src="{{imgUrl+'/star/txt1.png'}}"></image> | |||
<image class="closeBtn" src="{{imgUrl+'/star/closebtn.png'}}" bindtap="hiddenTip"></image> | |||
</view> | |||
</view> |
@@ -68,6 +68,11 @@ | |||
background-color: #2a558d; | |||
} | |||
.tipContent>.txt{ | |||
width: 400rpx; | |||
height: 181rpx; | |||
margin: 70rpx auto 0 auto; | |||
} | |||
.tipContent>.txt2{ | |||
width: 449rpx; | |||
height: 181rpx; | |||
margin: 70rpx auto 0 auto; |