From 60efa27c213435dc9101c066d03501fedd6c8abe Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Wed, 22 Dec 2021 09:07:29 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=96=B0=E5=A2=9E=E8=AF=9D=E8=B4=B9=E5=85=85?= =?UTF-8?q?=E5=80=BC=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 39 +- subPages/recharge-centre/recharge-centre.vue | 13 +- .../trade-union-recharge.vue | 442 ++++++++++++++++++ 3 files changed, 476 insertions(+), 18 deletions(-) create mode 100644 subPages/trade-union-recharge/trade-union-recharge.vue diff --git a/pages.json b/pages.json index 88b5fb8..14925eb 100644 --- a/pages.json +++ b/pages.json @@ -473,24 +473,21 @@ "navigationBarTextStyle": "white" } } - - ], + ], "subpackages": [{ "root": "subPages", - "pages": [ - { - "path" : "coupon-comfirmation-success/coupon-comfirmation-success", - "style" : - { - "enablePullDownRefresh": false, - "navigationBarTitleText": "支付成功", - "backgroundTextStyle": "light", - "navigationBarBackgroundColor": "#0083f5", - "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" - } - - },{ + "pages": [{ + "path": "coupon-comfirmation-success/coupon-comfirmation-success", + "style": { + "enablePullDownRefresh": false, + "navigationBarTitleText": "支付成功", + "backgroundTextStyle": "light", + "navigationBarBackgroundColor": "#0083f5", + "backgroundColorTop": "#0083f5", + "navigationBarTextStyle": "white" + } + + }, { "path": "brand-classification/brand-classification", "style": { "enablePullDownRefresh": false, @@ -633,6 +630,16 @@ "navigationBarTextStyle": "white" } + }, { + "path": "trade-union-recharge/trade-union-recharge", + "style": { + "navigationBarTitleText": "工会卡充值", + "backgroundTextStyle": "light", + "navigationBarBackgroundColor": "#0083f5", + "backgroundColorTop": "#0083f5", + "navigationBarTextStyle": "white" + } + } ] }], diff --git a/subPages/recharge-centre/recharge-centre.vue b/subPages/recharge-centre/recharge-centre.vue index 475c0a2..5d4094a 100644 --- a/subPages/recharge-centre/recharge-centre.vue +++ b/subPages/recharge-centre/recharge-centre.vue @@ -132,9 +132,18 @@ getListOutRechargePrice(item) { uni.showLoading({ title: '加载中...' - }) + }) + let showType; + // #ifdef H5 + showType = 2; + // #endif + // #ifdef MP + showType = 1; + // #endif let params = { - type: item + type: item, + regionId: app.globalData.cityId, + showType: showType } getListOutRechargePrice(params).then(res => { uni.hideLoading() diff --git a/subPages/trade-union-recharge/trade-union-recharge.vue b/subPages/trade-union-recharge/trade-union-recharge.vue new file mode 100644 index 0000000..d07cc27 --- /dev/null +++ b/subPages/trade-union-recharge/trade-union-recharge.vue @@ -0,0 +1,442 @@ + + + + +