Authored by 郭成尧

Merge branch 'release/4.6' of git.yoho.cn:fe/yohobuy-node into release/4.6

... ... @@ -30,7 +30,7 @@ router.get('/sale/newSale', sale.newSale); // 最新降价
router.get('/sale/goods', sale.getGoodsList); // ajax 获取商品列表
// 奥特莱斯routers
router.get('/outlets/index', outlets.index);
router.get('/outlets', outlets.index);
router.get('/outlets/special/detail', outlets.special);
router.get('/outlets/list', outlets.list); // 奥莱品类页
router.get('/outlets/:channel', outlets.channel);
... ...
/**
* sale页面
* @author: da<abel.wang@yoho.cn>
* @date: 2016/05/31
*/
var $ = require('yoho-jquery'),
lazyLoad = require('yoho-jquery-lazyload'),
product = require('./index/product');
... ... @@ -37,7 +42,7 @@ function getNaviData(items) {
goodItems.html('');
goodItems.append(res);
lazyLoad($('img.lazy'));
lazyLoad(items.closest('.sale-box').find('.lazy'));
});
}
... ...
... ... @@ -437,6 +437,12 @@
}
.good-info {
.good-detail-img {
width: 100%;
height: 100%;
position: relative;
}
.good-detail-text {
> a {
... ... @@ -551,6 +557,13 @@
margin-top: 5px;
text-align: center;
}
.market-price {
text-decoration: line-through;
margin-right: 15px;
color: #444;
font-weight: bold;
}
}
}
}
... ...
... ... @@ -189,7 +189,20 @@
.good-detail-text {
> .price {
margin-top: 5px;
text-align: center;
font-weight: bold;
}
.vip-1 {
float: left;
margin-top: -3px;
}
.vip-2 {
float: left;
margin-top: -3px;
}
.vip-3 {
float: left;
margin-top: -3px;
}
}
}
... ...