支付js

来源:互联网 发布:非诚勿扰php程序员 编辑:程序博客网 时间:2024/06/05 03:00
function bindEvents() {             $(document).on("tap",".btn-close",function(){                $(".pay-hidden-box").fadeOut();            });            $(document).on("tap",".key",function(){                var notFull=false;                Array.prototype.slice.call($(".password-box input")).some(function(v,i){                    if(!$(v).val()){                        $(v).val("1");                        notFull=true;                    }                    if(i>=5){                        notFull=false;                    }                    return notFull;                });                if(!notFull){                    $(".pay-hidden-box").fadeOut();                    name = "appointmentSuccess";                    href = "medicalcare/appointmentSuccess.html";                     title = "预约成功";                     Base.gotoView(href, {title: title, name: name});                }            });

0 0