From 5128f852f6b96ac6d7df0bb3c5f8518e93a5a92e Mon Sep 17 00:00:00 2001 From: chenkun <3289431190@qq.com> Date: Fri, 6 Sep 2024 23:52:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api.js | 2 +- pages/index/center.vue | 2 +- pages/mine/incomeRecord.vue | 33 +++++- pages/mine/purse.vue | 2 +- pages/mine/releaseRecord.vue | 11 +- pages/mine/withdraw.vue | 8 +- pages/mine/withdrawalRecord.vue | 246 +++++++++++++++++++++------------------- 7 files changed, 171 insertions(+), 133 deletions(-) diff --git a/api/api.js b/api/api.js index d7d6dba..e7d5d41 100644 --- a/api/api.js +++ b/api/api.js @@ -151,7 +151,7 @@ const config = { // 用户提现 infoWithdraw: { url: '/api/info/withdraw', - method: 'GET', + method: 'POST', auth: true }, diff --git a/pages/index/center.vue b/pages/index/center.vue index 948226d..1f7e4d8 100644 --- a/pages/index/center.vue +++ b/pages/index/center.vue @@ -148,7 +148,7 @@ export default { name: 'photo', imageUrl: '/static/image/center/1.png', title: '实名信息', - gotoPageUrl: '/mine/promotionRecord' + gotoPageUrl: '/mine/certifiedIndividual' }, { name: 'lock', diff --git a/pages/mine/incomeRecord.vue b/pages/mine/incomeRecord.vue index ac47a74..f21ee6e 100644 --- a/pages/mine/incomeRecord.vue +++ b/pages/mine/incomeRecord.vue @@ -9,17 +9,17 @@ 收益记录 - + - 小李 - 2024.02.02 + {{ item.userId }} + {{ item.createTime }} 收益金额 - ¥10000 + ¥{{item.price}} @@ -31,7 +31,30 @@ diff --git a/pages/mine/purse.vue b/pages/mine/purse.vue index 4665ffb..d430ee0 100644 --- a/pages/mine/purse.vue +++ b/pages/mine/purse.vue @@ -141,7 +141,7 @@ export default { } .bottom { - font-size: 14px; + font-size: 28rpx; display: flex; justify-content: center; align-items: center; diff --git a/pages/mine/releaseRecord.vue b/pages/mine/releaseRecord.vue index 48f4376..6b9fa85 100644 --- a/pages/mine/releaseRecord.vue +++ b/pages/mine/releaseRecord.vue @@ -15,13 +15,13 @@ - 全部 + 全部 - - 贴子 + + 贴子 - - 名片 + + 名片 @@ -142,6 +142,7 @@ export default { background: $uni-linear-gradient-color; -webkit-background-clip: text; /*将设置的背景颜色限制在文字中*/ -webkit-text-fill-color: transparent; /*给文字设置成透明*/ + border-radius: 20rpx; } .tabbarItemNoActive { diff --git a/pages/mine/withdraw.vue b/pages/mine/withdraw.vue index 1eb539c..13a4a1d 100644 --- a/pages/mine/withdraw.vue +++ b/pages/mine/withdraw.vue @@ -56,7 +56,13 @@ export default { // 提现 withdrawPage() { - this.$utils.navigateTo('/mine/withdrawalRecord'); + this.$api('infoWithdraw', { + withdrawMoney: this.withdrawMoney + }, res => { + if (res.code == 200) { + this.$utils.navigateTo('/mine/withdrawalRecord'); + } + }) } } } diff --git a/pages/mine/withdrawalRecord.vue b/pages/mine/withdrawalRecord.vue index 2fa4e76..375b7e3 100644 --- a/pages/mine/withdrawalRecord.vue +++ b/pages/mine/withdrawalRecord.vue @@ -1,127 +1,135 @@ \ No newline at end of file