control.html
7.4 KB
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" type="text/css" href="static/iconfont.css"/>
<link rel="stylesheet" href="https://libs.baidu.com/jqueryui/1.10.4/css/jquery-ui.min.css">
<script src="https://libs.baidu.com/jquery/1.10.2/jquery.min.js"></script>
<script src="https://libs.baidu.com/jqueryui/1.10.4/jquery-ui.min.js"></script>
<style type="text/css">
body{
margin: 8px;
}
.leftBox{
float: left;
margin-right: 20px;
}
.rightBox{
float: left;
font-size: 0;
-webkit-text-size-adjust:none;
}
object{
width: 874px;
height: 640px;
background: red;
}
.publicBtn{
border: 1px solid #e9e9e9;
display: inline-block;
width: 44px;
height: 44px;
line-height: 40px;
text-align: center;
margin-bottom: 6px;
font-size: 24px;
cursor: pointer;
}
.btn{
margin-right: 6px;
}
.leftControlBox{
width: 156px;
float: left;
margin-right: 14px;
}
.preBtn{
border-right:1px dotted #e9e9e9 ;
}
.afterBtn{
border-left: none;
}
.rightControlBox{
width: 120px;
float: left;
}
.ulBox{
border: 1px solid #e9e9e9;
width: 250px;
height: 400px;
overflow-y: auto;
font-size: 16px;
color: #333333
}
.liBox{
height: 48px;
line-height: 48px;
padding: 0 10px;
cursor: pointer;
}
.btnBox{
visibility: hidden;
}
.liBox:hover .btnBox{
background: #EEEEEE;
visibility:visible;
}
.liBox:hover{
background: #EEEEEE;
}
.num{
display: inline-block;
width: 34px;
margin-right: 10px;
}
.name{
display: inline-block;
width: 94px;
}
.iconBtn{
margin-right: 8px;
cursor: pointer;
}
.iconBtn:nth-last-child(1){
margin-right: 0;
}
.iconBtn:nth-last-child(3){
transform: rotate(60deg);
-webkit-transform:rotate(60deg);
display: inline-block;
}
#slider{
width: 70%;
float: left;
margin-right: 5%;
margin-top: 4px;
background: #E9E9E9;
}
#slider .ui-slider-range { background: #ef2929; }
#slider .ui-slider-handle { border-color: #E9E9E9; background:#FFFFFF ;border-radius:8px ;}
.numInput{
width: 10%;
float: left;
}
</style>
</head>
<body>
<div class="leftBox">
<object>
</object>
</div>
<div class="rightBox">
<div style="overflow: hidden;margin-bottom: 12px;">
<div class="leftControlBox">
<span class="publicBtn btn"><span class="iconfont icon-zuoshangjiantou"></span></span>
<span class="publicBtn btn"><span class="iconfont icon-shangjiantou"></span></span>
<span class="publicBtn btn"><span class="iconfont icon-youshangjiantou"></span></span>
<span class="publicBtn btn"><span class="iconfont icon-shangjiantou-copy"></span></span>
<span class="publicBtn btn"><span class="iconfont icon-f14"></span></span>
<span class="publicBtn btn"><span class="iconfont icon-shangjiantou1"></span></span>
<span class="publicBtn btn"><span class="iconfont icon-zuoxiajiantou"></span></span>
<span class="publicBtn btn"><span class="iconfont icon-right"></span></span>
<span class="publicBtn btn"><span class="iconfont icon-youxiajiantou"></span></span>
</div>
<div class="rightControlBox">
<span class="publicBtn preBtn"><span class="iconfont icon-suoxiao"></span></span>
<span class="publicBtn afterBtn"><span class="iconfont icon-fangda"></span></span>
<span class="publicBtn preBtn"><span class="iconfont icon-qianjingsebaise-"></span></span>
<span class="publicBtn afterBtn"><span class="iconfont icon-qianjingseheise-"></span></span>
<span class="publicBtn preBtn"><span class="iconfont icon-guangquan"></span></span>
<span class="publicBtn afterBtn"><span class="iconfont icon-guangquan1"></span></span>
</div>
</div>
<div style="margin-bottom: 20px;font-size: 12px;">
<div id="slider"></div>
<input type="text" class="numInput">
<div style="clear: both;"></div>
</div>
<div class="ulBox">
<div class="liBox"><span class="num">1</span><span class="name">预设点</span>
<span class="btnBox">
<span class="iconfont icon-wanjiantou- iconBtn"></span><span class="iconfont icon-shezhi iconBtn"></span><span class="iconfont icon-close-blod iconBtn"></span>
</span>
</div>
<div class="liBox"><span class="num">1</span><span class="name">预设点</span>
<span class="btnBox">
<span class="iconfont icon-wanjiantou- iconBtn"></span><span class="iconfont icon-shezhi iconBtn"></span><span class="iconfont icon-close-blod iconBtn"></span>
</span>
</div>
<div class="liBox"><span class="num">1</span><span class="name">预设点</span>
<span class="btnBox">
<span class="iconfont icon-wanjiantou- iconBtn"></span><span class="iconfont icon-shezhi iconBtn"></span><span class="iconfont icon-close-blod iconBtn"></span>
</span>
</div>
<div class="liBox"><span class="num">1</span><span class="name">预设点</span>
<span class="btnBox">
<span class="iconfont icon-wanjiantou- iconBtn"></span><span class="iconfont icon-shezhi iconBtn"></span><span class="iconfont icon-close-blod iconBtn"></span>
</span>
</div>
<div class="liBox"><span class="num">1</span><span class="name">预设点</span>
<span class="btnBox">
<span class="iconfont icon-wanjiantou- iconBtn"></span><span class="iconfont icon-shezhi iconBtn"></span><span class="iconfont icon-close-blod iconBtn"></span>
</span>
</div>
<div class="liBox"><span class="num">1</span><span class="name">预设点</span>
<span class="btnBox">
<span class="iconfont icon-wanjiantou- iconBtn"></span><span class="iconfont icon-shezhi iconBtn"></span><span class="iconfont icon-close-blod iconBtn"></span>
</span>
</div>
<div class="liBox"><span class="num">1</span><span class="name">预设点</span>
<span class="btnBox">
<span class="iconfont icon-wanjiantou- iconBtn"></span><span class="iconfont icon-shezhi iconBtn"></span><span class="iconfont icon-close-blod iconBtn"></span>
</span>
</div>
<div class="liBox"><span class="num">1</span><span class="name">预设点</span>
<span class="btnBox">
<span class="iconfont icon-wanjiantou- iconBtn"></span><span class="iconfont icon-shezhi iconBtn"></span><span class="iconfont icon-close-blod iconBtn"></span>
</span>
</div>
<div class="liBox"><span class="num">1</span><span class="name">预设点</span>
<span class="btnBox">
<span class="iconfont icon-wanjiantou- iconBtn"></span><span class="iconfont icon-shezhi iconBtn"></span><span class="iconfont icon-close-blod iconBtn"></span>
</span>
</div>
<div class="liBox"><span class="num">1</span><span class="name">预设点</span>
<span class="btnBox">
<span class="iconfont icon-wanjiantou- iconBtn"></span><span class="iconfont icon-shezhi iconBtn"></span><span class="iconfont icon-close-blod iconBtn"></span>
</span>
</div>
</div>
</div>
</body>
<script type="text/javascript">
function changeVal(){
$('.numInput').val($( "#slider" ).slider( "value" ))
}
$(function(){
$( "#slider" ).slider({
orientation: "horizontal",
range: "min",
max: 255,
min:0,
value: 127,
slide: changeVal,
change: changeVal
});
$( "#slider" ).slider( "value", 100 );
})
</script>
</html>