Commit 86801f46 by 陈超

T

parent 09bd6aec
...@@ -63,34 +63,34 @@ ...@@ -63,34 +63,34 @@
</div> </div>
<script> <script>
// $(function(){ $(function(){
// $('.loginbox').height($('.loginbox')[0].clientHeight); // $('.loginbox').height($('.loginbox')[0].clientHeight);
// $('.login_btn').click(function(){ // $('.login_btn').click(function(){
// if($('#account_input').val() == ''){ // if($('#account_input').val() == ''){
// ui.error('登录名或登录账号不能为空'); // ui.error('登录名或登录账号不能为空');
// return; // return;
// } // }
// if($('#pwd_input').val() == ''){ // if($('#pwd_input').val() == ''){
// ui.error('登录密码不能为空'); // ui.error('登录密码不能为空');
// return; // return;
// } // }
// $.post(U('basic/Passport/doLogin'),$('#ajax_login_form').serialize(),function(data){ // $.post(U('basic/Passport/doLogin'),$('#ajax_login_form').serialize(),function(data){
// if(data.status == 1){ // if(data.status == 1){
// ui.success('登录成功'); // ui.success('登录成功');
// var reurl = "{$reurl}"; // var reurl = "{$reurl}";
// if(reurl) { // if(reurl) {
// window.location.href = reurl; // window.location.href = reurl;
// } else { // } else {
// window.location.href = data.data;; // window.location.href = data.data;;
// } // }
// } else { // } else {
// ui.error(data.info); // ui.error(data.info);
// return false; // return false;
// } // }
// },'json'); // },'json');
// }); // });
// $("#preloader").hide(); $("#preloader").hide();
// }); });
String.prototype.isMobile = function() { String.prototype.isMobile = function() {
return (/^1[3|4|5|6|7|8|9]\d{9}$/.test(this)); return (/^1[3|4|5|6|7|8|9]\d{9}$/.test(this));
......
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