fixed: 点击“申请售后”按钮,弹框选择页面多一条横线、点击“申请售后”按钮,弹框中的”在线客服“去掉
Showing
4 changed files
with
4 additions
and
10 deletions
@@ -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 | }, |
@@ -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 { |
-
Please register or login to post a comment