1.修改中奖图片 文案

yj-dev
杨杰 3 years ago
parent 49380342ea
commit 548a060749
  1. 8
      subPages/lottery/lottery.vue
  2. 6
      uni_modules/almost-lottery/components/almost-lottery/almost-lottery.vue

@ -201,6 +201,7 @@
pris.prizeId = r.id;
pris.prizeImage = this.imageUrl + r.img;
pris.prizeName = r.name;
pris.prizeStr = r.prizeStr;
prizesList.push(pris);
})
this.activityInfo = this.transform(res.return_data.activityInfo.content);
@ -255,12 +256,14 @@
console.log('旋转结束,执行拿到结果后到逻辑')
//
this.prizeing = false
let prizeName = this.prizeList[this.prizeIndex].prizeName
let prizeName = this.prizeList[this.prizeIndex].prizeName;
let prizeStr = this.prizeList[this.prizeIndex].prizeStr;
let tipContent = ''
// if (prizeName === '') {
// tipContent = ''
// } else {
tipContent = `恭喜您,获得 "${prizeName} "!`
tipContent = `恭喜您获得了${prizeName} : `+` ${prizeStr}`+` , 请前往我的优惠券查看`
// }
this.getUserLotteryNum();
this.getWinLotteryList();
@ -292,6 +295,7 @@
prizeId = ''
prizeName = ''
prizeImage = ''
prizeStr = ''
}
</script>

@ -184,7 +184,7 @@
//
imgMarginStr: {
type: Number,
default: 60
default: 40
},
//
strLineHeight: {
@ -204,12 +204,12 @@
//
imgWidth: {
type: Number,
default: 50
default: 80
},
//
imgHeight: {
type: Number,
default: 50
default: 80
},
//
imgDrawed: {

Loading…
Cancel
Save