-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbrowser_popup.html
99 lines (89 loc) · 1.7 KB
/
browser_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
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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<style>
.switch{
padding:10px;
text-align:center;
cursor:pointer
}
.active{
background:#0f0;
}
.fl{
float:left;
}
.fr{
float:right;
}
.btn{
text-align:center;
padding:5px;
}
.btn-success{
background: #0BF;
color: #fff
}
.stocks{
width:100%;
}
.stock{
width:100%;
text-align:center;
border-bottom: 1px solid #000;
}
.stock .item{
display:inline-block;
width:20%;
padding:5px 0px;
}
.stock .item span{
padding:1px 5px;
}
.stock .setting{
width:auto;
background: red;
}
.min-input{
width:50px
}
.up{
color: #CC0000
}
.down{
color: #006600
}
</style>
</head>
<body>
<div style="width:600px">
<div class="fl" style="width:200px">
<p>我的自选股小助手</p>
</div>
<div class="fr" style="width:400px">
<div class="fr switch" id="close">关</div>
<div class="fr switch" id="open">开</div>
</div>
<div style="clear:both;margin-top:10px"></div>
<hr style="width:100%"/>
<div id="addStk">
<input type="text" value="" id="symbol" style="width:550px"/>
<input type="button" value="确定" id="addStkBtn" />
</div>
<div id="message"></div>
<hr style="width:100%"/>
<div class="stocks">
<div class="stock">
<a class="item">股票</a>
<a class="item">价格</a>
<a class="item">涨跌幅</a>
<a class="item">价格提醒</a>
<a class="item setting"></a>
</div>
</div>
</div>
<script src="jquery-2.0.0.min.js"></script>
<script src="main.js"></script>
</body>
</html>