...
|
...
|
@@ -43,12 +43,13 @@ const _getBrandAdFloor = d => { |
|
|
* @return {Object} 处理之后的数据
|
|
|
*/
|
|
|
const _getNewArrivals = d => {
|
|
|
console.log(d);
|
|
|
_.forEach(d, (data, index) => {
|
|
|
if (index === 0 || index === d.length - 1) {
|
|
|
data.smallImg = true;
|
|
|
}
|
|
|
|
|
|
if (index % 2 === 0) {
|
|
|
if (index % 2 !== 0) {
|
|
|
data.even = true;
|
|
|
}
|
|
|
});
|
...
|
...
|
@@ -205,8 +206,6 @@ const _processFloorData = d => { |
|
|
let floorTitle;
|
|
|
let floorData;
|
|
|
|
|
|
console.log(data);
|
|
|
|
|
|
// 处理banner
|
|
|
if (_isBannerFloor(data)) {
|
|
|
floorData = floorMap.slider(data.data);
|
...
|
...
|
|