作者 李涵
1 个管道 的构建 通过 耗费 1 秒

合并分支 'li' 到 'master'

赠送积分和角色管理



查看合并请求 !477
... ... @@ -161,6 +161,7 @@
success: function (data) {
if(data.data === true) {
localStorage.clear();
window.location.href="{:url('user/Center/editPhone2')}"
}else {
alert(data.msg);
... ...
... ... @@ -172,7 +172,7 @@
InterValObj = window.setInterval(SetRemainTime,1000);
if(t!=null){
curCount=t;
$(".nextstep").attr("disabled",true);
//$(".nextstep").attr("disabled",true);
$(".sendcode").attr("disabled",true)
var phone=localStorage.getItem("mobile");
$(".enterphone").val(phone)
... ... @@ -195,7 +195,7 @@
curCount = count;
//设置button效果,开始计时
$(".sendcode").attr("disabled",true);
$(".nextstep").attr("disabled",true);
//$(".nextstep").attr("disabled",true);
// $(".sendcode").unbind()
$(".sendcode").html( curCount + "秒");
$(".sendcode").css("color","#fff");
... ... @@ -207,7 +207,7 @@
if (curCount == 0) {
window.clearInterval(InterValObj);//停止计时器
$(".sendcode").removeAttr("disabled");//启用按钮
$(".nextstep").removeAttr("disabled");
//$(".nextstep").removeAttr("disabled");
$(".sendcode").html("重新获取证码");
$(".sendcode").css("color","#fff");
localStorage.clear();
... ...