liuyu 4 tahun lalu
induk
melakukan
119b43c190
1 mengubah file dengan 9 tambahan dan 6 penghapusan
  1. 9 6
      src/views/live/roomDetail.vue

+ 9 - 6
src/views/live/roomDetail.vue

@@ -126,7 +126,7 @@
       </van-popup>
       </van-popup>
     </el-row>
     </el-row>
     <el-col :span="24" class="videoBtn">
     <el-col :span="24" class="videoBtn">
-      <div id="videobtnid" :style="{ top: btop, right: bright, transform: transform }">
+      <div id="videobtnid" :style="{ bottom: bbottom, left: bleft, top: btop, right: bright, transform: transform }">
         <el-button type="warning" round @click="full()" size="mini"><i class="el-icon-rank"></i></el-button>
         <el-button type="warning" round @click="full()" size="mini"><i class="el-icon-rank"></i></el-button>
       </div>
       </div>
     </el-col>
     </el-col>
@@ -174,6 +174,8 @@ export default {
       vpadding: '0',
       vpadding: '0',
       othepadding: '200px 0px 0px 0px',
       othepadding: '200px 0px 0px 0px',
       othetop: '200px',
       othetop: '200px',
+      bbottom: '0px',
+      bleft: '0px',
       btop: '167px',
       btop: '167px',
       bright: '10px',
       bright: '10px',
       isscreen: false,
       isscreen: false,
@@ -861,9 +863,10 @@ export default {
           this.otheheight = '0px';
           this.otheheight = '0px';
           this.othepadding = `${width}px 0 0 0`;
           this.othepadding = `${width}px 0 0 0`;
         }
         }
-
-        this.btop = `${height - 40}px`;
-        this.bright = `${width - 50}px`;
+        this.bbottom = `10px`;
+        this.bleft = `10px`;
+        this.btop = `0px`;
+        this.bright = `0px`;
         if (this.othedivshow) {
         if (this.othedivshow) {
           const othediv_ = document.getElementById('othediv');
           const othediv_ = document.getElementById('othediv');
           let styleothe = 'width:' + height + 'px;';
           let styleothe = 'width:' + height + 'px;';
@@ -898,6 +901,8 @@ export default {
         this.lheight = `200px`;
         this.lheight = `200px`;
         this.rheight = `200px`;
         this.rheight = `200px`;
 
 
+        this.bbottom = `0px`;
+        this.bleft = `0px`;
         this.btop = `167px`;
         this.btop = `167px`;
         this.bright = `10px`;
         this.bright = `10px`;
         if (this.othedivshow) {
         if (this.othedivshow) {
@@ -1036,8 +1041,6 @@ export default {
 .videoBtn {
 .videoBtn {
   position: absolute;
   position: absolute;
   z-index: 999;
   z-index: 999;
-  bottom: 10px;
-  left: 10px;
 }
 }
 .userList {
 .userList {
   height: 300px;
   height: 300px;