From 096508562efd08cdf97111506638a2a603772a94 Mon Sep 17 00:00:00 2001
From: Wik-T <812952667@qq.com>
Date: Wed, 1 Mar 2023 18:02:34 +0800
Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E8=AF=9D=E8=B4=B9=E6=94=AF?=
=?UTF-8?q?=E4=BB=98=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
high-unionPay/App.vue | 43 +-
high-unionPay/Utils/Api.js | 4 +
.../goods/refuel-confirm/refuel-confirm.vue | 12 +-
high-unionPay/pages/tabBar/home/home.vue | 3 +-
.../recharge-centre/recharge-centre.vue | 421 +++++++++++++-----
high-unionPay/static/img/tongz.png | Bin 0 -> 1576 bytes
high-unionPay/uni.scss | 7 +
7 files changed, 347 insertions(+), 143 deletions(-)
create mode 100644 high-unionPay/static/img/tongz.png
diff --git a/high-unionPay/App.vue b/high-unionPay/App.vue
index 65c36aa..119003f 100644
--- a/high-unionPay/App.vue
+++ b/high-unionPay/App.vue
@@ -5,23 +5,23 @@
// brestUrl: 'http://192.168.3.4:9302/brest',
// imgUrl: 'https://192.168.3.4:9301/filesystem/',
//正式
- url: 'https://hsg.dctpay.com/crest',
- v1url:'https://hsg.dctpay.com/v1',
- orderurl:' https://hsg.dctpay.com/order',
- userurl:'https://hsg.dctpay.com/user',
- imgUrl: 'https://hsg.dctpay.com/filesystem/',
- brestUrl: 'https://hsg.dctpay.com/brest',
- imageWxImg: 'https://hsg.dctpay.com/filesystem/wxApplets/',
- imageqrImg: 'https://hsg.dctpay.com/filesystem/temporary/',
+ // url: 'https://hsg.dctpay.com/crest',
+ // v1url:'https://hsg.dctpay.com/v1',
+ // orderurl:' https://hsg.dctpay.com/order',
+ // userurl:'https://hsg.dctpay.com/user',
+ // imgUrl: 'https://hsg.dctpay.com/filesystem/',
+ // brestUrl: 'https://hsg.dctpay.com/brest',
+ // imageWxImg: 'https://hsg.dctpay.com/filesystem/wxApplets/',
+ // imageqrImg: 'https://hsg.dctpay.com/filesystem/temporary/',
//测试
- // url: 'https://hsgcs.dctpay.com/crest',
- // v1url: 'https://hsgcs.dctpay.com/v1',
- // orderurl:'https://hsgcs.dctpay.com/order',
- // userurl:'https://hsgcs.dctpay.com/user',
- // brestUrl: 'https://hsgcs.dctpay.com/brest',
- // imgUrl: 'https://hsgcs.dctpay.com/filesystem/',
- // imageWxImg: 'https://hsgcs.dctpay.com/filesystem/wxApplets/',
- // imageqrImg: 'https://hsgcs.dctpay.com/filesystem/temporary/',
+ url: 'https://hsgcs.dctpay.com/crest',
+ v1url: 'https://hsgcs.dctpay.com/v1',
+ orderurl:'https://hsgcs.dctpay.com/order',
+ userurl:'https://hsgcs.dctpay.com/user',
+ brestUrl: 'https://hsgcs.dctpay.com/brest',
+ imgUrl: 'https://hsgcs.dctpay.com/filesystem/',
+ imageWxImg: 'https://hsgcs.dctpay.com/filesystem/wxApplets/',
+ imageqrImg: 'https://hsgcs.dctpay.com/filesystem/temporary/',
userInfo: "",
brestUserInfo: '',
openId: '',
@@ -60,5 +60,14 @@
diff --git a/high-unionPay/Utils/Api.js b/high-unionPay/Utils/Api.js
index 4098e6c..e6709c9 100644
--- a/high-unionPay/Utils/Api.js
+++ b/high-unionPay/Utils/Api.js
@@ -495,6 +495,10 @@ export const sendUserPass = params => {
export const getUserOrderListhuafei = params => {
return POST('GET', `${base}/outRechargeOrder/getUserOrderList`, params).then(res => res.data);
}
+// 话费充值数据字典
+export const findSecConfigByType = params => {
+ return POST('GET', `${base}/common/findSecConfigByType`, params).then(res => res.data);
+}
//肯德基返利
export const getRebateIntegral = params => {
diff --git a/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue b/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue
index bb4915b..8ced636 100644
--- a/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue
+++ b/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue
@@ -202,7 +202,7 @@
优惠券选择
+ @click="radioChanges(items)">
@@ -396,9 +396,9 @@
this.$refs.popup.show();
},
//选择优惠券
- radioChanges(item, items) {
+ radioChanges(item) {
this.rechangeload();
- if (this.memDiscountId == items.id) { // 如果已经选中,则取消选中
+ if (this.memDiscountId == item.id) { // 如果已经选中,则取消选中
this.memDiscountId = '';
this.deductionPrice = '0.00';
this.priceCaluc(this.orderList.payPrice);
@@ -406,7 +406,7 @@
} else { // 否则进行选中赋值
if (item.discountType == 1) {
if (this.orderPrice >= item.discountCondition) {
- this.memDiscountId = items.id;
+ this.memDiscountId = item.id;
//满减价格
this.deductionPrice = item.discountPrice;
let oldprice = this.orderPrice - this.deductionPrice;
@@ -420,14 +420,14 @@
}
}
if (item.discountType == 2) {
- this.memDiscountId = items.id;
+ this.memDiscountId = item.id;
//抵扣价格
this.deductionPrice = item.discountPrice;
let oldprice = this.orderPrice - this.deductionPrice;
this.priceCaluc(oldprice);
}
if (item.discountType == 3) {
- this.memDiscountId = items.id;
+ this.memDiscountId = item.id;
// 打折
this.deductionPrice = this.orderPrice - (this.orderPrice * item.discountPrice);
let oldprice = parseFloat(this.orderPrice * item.discountPrice).toFixed(2);
diff --git a/high-unionPay/pages/tabBar/home/home.vue b/high-unionPay/pages/tabBar/home/home.vue
index 01dbcf2..659f79a 100644
--- a/high-unionPay/pages/tabBar/home/home.vue
+++ b/high-unionPay/pages/tabBar/home/home.vue
@@ -662,8 +662,7 @@
.spcarea {
width: 31%;
- margin-right: auto;
- margin-left: auto;
+ margin-left: 2%;
border-radius: 10px 10px 0px 0px;
padding-bottom: 10px;
}
diff --git a/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue b/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue
index b2af7a7..2792996 100644
--- a/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue
+++ b/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue
@@ -1,154 +1,269 @@
-
+
+
+
+
+
+ {{notice}}
+
+
+
+
-
-
-
- 选择金额
-
-
-
- {{item.rechargePrice}}元
- {{item.payPrice}}元
- 已售空
+
+
+
+
+
+
+
+
+
+
+
+
+ 话费特惠充值
+
+
+
+
+
+
+ {{item.rechargePrice}}元
+ 售{{item.payPrice}}元
+ 已售空
+ {{explainReceiptTime}}
+
+
+
+
+
+
+
+ ¥
+ {{inputAmount}}
+ 立即充值
+
+
-
- 充值说明:
-
-
-
-
-
-
-
- 应付: {{inputAmount}}元
- 立即购买
+
+
+
+
+
+
diff --git a/high-unionPay/static/img/tongz.png b/high-unionPay/static/img/tongz.png
new file mode 100644
index 0000000000000000000000000000000000000000..b712ee99f0d3f17b97a6eee2d4d3d2c38682937b
GIT binary patch
literal 1576
zcmV+@2G{wCP)Px);z>k7RCr$Pnq6!ZRTRh1xm&;n6Vw+ZK8gts1VbRwAl=yo0^Qy%Boc@ZegsX*
zPGdBDq{gpMVthalF||7j55@6fHZ)%)&0W
z)0w$5yW9O>cOQ4|$NB&6x%Zs=fzaSTY;gV11km(=1}D&*0uAl}%|)=PQ(z<+>kD@!
z`b00x=<4gl=o9*rod|D>|25klS~UQsc*bzA!nJ8OWOS9Ti~bD(hKcYaB^v)=wm?(`
zKwi8l$_0R^c^r}6&bHq2RycfkqMR@)4nP#|13*qQ0{j992ZNnjf4Lx36o6H{9e}a4
zdW;CRx(P&tcUu^~u(~7uL#ZGt2Eb0d9e})`OtNPK1ZWEobUTRrl?Zl+qS||gp~8c*P2VG4?=vWZ*-;(_z*CcoAO=0JF|$O5KVG$1GycW*Ky>jcDKdfiNoooWz^1
zYBk)N2Y5B!76MUPi6*$$Hm-+OKgH!`-Nc)Vm5}M>8Y>n+&J%QXI|95RT7>`yf?VsB
zTY9ZTSv^1|-t15Y!0%pQG_Aga1P|r~6F?RryIkQ%&v=1QHUM74djv3TFOUU16z1`7
zoWzWzVoL*v83MQ?Uj_jV1-Z7nVgMW$JOei>UGa}aLp*pu9zed@SpfE^!Ux8j1Z8yf
zMF4nS_yU
zMFAK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