@@ -17,13 +17,13 @@ | |||
</view> | |||
<view style="position: relative;"> | |||
<image src="{{imgUrl+'/newImages3/prizeDetail2/'+lookIndex.awardId+'_3.png'}}" style="width:750rpx;" mode="widthFix"></image> | |||
<view class="exchangeCode">卡号:{{lookIndex.couponCode || ''}} | |||
<view class="exchangeCode" wx:if="{{lookIndex.couponCode}}">卡号:{{lookIndex.couponCode || ''}} | |||
<image class="copyBtn" bindtap="copyExchangeCode" data-type="1" src="{{imgUrl+'/images/copyBtn.png'}}"></image> | |||
</view> | |||
<view class="exchangeCode" style="top:600rpx;">卡密:{{lookIndex.couponSecret || ''}} | |||
<view class="exchangeCode" wx:if="{{lookIndex.couponSecret}}" style="top:600rpx;">卡密:{{lookIndex.couponSecret || ''}} | |||
<image class="copyBtn" bindtap="copyExchangeCode" data-type="2" src="{{imgUrl+'/images/copyBtn.png'}}"></image> | |||
</view> | |||
<view class="exchangeCode" style="top:650rpx;">有效期:{{lookIndex.dead_date || ''}}</view> | |||
<view class="exchangeCode" wx:if="{{lookIndex.dead_date}}" style="top:650rpx;">有效期:{{lookIndex.dead_date || ''}}</view> | |||
<!-- <image class="newImages3-37" src="{{imgUrl+'/newImages3/37.png'}}"></image> --> | |||
</view> | |||
</view> |
@@ -685,9 +685,6 @@ Page({ | |||
}) | |||
app.wxRequest(app.globalData.urlRoot + "share/getFriendRegisterList", this.data.parames,res=>{ | |||
wx.hideLoading(); | |||
this.setData({ | |||
getFriendListState: false | |||
}) | |||
if(res.code==200){ | |||
for(let i=0;i<res.data.length;i++){ | |||
this.data.shareFriendList.push(res.data[i]); | |||
@@ -701,6 +698,9 @@ Page({ | |||
}) | |||
} | |||
} | |||
this.setData({ | |||
getFriendListState: false | |||
}) | |||
},this); | |||
}, | |||
getOrderInfo: function () {//查询是否已注册 | |||
@@ -741,9 +741,6 @@ Page({ | |||
}) | |||
app.wxRequest(app.globalData.urlRoot + "award/getMyAwardList", { awardSource: this.data.recordNow }, res => { | |||
wx.hideLoading(); | |||
this.setData({ | |||
getState: false | |||
}) | |||
if(res.code == 200){ | |||
// res.data[0].awardState = 0; | |||
// res.data = this.data.testData; | |||
@@ -751,6 +748,9 @@ Page({ | |||
recordList:res.data | |||
}) | |||
} | |||
this.setData({ | |||
getState: false | |||
}) | |||
},this) | |||
}, | |||
getUserPhone: function (e) {//获取用户手机号 |