Selaa lähdekoodia

星探任务认证

guessPrice
zhanghaojie 5 vuotta sitten
vanhempi
commit
bc36230e55
3 muutettua tiedostoa jossa 12 lisäystä ja 1 poistoa
  1. +5
    -0
      496_dongfengqichen/pages/scout/scout.js
  2. +2
    -1
      496_dongfengqichen/pages/scout/scout.wxml
  3. +5
    -0
      496_dongfengqichen/pages/scout/scout.wxss

+ 5
- 0
496_dongfengqichen/pages/scout/scout.js Näytä tiedosto

@@ -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})

+ 2
- 1
496_dongfengqichen/pages/scout/scout.wxml Näytä tiedosto

@@ -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>

+ 5
- 0
496_dongfengqichen/pages/scout/scout.wxss Näytä tiedosto

@@ -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;

Loading…
Peruuta
Tallenna