ソースを参照

视频显示调整

jwyu 2 年 前
コミット
bade27b9e5
2 ファイル変更2 行追加2 行削除
  1. 1 1
      pages/video/videoList.vue
  2. 1 1
      pages/video/videoSearch.vue

+ 1 - 1
pages/video/videoList.vue

@@ -36,7 +36,7 @@
                 </button>
                 <video
                     autoplay
-                    object-fit="cover"
+                    object-fit="contain"
                     show-mute-btn
                     :poster="item.cover_img_url"
                     :src="item.video_url"

+ 1 - 1
pages/video/videoSearch.vue

@@ -31,7 +31,7 @@
                 </button>
                 <video
                     autoplay
-                    object-fit="cover"
+                    object-fit="contain"
                     show-mute-btn
                     :poster="item.cover_img_url"
                     :src="item.video_url"