...
|
...
|
@@ -128,39 +128,6 @@ const convertActicityData = (data) => { |
|
|
hide: false
|
|
|
});
|
|
|
});
|
|
|
_.forEach(data, (item) => {
|
|
|
formatData.push({
|
|
|
activityUrl: 'product/outlet?id=' + item.id,
|
|
|
coverUrl: item.coverUrl,
|
|
|
logoUrl: item.logoUrl,
|
|
|
title: item.title,
|
|
|
promotionName: item.promotionName,
|
|
|
startLeftTime: item.startLeftTime,
|
|
|
hide: false
|
|
|
});
|
|
|
});
|
|
|
_.forEach(data, (item) => {
|
|
|
formatData.push({
|
|
|
activityUrl: 'product/outlet?id=' + item.id,
|
|
|
coverUrl: item.coverUrl,
|
|
|
logoUrl: item.logoUrl,
|
|
|
title: item.title,
|
|
|
promotionName: item.promotionName,
|
|
|
startLeftTime: item.startLeftTime,
|
|
|
hide: false
|
|
|
});
|
|
|
});
|
|
|
_.forEach(data, (item) => {
|
|
|
formatData.push({
|
|
|
activityUrl: 'product/outlet?id=' + item.id,
|
|
|
coverUrl: item.coverUrl,
|
|
|
logoUrl: item.logoUrl,
|
|
|
title: item.title,
|
|
|
promotionName: item.promotionName,
|
|
|
startLeftTime: item.startLeftTime,
|
|
|
hide: false
|
|
|
});
|
|
|
});
|
|
|
|
|
|
|
|
|
if (formatData.length > 10) {
|
...
|
...
|
|