ソースを参照

视频墙界面布局修改-提交

lxh 10 ヶ月 前
コミット
b4db23695a
1 ファイル変更13 行追加9 行削除
  1. 13 9
      src/views/vent/monitorManager/camera/index.vue

+ 13 - 9
src/views/vent/monitorManager/camera/index.vue

@@ -69,7 +69,7 @@ let searchParam = reactive({
 
 
 I18N.use(ZH)
 I18N.use(ZH)
 let router = useRouter(); //路由
 let router = useRouter(); //路由
-const pageSize = ref(8)
+const pageSize = ref(4)
 const current = ref(1)
 const current = ref(1)
 const total = ref(0)
 const total = ref(0)
 const playerList = ref([])
 const playerList = ref([])
@@ -267,8 +267,9 @@ function setNoRtspVideo(id, videoAddr) {
       lang: 'zh',
       lang: 'zh',
       id: id,
       id: id,
       url: videoAddr,
       url: videoAddr,
-      width: 354,
-      height: 245,
+      // width: 354,
+      width:100,
+      height:45,
       poster: '/src/assets/images/vent/noSinge.png',
       poster: '/src/assets/images/vent/noSinge.png',
       plugins: [FlvPlugin],
       plugins: [FlvPlugin],
       fluid: true,
       fluid: true,
@@ -306,8 +307,10 @@ function setNoRtspVideo(id, videoAddr) {
         lang: 'zh',
         lang: 'zh',
         id: id,
         id: id,
         url: videoAddr,
         url: videoAddr,
-        width: 354,
-        height: 245,
+        // width: 354,
+        width:100,
+        // height: 245,
+        height:45,
         isLive: true,
         isLive: true,
         autoplay: true,
         autoplay: true,
         autoplayMuted: true,
         autoplayMuted: true,
@@ -333,8 +336,9 @@ function setNoRtspVideo(id, videoAddr) {
         lang: 'zh',
         lang: 'zh',
         id: id,
         id: id,
         url: videoAddr,
         url: videoAddr,
-        width: 354,
-        height: 245,
+        // width: 354,
+        width:100,
+        height:45,
         isLive: true,
         isLive: true,
         autoplay: true,
         autoplay: true,
         autoplayMuted: true,
         autoplayMuted: true,
@@ -446,8 +450,8 @@ onUnmounted(() => {
       overflow-y: auto;
       overflow-y: auto;
 
 
       .player-box {
       .player-box {
-        width: 375px;
-        height: 272px;
+        width: 770px;
+        height: 365px;
         padding: 10px;
         padding: 10px;
         background: url('/@/assets/images/vent/camera_bg.png');
         background: url('/@/assets/images/vent/camera_bg.png');
         background-size: 100% 100%;
         background-size: 100% 100%;