活动:修复每日特惠礼包

This commit is contained in:
luying
2022-01-20 12:08:10 +08:00
parent c813762bf9
commit cd18ac4327
10 changed files with 37 additions and 36 deletions

View File

@@ -35,7 +35,7 @@ export class LimitShopData extends ActivityBase {
name: string = '';//活动名称
interval: number = 0;//周期间隔(秒)
list: Array<ShopItem> = [];//商品列表
nextRefreshTime: number;//下次刷新时间
// nextRefreshTime: number;//下次刷新时间
roundIndex: number = 1;//周期数从1开始
public findItemByProductID(productID: string) {
@@ -73,7 +73,7 @@ export class LimitShopData extends ActivityBase {
public initData(data: string) {
this.nextRefreshTime = this.endTime;
// this.nextRefreshTime = this.endTime;
let dataObj = JSON.parse(data);
this.name = dataObj.name;
this.interval = dataObj.interval;