From 12ae8ac30561a681c864acd694aaee6ebc9330b7 Mon Sep 17 00:00:00 2001 From: Seep <543607193@qq.com> Date: Sun, 22 Oct 2023 14:05:18 +0800 Subject: [PATCH] =?UTF-8?q?add:=20=E5=85=85=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/api.js | 3 +- pages.json | 7 + pages/my/my.vue | 6 + pages/my/recharge.vue | 495 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 510 insertions(+), 1 deletion(-) create mode 100644 pages/my/recharge.vue diff --git a/common/api.js b/common/api.js index f58630a..e53b5d2 100644 --- a/common/api.js +++ b/common/api.js @@ -82,5 +82,6 @@ export const submitPingzheng = (params, config = {custom: { auth: true }}) => ht export const confirmPay = (params, config = {custom: { auth: true }}) => http.post('/api/user/confirmPay', params, config); //确认签约 export const confirmSign = (params, config = {custom: { auth: true }}) => http.post('/api/user/updateUserInfo', params, config); - +//充值 +export const recharge = (params, config = {custom: { auth: true }}) => http.post('/api/user/recharge', params, config); diff --git a/pages.json b/pages.json index df0cfdf..989b0f1 100644 --- a/pages.json +++ b/pages.json @@ -47,6 +47,13 @@ "navigationBarBackgroundColor": "#FFFFFF" } }, + { + "path" : "pages/my/recharge", + "style" : { + "navigationBarTitleText": "", + "navigationBarBackgroundColor": "#FFFFFF" + } + }, { "path" : "pages/my/incomeExpenditureDetail", "style" : { diff --git a/pages/my/my.vue b/pages/my/my.vue index f75ef30..4b69c65 100644 --- a/pages/my/my.vue +++ b/pages/my/my.vue @@ -191,6 +191,7 @@ + @@ -273,6 +274,11 @@ url: '/pages/login/login' }) }, + onRecharge(){ + uni.navigateTo({ + url: '/pages/my/recharge', + }) + }, // 收支详情 onIncome(){ uni.navigateTo({ diff --git a/pages/my/recharge.vue b/pages/my/recharge.vue new file mode 100644 index 0000000..30c695d --- /dev/null +++ b/pages/my/recharge.vue @@ -0,0 +1,495 @@ + + + + +