Authored by 李奇

fixed: 点击“申请售后”按钮,弹框选择页面多一条横线、点击“申请售后”按钮,弹框中的”在线客服“去掉

@@ -6,6 +6,7 @@ @@ -6,6 +6,7 @@
6 'use strict'; 6 'use strict';
7 7
8 const api = global.yoho.API; 8 const api = global.yoho.API;
  9 +const singleAPI = global.yoho.SingleAPI;
9 10
10 /** 11 /**
11 * 商品详情 12 * 商品详情
@@ -84,7 +85,7 @@ const model = { @@ -84,7 +85,7 @@ const model = {
84 * @param params 85 * @param params
85 */ 86 */
86 isFavorite(params) { 87 isFavorite(params) {
87 - return api.get('/favorite', Object.assign({ 88 + return singleAPI.get('/favorite', Object.assign({
88 method: 'app.favorite.isFavoriteNew' 89 method: 'app.favorite.isFavoriteNew'
89 }, params)); 90 }, params));
90 }, 91 },
@@ -22,8 +22,6 @@ @@ -22,8 +22,6 @@
22 } 22 }
23 23
24 .item-del { 24 .item-del {
25 - margin-top: 20px;  
26 - border-top: 1px solid #e0e0e0;  
27 color: #5c99e4; 25 color: #5c99e4;
28 } 26 }
29 } 27 }
@@ -72,7 +72,7 @@ @@ -72,7 +72,7 @@
72 </a> 72 </a>
73 <a class="glist-item" @click="manageAddress" v-else> 73 <a class="glist-item" @click="manageAddress" v-else>
74 地址管理 74 地址管理
75 - <span class="num"><span class="icon icon-right"></span></span> 75 + <span class="num">{{data.address_num}} <span class="icon icon-right"></span></span>
76 </a> 76 </a>
77 </div> 77 </div>
78 <div class="group-list"> 78 <div class="group-list">
@@ -143,12 +143,7 @@ @@ -143,12 +143,7 @@
143 val: this.order.is_support_exchange === 'Y' ? '申请换货' : '申请换货(已过期限)', 143 val: this.order.is_support_exchange === 'Y' ? '申请换货' : '申请换货(已过期限)',
144 url: '/me/return/exchange?orderCode=' + this.order.order_code, 144 url: '/me/return/exchange?orderCode=' + this.order.order_code,
145 disabled: this.order.is_support_exchange !== 'Y' 145 disabled: this.order.is_support_exchange !== 'Y'
146 - }, {  
147 - key: 'onlineService',  
148 - val: '在线客服',  
149 - url: '/me/service'  
150 - }  
151 - ]); 146 + }]);
152 } else if (result.code !== 500) { 147 } else if (result.code !== 500) {
153 tip(result.message); 148 tip(result.message);
154 } else { 149 } else {