diff --git a/Application/Home/View/default/Index/phoneLogin.html b/Application/Home/View/default/Index/phoneLogin.html
index a711b5c5e..95416a3d3 100644
--- a/Application/Home/View/default/Index/phoneLogin.html
+++ b/Application/Home/View/default/Index/phoneLogin.html
@@ -25,7 +25,7 @@
-
+
@@ -249,19 +249,16 @@
}
});
var r = function(i, t) {
- if (i>0) {
- var r = 60;
- e='#sendSasfeCode';
- $(e).removeClass('g-btn').addClass('g-btntn');
- var a = setInterval(function() {
- r--;
- $(e).text(r + '秒');
- 0 == r && ($(e).removeClass('g-btntn').addClass('g-btn'),
- $(e).text('获取验证码'),
- clearInterval(a))
- },1000)
- }
- };
+ var e = $('#sendtelCode');
+ var t = 60;
+ e.attr('disabled', true).text(t+'秒');
+ var a = setInterval(function() {
+ t--;
+ e.text(t+'秒');
+ t>0 || (clearInterval(a),e.attr('disabled', false).text('重新发送'));
+ },1000);
+ };
+ return false;
});
\ No newline at end of file
diff --git a/Application/Home/View/default/Safe/bindTel.html b/Application/Home/View/default/Safe/bindTel.html
index ac81ebbbe..2e4cc855e 100644
--- a/Application/Home/View/default/Safe/bindTel.html
+++ b/Application/Home/View/default/Safe/bindTel.html
@@ -59,7 +59,7 @@
*短信验证码 |
-
+
|
@@ -208,8 +208,8 @@
- AF.users.account_edit(1429);
- AF.users.account_content_edit(1429);
+ // AF.users.account_edit(1429);
+ // AF.users.account_content_edit(1429);
_init_area();
_reset_area('','','');
});
@@ -245,19 +245,16 @@
}
});
var r = function(i, t) {
- if (i>0) {
- var r = 60;
- e='#sendSasfeCode';
- $(e).removeClass('g-btn').addClass('g-btntn');
- var a = setInterval(function() {
- r--;
- $(e).text(r + '秒');
- 0 == r && ($(e).removeClass('g-btntn').addClass('g-btn'),
- $(e).text('获取验证码'),
- clearInterval(a))
- },1000)
- }
+ var e = $('#sendtelCode');
+ var t = 60;
+ e.addClass('disabled').attr('disabled', true).text(t+'秒');
+ var a = setInterval(function() {
+ t--;
+ e.text(t+'秒');
+ t>0 || (clearInterval(a),e.removeClass('disabled').attr('disabled', false).text('重新发送'));
+ },1000);
};
+ return false;
});
diff --git a/Application/Home/View/default/Safe/setSafeIndex.html b/Application/Home/View/default/Safe/setSafeIndex.html
index 8e79c0f1f..665c16d01 100644
--- a/Application/Home/View/default/Safe/setSafeIndex.html
+++ b/Application/Home/View/default/Safe/setSafeIndex.html
@@ -3,11 +3,11 @@