|
|
@@ -48,6 +48,7 @@
|
|
|
direction="vertical"
|
|
|
:autoplay="false"
|
|
|
:interval="0"
|
|
|
+ :style="{ '--carousel-height': data.property.file_name_display_mode === 'true' ? '128px' : '80px' }"
|
|
|
>
|
|
|
<el-carousel-item v-for="(file, i) in data.file_list" :key="i">
|
|
|
<AudioPlay
|
|
|
@@ -96,6 +97,7 @@ export default {
|
|
|
inject: ['getDragStatus'],
|
|
|
data() {
|
|
|
return {
|
|
|
+ carouselHeight: 138,
|
|
|
data: getAudioData(),
|
|
|
curAudioIndex: 0,
|
|
|
elementWidth: 0,
|
|
|
@@ -247,7 +249,7 @@ export default {
|
|
|
border-radius: 4px;
|
|
|
|
|
|
&__container {
|
|
|
- height: 128px;
|
|
|
+ height: var(--carousel-height, 128px);
|
|
|
}
|
|
|
|
|
|
&__item {
|