|
|
@@ -30,6 +30,25 @@
|
|
|
<input class="input" type="number" v-model="withdrawal" :placeholder="'最低提现金额' + minPrice + '元'" placeholder-class="placeholder" />
|
|
|
<view class="buttom" @click="withdrawal = money">全部提现</view>
|
|
|
</view>
|
|
|
+ <template v-if="withdrawal*1 > 0">
|
|
|
+ <view class="sq">
|
|
|
+ <text class="" style="font-size: 28rpx;">
|
|
|
+ 手续费
|
|
|
+ </text>
|
|
|
+ <text class="num" style="font-size: 28rpx;">
|
|
|
+ ¥{{ sxf | getMoneyStyle }}
|
|
|
+ </text>
|
|
|
+ </view>
|
|
|
+ <view class="sq" >
|
|
|
+ <text class="" style="font-size: 28rpx;">
|
|
|
+ 实际到账
|
|
|
+ </text>
|
|
|
+ <text class="num" style="font-size: 28rpx;">
|
|
|
+ ¥{{ sjdz | getMoneyStyle }}
|
|
|
+ </text>
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
+
|
|
|
</view>
|
|
|
<!-- #ifndef MP-WEIXIN -->
|
|
|
<view class="list" v-if="!weichatBsrowser">
|
|
|
@@ -98,6 +117,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ // sxf: '0.00',
|
|
|
type: 'weixin', //提现方式
|
|
|
money: '0.00', //可提现金额
|
|
|
freeze: '0.0', //冻结金额
|
|
|
@@ -111,6 +131,16 @@ export default {
|
|
|
|
|
|
};
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ //提现手续费
|
|
|
+ sxf() {
|
|
|
+ return (this.withdrawal*1*0.075)
|
|
|
+ },
|
|
|
+ //实际到账
|
|
|
+ sjdz() {
|
|
|
+ return (this.withdrawal*1*0.925)
|
|
|
+ }
|
|
|
+ },
|
|
|
onLoad(options) {
|
|
|
// #ifdef H5
|
|
|
this.weichatBsrowser = uni.getStorageSync('weichatBrowser');
|
|
|
@@ -183,7 +213,7 @@ export default {
|
|
|
let data = {
|
|
|
extract_type: this.type, //bank -银行卡 alipay-支付宝 weixin-微信
|
|
|
money: this.withdrawal, //金额
|
|
|
- money_type: 1//0佣金1余额
|
|
|
+ money_type: 0//0佣金1余额
|
|
|
}
|
|
|
if (this.type=='alipay') {
|
|
|
data.name = this.aliData.fullname;
|