From fdbeef899e739c32aa22265d0bd5bc36dc9635f6 Mon Sep 17 00:00:00 2001
From: Wik-T <812952667@qq.com>
Date: Fri, 25 Mar 2022 09:32:20 +0800
Subject: [PATCH] =?UTF-8?q?1.=E6=96=B0=E5=A2=9E=E5=88=86=E6=9C=9F=E6=94=AF?=
=?UTF-8?q?=E4=BB=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
high-unionPay/App.vue | 16 +++---
high-unionPay/Utils/Api.js | 5 ++
high-unionPay/pages.json | 18 +++++-
high-unionPay/pages/order/confirmation.vue | 28 ++++++++--
high-unionPay/pages/pay/payment/payment.vue | 17 ++++--
.../tabBar/order/stagesUrl/stagesUrl.vue | 55 +++++++++++++++++++
6 files changed, 119 insertions(+), 20 deletions(-)
create mode 100644 high-unionPay/pages/tabBar/order/stagesUrl/stagesUrl.vue
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 @@
+
+
+
+
+
+
+
+
+