Authored by xuqi

分离更多商品

... ... @@ -95,11 +95,13 @@ module.exports = function(flag) {
isNew: true,
url: ''
}
],
moreProds: ''
]
}
},
{
moreProds: ''
},
{
bigImage: {
src: 'http://7xidk0.com1.z0.glb.clouddn.com/bg.png',
alt: '复古风'
... ... @@ -204,8 +206,7 @@ module.exports = function(flag) {
isNew: true,
url: ''
}
],
moreProds: ''
]
}
},
{
... ...
.more-good {
padding: 0 0 0 30rem / $pxConvertRem;
margin-top: -30rem / $pxConvertRem;
margin-bottom: 30rem / $pxConvertRem;
background-color: #fff;
line-height: 88rem / $pxConvertRem;
border-bottom: 1px solid #e0e0e0;
a {
text-decoration: none;
color: #444;
font-size: 30rem / $pxConvertRem;
}
i {
float: right;
margin: 0 30rem / $pxConvertRem 0 0;
font-size: 28rem / $pxConvertRem;
color: #b0b0b0
}
}
\ No newline at end of file
... ...
@import "../saunter/article-author", "../saunter/article", "../saunter/related-brand", "../saunter/article-tag", "../saunter/related-post";
@import "../saunter/article-author", "../saunter/article", "../saunter/related-brand", "../saunter/article-tag", "../saunter/related-post", "../common/more-prods";
#wrapper {
position: absolute;
... ...
... ... @@ -13,24 +13,4 @@
color: #b0b0b0;
text-align: center;
}
.more-good {
padding: 0 0 0 30rem / $pxConvertRem;
margin: 0 0 0 -15rem / $pxConvertRem;
line-height: 88rem / $pxConvertRem;
border-top: 1px solid #e0e0e0;
a {
text-decoration: none;
color: #444;
font-size: 30rem / $pxConvertRem;
}
i {
float: right;
margin: 0 30rem / $pxConvertRem 0 0;
font-size: 28rem / $pxConvertRem;
color: #b0b0b0
}
}
}
\ No newline at end of file
... ...
{{#moreProds}}
<div class="more-good clearfix">
<a href="{{.}}">
更多商品
<i class="iconfont">&#xe604;</i>
</a>
</div>
{{/moreProds}}
\ No newline at end of file
... ...
{{# recommendation}}
<div class="article-type-five clearfix">
<h2>相关推荐</h2>
<div class="good-list clearfix">
{{# list}}
{{> common/good_info}}
{{/ list}}
</div>
<div class="more-good clearfix">
<a href="{{moreProds}}">
更多商品
<i class="iconfont">&#xe604;</i>
</a>
</div>
<h2>相关推荐</h2>
<div class="good-list clearfix">
{{# list}}
{{> common/good_info}}
{{/ list}}
</div>
</div>
{{/ recommendation}}
... ...
... ... @@ -6,5 +6,6 @@
{{> saunter/article_type_three}}
{{> saunter/article_type_four}}
{{> saunter/article_type_five}}
{{> common/more_prods}}
{{/ content}}
{{/ article}}
\ No newline at end of file
... ...