@@ -20,7 +20,7 @@
direction="vertical"
:autoplay="false"
:interval="0"
- :style="{ width: elementWidth - 248 - 32 + 'px', height: elementHeight + 'px' }"
+ :style="{ width: elementWidth - 248 - 32 + 'px', height: elementHeight <= 0 ? 139 : elementHeight + 'px' }"
>
<el-carousel-item v-for="(file, i) in data.file_list" :key="i">
<VideoPlay
@@ -31,7 +31,7 @@
/>
</el-carousel-item>
</el-carousel>
- <div class="container-box" :style="{ height: elementHeight + 'px' }">
+ <div class="container-box" :style="{ height: elementHeight <= 0 ? 139 : elementHeight + 'px' }">
<ul
ref="container"
class="view-list-bottom"