Преглед на файлове

星探任务认证

guessPrice
zhanghaojie преди 5 години
родител
ревизия
bc36230e55
променени са 3 файла, в които са добавени 12 реда и са изтрити 1 реда
  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 Целия файл

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

+ 2
- 1
496_dongfengqichen/pages/scout/scout.wxml Целия файл

<view class="mask" wx:if="{{maskShow}}"> <view class="mask" wx:if="{{maskShow}}">
<view class="tipContent" wx:if="{{tipShow}}"> <view class="tipContent" wx:if="{{tipShow}}">
<view class="title">{{titleContent}}</view> <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> <image class="closeBtn" src="{{imgUrl+'/star/closebtn.png'}}" bindtap="hiddenTip"></image>
</view> </view>
</view> </view>

+ 5
- 0
496_dongfengqichen/pages/scout/scout.wxss Целия файл

background-color: #2a558d; background-color: #2a558d;
} }
.tipContent>.txt{ .tipContent>.txt{
width: 400rpx;
height: 181rpx;
margin: 70rpx auto 0 auto;
}
.tipContent>.txt2{
width: 449rpx; width: 449rpx;
height: 181rpx; height: 181rpx;
margin: 70rpx auto 0 auto; margin: 70rpx auto 0 auto;

Loading…
Отказ
Запис