diff --git a/high-unionPay/App.vue b/high-unionPay/App.vue index 2a07c1c..6eb9eb9 100644 --- a/high-unionPay/App.vue +++ b/high-unionPay/App.vue @@ -5,15 +5,15 @@ // brestUrl: 'http://192.168.3.4:9302/brest', // imgUrl: 'https://192.168.3.4:9301/filesystem/', //正式 - // url: 'https://hsg.dctpay.com/crest', - // imgUrl: 'https://hsg.dctpay.com/filesystem/', - // brestUrl : 'https://hsg.dctpay.com/brest', - // imageWxImg:'https://hsg.dctpay.com/filesystem/wxApplets/', + url: 'https://hsg.dctpay.com/crest', + imgUrl: 'https://hsg.dctpay.com/filesystem/', + brestUrl : 'https://hsg.dctpay.com/brest', + imageWxImg:'https://hsg.dctpay.com/filesystem/wxApplets/', //测试 - url: 'https://hsgcs.dctpay.com/crest', - brestUrl : 'https://hsgcs.dctpay.com/brest', - imgUrl: 'https://hsgcs.dctpay.com/filesystem/', - imageWxImg:'https://hsgcs.dctpay.com/filesystem/wxApplets/', + // url: 'https://hsgcs.dctpay.com/crest', + // brestUrl : 'https://hsgcs.dctpay.com/brest', + // imgUrl: 'https://hsgcs.dctpay.com/filesystem/', + // imageWxImg:'https://hsgcs.dctpay.com/filesystem/wxApplets/', userInfo: "", brestUserInfo : '', openId: '', diff --git a/high-unionPay/Utils/Api.js b/high-unionPay/Utils/Api.js index 05de253..aa7f45e 100644 --- a/high-unionPay/Utils/Api.js +++ b/high-unionPay/Utils/Api.js @@ -205,6 +205,11 @@ export const orderToUnionPayphone = params => { export const paygetOrderById = params => { return POST('GET', `${base}/outRechargeOrder/getOrderById`, params).then(res => res.data); } +//银联分期支付 +export const unionStagingPay = params => { + return POST('POST', `${base}/order/unionStagingPay`, params).then(res => res.data); +} + //获取设置用户参数 export const getCacheParam = params => { return POST('GET', `${base}/highUser/getCacheParam`, params).then(res => res.data); diff --git a/high-unionPay/pages.json b/high-unionPay/pages.json index 7c64aad..dcd62e5 100644 --- a/high-unionPay/pages.json +++ b/high-unionPay/pages.json @@ -518,7 +518,23 @@ } } - ], + ,{ + "path" : "pages/tabBar/order/stagesUrl/stagesUrl", + "style" : + { + "navigationBarTextStyle": "white", + "navigationBarTitleText": "", + "navigationBarBackgroundColor": "#0083f5", + "backgroundColorTop": "#0083f5", + "onReachBottomDistance": 50, + "app-plus": { + "titleNView": false, //禁用原生导航栏 + "softinputNavBar": "none" + } + } + + } + ], "subpackages": [{ "root": "subPages", "pages": [{ diff --git a/high-unionPay/pages/order/confirmation.vue b/high-unionPay/pages/order/confirmation.vue index bcea6b0..cb206bc 100644 --- a/high-unionPay/pages/order/confirmation.vue +++ b/high-unionPay/pages/order/confirmation.vue @@ -114,6 +114,18 @@ + + + + 银联分期 + + + + + + + @@ -129,6 +130,10 @@ that.$refs.paymentPassword.modalFun('show'); } else if (that.paytype == 'gonghuika') { that.unionPay(); + } else if (that.paytype == 'unionPaystags') { + uni.navigateTo({ + url: '../../tabBar/order/stagesUrl/stagesUrl?orderid=' + that.orderNo + }) } else { uni.showToast({ title: '请选择支付方式', diff --git a/high-unionPay/pages/tabBar/order/stagesUrl/stagesUrl.vue b/high-unionPay/pages/tabBar/order/stagesUrl/stagesUrl.vue new file mode 100644 index 0000000..52eea80 --- /dev/null +++ b/high-unionPay/pages/tabBar/order/stagesUrl/stagesUrl.vue @@ -0,0 +1,55 @@ + + + + +