活动:大富翁
This commit is contained in:
@@ -51,6 +51,7 @@ export class RefreshShopPage {
|
||||
|
||||
// 商店数据
|
||||
export class RefreshShopData extends ActivityBase {
|
||||
shopType: number = 0;//商店类型,用于客户端显示使用
|
||||
name: string = '';//活动名称
|
||||
interval: number = 0;//周期间隔(秒)
|
||||
list: Array<RefreshShopPage> = [];//商品列表
|
||||
@@ -96,6 +97,7 @@ export class RefreshShopData extends ActivityBase {
|
||||
public initData(data: string) {
|
||||
this.nextRefreshTime = this.endTime;
|
||||
let dataObj = JSON.parse(data);
|
||||
this.shopType = dataObj.shopType;
|
||||
this.name = dataObj.name;
|
||||
this.interval = dataObj.interval;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user