...
|
...
|
@@ -14,6 +14,10 @@ var tip = require('../../plugin/tip'); |
|
|
var trim = $.trim;
|
|
|
var showErrTip = tip.show;
|
|
|
|
|
|
var qs;
|
|
|
|
|
|
require('../../common');
|
|
|
|
|
|
api.bindEyesEvt({
|
|
|
status: 'open' // 默认眼睛打开
|
|
|
});
|
...
|
...
|
@@ -26,6 +30,12 @@ $pwd.bind('input', function() { |
|
|
}
|
|
|
});
|
|
|
|
|
|
qs = window.queryString;
|
|
|
|
|
|
if (qs.selected && qs.selected === 'N') {
|
|
|
$('.pitch').removeClass('select').html('');
|
|
|
}
|
|
|
|
|
|
$('.pitch').on('click', function() {
|
|
|
if ($('.pitch').hasClass('select')) {
|
|
|
$(this).removeClass('select');
|
...
|
...
|
@@ -43,19 +53,9 @@ $btnSure.on('touchstart', function() { |
|
|
return;
|
|
|
}
|
|
|
|
|
|
// if (!$('.pitch').hasClass('secect')) {
|
|
|
// $('.prompt').show();
|
|
|
|
|
|
// if($('.ensure').on('click', function() {
|
|
|
|
|
|
// }))
|
|
|
// return;
|
|
|
// }
|
|
|
|
|
|
if (api.pwdValidate(pwd) === false) {
|
|
|
showErrTip('密码6-20位,请重新输入');
|
|
|
} else {
|
|
|
console.log(!$('.pitch').hasClass('secect'));
|
|
|
|
|
|
if ($('.pitch').hasClass('secect')) {
|
|
|
$.ajax({
|
...
|
...
|
@@ -109,7 +109,8 @@ $btnSure.on('touchstart', function() { |
|
|
});
|
|
|
|
|
|
$('.deny').on('click', function() {
|
|
|
location.href = '//m.yohobuy.com/passport/agreement';
|
|
|
//console.log('//m.yohobuy.com/passport/agreement' + window.location.search)
|
|
|
location.href = '//m.yohobuy.com/passport/agreement' + window.location.search;
|
|
|
});
|
|
|
}
|
|
|
}
|
...
|
...
|
|