...
|
...
|
@@ -232,9 +232,10 @@ function nextStep() { |
|
|
areaCode = $('#areanum').text();
|
|
|
regx = phoneRegx['+' + areaCode];
|
|
|
|
|
|
if (!isagree()) {
|
|
|
return;
|
|
|
}
|
|
|
// if (!isagree()) {
|
|
|
// return;
|
|
|
// }
|
|
|
|
|
|
if (mobile === '' || !regx || !regx.test(mobile)) {
|
|
|
$phoneTip.find('em').text('手机格式错误');
|
|
|
$phoneTip.removeClass('hide');
|
...
|
...
|
@@ -295,7 +296,9 @@ $wrapper.on('keydown', '.phonenum', function(e) { |
|
|
function init() {
|
|
|
fixAreaNum(); // 去掉所有区域的+
|
|
|
sendMessageValidate(); // 有交互的发送短信
|
|
|
chooseProtocol(); // 选择协议
|
|
|
|
|
|
// chooseProtocol(); // 选择协议
|
|
|
|
|
|
chooseArea(); // 选择区域
|
|
|
chooseAreaToogle(); // 选择区域展示或关闭
|
|
|
cancelChooseArea(); // 取消选择区域
|
...
|
...
|
|