Authored by 郭成尧

Merge branch 'feature/sale' of git.yoho.cn:fe/yohobuy-node into feature/sale

 the commit.
... ... @@ -584,11 +584,11 @@ exports.outletBanner = () => {
center: [
{
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/700/h/500'
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/860/h/450'
},
{
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/700/h/500'
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/860/h/450'
}
],
... ...
... ... @@ -13,14 +13,6 @@
</li>
{{/ center}}
</ul>
<div class="slide-switch">
<a class="prev" href="javascript:;">
<span class="iconfont">&#xe60c;</span>
</a>
<a class="next" href="javascript:;">
<span class="iconfont">&#xe60b;</span>
</a>
</div>
</div>
<div class="right-col col">
{{# right}}
... ...
... ... @@ -17,7 +17,9 @@ if (homePage === 'boys') {
pagination: '.thumb-pagination'
});
} else {
$('.center-col').slider();
$('.center-col').slider({
orient: false // 左右切换箭头的显示
});
$('.slide-container').slider();
}
... ...
... ... @@ -232,5 +232,5 @@ a {
@import "plugin/slider";
/* 模块 */
@import "product/index";
@import "index/index";
@import "product/index";
... ...
... ... @@ -182,6 +182,7 @@
display: block;
}
}
.right-col a {
&:last-child {
margin-bottom: 0;
... ... @@ -198,6 +199,7 @@
width: 860px;
height: 450px;
font-size: 0;
margin-right: 0;
&:hover {
.slide-switch.show {
... ... @@ -213,17 +215,6 @@
}
}
.slide-switch {
a.prev {
left: 0;
margin-left: 0;
}
a.next {
right: 0;
margin-right: 0;
}
}
img {
max-width: 100%;
max-height: 100%;
... ... @@ -236,6 +227,7 @@
}
.right-col a:first-child {
margin-bottom: 0;
height: 180px;
}
}
... ...