优化页面
This commit is contained in:
@@ -15,7 +15,8 @@ Page({
|
||||
bank_name : "招商银行",
|
||||
bank_card_code_mask: "2233 9988 9989 9900",
|
||||
withdrawal_amount: "987",
|
||||
income_tax: "12"
|
||||
income_tax: "12",
|
||||
contactKeFu: false
|
||||
},
|
||||
onLoad(options){
|
||||
//获取提现数据
|
||||
@@ -34,5 +35,21 @@ Page({
|
||||
}).catch(errors => {
|
||||
console.error(errors);
|
||||
})
|
||||
}
|
||||
},
|
||||
contactKeFu(e){
|
||||
let _this = this;
|
||||
|
||||
console.log("concatKeFu");
|
||||
wx.requestSubscribeMessage({
|
||||
tmplIds: ['JMPmlYGh1HcUSuEfJCVQUIsZv4H5ar3QvXZfrNYNFuc'],
|
||||
success (res) {
|
||||
console.log(res);
|
||||
_this.setData({
|
||||
contactKeFu: true
|
||||
})
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
},
|
||||
})
|
||||
@@ -4,6 +4,7 @@
|
||||
"te-nav-bar": "/commpents/te_navbar",
|
||||
"t-image": "tdesign-miniprogram/image/image",
|
||||
"van-icon": "@vant/weapp/icon/index",
|
||||
"van-button": "@vant/weapp/button/index"
|
||||
"van-button": "@vant/weapp/button/index",
|
||||
"van-dialog": "@vant/weapp/dialog/index"
|
||||
}
|
||||
}
|
||||
@@ -41,18 +41,26 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="note">
|
||||
<!-- <view class="note">
|
||||
<text>
|
||||
说明:1、每月只可提取一次,提现金额大于300元才可提现,限额1万元;
|
||||
2、平台会在24小时内自动结算至您绑定的银行卡内,请注意查收银行信息;
|
||||
3、平台代扣个人所得税,根据公式:
|
||||
</text>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<view class="bottom">
|
||||
<van-button custom-style="border-radius: 10rpx;" block color="#3CC7C0">提取</van-button>
|
||||
<view class="kefu">
|
||||
<view class="kefu" bindtap="contactKeFu">
|
||||
<text>联系客服</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<van-dialog
|
||||
title="立即联系客服"
|
||||
show="{{ contactKeFu }}"
|
||||
show-cancel-button
|
||||
confirm-button-color="#3CC7C0"
|
||||
confirm-button-open-type="contact"
|
||||
/>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user