|
|
@@ -128,11 +128,13 @@ Page({ |
|
|
|
this.data.page++; |
|
|
|
this.getRecordData(); |
|
|
|
} |
|
|
|
this.data.ani[that].recordText = "恭喜"+this.data.recordDataAll[this.data.recordNowNum].nickName+"获得"+this.data.recordDataAll[this.data.recordNowNum].awardName; |
|
|
|
if(this.data.recordNowNum+1<this.data.recordDataAll.length){ |
|
|
|
this.data.recordNowNum++; |
|
|
|
}else{ |
|
|
|
this.data.recordNowNum=0; |
|
|
|
if(this.data.recordDataAll && this.data.recordDataAll.length && this.data.recordDataAll[this.data.recordNowNum].nickName && this.data.recordDataAll[this.data.recordNowNum].awardName){ |
|
|
|
this.data.ani[that].recordText = "恭喜"+this.data.recordDataAll[this.data.recordNowNum].nickName+"获得"+this.data.recordDataAll[this.data.recordNowNum].awardName; |
|
|
|
if(this.data.recordNowNum+1<this.data.recordDataAll.length){ |
|
|
|
this.data.recordNowNum++; |
|
|
|
}else{ |
|
|
|
this.data.recordNowNum=0; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
this.setData({ |