Browse Source

视频显示调整

jwyu 2 years ago
parent
commit
bade27b9e5
2 changed files with 2 additions and 2 deletions
  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"