From c0f494028968dfc621da101df86eae1b0cdecf2f Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Sat, 12 Dec 2020 13:01:27 +0100 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AEquitMiniMode=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E9=BB=98=E8=AE=A4=E4=B8=8D=E6=98=BE=E7=A4=BA,?= =?UTF-8?q?=E8=BF=99=E6=A0=B7=E6=AF=8F=E6=AC=A1=E6=92=AD=E6=94=BE=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E7=9A=84=E6=97=B6=E5=80=99=E5=B0=B1=E6=97=A0=E9=9C=80?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE'xg-btn-quitMiniMode'=E7=9A=84=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Play.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Play.vue b/src/components/Play.vue index 02e5831..31a0daa 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -552,12 +552,10 @@ export default { this.name = channel.name this.xg.src = channel.url this.xg.play() - if (!this.miniMode) document.querySelector('xg-btn-quitMiniMode').style.display = 'none' document.querySelector('xg-btn-showhistory').style.display = 'none' document.querySelector('.xgplayer-playbackrate').style.display = 'none' }, playVideo (index = 0, time = 0) { - if (!this.miniMode) document.querySelector('xg-btn-quitMiniMode').style.display = 'none' document.querySelector('xg-btn-showhistory').style.display = 'block' document.querySelector('.xgplayer-playbackrate').style.display = 'inline-block' this.fetchM3u8List().then(m3u8Arr => { @@ -1512,6 +1510,9 @@ export default { cursor: pointer; margin-left: 3px; } +.xgplayer-skin-default .xg-btn-quitMiniMode { + display: none; +} .xgplayer-skin-default .xg-btn-playPrev:hover, .xgplayer-skin-default .xg-btn-playNextOne:hover, .xgplayer-skin-default .xg-btn-showList:hover,