活动:大富翁

This commit is contained in:
qiaoxin
2021-06-18 19:45:55 +08:00
parent 15ff0938bc
commit b4578f053a
13 changed files with 593 additions and 4 deletions

View File

@@ -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;