收款设置页面完成

This commit is contained in:
2019-09-08 18:17:54 +08:00
parent 70fc29a1ff
commit a90c6ca240
3 changed files with 59 additions and 3 deletions

View File

@ -1,3 +1,32 @@
mui.plusReady(function(){
console.log("ok")
// TODO: some ajax
document.getElementById("realname").value = '';
document.getElementById("bank_name").value = '';
document.getElementById("bank_no").value = '';
document.getElementById("alipay_recive").value = '';
document.getElementById("wechat_recive").value = '';
$(".photos").on("tap", 'img', function() {
var _input = $(this).parent().parent().parent().prev()[0];
UP.init(_input.id, "test", this.id)
openCamera()
})
mui(".down").on("tap", "#true", function(){
realname = document.getElementById("realname").value,
bankName = document.getElementById("bank_name").value,
bankNo = document.getElementById("bank_no").value,
alipayRecive = document.getElementById("alipay_recive").value,
wechatRecive = document.getElementById("wechat_recive").value,
var data = {
realname,
bankName,
bankNo,
alipayRecive,
wechatRecive,
}
console.log(data)
})
})