Parcourir la source

处理偶先放大问题

leo il y a 8 mois
Parent
commit
8b10e744fb
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      static/rtcEngine/WXtrialInterface.html

+ 3 - 3
static/rtcEngine/WXtrialInterface.html

@@ -28,9 +28,9 @@
                 @touchend="touchendLevitatedSphere">
         </div>
 
-        <div class="layout" :style="{height: height + 'px'}" v-cloak>
+        <div class="layout" :style="{height: height + 'px'}" v-cloak  @touchmove.prevent>
             <!-- 云机位置 -->
-            <div class="layout-view" v-cloak>
+            <div class="layout-view" v-cloak @touchmove.prevent>
                 <video ref="rtcMediaPlayer" :style="rtcMediaPlayerStyle" width="100%" height="100%" autoplay
                     webkit-playsinline="true" playsinline x-webkit-airplay="allow" x5-video-player-type="h5"
                     x5-video-player-fullscreen="true" x5-video-orientation="portraint" id="playerVideo"
@@ -40,7 +40,7 @@
                     当前浏览器暂不支持、请使用谷歌浏览器或前往双子星客户端使用</video>
             </div>
             <!-- 底部按钮 -->
-            <div class="layout-footer" v-cloak>
+            <div class="layout-footer" v-cloak @touchmove.prevent>
                 <template v-for="item in footerBtn">
                     <img :src="item.img" alt="" @click="footerBtnFun(item.key)">
                 </template>