commit | author | age
|
1c88ba
|
1 |
@charset "UTF-8"; |
Z |
2 |
|
|
3 |
/* 公共样式 */ |
|
4 |
.flex-al1 { |
|
5 |
-webkit-box-flex: 1; |
|
6 |
-webkit-flex: 1; |
|
7 |
-ms-flex: 1; |
|
8 |
flex: 1; |
|
9 |
width: 20%; |
|
10 |
} |
|
11 |
.flex0 { |
|
12 |
display: -webkit-box; |
|
13 |
display: -moz-box; |
|
14 |
display: -ms-flexbox; |
|
15 |
display: -webkit-flex; |
|
16 |
display: flex; |
|
17 |
-webkit-box-align: center; |
|
18 |
-webkit-align-items: center; |
|
19 |
-ms-flex-align: center; |
|
20 |
align-items: center; |
|
21 |
} |
|
22 |
.flex0_1 { |
|
23 |
display: -webkit-box; |
|
24 |
display: -moz-box; |
|
25 |
display: -ms-flexbox; |
|
26 |
display: -webkit-flex; |
|
27 |
display: flex; |
|
28 |
-webkit-box-align: stretch; |
|
29 |
-webkit-align-items: stretch; |
|
30 |
-ms-flex-align: stretch; |
|
31 |
align-items: stretch; |
|
32 |
} |
|
33 |
.flex_g0 { |
|
34 |
-webkit-flex-grow: 0; |
|
35 |
-webkit-flex-shrink: 0; |
|
36 |
flex-grow: 0; |
|
37 |
flex-shrink: 0; |
|
38 |
} |
|
39 |
.flex1 { |
|
40 |
display: -webkit-box; |
|
41 |
display: -moz-box; |
|
42 |
display: -ms-flexbox; |
|
43 |
display: -webkit-flex; |
|
44 |
display: flex; |
|
45 |
-webkit-box-pack: justify; |
|
46 |
-webkit-justify-content: space-between; |
|
47 |
-ms-flex-pack: justify; |
|
48 |
justify-content: space-between; |
|
49 |
-webkit-box-align: center; |
|
50 |
-webkit-align-items: center; |
|
51 |
-ms-flex-align: center; |
|
52 |
align-items: center; |
|
53 |
-webkit-box-flex: 1; |
|
54 |
-webkit-flex: 1; |
|
55 |
-ms-flex: 1; |
|
56 |
flex: 1; |
|
57 |
} |
|
58 |
.flex9 { |
|
59 |
display: -webkit-box; |
|
60 |
display: -moz-box; |
|
61 |
display: -ms-flexbox; |
|
62 |
display: -webkit-flex; |
|
63 |
display: flex; |
|
64 |
-webkit-box-pack: center; |
|
65 |
-webkit-justify-content: center; |
|
66 |
-ms-flex-pack: center; |
|
67 |
justify-content: center; |
|
68 |
-webkit-box-align: center; |
|
69 |
-webkit-align-items: center; |
|
70 |
-ms-flex-align: center; |
|
71 |
align-items: center; |
|
72 |
} |
|
73 |
.flex10 { |
|
74 |
display: -webkit-box; |
|
75 |
display: -moz-box; |
|
76 |
display: -ms-flexbox; |
|
77 |
display: -webkit-flex; |
|
78 |
display: flex; |
|
79 |
-webkit-flex-direction: column; |
|
80 |
-moz-flex-direction: column; |
|
81 |
-ms-flex-direction: column; |
|
82 |
-o-flex-direction: column; |
|
83 |
flex-direction: column; |
|
84 |
-webkit-box-pack: justify; |
|
85 |
-webkit-justify-content: space-between; |
|
86 |
-ms-flex-pack: justify; |
|
87 |
justify-content: space-between; |
|
88 |
} |
|
89 |
|
|
90 |
/* 顶部搜索框和分类排序 */ |
|
91 |
.fix_grid_96 { |
|
92 |
height: 96px; |
|
93 |
} |
|
94 |
.fix_grid { |
|
95 |
position: fixed; |
|
96 |
top: 0; |
|
97 |
width: 100%; |
|
98 |
max-width: 640px; |
|
99 |
z-index: 1000; |
|
100 |
} |
|
101 |
.search_grid { |
|
102 |
background-color: #f1f1f3; |
|
103 |
padding: 5px; |
|
104 |
} |
|
105 |
.search_grid .search { |
|
106 |
border: 1px solid #dedede; |
|
107 |
-webkit-border-radius: 4px; |
|
108 |
-moz-border-radius: 4px; |
|
109 |
border-radius: 4px; |
|
110 |
padding: 5px 15px; |
|
111 |
background-color: white; |
|
112 |
font-size: 14px; |
|
113 |
color: #1d1d1d; |
|
114 |
} |
|
115 |
.search_grid .search .search-btn { |
|
116 |
position: absolute; |
|
117 |
right: 10px; |
|
118 |
background-color: #eee; |
|
119 |
padding: 5px 15px; |
|
120 |
border-radius: 25px; |
|
121 |
} |
|
122 |
.search_grid .search .icon_search { |
|
123 |
width: 16px; |
|
124 |
height: 28px; |
|
125 |
margin-right: 10px; |
|
126 |
background-position: center center; |
|
127 |
background-image: url(../../images/icon_search.png); |
|
128 |
background-repeat: no-repeat; |
|
129 |
background-size: auto 16px; |
|
130 |
} |
|
131 |
.search_grid .search form{ |
|
132 |
width: 100%; |
|
133 |
} |
|
134 |
.search_grid .search input { |
|
135 |
height: 28px; |
|
136 |
width: 70%; |
|
137 |
} |
|
138 |
input, button, textarea, select { |
|
139 |
font-family: inherit; |
|
140 |
font-size: inherit; |
|
141 |
font-weight: inherit; |
|
142 |
border: 0; |
|
143 |
background: none; |
|
144 |
-webkit-appearance: none; |
|
145 |
outline: 0; |
|
146 |
} |
|
147 |
.list_menu_grid .icon_down { |
|
148 |
margin-left: 5px; |
|
149 |
} |
|
150 |
.list_menu_grid { |
|
151 |
height: 45px; |
|
152 |
background-color: white; |
|
153 |
color: #1d1d1d; |
|
154 |
font-size: 13px; |
|
155 |
text-align: center; |
|
156 |
border-bottom: 1px solid #e4e5ea; |
|
157 |
} |
|
158 |
.icon_down { |
|
159 |
display: inline-block; |
|
160 |
width: 10px; |
|
161 |
height: 5px; |
|
162 |
background-image: url(../../images/icon_down.png); |
|
163 |
background-repeat: no-repeat; |
|
164 |
background-size: 100%; |
|
165 |
} |
|
166 |
.sort_list_grid { |
|
167 |
position: fixed; |
|
168 |
top: 96px; |
|
169 |
bottom: 54px; |
|
170 |
width: 100%; |
|
171 |
max-width: 640px; |
|
172 |
z-index: 1000; |
|
173 |
overflow: auto; |
|
174 |
} |
|
175 |
.sort_list_grid a.curr { |
|
176 |
color: #d7b262; |
|
177 |
background-color: #f8f8f8; |
|
178 |
position: relative; |
|
179 |
} |
|
180 |
.sort_list_grid a { |
|
181 |
display: block; |
|
182 |
background-color: white; |
|
183 |
font-size: 13px; |
|
184 |
color: #1d1d1d; |
|
185 |
padding: 15px; |
|
186 |
position: relative; |
|
187 |
z-index: 1; |
|
188 |
} |
|
189 |
.sort_list_grid a.curr::before { |
|
190 |
content: ""; |
|
191 |
display: block; |
|
192 |
width: 3px; |
|
193 |
height: 100%; |
|
194 |
background-color: #d7b262; |
|
195 |
position: absolute; |
|
196 |
left: 0; |
|
197 |
top: 0; |
|
198 |
} |
|
199 |
.mark { |
|
200 |
position: absolute; |
|
201 |
top: 0; |
|
202 |
left: 0; |
|
203 |
right: 0; |
|
204 |
bottom: 0; |
|
205 |
z-index: 102; |
|
206 |
background-color: rgba(0, 0, 0, 0.5); |
|
207 |
} |
80527f
|
208 |
|
1c88ba
|
209 |
.sort_list_grid a + a { |
Z |
210 |
border-top: 1px solid #e4e5ea; |
|
211 |
} |
|
212 |
|
|
213 |
/* 全部分类 */ |
|
214 |
.nav { |
|
215 |
z-index: 1100; |
|
216 |
position: fixed; |
|
217 |
top: 96px; |
|
218 |
width: 100%; |
|
219 |
max-width: 640px; |
|
220 |
} |
|
221 |
|
|
222 |
.nav[data-active=filter] .nav_panel-filter,.nav[data-active=sort] .nav_panel-sort { |
|
223 |
display: block; |
|
224 |
-webkit-transform: translateZ(0); |
|
225 |
transform: translateZ(0) |
|
226 |
} |
|
227 |
.nav[data-active=cate] .nav_panel-cate { |
|
228 |
display: -webkit-box; |
|
229 |
display: -webkit-flex; |
|
230 |
display: flex; |
|
231 |
-webkit-transform: translateZ(0); |
|
232 |
transform: translateZ(0) |
|
233 |
} |
|
234 |
|
|
235 |
.nav_panel { |
|
236 |
width: 100%; |
|
237 |
top: 0; |
|
238 |
background: #fff; |
|
239 |
background: var(--white); |
|
240 |
-webkit-transition: -webkit-transform .2s ease; |
|
241 |
transition: -webkit-transform .2s ease; |
|
242 |
transition: transform .2s ease; |
|
243 |
transition: transform .2s ease,-webkit-transform .2s ease; |
|
244 |
-webkit-transform: translate3d(0,-250%,0); |
|
245 |
transform: translate3d(0,-250%,0); |
|
246 |
overflow-y: auto |
|
247 |
} |
|
248 |
.nav .nav_panel-sort,.nav_panel { |
|
249 |
position: absolute |
|
250 |
} |
|
251 |
.nav_panel-cate { |
|
252 |
display: -webkit-box; |
|
253 |
display: -webkit-flex; |
|
254 |
display: flex; |
|
255 |
height: 25rem; |
|
256 |
} |
|
257 |
@media (device-height:568px) and (-webkit-min-device-pixel-ratio:2){ |
|
258 |
.nav_panel-cate { |
|
259 |
height:400px; |
|
260 |
} |
|
261 |
} |
|
262 |
@media (min-device-width : 375px) and (max-device-width : 667px) and (-webkit-min-device-pixel-ratio : 2){ |
|
263 |
.nav_panel-cate { |
|
264 |
height:455px; |
|
265 |
} |
|
266 |
} |
|
267 |
@media (min-device-width : 414px) and (max-device-width : 736px) and (-webkit-min-device-pixel-ratio : 3){ |
|
268 |
.nav_panel-cate { |
|
269 |
height: 550px; |
|
270 |
} |
|
271 |
} |
|
272 |
.nav_panel-cate .nav_menu_item { |
|
273 |
overflow: hidden; |
|
274 |
position: relative; |
|
275 |
font-size: 14px; |
|
276 |
white-space: nowrap; |
|
277 |
text-overflow: ellipsis; |
|
278 |
word-break: break-all; |
|
279 |
padding-left: 25px; |
|
280 |
height: 50px; |
|
281 |
max-height: 50px; |
|
282 |
line-height: 50px; |
|
283 |
} |
|
284 |
|
|
285 |
.nav_panel-cate .nav_menu_item_selected { |
|
286 |
color: #DC3528; |
|
287 |
} |
|
288 |
|
|
289 |
.nav_panel-cate .nav_menu_item-icon { |
|
290 |
display: block; |
|
291 |
position: absolute; |
|
292 |
top: 50%; |
|
293 |
left: 10px; |
|
294 |
margin-top: -10px; |
|
295 |
width: 18px; |
|
296 |
height: 18px; |
|
297 |
} |
|
298 |
|
|
299 |
.nav_menu { |
|
300 |
width: 100%; |
|
301 |
overflow-y: auto; |
|
302 |
} |
|
303 |
.nav_menu a { |
|
304 |
color: inherit; |
|
305 |
} |
|
306 |
.nav_menu_item_selected { |
|
307 |
color: #DC3528; |
|
308 |
background-color: #f8f8f8; |
|
309 |
} |
|
310 |
|
|
311 |
.nav_panel_cate_mt { |
|
312 |
width: 45%; |
|
313 |
min-height: 105px; |
|
314 |
background: #f2f2f4; |
|
315 |
} |
|
316 |
|
|
317 |
.nav_panel_cate_mt .nav_menu_item { |
|
318 |
padding-left: 35px; |
|
319 |
background: #f2f2f2; |
|
320 |
} |
|
321 |
|
|
322 |
.nav_panel_cate_mt .nav_menu_item_selected { |
|
323 |
background: #e8e8e9; |
|
324 |
} |
|
325 |
|
|
326 |
.nav_panel-cate_st { |
|
327 |
display: none; |
|
328 |
background: #f8f8f9; |
|
329 |
} |
|
330 |
|
|
331 |
.nav_panel-cate_st .nav_menu_item { |
|
332 |
padding-left: 35px; |
|
333 |
background: #f8f8f9; |
|
334 |
} |
|
335 |
|
|
336 |
.nav_panel-cate_st .nav_menu_item_selected { |
|
337 |
background: #fff; |
|
338 |
} |
|
339 |
|
|
340 |
.nav_mask { |
|
341 |
display: none; |
|
342 |
position: absolute; |
|
343 |
top: 0; |
|
344 |
left: 0; |
|
345 |
right: 0; |
|
346 |
bottom: 0; |
|
347 |
z-index: 1; |
|
348 |
background-color: rgba(0, 0, 0, 0.3); |
|
349 |
} |
|
350 |
|
ec46c1
|
351 |
/* 知识点分类 */ |
80527f
|
352 |
.nav1 { |
Z |
353 |
z-index: 1100; |
|
354 |
position: fixed; |
|
355 |
top: 96px; |
|
356 |
width: 100%; |
|
357 |
max-width: 640px; |
ec46c1
|
358 |
} |
1c88ba
|
359 |
|
Z |
360 |
/* 课程列表 */ |
|
361 |
.section{ |
|
362 |
position: absolute; |
|
363 |
top: 96px; |
|
364 |
bottom: 55px; |
|
365 |
overflow-y: scroll; |
|
366 |
width: 100%; |
|
367 |
max-width: 640px; |
|
368 |
-webkit-overflow-scrolling: touch; |
|
369 |
} |
|
370 |
.list_grid { |
|
371 |
padding: 0 15px; |
|
372 |
background-color: white; |
|
373 |
} |
|
374 |
.list_grid .normal_grid { |
|
375 |
margin: 0; |
|
376 |
padding: 20px 0; |
|
377 |
border-bottom: 1px #ececec solid; |
|
378 |
} |
|
379 |
.normal_grid .normal_grid_a { |
|
380 |
width: 47%; |
|
381 |
min-width: 163px; |
|
382 |
margin-right: 15px; |
|
383 |
} |
|
384 |
.normal_grid_a .img-box { |
|
385 |
padding-bottom: 61.6%; |
|
386 |
} |
|
387 |
.img-box { |
|
388 |
padding-bottom: 51.8%; |
|
389 |
position: relative; |
|
390 |
-webkit-border-radius: 4px; |
|
391 |
-moz-border-radius: 4px; |
|
392 |
border-radius: 4px; |
|
393 |
overflow: hidden; |
|
394 |
} |
|
395 |
.img-box .img { |
|
396 |
position: absolute; |
|
397 |
top: 0; |
|
398 |
bottom: 0; |
|
399 |
left: 0; |
|
400 |
right: 0; |
|
401 |
width: 100%; |
|
402 |
margin: auto; |
|
403 |
font-size: 0; |
|
404 |
} |
|
405 |
.img-box .img img { |
|
406 |
width: 100%; |
|
407 |
border-style: none; |
|
408 |
} |
|
409 |
.learned { |
|
410 |
display: inline-block; |
|
411 |
background-color: rgba(0, 0, 0, 0.5); |
|
412 |
padding: 3px 6px; |
|
413 |
font-size: 10px; |
|
414 |
position: absolute; |
|
415 |
color: white; |
|
416 |
font-weight: normal; |
|
417 |
bottom: 3px; |
|
418 |
right: 3px; |
|
419 |
-webkit-border-radius: 5px; |
|
420 |
-moz-border-radius: 5px; |
|
421 |
border-radius: 5px; |
|
422 |
} |
|
423 |
.learned::before { |
|
424 |
content: ""; |
|
425 |
display: inline-block; |
|
426 |
width: 0; |
|
427 |
height: 0; |
|
428 |
margin-right: 4px; |
|
429 |
border-top: 5px solid transparent; |
|
430 |
border-bottom: 5px solid transparent; |
|
431 |
border-left: 7px solid white; |
|
432 |
} |
|
433 |
.ico_common { |
|
434 |
display: block; |
|
435 |
position: absolute; |
|
436 |
right: 0; |
|
437 |
top: 0; |
|
438 |
width: 40px; |
|
439 |
height: 40px; |
|
440 |
background-repeat: no-repeat; |
|
441 |
background-position: center center; |
|
442 |
background-size: 100%; |
|
443 |
} |
|
444 |
.ico-hot{ |
|
445 |
background-image: url(../../images/ico-hot.png); |
|
446 |
} |
|
447 |
.ico-new{ |
|
448 |
background-image: url(../../images/ico-new.png); |
|
449 |
} |
|
450 |
.ico-vip{ |
|
451 |
background-image: url(../../images/ico-vip.png?v=1); |
|
452 |
} |
|
453 |
.grid_title2 { |
|
454 |
font-size: 14px; |
|
455 |
color: #1d1d1d; |
|
456 |
line-height: 1.4; |
|
457 |
max-height: 40px; |
|
458 |
display: -webkit-box; |
|
459 |
-webkit-box-orient: vertical; |
|
460 |
-webkit-line-clamp: 2; |
|
461 |
overflow: hidden; |
|
462 |
text-overflow: ellipsis; |
|
463 |
word-break: break-all; |
|
464 |
word-wrap: break-word; |
|
465 |
} |
|
466 |
.grid_info { |
|
467 |
font-size: 13px; |
|
468 |
color: #737373; |
|
469 |
margin-top: 6px; |
|
470 |
min-height: 23px; |
|
471 |
} |
|
472 |
.grid_info .free { |
|
473 |
font-size: 10px; |
|
474 |
padding: 3px 8px; |
|
475 |
color: white; |
|
476 |
-webkit-border-radius: 100px; |
|
477 |
-moz-border-radius: 100px; |
|
478 |
border-radius: 100px; |
|
479 |
background-color: #d7b262; |
|
480 |
background-image: -webkit-linear-gradient(bottom, rgba(55,55,55,.33), rgba(188,188,188,.33)); |
|
481 |
background-image: -moz-linear-gradient(bottom, rgba(55,55,55,.33), rgba(188,188,188,.33)); |
|
482 |
background-image: -o-linear-gradient(bottom, rgba(55,55,55,.33), rgba(188,188,188,.33)); |
|
483 |
background-image: -ms-linear-gradient(bottom, rgba(55,55,55,.33), rgba(188,188,188,.33)); |
|
484 |
background-image: linear-gradient(to top, rgba(55,55,55,.33), rgba(188,188,188,.33)); |
|
485 |
} |
|
486 |
.grid_info .price { |
|
487 |
font-size: 13px; |
|
488 |
color: #ceab6b; |
|
489 |
} |
|
490 |
.mar5 { |
|
491 |
margin-left: 5px; |
|
492 |
margin-right: 5px; |
|
493 |
} |
|
494 |
.grid_bottom2 { |
|
495 |
min-height: 25px; |
|
496 |
margin-top: 5px; |
|
497 |
} |
|
498 |
.grid_bottom2 .text { |
|
499 |
font-size: 12px; |
|
500 |
color: #1d1d1d; |
|
501 |
font-weight: bold; |
|
502 |
} |
|
503 |
.grid_bottom2 .eva { |
|
504 |
font-size: 11px; |
|
505 |
color: #969696; |
|
506 |
} |