Authored by 郭成尧

guang-style

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