Commit 0cd57fc25a100c5ff8b42e6bc3c83f8fd408bd54
1 parent
76110af1
实物商品积分加现金type=2
Showing
1 changed file
with
3 additions
and
3 deletions
src/pages/goodDetails/goodDetails.vue
| @@ -207,13 +207,13 @@ export default { | @@ -207,13 +207,13 @@ export default { | ||
| 207 | jumpOrderDes (item) { | 207 | jumpOrderDes (item) { |
| 208 | // 判断APP内 | 208 | // 判断APP内 |
| 209 | if (this.isCNLive.value) { | 209 | if (this.isCNLive.value) { |
| 210 | - // (判断app内是否有该方法) | 210 | + // (判断app内是否有该方法)type=2为积分加现金模式 |
| 211 | if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.jumpOrderDes) { | 211 | if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.jumpOrderDes) { |
| 212 | // 跳转到原生的任务列表 | 212 | // 跳转到原生的任务列表 |
| 213 | - window.webkit.messageHandlers.jumpOrderDes.postMessage({ body: { orderId: item.id, type: 1 } }) | 213 | + window.webkit.messageHandlers.jumpOrderDes.postMessage({ body: { orderId: item.id, type: 2 } }) |
| 214 | } else if (window.obj && window.obj.jumpOrderDes) { | 214 | } else if (window.obj && window.obj.jumpOrderDes) { |
| 215 | // 跳转到原生的任务列表 | 215 | // 跳转到原生的任务列表 |
| 216 | - window.obj.jumpOrderDes(JSON.stringify({ orderId: item.id, type: 1 })); | 216 | + window.obj.jumpOrderDes(JSON.stringify({ orderId: item.id, type: 2 })); |
| 217 | } | 217 | } |
| 218 | } | 218 | } |
| 219 | }, | 219 | }, |