findpwd.phtml 953 Bytes

<div class="bd">
				<div class="market-hd">
					<a href="javascript:;" class="user-pic"></a>
				</div>
		<form action="/passport/email/resetpwd" method="post" id="resetform">
		<input type="hidden" name="code" value="<?php echo $code; ?>" />
				<div class="reset-wrap">
					<h2>重置密码<span>Reset Password</span></h2>
					<p>验证成功,请输入新的密码。以后将使用新密码登录</p>
					<div class="input-wrap">
						<input type="password" name="password" id="password-input" value="" placeholder="新密码" />
					</div>
					<div class="comfirm-btn">
						<a href="javascript:void(0)" onclick="checkForm();">完成</a>
					</div>
				</div>
		</form>
			</div>

<script type="text/javascript">
<!--
function checkForm() {
	var pwd = $('#password-input').val();
	if(pwd == '' || pwd.length<6) {
		alert('请至少输入6位密码');
		$('#password').focus();
		return;
	}
	$('#resetform').submit();
}

//-->
</script>