You've already forked qlg.frontend
收款设置页面完成
This commit is contained in:
@ -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)
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user