-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpopup.html
47 lines (44 loc) · 2.14 KB
/
popup.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
<!DOCTYPE html>
<header>
<title>WxPusher消息推送平台</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<style type="text/css">
.line {
padding-top: 3px;
padding-bottom: 3px;
}
</style>
</header>
<body
style="display: flex;flex-direction: column;align-items: center;min-width:250px;padding-top: 5px;padding-bottom: 5px;">
<input type="hidden" id="wxpusher_code" />
<div style="display: flex; flex-direction: column;align-items: center;">
<a href="https://wxpusher.zjiecode.com/" target="_blank" style="margin-bottom: 5px;">
<span style="color:red;font-size: 1.2em; font-weight:bold;">欢迎使用WxPusher消息推送平台</span>
</a>
<div id="wxpusher_qrcode_container" style="display: none; flex-direction: column;align-items: center;">
请使用微信扫码下方二维码登陆
<img id="wxpusher_qrcode" alt="登录二维码" width="120" height="120"><br>
</div>
<div id="tips" style="color:red;margin-bottom: 10px; display: none;">提示信息</div>
<div class="line"
style="display: flex; flex-direction: row;align-self:flex-start; justify-content: space-between;">
声音提醒:<input type="radio" name="sound" value="sound_yes" id="sound_yes" />
<label for="sound_yes">打开</label>
<input type="radio" name="sound" value="sound_no" id="sound_no" />
<label for="sound_no">关闭</label>
</div>
<div class="line" style="align-self: flex-start;">登陆状态:<span id="user-status"></span></div>
<div class="line" style="align-self: flex-start;">链接状态:<span id="ws-connect"></span></div>
<div class="line" style="align-self: flex-start;">当前版本:<span id="version"></span><span id="update_tips"></span>
</div>
<div class="line" style="align-self: flex-start;">官网地址:<a
href="https://wxpusher.zjiecode.com/">wxpusher.zjiecode.com</a>
</div>
</div>
</body>
</html>
<script type="text/javascript" src="./js/save-utils.js"></script>
<script type="text/javascript" src="./js/mylib.js"></script>
<script type="text/javascript" src="./js/api.js"></script>
<script type="text/javascript" src="./popup.js"></script>