Browse Source

视频预览宽度

qinhouyu 1 year ago
parent
commit
c28f45799a

+ 1 - 1
src/components/vBottomMenu.vue

@@ -569,7 +569,7 @@
     <!--</el-form>-->
     <!--</el-form>-->
     <!--</el-dialog>-->
     <!--</el-dialog>-->
     <!-- 图片,视频预览 -->
     <!-- 图片,视频预览 -->
-    <el-dialog title="视频预览" :visible.sync="showTcPlayer" width="40%" append-to-body>
+    <el-dialog title="视频预览" :visible.sync="showTcPlayer" width="28%" append-to-body>
       <TcPlayer ref="TcPlayer" :playVideo="playVideo" :widthHeigt="[100,100]"></TcPlayer>
       <TcPlayer ref="TcPlayer" :playVideo="playVideo" :widthHeigt="[100,100]"></TcPlayer>
     </el-dialog>
     </el-dialog>
   </div>
   </div>

+ 1 - 1
src/components/vBottomMenu_danger.vue

@@ -341,7 +341,7 @@
       </el-form>
       </el-form>
     </el-dialog>
     </el-dialog>
     <!-- 图片,视频预览 -->
     <!-- 图片,视频预览 -->
-    <el-dialog title="视频预览" :visible.sync="showTcPlayer" width="40%" append-to-body>
+    <el-dialog title="视频预览" :visible.sync="showTcPlayer" width="28%" append-to-body>
       <TcPlayer ref="TcPlayer" :playVideo="playVideo" :widthHeigt="[100,100]"></TcPlayer>
       <TcPlayer ref="TcPlayer" :playVideo="playVideo" :widthHeigt="[100,100]"></TcPlayer>
     </el-dialog>
     </el-dialog>
   </div>
   </div>

+ 3 - 3
src/views/dangerdetailsdialog.vue

@@ -95,7 +95,7 @@
                             <th>隐患纬度:{{dangerView.longitude}}</th>
                             <th>隐患纬度:{{dangerView.longitude}}</th>
                           </tr> -->
                           </tr> -->
 													<!--                            <th>隐患图片:{{dangerView.longitude}}</th>-->
 													<!--                            <th>隐患图片:{{dangerView.longitude}}</th>-->
-												
+
 												</div>
 												</div>
 											</div>
 											</div>
 
 
@@ -206,7 +206,7 @@
 		</div>
 		</div>
 		<vBottomMenu ref="bottomMenu"></vBottomMenu>
 		<vBottomMenu ref="bottomMenu"></vBottomMenu>
 		<!-- 图片,视频预览 -->
 		<!-- 图片,视频预览 -->
-		<el-dialog title="视频预览" :visible.sync="showTcPlayer" width="40%" customClass="customWidthMp4">
+		<el-dialog title="视频预览" :visible.sync="showTcPlayer" width="28%" customClass="customWidthMp4">
 			<TcPlayer ref="TcPlayer" :playVideo="playVideo" :widthHeigt="[100,100]"></TcPlayer>
 			<TcPlayer ref="TcPlayer" :playVideo="playVideo" :widthHeigt="[100,100]"></TcPlayer>
 		</el-dialog>
 		</el-dialog>
 	</div>
 	</div>
@@ -714,4 +714,4 @@
 			}
 			}
 		}
 		}
 	}
 	}
-</style>
+</style>

+ 1 - 1
src/views/eventdetailsdialog.vue

@@ -2022,7 +2022,7 @@
     <el-dialog
     <el-dialog
       title="视频预览"
       title="视频预览"
       :visible.sync="showTcPlayer"
       :visible.sync="showTcPlayer"
-      width="40%"
+      width="28%"
       customClass="customWidthMp4"
       customClass="customWidthMp4"
     >
     >
       <TcPlayer
       <TcPlayer

+ 2 - 2
src/views/firespread.vue

@@ -344,7 +344,7 @@
                     :showAreaLatLng="showAreaLatLng"></areaSupermap>
                     :showAreaLatLng="showAreaLatLng"></areaSupermap>
     </el-dialog>
     </el-dialog>
     <!-- 图片,视频预览 -->
     <!-- 图片,视频预览 -->
-    <el-dialog title="视频预览" :visible.sync="showTcPlayer" width="40%" customClass="customWidthMp4">
+    <el-dialog title="视频预览" :visible.sync="showTcPlayer" width="28%" customClass="customWidthMp4">
       <TcPlayer ref="TcPlayer" :playVideo="playVideo" :widthHeigt="[100,100]"></TcPlayer>
       <TcPlayer ref="TcPlayer" :playVideo="playVideo" :widthHeigt="[100,100]"></TcPlayer>
     </el-dialog>
     </el-dialog>
     <el-dialog :title="cameraTitle" :visible.sync="cameraVisible" v-if="cameraVisible" customClass="videoCustomWidth"
     <el-dialog :title="cameraTitle" :visible.sync="cameraVisible" v-if="cameraVisible" customClass="videoCustomWidth"
@@ -1732,7 +1732,7 @@
     </el-dialog>
     </el-dialog>
     <!-- 添加区域标记 -->
     <!-- 添加区域标记 -->
     <!-- 图片,视频预览 -->
     <!-- 图片,视频预览 -->
-    <el-dialog title="视频预览" :visible.sync="showTcPlayer" width="40%" customClass="customWidthMp4">
+    <el-dialog title="视频预览" :visible.sync="showTcPlayer" width="28%" customClass="customWidthMp4">
       <TcPlayer ref="TcPlayer" :playVideo="playVideo" :widthHeigt="[100,100]"></TcPlayer>
       <TcPlayer ref="TcPlayer" :playVideo="playVideo" :widthHeigt="[100,100]"></TcPlayer>
     </el-dialog>
     </el-dialog>
     <el-dialog :title="cameraTitle" :visible.sync="cameraVisible" v-if="cameraVisible" customClass="videoCustomWidth"
     <el-dialog :title="cameraTitle" :visible.sync="cameraVisible" v-if="cameraVisible" customClass="videoCustomWidth"

+ 1 - 3
vue.config.js

@@ -51,11 +51,9 @@ module.exports = {
     proxy: {
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
       [process.env.VUE_APP_BASE_API]: {
-        // target: `http://127.0.0.1:3031`,
-        // target: `http://192.168.31.180:3031`,
+        // target: `http://192.168.31.180:3031/`,
         target: `http://192.168.31.134:3031`,
         target: `http://192.168.31.134:3031`,
         //  target: `http://121.36.228.66:3031`,
         //  target: `http://121.36.228.66:3031`,
-        //  target: `https://29613561xe.eicp.vip`,
         changeOrigin: true,
         changeOrigin: true,
         pathRewrite: {
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''
           ['^' + process.env.VUE_APP_BASE_API]: ''