收款设置页面完成
This commit is contained in:
parent
70fc29a1ff
commit
a90c6ca240
@ -1,3 +1,32 @@
|
|||||||
mui.plusReady(function(){
|
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)
|
||||||
|
})
|
||||||
})
|
})
|
@ -55,7 +55,7 @@
|
|||||||
parent.appendChild(element);
|
parent.appendChild(element);
|
||||||
|
|
||||||
element.onload = function() {
|
element.onload = function() {
|
||||||
var style = [JZL.getCssUrl('setting_address.css'), JZL.getCssUrl("global.css"), JZL.getCssUrl("login.css"), JZL.getCssUrl("sha.css"), JZL.getCssUrl("header.css")];
|
var style = [JZL.getCssUrl('setting_address.css'), JZL.getCssUrl("global.css"), JZL.getCssUrl("login.css"), JZL.getCssUrl("sha_2.css"), JZL.getCssUrl("header.css")];
|
||||||
JZL.css_init(style);
|
JZL.css_init(style);
|
||||||
var script = [JZL.getJsUrl('setting_address.js'),JZL.getJsUrl('common.js')];
|
var script = [JZL.getJsUrl('setting_address.js'),JZL.getJsUrl('common.js')];
|
||||||
JZL.js_init(script);
|
JZL.js_init(script);
|
||||||
|
@ -32,6 +32,32 @@
|
|||||||
<span class="s1">银行账号:</span>
|
<span class="s1">银行账号:</span>
|
||||||
<input class="yzm" name="bank_no" type="text" id="bank_no" value="" placeholder="请输入银行卡号" />
|
<input class="yzm" name="bank_no" type="text" id="bank_no" value="" placeholder="请输入银行卡号" />
|
||||||
</div>
|
</div>
|
||||||
|
<div class="renzhengphoto shadown_wai">
|
||||||
|
<label for="">支付宝收款码</label>
|
||||||
|
<input type="hidden" value='' class='alipay_recive inp' id="alipay_recive">
|
||||||
|
<div class='photos'>
|
||||||
|
<span></span>
|
||||||
|
<div class="photos_con">
|
||||||
|
<div class="regConfirm photo">
|
||||||
|
<img src="" class='ossfile' id='alipayReciveCode' alt="">
|
||||||
|
<span class=""></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="renzhengphoto shadown_wai">
|
||||||
|
<label for="">微信收款码</label>
|
||||||
|
<input type="hidden" value='' class='wechat_recive inp' id="wechat_recive">
|
||||||
|
<div class='photos'>
|
||||||
|
<span></span>
|
||||||
|
<div class="photos_con">
|
||||||
|
<div class="regConfirm photo">
|
||||||
|
<img src="" class='ossfile' id='wechatReciveCode' alt="">
|
||||||
|
<span class=""></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="down clearfix">
|
<div class="down clearfix">
|
||||||
<div class="btn shadown_wai" id="true">确定</div>
|
<div class="btn shadown_wai" id="true">确定</div>
|
||||||
@ -39,6 +65,7 @@
|
|||||||
</body>
|
</body>
|
||||||
<script src="../js/mui.min.js"></script>
|
<script src="../js/mui.min.js"></script>
|
||||||
<script src="../js/jquery-3.2.1.min.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/jquery-3.2.1.min.js" type="text/javascript" charset="utf-8"></script>
|
||||||
|
<script src="../js/uploader.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
mui.plusReady(function() {
|
mui.plusReady(function() {
|
||||||
var element;
|
var element;
|
||||||
@ -48,7 +75,7 @@
|
|||||||
parent.appendChild(element);
|
parent.appendChild(element);
|
||||||
|
|
||||||
element.onload = function() {
|
element.onload = function() {
|
||||||
var style = [JZL.getCssUrl('setting_recive.css'), JZL.getCssUrl('login.css'), JZL.getCssUrl('setting.css'), JZL.getCssUrl("global.css"), JZL.getCssUrl("header.css")];
|
var style = [JZL.getCssUrl('login.css'), JZL.getCssUrl('setting.css'), JZL.getCssUrl("global.css"), JZL.getCssUrl("header.css")];
|
||||||
JZL.css_init(style);
|
JZL.css_init(style);
|
||||||
var script = [JZL.getJsUrl('setting_recive.js'), JZL.getJsUrl('common.js')];
|
var script = [JZL.getJsUrl('setting_recive.js'), JZL.getJsUrl('common.js')];
|
||||||
JZL.js_init(script);
|
JZL.js_init(script);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user