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 <img
v-if=" v-if="
getCurrentAudioStore().isVoiceEnabled && getCurrentAudioStore().isVoiceEnabled &&
!getCurrentAudioStore().isPlaying
getCurrentAudioStore().isPlaying
" "
:src="voice" :src="voice"
@click="toggleVoice" @click="toggleVoice"
class="action-btn" class="action-btn"
style="animation: pulse 1.5s infinite"
/> />
<img <img
v-else-if=" v-else-if="
getCurrentAudioStore().isVoiceEnabled && getCurrentAudioStore().isVoiceEnabled &&
getCurrentAudioStore().isPlaying
!getCurrentAudioStore().isPlaying
" "
:src="voice"
:src="voiceNoActive"
@click="toggleVoice" @click="toggleVoice"
class="action-btn" class="action-btn"
style="opacity: 0.7; animation: pulse 1.5s infinite"
/> />
<img <img
v-else v-else

Loading…
Cancel
Save