...
|
...
|
@@ -3532,7 +3532,7 @@ slide = new Slide({ |
|
|
loop: false,
|
|
|
auto: false,
|
|
|
timeout: 2,
|
|
|
index: 1
|
|
|
index: 0
|
|
|
});
|
|
|
|
|
|
slide.on('change', function(data) {
|
...
|
...
|
@@ -4931,10 +4931,20 @@ exports.init = function(page) { |
|
|
$('#agree-terms').click(function() {
|
|
|
if ($(this).attr('notchecked')) {
|
|
|
$(this).removeAttr('notchecked');
|
|
|
$registerBtn.addClass('disable').attr('disabled', 'true');
|
|
|
} else {
|
|
|
$(this).attr('notchecked', 'true');
|
|
|
$registerBtn.removeClass('disable').removeAttr('disabled');
|
|
|
}
|
|
|
});
|
|
|
|
|
|
// 按回车键提交
|
|
|
$registerPage.on('keydown', function(e) {
|
|
|
var key = e.which;
|
|
|
|
|
|
if (key === 13) {
|
|
|
$registerBtn.click();
|
|
|
}
|
|
|
});
|
|
|
|
|
|
$registerPage.find('.va').keyup(function() {
|
...
|
...
|
@@ -5041,7 +5051,6 @@ exports.init = function(page) { |
|
|
|
|
|
//ajax表单提交
|
|
|
$registerBtn.click(function() {
|
|
|
|
|
|
var url;
|
|
|
|
|
|
if (page === 'reg') {
|
...
|
...
|
@@ -5112,6 +5121,7 @@ exports.init = function(page) { |
|
|
$captchaImg.attr('src', captchaImgSrc + '?t=' + time.getTime());
|
|
|
});
|
|
|
};
|
|
|
|
|
|
});
|
|
|
define("js/passport/mail-phone-regx", [], function(require, exports, module){
|
|
|
/**
|
...
|
...
|
|