From edac09be82b9de5bd278ecc460237777cf6c812d Mon Sep 17 00:00:00 2001
From: Wik-T <812952667@qq.com>
Date: Fri, 10 Jun 2022 14:51:19 +0800
Subject: [PATCH] =?UTF-8?q?1.=E6=96=B0=E5=A2=9E=E8=AF=9D=E8=B4=B9=E7=A7=AF?=
=?UTF-8?q?=E5=88=86=E6=8A=B5=E6=89=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
high-unionPay/Utils/Api.js | 4 -
.../recharge-centre/recharge-centre.vue | 86 ++-----------------
.../unionComfirmation/unionComfirmation.vue | 22 ++---
3 files changed, 20 insertions(+), 92 deletions(-)
diff --git a/high-unionPay/Utils/Api.js b/high-unionPay/Utils/Api.js
index 1a4dbd9..511f54b 100644
--- a/high-unionPay/Utils/Api.js
+++ b/high-unionPay/Utils/Api.js
@@ -234,10 +234,6 @@ export const orderToUnionPay = params => {
export const findById = params => {
return POST('GET', `${base}/outRechargePrice/findById`, params).then(res => res.data);
}
-//银联查询详情接口
-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);
diff --git a/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue b/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue
index d83693a..8f388a4 100644
--- a/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue
+++ b/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue
@@ -28,82 +28,11 @@
充值说明:
-
-
- 1:
-
- 此业务为话费慢充。日常5个工作日内到账,如遇月初、月末运营商高峰期或系统更新,到账时间会有一定延迟,敬请谅解。充值失败后系统会自动为您退款至原账户。急单请选择“6小时到账”充值端口,感谢您的支持!
-
-
-
- 2:
- 慢充话费与营业厅充值一样,只是到账时间稍长。充值过程中可能出现分批到账的情况,但是总金额不会少,请耐心等待。
-
-
- 3:
-
- 目前仅支持(移动、联通、电信三网号段),运营商黑名单号码(长期欠费或非实名制认证)携号转网空号、虚拟卡(如165167170171162等等虚拟号段)副卡号码或做过某些特殊套餐绑定的卡暂不支持充值,请勿下单。
-
-
-
- 4:
- 停机号码需要额外补缴欠费后,慢充话费才能到账。此服务为虚拟充值类服务,无特殊情况不支持退款,下单前请确认充值的号码无误。
-
-
- 5:
- 空号、错号充值后不支持退款,请您务必核对确认号码无误后再进行充值。非空号欠费可充,欠费1个月导致空号的不能充值,损失自负无法退款。
-
-
-
- 6:
- 本充值业务不提供发票。如需发票请在运营商手机客户端储开取电子发票,也可以凭身份证到运营商实体营业厅打印发票。
-
-
- 7:
- 如遇系统维护充值失败,将72小时后原路退款到付款账户。
-
-
- 8:
- 请登录所属运营商app(手机营业厅)查看充值号码的到账情况,如金额有出入或未到账,请截图充值记录明细反馈给客服。录明细反馈给客服。
-
-
-
-
- 1:
-
- 充值后6小时内到账,请耐心等待;如遇月初、月末运营商充值压力大,充值失败后,系统会为您自动再提交一次,如二次充值仍然失败,系统将会自动为您退款至原账户,请悉知。
-
-
-
- 2:
-
- 目前仅支持(移动、联通、电信三网号段),运营商黑名单号码(长期欠费或非实名制认证)携号转网空号、虚拟卡(如165167170171162等等虚拟号段)副卡号码或做过某些特殊套餐绑定的卡暂不支持充值,请勿下单。
-
-
-
- 3:
- 停机号码需要额外补缴欠费后,慢充话费才能到账。此服务为虚拟充值类服务,无特殊情况不支持退款,下单前请确认充值的号码无误。
-
-
- 4:
- 空号、错号充值后不支持退款,请您务必核对确认号码无误后再进行充值。非空号欠费可充,欠费1个月导致空号的不能充值,损失自负无法退款。
-
-
- 5:
- 本充值业务不提供发票。如需发票请在运营商手机客户端储开取电子发票,也可以凭身份证到运营商实体营业厅打印发票。
-
-
- 6:
- 如遇系统维护充值失败,将72小时后原路退款到付款账户。
-
-
-
- 7:
- 请登录所属运营商app(手机营业厅)查看充值号码的到账情况,如金额有出入或未到账,请截图充值记录明细反馈给客服。录明细反馈给客服。
-
+
+
+
+
+
@@ -137,7 +66,10 @@
amoutstatus: '',
tabs: ["5个工作日", "6小时到账"], //切换操作
current: 0, //默认
- swiperCurrent: 2
+ swiperCurrent: 2,
+ imagewxUrl: app.globalData.imageWxImg,
+ image1:'telephone1.png',
+ image2:'telephone2.png'
}
},
onLoad(options) {
diff --git a/high-unionPay/pages/unionPay/unionComfirmation/unionComfirmation.vue b/high-unionPay/pages/unionPay/unionComfirmation/unionComfirmation.vue
index 6ecfcfe..8e13fdd 100644
--- a/high-unionPay/pages/unionPay/unionComfirmation/unionComfirmation.vue
+++ b/high-unionPay/pages/unionPay/unionComfirmation/unionComfirmation.vue
@@ -304,7 +304,6 @@
this.rechangeload();
if (this.memDiscountId == item.id) { // 如果已经选中,则取消选中
this.memDiscountId = '';
- this.reload();
this.deductionPrice = '0.00';
this.priceCaluc(this.saveprice);
@@ -338,16 +337,17 @@
let pprice = parseFloat(item * 100).toFixed(0);
let payprice = parseFloat(item * 100 * zkprice).toFixed(0);
if (payprice > this.user.gold) {
- this.availIntegal = this.user.gold;
- if (this.availIntegal < this.priceValue[1]) {
- this.priceValue[1] = this.user.gold;
- this.reload();
- }
+ this.availIntegal = this.user.gold;
+ this.priceValue[1] = 0;
+ // if (this.availIntegal < this.priceValue[1]) {
+ // this.priceValue[1] = this.user.gold;
+ // this.reload();
+ // }
} else {
this.availIntegal = payprice;
this.priceValue[1] = 0;
- this.reload();
- }
+ }
+ this.reload();
this.calculatepayPrice();
},
//计算支付价格
@@ -419,7 +419,7 @@
}
orderToUnionPay(params).then(res => {
if (res.return_code == '000000') {
- this.uniontopay(res.return_data.prepayid);
+ this.uniontopay(res.return_data.prepayid,item);
} else {
uni.showToast({
title: res.return_msg,
@@ -496,7 +496,7 @@
})
},
//银联支付
- uniontopay(item) {
+ uniontopay(item,item1) {
let that = this;
upsdk.pluginReady(function() {
upsdk.pay({
@@ -507,7 +507,7 @@
})
uni.reLaunch({
url: '../Phone-recharge-details/Phone-recharge-details?id=' +
- that.orderId
+ item1
})
},
fail: function(err) {