Authored by 梁志锋

Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop

@@ -9,6 +9,8 @@ var $userAvatar = $('.user-avatar'), @@ -9,6 +9,8 @@ var $userAvatar = $('.user-avatar'),
9 var myImage = new Image(); 9 var myImage = new Image();
10 10
11 require('../product/recommend-for-you.js'); 11 require('../product/recommend-for-you.js');
  12 +require('../product/suspend-cart.js');
  13 +
12 myImage.src = $userAvatar.attr('src'); 14 myImage.src = $userAvatar.attr('src');
13 myImage.onerror = function() { 15 myImage.onerror = function() {
14 $userAvatar.attr('src', 'http://static.dev.yohobuy.com/img/me/index/user-avatar.png'); 16 $userAvatar.attr('src', 'http://static.dev.yohobuy.com/img/me/index/user-avatar.png');
@@ -28,7 +28,12 @@ @@ -28,7 +28,12 @@
28 } 28 }
29 29
30 .username { 30 .username {
  31 + float: left;
31 padding: 0 pxToRem(16px); 32 padding: 0 pxToRem(16px);
  33 + text-overflow: ellipsis;
  34 + overflow: hidden;
  35 + white-space: nowrap;
  36 + max-width: pxToRem(290px);
32 } 37 }
33 38
34 .vip-icon { 39 .vip-icon {
@@ -389,3 +389,4 @@ $basicBtnC:#eb0313; @@ -389,3 +389,4 @@ $basicBtnC:#eb0313;
389 } 389 }
390 @import "comments-consults"; 390 @import "comments-consults";
391 @import "product-description"; 391 @import "product-description";
  392 +
1 .good-detail-page{ 1 .good-detail-page{
2 .goods-desc { 2 .goods-desc {
3 .service { 3 .service {
4 - width: pxToRem(489px); 4 + width: pxToRem(494px);
5 height: pxToRem(28px); 5 height: pxToRem(28px);
6 margin-top: pxToRem(22px); 6 margin-top: pxToRem(22px);
  7 + margin-left: pxToRem(40px);
  8 + background: image-url('product/service.png') no-repeat;
  9 + background-size: cover;
7 } 10 }
8 .detail{ 11 .detail{
9 background-color: $tableCellC; 12 background-color: $tableCellC;
@@ -102,5 +102,8 @@ @@ -102,5 +102,8 @@
102 </div> 102 </div>
103 103
104 {{> product/recommend-for-you}} 104 {{> product/recommend-for-you}}
  105 + {{> product/suspend-cart}}
105 </div> 106 </div>
  107 +
  108 +{{> layout/download_app}}
106 {{> layout/footer}} 109 {{> layout/footer}}
@@ -210,6 +210,7 @@ @@ -210,6 +210,7 @@
210 {{#if myIndexPage}} 210 {{#if myIndexPage}}
211 <script> 211 <script>
212 seajs.use('js/me/index'); 212 seajs.use('js/me/index');
  213 + seajs.use('js/index/footer');
213 </script> 214 </script>
214 {{/if}} 215 {{/if}}
215 {{#if orderPage}} 216 {{#if orderPage}}
1 {{#goodsDescription}} 1 {{#goodsDescription}}
2 <div class="goods-desc page-block"> 2 <div class="goods-desc page-block">
3 - <img class="service lazy" data-original="http://static.dev.yohobuy.com/img/product/service.png" alt=""> 3 + <div class="service"></div>
4 <h1 class="title"> 4 <h1 class="title">
5 {{title}} 5 {{title}}
6 <span class="en-title">{{enTitle}}</span> 6 <span class="en-title">{{enTitle}}</span>
@@ -51,6 +51,7 @@ class HomeController extends AbstractAction @@ -51,6 +51,7 @@ class HomeController extends AbstractAction
51 51
52 $data = array( 52 $data = array(
53 'myIndexPage' => true, 53 'myIndexPage' => true,
  54 + 'showDownloadApp' => true,
54 'pageFooter' => true 55 'pageFooter' => true
55 ); 56 );
56 $uid = $this->getUid(); 57 $uid = $this->getUid();
@@ -323,7 +324,7 @@ class HomeController extends AbstractAction @@ -323,7 +324,7 @@ class HomeController extends AbstractAction
323 324
324 $this->_view->display('online-service', array( 325 $this->_view->display('online-service', array(
325 'onlineServicePage' => true, 326 'onlineServicePage' => true,
326 - // 'pageFooter' => true, 327 + 'pageFooter' => true,
327 'service' => $service 328 'service' => $service
328 )); 329 ));
329 } 330 }