diff --git a/src/components/model-carousel/index.vue b/src/components/model-carousel/index.vue index 7ec2548a..783ffea3 100644 --- a/src/components/model-carousel/index.vue +++ b/src/components/model-carousel/index.vue @@ -28,28 +28,32 @@
-
- - - {{ item.video_title }} +
+
+ + + {{ item.video_title }} +
-
- - - {{ item.video_title }} +
+
+ + + {{ item.video_title }} +
@@ -196,7 +200,7 @@ const swiper_style = computed(() => { }); // 视频播放按钮显示逻辑 const video_style = computed(() => { - let style = `bottom: ${new_style.value.video_bottom}px;`; + let style = ``; if (!isEmpty(new_style.value.video_radius)) { style += radius_computer(new_style.value.video_radius) } @@ -324,7 +328,7 @@ const slideChange = (swiper: { realIndex: number }) => { } .video-class { max-width: 100%; - margin-right: 10px; - margin-left: 10px; + padding-right: 10px; + padding-left: 10px; }