Authored by 郭成尧

CarouselImage

require('feature.css');
require('product/search/list.page.css');
require('product/shop/redshop.page.css');
... ...
... ... @@ -2,7 +2,7 @@
* @Author: Targaryen
* @Date: 2017-03-23 17:12:53
* @Last Modified by: Targaryen
* @Last Modified time: 2017-03-23 17:14:31
* @Last Modified time: 2017-03-24 10:37:26
*/
// 红人店铺首页
... ... @@ -19,6 +19,7 @@
}
.section-title {
font-size: 32px;
text-align: center;
}
... ... @@ -35,6 +36,15 @@
.shop-swiper {
height: 234px;
overflow: hidden;
ul {
width: 100%;
}
ul > li {
width: 100%;
}
}
.shop-video {
... ...
... ... @@ -2,7 +2,7 @@
* @Author: Targaryen
* @Date: 2017-03-23 11:02:31
* @Last Modified by: Targaryen
* @Last Modified time: 2017-03-23 18:42:30
* @Last Modified time: 2017-03-24 10:32:59
*/
/* 红人店铺数据处理 */
... ... @@ -76,7 +76,11 @@ const floor = (decoratorsData) => {
let finalData = [];
_.forEach(decoratorsData, value => {
value.module_data = JSON.parse(value.module_data);
try {
value.module_data = JSON.parse(value.module_data);
} catch (error) {
console.log(error);
}
switch (value.module_type) {
case 'Title':
... ...