diff --git a/Utils/Api.js b/Utils/Api.js
index ab1c603..5acc0da 100644
--- a/Utils/Api.js
+++ b/Utils/Api.js
@@ -304,3 +304,25 @@ export const getAgentSalesPriceCount = params => {
export const sendUserPass = params => {
return POSTBREST('POST', `${brestBase}/secUser/sendUserPass`, params).then(res => res.data);
}
+
+
+
+
+// 话费
+//积分支付
+export const orderToGoldPayunion = params => {
+ return POST('POST', `${base}/outRechargeOrder/orderToGoldPay`, params).then(res => res.data);
+}
+
+//提交订单
+export const addOrderPay = params => {
+ return POST('POST', `${base}/outRechargeOrder/addOrder`, params).then(res => res.data);
+}
+//话费充值查询
+export const getListOutRechargePrice = params => {
+ return POST('GET', `${base}/outRechargePrice/getListOutRechargePrice`, params).then(res => res.data);
+}
+//提交订单
+export const orderToUNionPay = params => {
+ return POST('POST', `${base}/outRechargeOrder/orderToPay`, params).then(res => res.data);
+}
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 0a18386..8719eb2 100644
--- a/pages.json
+++ b/pages.json
@@ -463,8 +463,7 @@
}
}
-
- ],
+ ],
"subpackages": [{
"root": "subPages",
"pages": [{
@@ -478,7 +477,42 @@
"navigationBarTextStyle": "white"
}
- }]
+ },
+ {
+ "path": "recharge/recharge",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "话费充值",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+
+ },
+ {
+ "path": "recharge-centre/recharge-centre",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "话费充值",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+
+ },{
+ "path": "unionComfirmation/unionComfirmation",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "确认订单",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+ }
+ ]
}],
"globalStyle": {
"navigationBarTextStyle": "black",
diff --git a/pages/tabBar/home/home.vue b/pages/tabBar/home/home.vue
index 1d83b62..61549d5 100644
--- a/pages/tabBar/home/home.vue
+++ b/pages/tabBar/home/home.vue
@@ -651,7 +651,7 @@
return;
}
uni.navigateTo({
- url: '/pages/tabBar/order/order?id=3'
+ url: '../../../subPages/recharge/recharge'
})
} else {
diff --git a/subPages/recharge-centre/recharge-centre.vue b/subPages/recharge-centre/recharge-centre.vue
new file mode 100644
index 0000000..2753370
--- /dev/null
+++ b/subPages/recharge-centre/recharge-centre.vue
@@ -0,0 +1,355 @@
+
+
+
+
+
+
+
+
+
+
+
+ 选择金额
+
+
+
+ {{item.realPrice}}元
+
+
+
+ 话费充值温馨提示:
+
+
+ 1:
+ 慢充话费与营业厅充值一样,只是到账时间稍长。充值过程中可能出现分批到账的情况,但是总金额不会少,请耐心等待如72小时未到账请联系客服查询。
+
+
+ 2:
+ 此业务为话费慢充,平均4-5小时到账,最晚72小时内到账。月末月初为充值高峰期,话费可能会有延迟,请您耐心等待或在48小时后联系客服确认订单状态。
+
+
+ 3:
+ 由于优惠有限,每个手机号30天内仅支持2次充值(不限金额),如1号充值1单,29号充值1单,第三单需要在第31号才能充值,请根据自己话费使用情况选择对应金额。
+
+
+ 4:
+ 目前仅支持(移动、联通、电信三网号段),165、167 170、171、162等虚拟号段暂不支持充值,携号转网号码暂不能充值,否则损失自负无法退款。
+
+
+ 5:
+ 停机号码需要额外补缴欠费后,慢充话费才能到账。此服务为虚拟充值类服务,无特殊情况不支持退款。
+
+
+ 6:
+ 空号、错号充值后不支持退款,请您务必核对确认号码无误后再进行充值。非空号欠费可充,欠费1个月导致空号的不能充值,损失自负无法退款。
+
+
+ 7:
+ 本充值业务不提供发票。如需发票请在运营商手机客户端储开取电子发票,也可以凭身份证到运营商实体营业厅打印发票。
+
+
+ 8:
+ 如遇系统维护充值失败,将72小时后原路退款到付款账户。
+
+
+
+ 应付: {{inputAmount}}元
+ 立即购买
+
+
+
+
+
+
+
diff --git a/subPages/recharge/recharge.vue b/subPages/recharge/recharge.vue
new file mode 100644
index 0000000..3e148c7
--- /dev/null
+++ b/subPages/recharge/recharge.vue
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/subPages/static/upay1.jpg b/subPages/static/upay1.jpg
new file mode 100644
index 0000000..b9057d0
Binary files /dev/null and b/subPages/static/upay1.jpg differ
diff --git a/subPages/static/upay2.jpg b/subPages/static/upay2.jpg
new file mode 100644
index 0000000..284ca7d
Binary files /dev/null and b/subPages/static/upay2.jpg differ
diff --git a/subPages/static/upay3.jpg b/subPages/static/upay3.jpg
new file mode 100644
index 0000000..6a2c5f3
Binary files /dev/null and b/subPages/static/upay3.jpg differ
diff --git a/subPages/static/upay4.jpg b/subPages/static/upay4.jpg
new file mode 100644
index 0000000..c32e4eb
Binary files /dev/null and b/subPages/static/upay4.jpg differ
diff --git a/subPages/unionComfirmation/unionComfirmation.vue b/subPages/unionComfirmation/unionComfirmation.vue
new file mode 100644
index 0000000..93eb04b
--- /dev/null
+++ b/subPages/unionComfirmation/unionComfirmation.vue
@@ -0,0 +1,826 @@
+
+
+
+
+
+
+
+ 电信话费充值
+ 移动话费充值
+ 联通话费充值
+ 规格: 默认
+
+ ¥{{orderPrice}}
+
+
+
+
+
+
+ 商品总额
+
+
+ ¥{{orderPrice}}
+
+
+
+
+
+
+
+ 支付方式
+
+
+
+
+
+ 积分支付可用积分: {{user.gold}}
+
+
+
+
+
+
+
+
+ 微信支付
+
+
+
+
+
+
+
+ 汇联通工会卡可用余额: {{tongCardPrice}}元
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+