|
@@ -188,7 +188,7 @@ $(function(){
|
|
weui.tab('#tab',{
|
|
weui.tab('#tab',{
|
|
defaultIndex: 0,
|
|
defaultIndex: 0,
|
|
onChange: function(index){
|
|
onChange: function(index){
|
|
- console.log(index);
|
|
|
|
|
|
+ //console.log(index);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
// 姓名输入事件
|
|
// 姓名输入事件
|
|
@@ -207,7 +207,6 @@ $(function(){
|
|
isfreesubmit[0] = 'false'
|
|
isfreesubmit[0] = 'false'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- console.log(isfreesubmit)
|
|
|
|
freesubmit()
|
|
freesubmit()
|
|
})
|
|
})
|
|
|
|
|
|
@@ -246,7 +245,6 @@ $(function(){
|
|
email:this.value,
|
|
email:this.value,
|
|
},
|
|
},
|
|
success:function(res) {
|
|
success:function(res) {
|
|
- console.log(res)
|
|
|
|
if(res.status == true) {
|
|
if(res.status == true) {
|
|
isfreesubmit[3] = 'true'
|
|
isfreesubmit[3] = 'true'
|
|
$('.email_code').slideUp();
|
|
$('.email_code').slideUp();
|
|
@@ -368,7 +366,6 @@ $(function(){
|
|
$('.kf_phone_tips').hide()
|
|
$('.kf_phone_tips').hide()
|
|
issubmit[1] = "true"
|
|
issubmit[1] = "true"
|
|
}else{
|
|
}else{
|
|
- console.log(myreg.test(this.value))
|
|
|
|
if(myreg.test(this.value)){
|
|
if(myreg.test(this.value)){
|
|
$('.kf_phone_tips').hide()
|
|
$('.kf_phone_tips').hide()
|
|
issubmit[1] = "false"
|
|
issubmit[1] = "false"
|
|
@@ -487,12 +484,9 @@ function isPoneAvailable($poneInput) {
|
|
// 联系人必须是两个汉字以上
|
|
// 联系人必须是两个汉字以上
|
|
function isname($nameInput) {
|
|
function isname($nameInput) {
|
|
var tworeg = /^[\u4E00-\u9FA5]{2,}$/;
|
|
var tworeg = /^[\u4E00-\u9FA5]{2,}$/;
|
|
- console.log(!tworeg.test($nameInput))
|
|
|
|
if (!tworeg.test($nameInput)) {
|
|
if (!tworeg.test($nameInput)) {
|
|
- console.log('false')
|
|
|
|
return false;
|
|
return false;
|
|
} else {
|
|
} else {
|
|
- console.log('true')
|
|
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -514,7 +508,6 @@ function submit() {
|
|
} else {
|
|
} else {
|
|
$('.write_run').attr('disabled',false)
|
|
$('.write_run').attr('disabled',false)
|
|
}
|
|
}
|
|
- console.log(issubmit)
|
|
|
|
}
|
|
}
|
|
|
|
|
|
// 判断免费样例的按钮是否可以点击
|
|
// 判断免费样例的按钮是否可以点击
|