|
@@ -2,7 +2,7 @@ |
|
@@ -2,7 +2,7 @@ |
2
|
* @Author: Targaryen
|
2
|
* @Author: Targaryen
|
3
|
* @Date: 2017-03-23 11:02:31
|
3
|
* @Date: 2017-03-23 11:02:31
|
4
|
* @Last Modified by: Targaryen
|
4
|
* @Last Modified by: Targaryen
|
5
|
- * @Last Modified time: 2017-03-28 14:03:00
|
5
|
+ * @Last Modified time: 2017-03-28 14:50:20
|
6
|
*/
|
6
|
*/
|
7
|
/* 红人店铺数据处理 */
|
7
|
/* 红人店铺数据处理 */
|
8
|
|
8
|
|
|
@@ -75,9 +75,9 @@ const _tools = { |
|
@@ -75,9 +75,9 @@ const _tools = { |
75
|
singleImage(moduleData) {
|
75
|
singleImage(moduleData) {
|
76
|
return {
|
76
|
return {
|
77
|
module_type: 'SingleImage',
|
77
|
module_type: 'SingleImage',
|
78
|
- pics: {
|
78
|
+ pics: [{
|
79
|
src: _.get(moduleData, 'data[0].pic', '')
|
79
|
src: _.get(moduleData, 'data[0].pic', '')
|
80
|
- },
|
80
|
+ }],
|
81
|
text: _.get(moduleData, 'data[0].text', ''),
|
81
|
text: _.get(moduleData, 'data[0].text', ''),
|
82
|
width: _.get(moduleData, 'properties.width', ''),
|
82
|
width: _.get(moduleData, 'properties.width', ''),
|
83
|
height: _.get(moduleData, 'data[0].text', ''),
|
83
|
height: _.get(moduleData, 'data[0].text', ''),
|