</view> | </view> | ||||
<view style="position: relative;"> | <view style="position: relative;"> | ||||
<image src="{{imgUrl+'/newImages3/prizeDetail2/'+lookIndex.awardId+'_3.png'}}" style="width:750rpx;" mode="widthFix"></image> | <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> | <image class="copyBtn" bindtap="copyExchangeCode" data-type="1" src="{{imgUrl+'/images/copyBtn.png'}}"></image> | ||||
</view> | </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> | <image class="copyBtn" bindtap="copyExchangeCode" data-type="2" src="{{imgUrl+'/images/copyBtn.png'}}"></image> | ||||
</view> | </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> --> | <!-- <image class="newImages3-37" src="{{imgUrl+'/newImages3/37.png'}}"></image> --> | ||||
</view> | </view> | ||||
</view> | </view> |
}) | }) | ||||
app.wxRequest(app.globalData.urlRoot + "share/getFriendRegisterList", this.data.parames,res=>{ | app.wxRequest(app.globalData.urlRoot + "share/getFriendRegisterList", this.data.parames,res=>{ | ||||
wx.hideLoading(); | wx.hideLoading(); | ||||
this.setData({ | |||||
getFriendListState: false | |||||
}) | |||||
if(res.code==200){ | if(res.code==200){ | ||||
for(let i=0;i<res.data.length;i++){ | for(let i=0;i<res.data.length;i++){ | ||||
this.data.shareFriendList.push(res.data[i]); | this.data.shareFriendList.push(res.data[i]); | ||||
}) | }) | ||||
} | } | ||||
} | } | ||||
this.setData({ | |||||
getFriendListState: false | |||||
}) | |||||
},this); | },this); | ||||
}, | }, | ||||
getOrderInfo: function () {//查询是否已注册 | getOrderInfo: function () {//查询是否已注册 | ||||
}) | }) | ||||
app.wxRequest(app.globalData.urlRoot + "award/getMyAwardList", { awardSource: this.data.recordNow }, res => { | app.wxRequest(app.globalData.urlRoot + "award/getMyAwardList", { awardSource: this.data.recordNow }, res => { | ||||
wx.hideLoading(); | wx.hideLoading(); | ||||
this.setData({ | |||||
getState: false | |||||
}) | |||||
if(res.code == 200){ | if(res.code == 200){ | ||||
// res.data[0].awardState = 0; | // res.data[0].awardState = 0; | ||||
// res.data = this.data.testData; | // res.data = this.data.testData; | ||||
recordList:res.data | recordList:res.data | ||||
}) | }) | ||||
} | } | ||||
this.setData({ | |||||
getState: false | |||||
}) | |||||
},this) | },this) | ||||
}, | }, | ||||
getUserPhone: function (e) {//获取用户手机号 | getUserPhone: function (e) {//获取用户手机号 |