|
@@ -7,12 +7,12 @@
|
|
<view class="header">
|
|
<view class="header">
|
|
<view class="title">提现金额</view>
|
|
<view class="title">提现金额</view>
|
|
<view class="moneyView">
|
|
<view class="moneyView">
|
|
- <text class="icon"></text>
|
|
|
|
|
|
+ <text class="icon">¥</text>
|
|
<input type="digit" class="moneyInput" placeholder-style="color:#999999; font-size:30rpx"
|
|
<input type="digit" class="moneyInput" placeholder-style="color:#999999; font-size:30rpx"
|
|
- placeholder="请输入" v-model="money" @input="inputValue" />
|
|
|
|
|
|
+ v-model="money" @input="inputValue" />
|
|
<view class="allBtn" @click="allBtn">全部提现</view>
|
|
<view class="allBtn" @click="allBtn">全部提现</view>
|
|
</view>
|
|
</view>
|
|
- <view class="zongMoney">可提现金额: <span style="color: rgb(255,102, 0);padding-right: 10rpx;">¥{{canMoney}} </span> </view>
|
|
|
|
|
|
+ <view class="zongMoney">可提现金额: <span style="padding: 0 10rpx;">{{canMoney}} 元 </span> </view>
|
|
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
@@ -20,15 +20,16 @@
|
|
<view class="sureBtn" @click="sure">申请提现</view>
|
|
<view class="sureBtn" @click="sure">申请提现</view>
|
|
|
|
|
|
<view class="tishi" style="padding:20rpx 20rpx 100rpx 20rpx ; ">
|
|
<view class="tishi" style="padding:20rpx 20rpx 100rpx 20rpx ; ">
|
|
- <view class="tishi-title" style="color: rgb(255,102, 0);padding-left: 18rpx;">
|
|
|
|
|
|
+ <view class="tishi-title" style="color: #999999;padding-left: 18rpx;">
|
|
提现说明:
|
|
提现说明:
|
|
</view>
|
|
</view>
|
|
- <view class="tishiLine">
|
|
|
|
|
|
+ <rich-text class="tishiText" :nodes="description"></rich-text>
|
|
|
|
+ <!-- <view class="tishiLine">
|
|
<view class="tishiTxt">1.最小提现金额:<span class="tishiTxtColor">{{minCash}}</span>元</view>
|
|
<view class="tishiTxt">1.最小提现金额:<span class="tishiTxtColor">{{minCash}}</span>元</view>
|
|
</view>
|
|
</view>
|
|
<view class="tishiLine">
|
|
<view class="tishiLine">
|
|
<view class="tishiTxt">2.只允许一笔提现在途</view>
|
|
<view class="tishiTxt">2.只允许一笔提现在途</view>
|
|
- </view>
|
|
|
|
|
|
+ </view> -->
|
|
<!-- <view class="tishiLine">
|
|
<!-- <view class="tishiLine">
|
|
<view class="tishiTxt">1.提现冻结天数:<span class="tishiTxtColor">{{detail.explain&&detail.explain.freezeDay}}</span>天</view>
|
|
<view class="tishiTxt">1.提现冻结天数:<span class="tishiTxtColor">{{detail.explain&&detail.explain.freezeDay}}</span>天</view>
|
|
</view>
|
|
</view>
|
|
@@ -52,7 +53,7 @@
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
okMoney: '',
|
|
okMoney: '',
|
|
- money: '',
|
|
|
|
|
|
+ money: 0,
|
|
name: '',
|
|
name: '',
|
|
account: '',
|
|
account: '',
|
|
detail: {},
|
|
detail: {},
|
|
@@ -70,6 +71,8 @@
|
|
packageInfo:'',
|
|
packageInfo:'',
|
|
state:'',
|
|
state:'',
|
|
jkcashid:'',
|
|
jkcashid:'',
|
|
|
|
+ maxCash:0,
|
|
|
|
+ description:'',
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLoad() {
|
|
onLoad() {
|
|
@@ -94,7 +97,8 @@
|
|
this.sumMoney = res.data.SumMoney
|
|
this.sumMoney = res.data.SumMoney
|
|
this.minCash = res.data.MinCash
|
|
this.minCash = res.data.MinCash
|
|
this.cashState = res.data.CashState
|
|
this.cashState = res.data.CashState
|
|
-
|
|
|
|
|
|
+ this.maxCash = res.data.MaxCash
|
|
|
|
+ this.description = res.data.description
|
|
})
|
|
})
|
|
},
|
|
},
|
|
inputValue(event) {
|
|
inputValue(event) {
|
|
@@ -139,6 +143,14 @@
|
|
});
|
|
});
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ if (this.money > this.maxCash) {
|
|
|
|
+ uni.showToast({
|
|
|
|
+ title: '提现金额最高为'+this.maxCash,
|
|
|
|
+ icon: 'none',
|
|
|
|
+ duration: 3000,
|
|
|
|
+ });
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
this.postData();
|
|
this.postData();
|
|
},
|
|
},
|
|
postData() {
|
|
postData() {
|
|
@@ -271,6 +283,7 @@
|
|
}
|
|
}
|
|
.tishiLine{
|
|
.tishiLine{
|
|
display: flex;padding-top: 20rpx;
|
|
display: flex;padding-top: 20rpx;
|
|
|
|
+ color: #999999;
|
|
}
|
|
}
|
|
.tishiY{
|
|
.tishiY{
|
|
width: 10rpx;
|
|
width: 10rpx;
|
|
@@ -281,7 +294,7 @@
|
|
}
|
|
}
|
|
.tishiTxt{
|
|
.tishiTxt{
|
|
padding-left: 18rpx;
|
|
padding-left: 18rpx;
|
|
- color: #222222;
|
|
|
|
|
|
+ color: #999999;
|
|
}
|
|
}
|
|
.tixiancs{
|
|
.tixiancs{
|
|
display: flex;
|
|
display: flex;
|
|
@@ -295,10 +308,10 @@
|
|
color: #999999;
|
|
color: #999999;
|
|
}
|
|
}
|
|
.tixiancsRight{
|
|
.tixiancsRight{
|
|
- color:rgb(255,102, 0);
|
|
|
|
|
|
+ color:#596999;
|
|
}
|
|
}
|
|
.tishiTxtColor{
|
|
.tishiTxtColor{
|
|
- color: rgb(255,102, 0);
|
|
|
|
|
|
+ color: #999999;
|
|
}
|
|
}
|
|
.header {
|
|
.header {
|
|
background-color: #FFFFFF;
|
|
background-color: #FFFFFF;
|
|
@@ -330,7 +343,6 @@
|
|
.moneyInput {
|
|
.moneyInput {
|
|
font-size: 70rpx;
|
|
font-size: 70rpx;
|
|
color: #222222;
|
|
color: #222222;
|
|
- font-weight: bold;
|
|
|
|
/* flex-grow: 1; */
|
|
/* flex-grow: 1; */
|
|
height: 98rpx;
|
|
height: 98rpx;
|
|
width: 100%;
|
|
width: 100%;
|
|
@@ -338,7 +350,7 @@
|
|
|
|
|
|
.allBtn {
|
|
.allBtn {
|
|
font-size: 30rpx;
|
|
font-size: 30rpx;
|
|
- color: rgb(255,102, 0);
|
|
|
|
|
|
+ color: #596999;
|
|
width: 200rpx;
|
|
width: 200rpx;
|
|
height: 50rpx;
|
|
height: 50rpx;
|
|
line-height: 50rpx;
|
|
line-height: 50rpx;
|
|
@@ -347,10 +359,10 @@
|
|
}
|
|
}
|
|
|
|
|
|
.zongMoney {
|
|
.zongMoney {
|
|
- font-size: 26rpx;
|
|
|
|
- color: #222222;
|
|
|
|
- border-top: solid 3rpx #999999;
|
|
|
|
- padding-top: 15rpx;
|
|
|
|
|
|
+ font-size: 25rpx;
|
|
|
|
+ color: #999999;
|
|
|
|
+ border-top: solid 3rpx #F4F4F4;
|
|
|
|
+ padding-top: 25rpx;
|
|
}
|
|
}
|
|
|
|
|
|
.line {
|
|
.line {
|
|
@@ -390,7 +402,7 @@
|
|
margin: 20rpx 30rpx;
|
|
margin: 20rpx 30rpx;
|
|
border-radius: 15rpx;
|
|
border-radius: 15rpx;
|
|
height: 74rpx;
|
|
height: 74rpx;
|
|
- background: rgb(255,102, 0);
|
|
|
|
|
|
+ background: #EB0F0A;
|
|
color: #FFFFFF;
|
|
color: #FFFFFF;
|
|
font-size: 25rpx;
|
|
font-size: 25rpx;
|
|
text-align: center;
|
|
text-align: center;
|