@@ -106,7 +106,7 @@ Page({ | |||
* 生命周期函数--监听页面显示 | |||
*/ | |||
onShow: function () { | |||
// app.globalData.certificationState=4; | |||
app.globalData.certificationState=4; | |||
this.setData({maskid: app.globalData.certificationState}) | |||
if(app.globalData.certificationState==1){ | |||
this.setData({titleContent:'尊敬的启辰车主您好'}) |
@@ -2,7 +2,8 @@ | |||
<view class="showView"> | |||
<view class="content"> | |||
<image class="bg" src="{{imgUrl+'/star/scout/bg.jpg'}}"></image> | |||
<image class="reward" src="{{imgUrl+'/star/tu1.png'}}"></image> | |||
<image class="reward" wx:if="{{maskid<4}}" src="{{imgUrl+'/star/scout/reward.png'}}"></image> | |||
<image class="reward" wx:if="{{maskid>3}}" src="{{imgUrl+'/star/tu1.png'}}"></image> | |||
<view class="btn" bindtap="getPoster">立即分享,赚取奖励</view> | |||
<button class="btn2" wx:if="{{iconShow}}" open-type="getUserInfo" bindgetuserinfo="getUserWxMsg"></button> | |||
</view> |
@@ -14,7 +14,6 @@ | |||
} | |||
.reward{ | |||
width: 602rpx; | |||
height: 446rpx; | |||
height: 548rpx; | |||
margin: 43rpx auto 0 auto; | |||
} | |||
@@ -27,7 +26,7 @@ | |||
color: #ffffff; | |||
border-radius: 15rpx; | |||
background-color: #2a558d; | |||
margin: 120rpx auto 40rpx auto; | |||
margin: 20rpx auto 40rpx auto; | |||
} | |||
.btn2{ | |||
text-align: center; |