Authored by 郭成尧

guang-style

... ... @@ -245,7 +245,7 @@ const index = (req, res, next) => {
// 标识有微信分享
data.hasWxShare = true;
let resu = aboutModel.about(req.yoho.isApp);
let resu = yield aboutModel.about(req.yoho.isApp);
data.guang.wxFooter = resu;
res.render('info/index', Object.assign({
... ...
... ... @@ -4,10 +4,10 @@
</a>
<div class="content-container">
<p class="reco-name">
<a href="{{url}}"><span>{{product_name}}</span> </a>
<a href="{{url}}"><span>{{product_name}}</span></a>
</p>
<p class="price">
<a href="{{url}}"><span class="sale-price">&yen;{{sales_price}}</span>
<a href="{{url}}"><span class="sale-price">&yen;{{sales_price}}</span></a>
</p>
{{#unless isApp}}
<p>
... ...
... ... @@ -301,9 +301,9 @@ $('.wei-share').on('touchend', function(e) {
lazyLoad($('.lazy'));
// title mlellipsis
$('.info-list .title, .one-good .reco-name').each(function() {
this.mlellipsis(2);
});
// $('.info-list .title, .one-good .reco-name').each(function() {
// this.mlellipsis(2);
// });
// offset.left约等于marginLeft的值则表示介绍被换行,则清除intro的paddingTop让其更靠近头像和作者名
if ($authorIntro.offset() && (parseInt($authorIntro.offset().left, 10) ===
... ...
... ... @@ -405,6 +405,10 @@ $focus-size: 42px;
overflow: hidden;
}
.related-reco {
padding-bottom: 10px;
}
.related-reco > .related-reco-more {
width: 230px;
height: 40px;
... ...