Authored by shuaiguo

Merge branch 'feature/find-goods' into feature/captcha

... ... @@ -370,16 +370,20 @@ class featureModel extends global.yoho.BaseModel {
if(tabname) {
const tabInfo = tabList.find(tab=> tab.link === tabname);
const {startTime,status} = tabInfo;
floor.component = component.map(c=> {
if(c.type === 'coupon' && colNum === 1) {
return {...c, startTime, endOfDayTime, currentTime, status, statusImg: seckillCouponStatusInfo};
}else {
return c;
}
});
if(tabInfo) {
const {startTime,status} = tabInfo;
floor.component = component.map(c=> {
if(c.type === 'coupon' && colNum === 1) {
return {...c, startTime, endOfDayTime, currentTime, status, statusImg: seckillCouponStatusInfo};
}else {
return c;
}
});
}
}
}
}
... ...