-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpopup.html
69 lines (69 loc) · 1.45 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<head>
<style>
body {
display: flex;
flex-direction: column;
align-items: center;
width: 300px;
height: 150px;
padding: 8px;
outline: none;
}
.login {
display: none;
}
.user-wrap {
display: none;
}
.user {
display: flex;
}
.intro {
margin-bottom: 8px;
color: #209e85;
font-size: 14px;
}
.avatar {
width: 60px;
height: 60px;
border-radius: 50%;
}
.meta {
margin-left: 16px;
}
.nickname {
margin-bottom: 8px;
font-size: 16px;
}
.tip {
color: #666;
font-size: 14px;
}
ul {
padding: 12px;
}
</style>
</head>
<body>
<div class="login">
<div>你没有登录扇贝网,登录后可在任意网页右击查词。</div>
<a href="https://web.shanbay.com/web/account/login" target="_blank"
>去扇贝网登录</a
>
</div>
<div class="user-wrap">
<div class="intro">你已登陆扇贝网</div>
<div class="user">
<img src="" class="avatar" />
<div class="meta">
<div class="nickname"></div>
<div class="tip"></div>
</div>
</div>
</div>
<script src="popup.js"></script>
</body>
</html>