From 0f2aa273112426ba6dd3e8de2a64ff908a221645 Mon Sep 17 00:00:00 2001
From: yangsanTT <812952667@qq.com>
Date: Thu, 28 Oct 2021 23:04:50 +0800
Subject: [PATCH] =?UTF-8?q?1.=E5=AF=B9=E6=8E=A5=E8=AF=9D=E8=B4=B9=E5=85=85?=
=?UTF-8?q?=E5=80=BC=20=E8=AE=A2=E5=8D=95=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Utils/Api.js | 6 +
pages.json | 10 +
pages/tabBar/user/user.vue | 41 ++
.../unionPay-orderList/unionPay-orderList.vue | 396 ++++++++++++++++++
4 files changed, 453 insertions(+)
create mode 100644 subPages/unionPay-orderList/unionPay-orderList.vue
diff --git a/Utils/Api.js b/Utils/Api.js
index 8443901..7cd973d 100644
--- a/Utils/Api.js
+++ b/Utils/Api.js
@@ -326,6 +326,12 @@ export const getListOutRechargePrice = params => {
export const orderToUNionPay = params => {
return POST('POST', `${base}/outRechargeOrder/orderToPay`, params).then(res => res.data);
}
+//工会卡支付
export const hltUnionCardPayUnion = params => {
return POST('POST', `${base}/outRechargeOrder/hltUnionCardPay`, params).then(res => res.data);
}
+//话费列表
+export const getUserOrderListhuafei = params => {
+ return POST('GET', `${base}/outRechargeOrder/getUserOrderList`, params).then(res => res.data);
+}
+
diff --git a/pages.json b/pages.json
index 8719eb2..8f4e9cb 100644
--- a/pages.json
+++ b/pages.json
@@ -511,6 +511,16 @@
"backgroundColorTop": "#0083f5",
"navigationBarTextStyle": "white"
}
+ },{
+ "path": "unionPay-orderList/unionPay-orderList",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "话费订单",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
}
]
}],
diff --git a/pages/tabBar/user/user.vue b/pages/tabBar/user/user.vue
index 6d1d977..a91d0a4 100644
--- a/pages/tabBar/user/user.vue
+++ b/pages/tabBar/user/user.vue
@@ -54,6 +54,21 @@
+
+
+
+ 话费充值
+
+
+
+
+
+
+ {{row.text}}
+
+
+
卡券中心
@@ -164,6 +179,26 @@
icon: "pingjia"
}
],
+ huafeiList:[
+ {
+ text: '待支付',
+ icon: "fukuan"
+ },
+ {
+ text: '已支付',
+ icon: "fahuo"
+ },
+ {
+ text: '已完成',
+ icon: "shouhuo"
+ }, {
+ text: '已取消',
+ icon: "pingjia"
+ }, {
+ text: '已退款',
+ icon: "tuihuo"
+ }
+ ],
// 工具栏列表
mytoolbarList: [{
url: '/pages/goods/recording/recording?id=1',
@@ -349,6 +384,12 @@
url: '../../user/order_list/order_list?tbIndex=' + index
})
},
+ //话费充值
+ toOrdehuafeirList(index) {
+ uni.navigateTo({
+ url: '../../../subPages/unionPay-orderList/unionPay-orderList?tbIndex=' + index
+ })
+ },
toLogin() {
uni.showToast({
title: '请登录',
diff --git a/subPages/unionPay-orderList/unionPay-orderList.vue b/subPages/unionPay-orderList/unionPay-orderList.vue
new file mode 100644
index 0000000..7cd5161
--- /dev/null
+++ b/subPages/unionPay-orderList/unionPay-orderList.vue
@@ -0,0 +1,396 @@
+
+
+
+
+
+ {{grid}}
+
+
+
+
+
+
+
+
+
+
+
+
+ 话费充值
+
+
+ {{row.createTimed | formatDate('-')}}
+
+
+
+
+
+
+
+ {{row.remarks}}
+
+
+ 数量 : 1
+
+
+
+
+ ¥{{row.payPrice}}
+
+
+
+ {{row.payPrice*100}}
+
+ {{typeText[row.status]}}
+
+
+
+
+
+
+
+
+
+
+
+