Przeglądaj źródła

动态计算播放器尺寸,保持16:9比例,避免出现黑框或固定大小无法缩放

xiaoxie 3 lat temu
rodzic
commit
e7ab983f94
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      web_src/src/components/common/jessibuca.vue

+ 1 - 2
web_src/src/components/common/jessibuca.vue

@@ -1,6 +1,5 @@
 <template>
-  <div :id="containerId" :ref="containerId" style="width: 100%;height: auto; background-color: #000"
-       @dblclick="fullscreenSwich">
+  <div :id="containerId" :ref="containerId" @dblclick="fullscreenSwich">
     <div class="buttons-box" id="buttonsBox">
       <div class="buttons-box-left">
         <i v-if="!playing" class="iconfont icon-play jessibuca-btn" @click="playBtnClick"></i>