Commit e03e86ac0d92387a85742bb2926868e1f4c15a17
1 parent
e66dfe12
小票码 加载提示
Showing
3 changed files
with
8 additions
and
7 deletions
src/components/dynCodePay.vue
... | ... | @@ -56,7 +56,7 @@ |
56 | 56 | |
57 | 57 | // let Base64 = require('js-base64').Base64 |
58 | 58 | |
59 | -import {aliPay, getOpenId, vxPayQuery, bankH5Pay} from '@/api/orderPay/orderPay' | |
59 | +import { aliPay, getOpenId, vxPayQuery, bankH5Pay } from '@/api/orderPay/orderPay' | |
60 | 60 | |
61 | 61 | export default { |
62 | 62 | name: 'dynCodePay', |
... | ... | @@ -96,17 +96,17 @@ export default { |
96 | 96 | this.orderId = this.$route.query.orderId |
97 | 97 | // console.log(this.orderId) |
98 | 98 | // this.appOrderTimeout = this.$route.query.appOrderTimeout |
99 | + this.urlAppid = this.$route.query.appId | |
99 | 100 | if (this.clientBrowser == "微信") { |
100 | 101 | this.webAppCode = this.getCode(); |
101 | 102 | } |
102 | 103 | |
103 | - this.urlAppid = this.$route.query.appId | |
104 | 104 | }, |
105 | 105 | methods: { |
106 | 106 | getCode() { |
107 | 107 | |
108 | 108 | var appID = this.urlAppid; |
109 | - // alert(appID) | |
109 | + | |
110 | 110 | var code = this.getUrlParam('code'); |
111 | 111 | var local = window.location.href; |
112 | 112 | if (code == null || code === '') { |
... | ... | @@ -229,7 +229,7 @@ export default { |
229 | 229 | if (res.code == 0) { |
230 | 230 | me.vxPay(res.data, this.orderId) |
231 | 231 | } else if (res.code == 40163) { //code been used, hints[重复code问题] |
232 | - me.$msgbox('提示', '请重新扫码') | |
232 | + me.$msgbox('提示', '请重新扫码code重复') | |
233 | 233 | console.log(res.message); |
234 | 234 | } else { |
235 | 235 | me.$msgbox('提示', '请重新扫码') |
... | ... | @@ -273,7 +273,7 @@ export default { |
273 | 273 | } |
274 | 274 | } else { |
275 | 275 | console.log(res.message); |
276 | - vm.$msgbox('提示', res.message) | |
276 | + vm.$msgbox('提示', '支付失败') | |
277 | 277 | } |
278 | 278 | }) |
279 | 279 | }, |
... | ... | @@ -313,6 +313,7 @@ export default { |
313 | 313 | .car-wrap { |
314 | 314 | padding: 7px 7px; |
315 | 315 | background: #FFF; |
316 | + color: #fff; | |
316 | 317 | } |
317 | 318 | |
318 | 319 | .carBG { | ... | ... |
src/components/plateNumber.vue
src/utils/request.js
... | ... | @@ -13,7 +13,7 @@ const service = axios.create({ |
13 | 13 | |
14 | 14 | // https://dev.renniting.cn/pay/ 赤峰农行测试环境 |
15 | 15 | |
16 | - baseURL: 'https://dev.renniting.cn/pay/', // url = base url + request url | |
16 | + baseURL: 'https://pay.service.renniting.cn/', // url = base url + request url | |
17 | 17 | // withCredentials: true, // send cookies when cross-domain requests |
18 | 18 | timeout: 6000 // request timeout |
19 | 19 | }) | ... | ... |