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});
}
});
支付js
最新推荐文章于 2024-03-14 20:32:16 发布