107 lines
3.8 KiB
HTML
107 lines
3.8 KiB
HTML
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<title>设置密码</title>
|
|
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
|
|
<link rel="shortcut icon" href="/favicon.ico">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
|
|
<link rel="stylesheet" href="../../css/sm.css">
|
|
<link rel="stylesheet" href="../../css/main.css">
|
|
<link rel="stylesheet" href="../../css/theme-orange.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="page-group">
|
|
<div class="page page-current">
|
|
<header class="bar bar-nav">
|
|
<button class="button button-link button-nav pull-left" onclick="history.go(-1)">
|
|
<span class="icon icon-left"></span>
|
|
</button>
|
|
<h1 class="title">设置密码</h1>
|
|
</header>
|
|
<div class="content">
|
|
<div class="list-block media-list">
|
|
<ul>
|
|
<li>
|
|
<a class="item-content">
|
|
<div class="item-inner">
|
|
<div class="item-title-row">
|
|
<div class="item-title"><i class="icon icon-login01"></i></div>
|
|
<div class="item-after">
|
|
<input type="number" id="input_phoneNumber" class="textAlignLeft" placeholder="请输入手机号码" value="13675696776" readonly>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a class="item-content">
|
|
<div class="item-inner">
|
|
<div class="item-title-row">
|
|
<div class="item-title"><i class="icon icon-login03"></i></div>
|
|
<div class="item-after">
|
|
<input type="password" id="input_password" class="textAlignLeft" placeholder="请输入6位以上数字或字母">
|
|
<i class="icon icon-eye-grey"></i>
|
|
<i class="icon icon-eye-orange dn"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="content-block loginBox">
|
|
<p><a href="05_mine01_index.html" class="button button-big button-fill theme" id="confirm_btn">确认</a></p>
|
|
<p><a href="05_mine01_index.html">跳过</a></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript" src="../../js/zepto.js" charset="utf-8"></script>
|
|
|
|
<script>
|
|
|
|
/* 关闭路由,以实现不同页面之间的相互跳转(仅开发环境需要) */
|
|
Zepto = $
|
|
$.config = {router: false}
|
|
|
|
</script>
|
|
|
|
<script type="text/javascript" src="../../js/light7.js" charset="utf-8"></script>
|
|
<script type="text/javascript" src="../../js/cn.js" charset="utf-8"></script>
|
|
|
|
<script>
|
|
|
|
/* 密码显示&隐藏 */
|
|
$(".list-block .item-after .icon-eye-grey").on("click", function () {
|
|
$(".list-block .item-after .icon-eye-grey").hide();
|
|
$(".list-block .item-after .icon-eye-orange").show();
|
|
$("#input_password").attr("type","text");
|
|
});
|
|
$(".list-block .item-after .icon-eye-orange").on("click", function () {
|
|
$(".list-block .item-after .icon-eye-orange").hide();
|
|
$(".list-block .item-after .icon-eye-grey").show();
|
|
$("#input_password").attr("type","password");
|
|
});
|
|
|
|
/* 错误提示-设置密码 */
|
|
$("#confirm_btn").on("click", function () {
|
|
var a = $("#input_password").val();
|
|
if(a == ""){
|
|
$.toast("请输入6位以上数字或字母");
|
|
return false;
|
|
}
|
|
});
|
|
|
|
</script>
|
|
|
|
</body>
|
|
</html> |