You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
3.1 KiB
65 lines
3.1 KiB
{layout name="public/layout" /}
|
|
<style>
|
|
#logForm label.error{color:red;}
|
|
</style>
|
|
<div id="login">
|
|
<img src="{$yf_theme_path}/public/img/logbg.jpg" width="100%"/>
|
|
<div class="wraper">
|
|
<form id="logForm" class="" action="{:url('Login/runlogin2')}" method="post">
|
|
<div class="form-group">
|
|
<label >帐号</label>
|
|
<input type="text" class="form-control" name="member_list_username" placeholder="请输入帐号" autocomplete="off">
|
|
</div>
|
|
<div class="form-group">
|
|
<label >密 码</label>
|
|
<input type="password" class="form-control" name="member_list_pwd" placeholder="请输入密码" autocomplete="off">
|
|
</div>
|
|
<div class="form-group" style="padding:6px 2px;">
|
|
<div class="form-control" style="padding:3px 0px;">
|
|
<img class="verify_img" id="login_verify" src="{:url('check_verify',['key'=>'mlog'])}" style="cursor: pointer;margin-top:-3px;width:66%;vertical-align:top;display:inline-block;height:34px;border-radius: 3px;">
|
|
<input type="text" class="form-control" name="verify" placeholder="输入验证码" style="display:inline-block;vertical-align:top;width:32%;padding:3px;">
|
|
</div>
|
|
</div>
|
|
<button type="submit" class="btn btn-danger" style="width:100%;margin-top:5%;">登录</button>
|
|
<input type="hidden" name="openid" value="{$openid}">
|
|
<input type="hidden" name="jump" value="{$jump}">
|
|
<div class="checkbox text-right">
|
|
<label><a href="{:url('login/index')}">短信登录</a></label>
|
|
<label><a href="{:url('common/join')}">加入我们</a></label>
|
|
<label>
|
|
<a href="{:url('forget')}">找回密码</a>
|
|
</label>
|
|
</div>
|
|
<p>会员可直接通过预留手机登录,如需帮助可拨打0755-88266839咨询。</p>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<script src="{$yf_theme_path}public/js/jquery.form.js"></script>
|
|
<script src="{$yf_theme_path}public/js/jquery.validate.min.js"></script>
|
|
<script src="{$yf_theme_path}public/js/layer/layer.js"></script>
|
|
<script src="{$yf_theme_path}public/js/base.js"></script>
|
|
<script>
|
|
|
|
$(function(){
|
|
var rules={
|
|
"member_list_username":"required",
|
|
"member_list_pwd":"required",
|
|
"verify":"required",
|
|
};
|
|
var messages={
|
|
"member_list_pwd":"密码必填",
|
|
"verify":"验证码必填",
|
|
"member_list_username":"帐号必填"
|
|
};
|
|
$("#login_verify").click(function(){
|
|
var src="{:url('Login/check_verify',['key'=>'mlog'])}?"+Math.random();
|
|
$("#login_verify").attr('src',src);
|
|
});
|
|
tool.commonForm("#logForm",rules,messages,tool.tipError,function(){
|
|
setTimeout(function(){
|
|
var src="{:url('Login/check_verify',['key'=>'mlog'])}?"+Math.random();
|
|
$("#login_verify").attr('src',src);
|
|
},3000);
|
|
});
|
|
});
|
|
</script>
|