中奖记录文字修改
This commit is contained in:
@@ -154,7 +154,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
deg: 0, // 初始化角度
|
deg: 0, // 初始化角度
|
||||||
duration: 2000, //动画时长
|
duration: 2000, //动画时长
|
||||||
awardNumber: 0, // 中奖区域 从1开始
|
awardNumber: 1, // 中奖区域 从1开始
|
||||||
isStart: false, //防止多次触发动画
|
isStart: false, //防止多次触发动画
|
||||||
animationData: {}, //动画对象
|
animationData: {}, //动画对象
|
||||||
showPhoneMask: false,
|
showPhoneMask: false,
|
||||||
@@ -280,7 +280,7 @@ export default {
|
|||||||
if(res.data.length) {
|
if(res.data.length) {
|
||||||
var textList = []
|
var textList = []
|
||||||
res.data.map((item, index) => {
|
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) {
|
if(textList.length > 2) {
|
||||||
var num = Math.floor(textList.length/3)
|
var num = Math.floor(textList.length/3)
|
||||||
|
|||||||
Reference in New Issue
Block a user