|
|
@@ -8,16 +8,16 @@
|
|
|
v-if="audio.playing"
|
|
|
size="24px"
|
|
|
icon-class="pause-large-fill"
|
|
|
- :style="{ color: attrib.topic_color }"
|
|
|
+ :style="{ color: attrib?.topic_color }"
|
|
|
/>
|
|
|
- <SvgIcon v-else size="24px" icon-class="play-large-fill" :style="{ color: attrib.topic_color }" />
|
|
|
+ <SvgIcon v-else size="24px" icon-class="play-large-fill" :style="{ color: attrib?.topic_color }" />
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<template v-if="!isRepeat">
|
|
|
<el-slider
|
|
|
v-model="playValue"
|
|
|
- :style="{ width: sliderWidth + 'px', height: '2px', '--slider-color': attrib.topic_color }"
|
|
|
+ :style="{ width: sliderWidth + 'px', height: '2px', '--slider-color': attrib?.topic_color }"
|
|
|
:format-tooltip="formatProcessToolTip"
|
|
|
@change="changeCurrentTime"
|
|
|
/>
|
|
|
@@ -58,7 +58,7 @@
|
|
|
<div v-else class="audioLine2">
|
|
|
<div
|
|
|
class="play-icon"
|
|
|
- :style="{ backgroundColor: attrib.topic_color }"
|
|
|
+ :style="{ backgroundColor: attrib?.topic_color }"
|
|
|
:class="[
|
|
|
'icon-mask',
|
|
|
audio.loading ? 'loadBtn' : audio.playing ? 'playBtn-icon' : 'pauseBtn-icon',
|