新增播放速率调整功能

This commit is contained in:
lyswhut
2023-02-08 18:27:35 +08:00
parent 9522e975a0
commit f809782559
27 changed files with 450 additions and 154 deletions
+5 -1
View File
@@ -16,7 +16,7 @@
@update:model-value="saveVolumeIsMute($event)"
/>
</div>
<common-volume-bar />
<base-slider-bar :value="volume" :min="0" :max="1" @change="handleUpdateVolume" />
</div>
</template>
</material-popup-btn>
@@ -30,6 +30,10 @@ import { computed } from '@common/utils/vueTools'
import { saveVolumeIsMute } from '@renderer/store/setting'
import { volume, isMute } from '@renderer/store/player/volume'
const handleUpdateVolume = (val) => {
window.app_event.setVolume(val)
}
const icon = computed(() => {
return isMute.value
? '#icon-volume-mute-outline'