|
@@ -152,7 +152,7 @@
|
|
|
</view>
|
|
|
<image class="img" :src="result.prizeImg" mode=""></image>
|
|
|
<view class="address">
|
|
|
- {{result.address}}
|
|
|
+ 取货地址:{{result.address}}
|
|
|
</view>
|
|
|
<view class="notice">
|
|
|
{{result.sendType == 1?`兑换有效期:请在${result.valid}个工作日内到自提点取货,过期失效`:'优惠劵已存入【我的优惠劵】,可前往【我的优惠劵】中查看使用'}}
|
|
@@ -203,6 +203,7 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ fullPrize:[],//完整奖品
|
|
|
bg:'https://zswl-dev.oss-cn-chengdu.aliyuncs.com/63b7c68b71a69169d1b33f92/store/bdb/user/avatar/rP86PRmpk21z60fd17f0e1363aacf412d0a7f9983abb.png/1.png',
|
|
|
isPrize:false,
|
|
|
isGet:false,
|
|
@@ -379,12 +380,12 @@
|
|
|
}
|
|
|
})
|
|
|
|
|
|
- let newPrizeList = this.mergeArraysAlternately(prizeList,failList)
|
|
|
+ this.fullPrize = this.mergeArraysAlternately(prizeList,failList)
|
|
|
|
|
|
this.list = prizeList
|
|
|
|
|
|
this.prizes = []
|
|
|
- newPrizeList.map((item,index)=>{
|
|
|
+ this.fullPrize.map((item,index)=>{
|
|
|
this.prizes.push({
|
|
|
fonts: [{
|
|
|
text: item.prizeName,
|
|
@@ -442,7 +443,7 @@
|
|
|
if (res.state == 'Success') {
|
|
|
this.$refs.myLucky.play()
|
|
|
let id = res.content.rafflePrizeId
|
|
|
- this.list.map((item,index)=>{
|
|
|
+ this.fullPrize.map((item,index)=>{
|
|
|
if(item.id == id){
|
|
|
this.result = item
|
|
|
this.prizeIndex = index
|