Authored by 郭成尧

style-adjust

@@ -134,7 +134,7 @@ const index = (params) => { @@ -134,7 +134,7 @@ const index = (params) => {
134 134
135 if (result[2] && result[2].data) { 135 if (result[2] && result[2].data) {
136 Object.assign(finalResult, { 136 Object.assign(finalResult, {
137 - productFavoriteTotal: result[2].data.product_favorite_total 137 + productFavoriteTotal: result[2].data.product_favorite_total || '0'
138 }); 138 });
139 } 139 }
140 140
@@ -146,8 +146,8 @@ const index = (params) => { @@ -146,8 +146,8 @@ const index = (params) => {
146 yohoCoinNum: result[3].data.yoho_coin_num, 146 yohoCoinNum: result[3].data.yoho_coin_num,
147 inboxTotal: result[3].data.inbox_total, 147 inboxTotal: result[3].data.inbox_total,
148 couponNum: result[3].data.coupon_num, 148 couponNum: result[3].data.coupon_num,
149 - brandFavoriteTotal: result[3].data.brand_favorite_total,  
150 - productBrowse: result[3].data.product_browse 149 + brandFavoriteTotal: result[3].data.brand_favorite_total || '0',
  150 + productBrowse: result[3].data.product_browse || '0'
151 }); 151 });
152 } 152 }
153 153
@@ -48,8 +48,10 @@ @@ -48,8 +48,10 @@
48 </a> 48 </a>
49 {{/notice}} 49 {{/notice}}
50 </div> 50 </div>
  51 + <div class="my-order">
  52 + {{^}}
  53 + <div class="my-order my-order-top">
51 {{/if}} 54 {{/if}}
52 - <div class="my-order">  
53 <a class="order-title" href="/home/orders"> 55 <a class="order-title" href="/home/orders">
54 我的订单 56 我的订单
55 <span class="iconfont"> 57 <span class="iconfont">