Authored by ccbikai

个人中心增加购物车

@@ -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');
@@ -102,5 +102,6 @@ @@ -102,5 +102,6 @@
102 </div> 102 </div>
103 103
104 {{> product/recommend-for-you}} 104 {{> product/recommend-for-you}}
  105 + {{> product/suspend-cart}}
105 </div> 106 </div>
106 {{> layout/footer}} 107 {{> layout/footer}}