中奖记录文字修改

This commit is contained in:
liuye
2023-02-06 09:42:57 +08:00
parent 8d9a858267
commit 497539d35a

View File

@@ -154,7 +154,7 @@ export default {
return {
deg: 0, // 初始化角度
duration: 2000, //动画时长
awardNumber: 0, // 中奖区域 从1开始
awardNumber: 1, // 中奖区域 从1开始
isStart: false, //防止多次触发动画
animationData: {}, //动画对象
showPhoneMask: false,
@@ -280,7 +280,7 @@ export default {
if(res.data.length) {
var textList = []
res.data.map((item, index) => {
textList[index] = `${this.geTel(res.data[index].phone)}用户获得${res.data[index].prizeName}`
textList[index] = `${res.data[index].name} ${this.geTel(res.data[index].phone)}获得${res.data[index].prizeName}`
})
if(textList.length > 2) {
var num = Math.floor(textList.length/3)