服务协议
This commit is contained in:
parent
d500ea0790
commit
7f19295b88
|
@ -66,7 +66,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function register(){
|
function register(){
|
||||||
if($login_correct && $mail_correct && $passwd_correct && $passwd_comfirm_correct){
|
if($login_correct && $mail_correct && $passwd_correct && $passwd_comfirm_correct && $("#read_and_confirm").attr("checked") == 'checked'){
|
||||||
$("#main_reg_form").submit();
|
$("#main_reg_form").submit();
|
||||||
}else{
|
}else{
|
||||||
$('#user_login').blur();
|
$('#user_login').blur();
|
||||||
|
@ -242,6 +242,11 @@
|
||||||
<%= f.text_field :login, :size => 25,:placeholder=>"请输入用户昵称",:class=>'loginSignBox'%>
|
<%= f.text_field :login, :size => 25,:placeholder=>"请输入用户昵称",:class=>'loginSignBox'%>
|
||||||
<div class="loginSignAlert" id="login_req" style="display: none">用户昵称为2-18个中英文,数字或下划线</div>
|
<div class="loginSignAlert" id="login_req" style="display: none">用户昵称为2-18个中英文,数字或下划线</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="loginSignOption">
|
||||||
|
<div class="fl mt3 mr5">
|
||||||
|
<input type="checkbox" id="read_and_confirm"/>
|
||||||
|
</div>
|
||||||
|
我已阅读并接受<a href="javascript:void(0);" class="newsBlue"><u>Trustie服务协议</u></a>条款</div>
|
||||||
<div class="loginUpButton">
|
<div class="loginUpButton">
|
||||||
<a href="javascript:void(0);" class="c_white db" onclick="register();">注册</a>
|
<a href="javascript:void(0);" class="c_white db" onclick="register();">注册</a>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue