作者 lihan
1 个管道 的构建 通过 耗费 2 秒

赠送积分和角色管理

@@ -161,6 +161,7 @@ @@ -161,6 +161,7 @@
161 161
162 success: function (data) { 162 success: function (data) {
163 if(data.data === true) { 163 if(data.data === true) {
  164 + localStorage.clear();
164 window.location.href="{:url('user/Center/editPhone2')}" 165 window.location.href="{:url('user/Center/editPhone2')}"
165 }else { 166 }else {
166 alert(data.msg); 167 alert(data.msg);
@@ -172,7 +172,7 @@ @@ -172,7 +172,7 @@
172 InterValObj = window.setInterval(SetRemainTime,1000); 172 InterValObj = window.setInterval(SetRemainTime,1000);
173 if(t!=null){ 173 if(t!=null){
174 curCount=t; 174 curCount=t;
175 - $(".nextstep").attr("disabled",true); 175 + //$(".nextstep").attr("disabled",true);
176 $(".sendcode").attr("disabled",true) 176 $(".sendcode").attr("disabled",true)
177 var phone=localStorage.getItem("mobile"); 177 var phone=localStorage.getItem("mobile");
178 $(".enterphone").val(phone) 178 $(".enterphone").val(phone)
@@ -195,7 +195,7 @@ @@ -195,7 +195,7 @@
195 curCount = count; 195 curCount = count;
196 //设置button效果,开始计时 196 //设置button效果,开始计时
197 $(".sendcode").attr("disabled",true); 197 $(".sendcode").attr("disabled",true);
198 - $(".nextstep").attr("disabled",true); 198 + //$(".nextstep").attr("disabled",true);
199 // $(".sendcode").unbind() 199 // $(".sendcode").unbind()
200 $(".sendcode").html( curCount + "秒"); 200 $(".sendcode").html( curCount + "秒");
201 $(".sendcode").css("color","#fff"); 201 $(".sendcode").css("color","#fff");
@@ -207,7 +207,7 @@ @@ -207,7 +207,7 @@
207 if (curCount == 0) { 207 if (curCount == 0) {
208 window.clearInterval(InterValObj);//停止计时器 208 window.clearInterval(InterValObj);//停止计时器
209 $(".sendcode").removeAttr("disabled");//启用按钮 209 $(".sendcode").removeAttr("disabled");//启用按钮
210 - $(".nextstep").removeAttr("disabled"); 210 + //$(".nextstep").removeAttr("disabled");
211 $(".sendcode").html("重新获取证码"); 211 $(".sendcode").html("重新获取证码");
212 $(".sendcode").css("color","#fff"); 212 $(".sendcode").css("color","#fff");
213 localStorage.clear(); 213 localStorage.clear();