...
|
...
|
@@ -2,7 +2,7 @@ |
|
|
* @Author: Targaryen
|
|
|
* @Date: 2017-03-23 11:02:31
|
|
|
* @Last Modified by: Targaryen
|
|
|
* @Last Modified time: 2017-03-28 09:45:12
|
|
|
* @Last Modified time: 2017-03-28 10:28:49
|
|
|
*/
|
|
|
/* 红人店铺数据处理 */
|
|
|
|
...
|
...
|
@@ -63,7 +63,8 @@ const _tools = { |
|
|
return {
|
|
|
module_type: 'CarouselImage',
|
|
|
num: countCarouselImage,
|
|
|
pics: _picsHandle(moduleData)
|
|
|
pics: _picsHandle(moduleData),
|
|
|
isModuleMargin: _.get(moduleData, 'properties.isModuleMargin', false),
|
|
|
};
|
|
|
},
|
|
|
|
...
|
...
|
@@ -100,11 +101,13 @@ const _tools = { |
|
|
* @param {*} moduleData
|
|
|
*/
|
|
|
tripleImage(moduleData) {
|
|
|
let displayType = _.get(moduleData, 'properties.displayType', 1);
|
|
|
|
|
|
return {
|
|
|
module_type: 'TripleImage',
|
|
|
pics: _picsHandle(moduleData),
|
|
|
isModuleMargin: _.get(moduleData, 'properties.isModuleMargin', false),
|
|
|
displayType: _.get(moduleData, 'properties.displayType', 1),
|
|
|
displayType: parseInt(displayType, 10),
|
|
|
};
|
|
|
},
|
|
|
|
...
|
...
|
|