活动:糜家商队
This commit is contained in:
@@ -13,6 +13,7 @@ export class TreasureHuntFirstPageData {
|
||||
name: string = '';//页签名字
|
||||
index: number = 0;//下标
|
||||
reward: string = '';//奖励
|
||||
imageName: string = '';
|
||||
|
||||
isReceive: boolean = false;//是否领取
|
||||
|
||||
@@ -28,6 +29,7 @@ export class TreasureHuntFirstPageData {
|
||||
this.name = data.name;
|
||||
this.index = data.index;
|
||||
this.reward = data.reward;
|
||||
this.imageName = data.imageName;
|
||||
this.isReceive = false;
|
||||
}
|
||||
|
||||
@@ -204,6 +206,7 @@ export class TreasureHuntChallengeData {
|
||||
warid: string = '';//随机的关卡号
|
||||
fixReward: string = '';//客户端显示奖励
|
||||
jackpotReward: string = '';//客户端显示奖励
|
||||
imageName: string = '';
|
||||
|
||||
public randomGK() {
|
||||
let gkArray = splitString(this.warid, '&');
|
||||
@@ -218,6 +221,7 @@ export class TreasureHuntChallengeData {
|
||||
this.warid = data.warid;
|
||||
this.fixReward = data.fixReward;
|
||||
this.jackpotReward = data.jackpotReward;
|
||||
this.imageName = data.imageName;
|
||||
}
|
||||
|
||||
constructor(data: any) {
|
||||
|
||||
Reference in New Issue
Block a user