From 81e4daacd552a8d2a399202dd7a6b29a1e5b8cb0 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Thu, 25 Jan 2024 16:42:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/app.js | 2 + pages.json | 8 + pages/users/user_money/index.vue | 12 +- pages/users/user_money/money.vue | 386 +++++++++++++++++++++++++++++++ 4 files changed, 402 insertions(+), 6 deletions(-) create mode 100644 pages/users/user_money/money.vue diff --git a/config/app.js b/config/app.js index cdcc9f8..c367586 100644 --- a/config/app.js +++ b/config/app.js @@ -39,6 +39,7 @@ switch (env) { wsApi = 'wss://crmeb-test.shop.lihaink.cn' } +const ossUrl = '' // httpApi='' // 聊天接口修改此字符 小程序聊天要求wss 例如:wss://mer.crmeb.net @@ -54,6 +55,7 @@ module.exports = { HTTP_REQUEST_URL_THREE: httpApiThree, HTTP_REQUEST_URL_FOUR: httpApiFour, HTTP_REQUEST_URL_FIVE: httpApiFive, + OSS_URL: ossUrl, VUE_APP_WS_URL: `${wsApi}?type=user`, VUE_APP_WS_URL_ONE:wsApi_one, // #endif diff --git a/pages.json b/pages.json index 7b45427..26c9611 100644 --- a/pages.json +++ b/pages.json @@ -636,6 +636,14 @@ "navigationBarTitleText": "我的账户" } }, + { + "path" : "user_money/money", + "style" : + { + "navigationBarTitleText" : "我的余额", + "enablePullDownRefresh" : false + } + }, { "path": "user_bill/index", "style": { diff --git a/pages/users/user_money/index.vue b/pages/users/user_money/index.vue index 354fa1c..5596e55 100644 --- a/pages/users/user_money/index.vue +++ b/pages/users/user_money/index.vue @@ -10,18 +10,18 @@ {{userInfo.now_money || 0}} - + 充值 - + 充值 - + @@ -44,12 +44,12 @@ 消费记录 - + diff --git a/pages/users/user_money/money.vue b/pages/users/user_money/money.vue new file mode 100644 index 0000000..a654c4e --- /dev/null +++ b/pages/users/user_money/money.vue @@ -0,0 +1,386 @@ + + + + + \ No newline at end of file