...
|
...
|
@@ -846,13 +846,15 @@ const processFloorData = (rawData, type) => { |
|
|
}
|
|
|
|
|
|
// 处理lifestyle分类楼层
|
|
|
if (!floorData && index + normalFloorLength < rawData.length && rawData[index + 1].template_name === 'textNav' &&
|
|
|
if (!floorData && index + normalFloorLength < rawData.length &&
|
|
|
rawData[index + 1].template_name === 'textNav' &&
|
|
|
rawData[index + 2].template_name === 'floor') {
|
|
|
floorData = floorMap.category.call(null, rawData.slice(index, index + normalFloorLength));
|
|
|
}
|
|
|
|
|
|
// 处理手风琴楼层
|
|
|
if (!floorData && index + normalFloorLength < rawData.length && rawData[index + 1].template_name === 'textNav' &&
|
|
|
if (!floorData && index + normalFloorLength < rawData.length &&
|
|
|
rawData[index + 1].template_name === 'textNav' &&
|
|
|
rawData[index + 2].template_name === 'focus') {
|
|
|
floorData = floorMap.accordion.call(null, rawData.slice(index, index + normalFloorLength));
|
|
|
}
|
...
|
...
|
|