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;