-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmember_password.html
109 lines (109 loc) · 4.35 KB
/
member_password.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script>
if ((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) {
window.location.href = "phone/update_password.html"; //手机
}
if (window.ActiveXObject || "ActiveXObject" in window) {
window.location.href = "ie.html";
}
</script>
<title>顾里商城 - 修改密码</title>
<link rel="shortcut icon" href="images/logo.ico">
<link rel="stylesheet" href="css/common.css">
<link rel="stylesheet" href="css/member_password.css">
</head>
<body>
<!-- 顶部导航栏 start -->
<div class="header-top">
<!-- 顶部导航的左侧导航 -->
<div class="left">
<a href="login.html">你好,请登录</a>
<a href="register.html" style="color: #ffc0cb;">免费注册</a>
</div>
<!-- 顶部导航的右侧导航 -->
<div class="right">
<ul>
<li>
<a href="member.html" class="indent">我的订单</a>
</li>
<li>
<a href="member.html" class="member">个人中心</a>
</li>
<li id="serVice">
<span>客户服务</span>
<div class="service" id="service">
<h3 style="text-align: center;">客户服务</h3>
<a href="" style="display: inline-block;margin-top: 5px;margin-left: 5px;margin-bottom: 5px;">服务</a>
</div>
</li>
<li id="Phone">
<span>手机商城</span>
<div class="phone" id="phone">
<h3 style="margin-bottom: 10px;text-align: center;">手机商城</h3>
</div>
</li>
<li id="navigAtion">
<span>网站导航</span>
<div class="navigation" id="navigation">
<h3 style="margin-bottom: 10px;text-align: center;">网站导航</h3>
</div>
</li>
</ul>
</div>
</div>
<!-- 顶部导航栏 end -->
<!-- 主体内容 start -->
<div class="main">
<form>
<input style="width: 180px;border: 1px solid #ccc" type="password" placeholder="请输入新密码" id="pwd">
<br />
<br />
<input type="submit" value="确认修改" class="modifying">
<p class="if_hidden" id="if_hidden"></p>
</form>
<br />
<a href="index.html" class="home">返回首页</a>
<div class="right">
<h2 style="text-align: center;">公告</h2>
<p style="margin: 10px;">由于这个商城是由作者:(顾里)独自完成开发,并且没有什么审美,所以修改密码这个地方就这样了,以后运营的好的话可能会持续更新,敬请期待哦~</p>
</div>
</div>
<!-- 主体内容 end -->
<!-- 底部 start -->
<div class="footer">
<a href="">关于我们 |</a>
<a href="">联系我们 |</a>
<a href="">联系客服 |</a>
<a href="">友情链接 |</a>
<a href="">手机商城 |</a>
<a href="">隐私政策 |</a>
<a href="">免责声明</a>
<p style="margin-top: 5px;color: #666;">copyright: © 2022-2044 顾里商城ggsch.cn 版权所有</p>
</div>
<!-- 底部 end -->
<script src="js/jQuery.mini.js" type="text/javascript"></script>
<script src="js/Flibrary.js" type="text/javascript"></script>
<script src="js/common.js" type="text/javascript"></script>
<script>
const pwd = $("#pwd");
const if_hidden = $("#if_hidden");
var flag = true;
if_hidden.click(function() {
if (flag == true) {
if_hidden.html("");
pwd.attr({type: "text"});
flag = false;
} else {
if_hidden.html("");
pwd.attr({type: "password"});
flag = true;
}
});
</script>
</body>
</html>