Browse Source

喇叭按钮逻辑修改;

dev
宋杰 2 days ago
parent
commit
c43901e7d1
  1. 8
      src/views/homePage.vue

8
src/views/homePage.vue

@ -637,21 +637,21 @@ onUnmounted(() => {
<img
v-if="
getCurrentAudioStore().isVoiceEnabled &&
!getCurrentAudioStore().isPlaying
getCurrentAudioStore().isPlaying
"
:src="voice"
@click="toggleVoice"
class="action-btn"
style="animation: pulse 1.5s infinite"
/>
<img
v-else-if="
getCurrentAudioStore().isVoiceEnabled &&
getCurrentAudioStore().isPlaying
!getCurrentAudioStore().isPlaying
"
:src="voice"
:src="voiceNoActive"
@click="toggleVoice"
class="action-btn"
style="opacity: 0.7; animation: pulse 1.5s infinite"
/>
<img
v-else

Loading…
Cancel
Save