Commit bc0f20e8 authored by 刘丹's avatar 刘丹

注册2

parent 6d025fbc
......@@ -40,8 +40,8 @@
</span>
</a>
</div>
<div class="div-conform">
<a class="conform" onclick="sends.conform();">提交</a>
<div class="div-conform" onclick="sends.conform();">
<a class="conform" >提交</a>
</div>
</ul>
</div>
......
......@@ -96,14 +96,14 @@ var sends = {
alert("请输入您的手机号!");
return;
}
if("" == $("#password").val()) {
alert("请输入您的密码!");
return;
}
if("" == $("#ranks").val()) {
alert("请输入您的验证码!");
return;
}
if("" == $("#password").val()) {
alert("请输入您的密码!");
return;
}
if(zc=="/app/images/but_yuedu_nor.png")
{
......@@ -126,7 +126,7 @@ var sends = {
dataType: "json",
beforeSend: function () {},
success: function (response) {
if (response.status == 0) {
if (response.code == 200) {
//成功跳转
$("input").val('');
$(".conform").html("提交.");
......@@ -135,10 +135,11 @@ var sends = {
} else {
alert(response.msg);
$(".conform").html("提交");
}
},
error: function () {
$(".conform").html("提交.");
$(".conform").html("提交");
$('.div-').append('<span class="error">提交失败!</span>');
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment