|
@@ -268,8 +268,6 @@ const getSlideData = srcData => { |
|
@@ -268,8 +268,6 @@ const getSlideData = srcData => { |
268
|
}
|
268
|
}
|
269
|
};
|
269
|
};
|
270
|
|
270
|
|
271
|
- console.log(srcData);
|
|
|
272
|
-
|
|
|
273
|
if (srcData.big_image) {
|
271
|
if (srcData.big_image) {
|
274
|
slideData.slide.list = getBannerList(srcData.big_image);
|
272
|
slideData.slide.list = getBannerList(srcData.big_image);
|
275
|
}
|
273
|
}
|
|
@@ -655,6 +653,11 @@ const processFloorData = (rawData, type) => { |
|
@@ -655,6 +653,11 @@ const processFloorData = (rawData, type) => { |
655
|
floorData = floorMap.hot.call(null, rawData.slice(index, index + 2), type);
|
653
|
floorData = floorMap.hot.call(null, rawData.slice(index, index + 2), type);
|
656
|
} else if (data.data.text) {
|
654
|
} else if (data.data.text) {
|
657
|
let text = data.data.text.split(' ')[0];
|
655
|
let text = data.data.text.split(' ')[0];
|
|
|
656
|
+ const regResult = /\w+/.exec(text);
|
|
|
657
|
+
|
|
|
658
|
+ if (regResult) {
|
|
|
659
|
+ text = text.replace(regResult[0], '');
|
|
|
660
|
+ }
|
658
|
|
661
|
|
659
|
floorData = floorMap[text] &&
|
662
|
floorData = floorMap[text] &&
|
660
|
floorMap[text].call(null, rawData.slice(index, index + 6), type);
|
663
|
floorMap[text].call(null, rawData.slice(index, index + 6), type);
|