diff --git a/high-unionPay/Utils/Api.js b/high-unionPay/Utils/Api.js index 01c77f8..d84af82 100644 --- a/high-unionPay/Utils/Api.js +++ b/high-unionPay/Utils/Api.js @@ -177,7 +177,10 @@ export const unionPay = params => { export const orderToUnionPayphone = params => { return POST('POST', `${base}/outRechargeOrder/orderToUnionPay`, params).then(res => res.data); } - +//银联查询详情接口 +export const paygetOrderById = params => { + return POST('GET', `${base}/outRechargeOrder/getOrderById`, params).then(res => res.data); +} /** * 工会卡 diff --git a/high-unionPay/pages.json b/high-unionPay/pages.json index 9c300be..28b0e5b 100644 --- a/high-unionPay/pages.json +++ b/high-unionPay/pages.json @@ -511,6 +511,15 @@ } + ,{ + "path" : "pages/unionPay/unionorder-des/unionorder-des", + "style" : + { + "navigationBarTitleText": "充值详情", + "enablePullDownRefresh": false + } + + } ], "subpackages": [{ "root": "subPages", diff --git a/high-unionPay/pages/unionPay/unionPay-entrance/unionPay-entrance.vue b/high-unionPay/pages/unionPay/unionPay-entrance/unionPay-entrance.vue index 2dff50c..5b642f5 100644 --- a/high-unionPay/pages/unionPay/unionPay-entrance/unionPay-entrance.vue +++ b/high-unionPay/pages/unionPay/unionPay-entrance/unionPay-entrance.vue @@ -37,7 +37,7 @@ methods: { //跳转充值 jumprecharge(item) { - if (!app.globalData.latitude) { + if (app.globalData.latitude) { this.hqaddress(item); return; } diff --git a/high-unionPay/pages/unionPay/unionorder-des/unionorder-des.vue b/high-unionPay/pages/unionPay/unionorder-des/unionorder-des.vue new file mode 100644 index 0000000..6427002 --- /dev/null +++ b/high-unionPay/pages/unionPay/unionorder-des/unionorder-des.vue @@ -0,0 +1,467 @@ + + + + + diff --git a/high-unionPay/subPages/unionPay-orderList/unionPay-orderList.vue b/high-unionPay/subPages/unionPay-orderList/unionPay-orderList.vue index 8924a3c..87e25e9 100644 --- a/high-unionPay/subPages/unionPay-orderList/unionPay-orderList.vue +++ b/high-unionPay/subPages/unionPay-orderList/unionPay-orderList.vue @@ -12,7 +12,7 @@ - + @@ -173,6 +173,12 @@ } this.getUserOrderListhuafei(); }, + //跳转详情 + jumpuniondes(item){ + uni.navigateTo({ + url:'../../pages/unionPay/unionorder-des/unionorder-des?id='+item.id + }) + } } }