Showing
2 changed files
with
25 additions
and
19 deletions
@@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
9 | </div> | 9 | </div> |
10 | <div class="live-loading-container"> | 10 | <div class="live-loading-container"> |
11 | <div class="live-video-loading"> | 11 | <div class="live-video-loading"> |
12 | - <img src="/img/activity/live/live/live-loading.gif"> | 12 | + <div class="img"></div> |
13 | <p>加载中</p> | 13 | <p>加载中</p> |
14 | </div> | 14 | </div> |
15 | <div class="live-loading-cover" style="background-image: url('{{pic}}');"></div> | 15 | <div class="live-loading-cover" style="background-image: url('{{pic}}');"></div> |
@@ -24,24 +24,22 @@ | @@ -24,24 +24,22 @@ | ||
24 | </div> | 24 | </div> |
25 | <!--点赞--> | 25 | <!--点赞--> |
26 | <div class="live-like-pannel"> | 26 | <div class="live-like-pannel"> |
27 | - <div id="live_like_pannel" class="animate_pannel"> | ||
28 | - | ||
29 | - </div> | ||
30 | - <img class="like-main" src="/img/activity/live/live/like_icon1.png"> | 27 | + <div id="live_like_pannel" class="animate_pannel"></div> |
28 | + <div class="like-main"></div> | ||
31 | <span id="like_num">0</span> | 29 | <span id="like_num">0</span> |
32 | 30 | ||
33 | </div> | 31 | </div> |
34 | <!--播放按钮--> | 32 | <!--播放按钮--> |
35 | <div class="live-video-play-button"> | 33 | <div class="live-video-play-button"> |
36 | <a href="javascript:void(0)"> | 34 | <a href="javascript:void(0)"> |
37 | - <img src="/img/activity/live/live/btn_play.png"> | 35 | + <div class="img"></div> |
38 | </a> | 36 | </a> |
39 | </div> | 37 | </div> |
40 | 38 | ||
41 | <!--直播状态--> | 39 | <!--直播状态--> |
42 | <div class="live-status"> | 40 | <div class="live-status"> |
43 | <div class="overflow-hidden"> | 41 | <div class="overflow-hidden"> |
44 | - <img src="/img/activity/live/live/app_logo.png"> | 42 | + <div class="img"></div> |
45 | <div class="live-time"> | 43 | <div class="live-time"> |
46 | <span>YOHO!直播 ·</span> <span id="live_time"></span> | 44 | <span>YOHO!直播 ·</span> <span id="live_time"></span> |
47 | </div> | 45 | </div> |
@@ -51,9 +51,12 @@ | @@ -51,9 +51,12 @@ | ||
51 | border-radius: 2.5rem; | 51 | border-radius: 2.5rem; |
52 | border-radius: 2.5rem; | 52 | border-radius: 2.5rem; |
53 | 53 | ||
54 | - img { | ||
55 | - background-color: rgba(0, 0, 0, 0.5); | 54 | + .img { |
55 | + background: rgba(0, 0, 0, 0.5) url('/img/activity/live/live/btn_play.png') center center; | ||
56 | + background-size: contain; | ||
56 | border-radius: 50%; | 57 | border-radius: 50%; |
58 | + width: 165px; | ||
59 | + height: 165px; | ||
57 | } | 60 | } |
58 | } | 61 | } |
59 | 62 | ||
@@ -87,10 +90,13 @@ | @@ -87,10 +90,13 @@ | ||
87 | text-align: center; | 90 | text-align: center; |
88 | } | 91 | } |
89 | 92 | ||
90 | -.live-video-loading img { | 93 | +.live-video-loading .img { |
91 | position: relative; | 94 | position: relative; |
92 | - width: 3.3rem; | 95 | + width: 153px; |
96 | + height: 110px; | ||
93 | margin: 0 auto; | 97 | margin: 0 auto; |
98 | + background: url('/img/activity/live/live/live-loading.gif') no-repeat; | ||
99 | + background-size: contain; | ||
94 | } | 100 | } |
95 | 101 | ||
96 | .live-video-loading p { | 102 | .live-video-loading p { |
@@ -254,9 +260,9 @@ | @@ -254,9 +260,9 @@ | ||
254 | .live-like-pannel { | 260 | .live-like-pannel { |
255 | display: none; | 261 | display: none; |
256 | position: absolute; | 262 | position: absolute; |
257 | - right: 1rem; | ||
258 | - bottom: 3rem; | ||
259 | - width: 2.5rem; | 263 | + right: 25px; |
264 | + bottom: 130px; | ||
265 | + width: 110px; | ||
260 | text-align: center; | 266 | text-align: center; |
261 | color: #ffffff; | 267 | color: #ffffff; |
262 | text-shadow: 0 0 5px black; | 268 | text-shadow: 0 0 5px black; |
@@ -264,10 +270,10 @@ | @@ -264,10 +270,10 @@ | ||
264 | } | 270 | } |
265 | 271 | ||
266 | .live-like-pannel .like-main { | 272 | .live-like-pannel .like-main { |
267 | - position: relative; | ||
268 | - bottom: -0.5rem; | ||
269 | - left: 0; | ||
270 | - | 273 | + width: 110px; |
274 | + height: 110px; | ||
275 | + background: url('/img/activity/live/live/like_icon1.png') no-repeat; | ||
276 | + background-size: contain; | ||
271 | } | 277 | } |
272 | 278 | ||
273 | .live-like-pannel span { | 279 | .live-like-pannel span { |
@@ -374,11 +380,13 @@ | @@ -374,11 +380,13 @@ | ||
374 | text-shadow: 0 0 5px black; | 380 | text-shadow: 0 0 5px black; |
375 | } | 381 | } |
376 | 382 | ||
377 | -.live-status img { | 383 | +.live-status .img { |
378 | width: 70px; | 384 | width: 70px; |
379 | height: 70px; | 385 | height: 70px; |
380 | float: left; | 386 | float: left; |
381 | margin-right: 16px; | 387 | margin-right: 16px; |
388 | + background: url('/img/activity/live/live/app_logo.png') no-repeat; | ||
389 | + background-size: contain; | ||
382 | } | 390 | } |
383 | 391 | ||
384 | .live-time { | 392 | .live-time { |
-
Please register or login to post a comment