活动:支付添加推送

This commit is contained in:
qiaoxin
2021-05-27 14:08:54 +08:00
parent c261fdc045
commit 9b80dae800
13 changed files with 206 additions and 116 deletions
@@ -68,6 +68,7 @@ export class GrowthFundItem {
export class GrowthFundData extends ActivityBase {
list: Array<GrowthFundItem> = [];
price: number = 0;//高阶价格
productID: string = '';//商品id
buyRecords: Array<number> = [];//高阶购买记录
//是否是高阶,需要购买
@@ -119,6 +120,7 @@ export class GrowthFundData extends ActivityBase {
public initData(data: string) {
let dataObj = JSON.parse(data);
this.price = dataObj.price;
this.productID = dataObj.productID;
let arr = dataObj.data;
for (let obj of arr) {
this.list.push(new GrowthFundItem(obj))