Commit 029ae92d6fdd6e70d2fa4d4d51ccaaf188b9c00c

Authored by ykxie
1 parent 779bcdc7

fix ui

dist/img/left-icon.png 0 → 100644

357 Bytes

dist/img/share.png 0 → 100644

721 Bytes

src/img/left-icon.png 0 → 100644

357 Bytes

src/img/share.png 0 → 100644

721 Bytes

src/player.html
... ... @@ -186,6 +186,12 @@
186 186 background-color: #1FB6FF;
187 187 color: #FFF;
188 188 }
  189 + .back img{
  190 + width: 12px;
  191 + }
  192 + .share img{
  193 + width: 18px;
  194 + }
189 195 .back, .share{
190 196 width: 54px;
191 197 text-align: center;
... ... @@ -272,8 +278,9 @@
272 278 <body>
273 279 <div id="player">
274 280 <div class="title">
275   - <div class="back">返回</div>
276   - <div class="share">分享</div>
  281 + <div class="back"><img src="img/left-icon.png" alt=""></div>
  282 + <div class="content">实境编程</div>
  283 + <div class="share"><img src="img/share.png" alt=""></div>
277 284 </div>
278 285 <div class="m-title-wrap">
279 286 <div class="m-title"></div>
... ... @@ -411,6 +418,10 @@
411 418 }
412 419 plugins.SharePlugin.share(shareData)
413 420 })
  421 +
  422 + window.pauseAudio = function(){
  423 + $.AudioPlayer.pause();
  424 + }
414 425 })
415 426 </script>
416 427  
... ...