|
@@ -23,7 +23,7 @@
|
|
|
</div>
|
|
|
<div class="possess-warp mb-3">
|
|
|
<div class="withdrawal-text">可提现<span class="withdrawal-money ml-2">¥{{ withdrawalBalance }}</span></div>
|
|
|
- <div class="withdrawal-btn" @click="withdrawalHandle">提现</div>
|
|
|
+ <div class="withdrawal-btn" :class="{'disable': withdrawalBalance < withdrawalThreshold || withdrawalBalance === 0 }" @click="()=>(withdrawalBalance >= withdrawalThreshold && withdrawalHandle())">提现</div>
|
|
|
</div>
|
|
|
<div class="userinfo-detail">
|
|
|
<div class="userinfo-detail-item pt-4 pr-3 pb-3 pl-3">
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
registerCount: 0, // 今日注册人数
|
|
|
nickname: '', // 用户昵称
|
|
|
withdrawalBalance: 0, // 可提现余额
|
|
|
+ withdrawalThreshold: 0, // 提现门槛值
|
|
|
inviteBuyAmount: 0, // 累计邀请金额
|
|
|
accumulatedWithdrawal: 0, // 累计提现金额,
|
|
|
// 查询参数
|
|
@@ -189,6 +190,7 @@ export default {
|
|
|
registerCount, // 今日注册人数
|
|
|
nickname, // 用户昵称
|
|
|
withdrawalBalance, // 可提现余额
|
|
|
+ withdrawalThreshold, // 提现门槛值
|
|
|
inviteBuyAmount, // 累计邀请金额
|
|
|
activityId, // 活动ID
|
|
|
accumulatedWithdrawal, // 累计提现金额
|
|
@@ -199,6 +201,7 @@ export default {
|
|
|
this.registerCount = registerCount;
|
|
|
this.nickname = nickname;
|
|
|
this.withdrawalBalance = withdrawalBalance;
|
|
|
+ this.withdrawalThreshold = withdrawalThreshold;
|
|
|
this.inviteBuyAmount = inviteBuyAmount;
|
|
|
this.accumulatedWithdrawal = accumulatedWithdrawal;
|
|
|
// 查询参数
|
|
@@ -398,6 +401,11 @@ $-bg-yellow: rgb(255, 253, 241);
|
|
|
color: #fff;
|
|
|
font-size: 14px;
|
|
|
text-align: center;
|
|
|
+
|
|
|
+ &.disable{
|
|
|
+ background-color: #E0E0E0;
|
|
|
+ color: #979797;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|