始终 转到 “攒人品”
//获取奖品
lottery : function() {
this.lotteryIndex = undefined;
this.lotteryTime--;
this.freshLotteryTime();
this.totalFrame = 0;
this.curSpeed = this.minSpeed;
this.turnAround();
this.lotteryIndex = typeof this.lotteryType[2] !== 'undefined' ? this.lotteryType[2] ;
this.errorIndex;
this.lotteryChannel = typeof this.channelList[1] !== 'undefined' ? this.channelList[1] : '';
},1、找到对象 lotteryType 更换你需要的奖品
2、在上面这个函数 自己写概率的方法。this.lotteryIndex = 对应你的奖品对象的ID