From dc67568b6b3cc057cb87fc27fdf0da42fb713b94 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Wed, 18 Dec 2024 17:41:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=8E=B0=E9=99=90=E5=88=B6=E6=9C=80?= =?UTF-8?q?=E5=A4=9A=E4=B8=A4=E4=BD=8D=E5=B0=8F=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- me/invite/cashDetail.vue | 50 +++++++++++++++++++++++++++++----------- 1 file changed, 36 insertions(+), 14 deletions(-) diff --git a/me/invite/cashDetail.vue b/me/invite/cashDetail.vue index 404c909..d2b38cc 100644 --- a/me/invite/cashDetail.vue +++ b/me/invite/cashDetail.vue @@ -17,10 +17,10 @@ style="display: flex;flex-direction: row;padding: 20upx;justify-content: space-between;align-items: center;"> ¥ - - 全部 @@ -46,9 +46,11 @@ - 提现账号 + + 提现账号 - 红包明细 + + 红包明细 @@ -60,7 +62,8 @@ 提现成功 提现中 - 提现失败 + + 提现失败 @@ -68,7 +71,8 @@ 收款人姓名:{{item.zhifubaoName}} 发起时间:{{item.createAt}} 成功时间 {{item.outAt}} - 失败原因:{{item.refund}} + + 失败原因:{{item.refund}} @@ -159,10 +163,26 @@ // this.list(); }, methods: { + moneyInput(e) { + let num = e.detail.value.match(/^\d*(\.?\d{0,2})/g)[0] || null; + this.$nextTick(() => { + this.money = num; + }); + + }, + moneyBlur(e) { + let num = e.detail.value.match(/^\d*(\.?\d{0,2})/g)[0] || null; + this.$nextTick(() => { + this.money = num; + }); + }, + setAllMoney() { + this.money = Math.floor(this.mayMoney * 100) / 100 + }, getMoneyDetail() { let that = this; let token = uni.getStorageSync('token') - console.log(1); + console.log(1); if (token) { //可以提现金额查询预估收入查询 let data = { @@ -460,7 +480,8 @@ margin-bottom: 10px; } } - .money-list{ + + .money-list { .item { background: white; padding: 32rpx; @@ -469,18 +490,19 @@ box-shadow: 7px 9px 34px rgba(0, 0, 0, 0.1); border-radius: 16upx; } - .item:first-child{ + + .item:first-child { margin-top: 0; } } - - + + .centre { text-align: center; padding: 200rpx 0; font-size: 32rpx; box-sizing: border-box; - + image { width: 360rpx; height: 360rpx; @@ -488,13 +510,13 @@ margin: 0 auto 20rpx; // border: 1px dotted #000000; } - + .tips { font-size: 34rpx; color: #999999; margin-top: 20rpx; } - + .btn { margin: 80rpx auto; width: 600rpx;