why.xingtongworld.com项目
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.
 
 
 
 
 

83 lines
3.4 KiB

{layout name="public/layout" /}
<div id="login">
<img src="{$yf_theme_path}/public/img/logbg.jpg" width="100%"/>
<div class="wraper">
<form id="regForm" class="form-horizontal" action="{:url('runpwd_reset')}" method="post">
<div class="form-group">
<label class="col-xs-3 control-label">&nbsp;码:</label>
<div class="col-xs-8">
<input type="password" class="form-control" name="password" id="password" placeholder="请输入密码">
</div>
</div>
<div class="form-group">
<label class="col-xs-3 control-label">确认密码:</label>
<div class="col-xs-8">
<input type="password" class="form-control" name="repassword" placeholder="请输入确认密码">
</div>
</div>
<div class="form-group">
<label class="col-xs-3 control-label">&nbsp;</label>
<div class=" col-xs-8" style="padding-left:0px;">
<img class="verify_img" src="{:url('check_verify',['key'=>'pwd_reset'])}" onClick="this.src='{:url('check_verify',['key'=>'pwd_reset'])}'+'?'+Math.random()" style="cursor: pointer;width:100%;border: 1px solid #d5d5d5;height:34px;border-radius: 3px;">
</div>
</div>
<div class="form-group">
<label class="col-xs-3 control-label">验证码:</label>
<div class=" col-xs-8" style="padding-left:0px;">
<input type="text" class="form-control" name="verify" placeholder="请输入验证码">
</div>
</div>
<div class="form-group">
<div class="col-xs-offset-3 col-xs-8">
<input type="hidden" name="member_list_id" value="{$member_list_id}">
<input type="hidden" name="code" value="{$code}">
<input type="hidden" name="type" value="{$type}">
<button type="submit" class="btn btn-danger" style="width:100%;">确定</button>
</div>
</div>
<div class="form-group">
<div class="col-xs-offset-3 col-xs-8">
<div class="checkbox">
<label>
已有帐号?<a href="{:url('index')}">立即登录</a>
</label>
</div>
</div>
</div>
</form>
<!--手机注册page结束-->
</div>
</div>
<script type="text/javascript" charset="utf-8" src="//g.alicdn.com/sd/ncpc/nc.js?t={:time()}"></script>
<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>
<style>
.nc-container .nc_scale span{line-height:34px;height:34px;}
</style>
<script>
<!--注册开始-->
var rules={
"password":"required",
"repassword":{
equalTo:"#password"
},
"verify":"required",
};
var messages={
"password":"密码必填",
"repassword":{
equalTo:"密码与确认密码不一致"
},
"verify":"验证码必填"
};
tool.commonForm("#regForm",rules,messages,'',function(){
setTimeout(function(){
var src="{:url('Login/check_verify',['key'=>'pwd_reset'])}?"+Math.random();
$(".verify_img").attr('src',src);
},3000);
});
<!--注册结束-->
</script>