...
|
...
|
@@ -61,14 +61,17 @@ |
|
|
|
|
|
.show-box {
|
|
|
background: $bgcolor;
|
|
|
margin-top: 30px;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
border-bottom: 1px solid #000;
|
|
|
|
|
|
&.first-box {
|
|
|
margin-top: 0;
|
|
|
border-top: 0;
|
|
|
}
|
|
|
|
|
|
&:last-child {
|
|
|
border-bottom: 0;
|
|
|
}
|
|
|
|
|
|
&:not(.no-padding) {
|
|
|
padding-bottom: 30px;
|
|
|
}
|
...
|
...
|
@@ -83,8 +86,9 @@ |
|
|
background: #fff;
|
|
|
|
|
|
img {
|
|
|
width: 100%;
|
|
|
width: 690px;
|
|
|
display: block;
|
|
|
margin: 30px auto 0;
|
|
|
}
|
|
|
|
|
|
p {
|
...
|
...
|
@@ -92,7 +96,7 @@ |
|
|
}
|
|
|
|
|
|
.text-block {
|
|
|
padding: 30px;
|
|
|
padding: 30px 30px 0;
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
@@ -182,6 +186,10 @@ |
|
|
}
|
|
|
}
|
|
|
|
|
|
.share-bottom {
|
|
|
z-index: 10;
|
|
|
}
|
|
|
|
|
|
.editorial-article-title {
|
|
|
font-size: 43px;
|
|
|
font-weight: bold;
|
...
|
...
|
@@ -263,6 +271,7 @@ |
|
|
|
|
|
// 延时读取商品价格、名称等信息
|
|
|
if (!products || !products.length) {
|
|
|
this.$set('content', contentData);
|
|
|
return;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -283,9 +292,12 @@ |
|
|
content.filter((block) => {
|
|
|
if (block.goods) {
|
|
|
block.goods.data.filter(item => {
|
|
|
item.product = _.find(productList, {'product_skn': item.id});
|
|
|
item.product = _.find(productList, {product_skn: item.id});
|
|
|
if (!item.src) {
|
|
|
item.src = item.product.default_images;
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
|
|
|
this.$set('content', content);
|
...
|
...
|
|