class 化 audio-player

This commit is contained in:
2021-05-23 20:18:46 +08:00
parent cb80f8152c
commit 64cb069d2e
2 changed files with 2 additions and 2 deletions

View File

@@ -357,7 +357,7 @@ const component_audio_player = {
template: ` template: `
<div v-if="computed_show"> <div v-if="computed_show">
<span>{{ file.filename }} / {{ file.foldername }}</span> <span>{{ file.filename }} / {{ file.foldername }}</span>
<video :src="computed_playing_audio_file_url" controls autoplay> <video class="audio-player" :src="computed_playing_audio_file_url" controls autoplay>
</video> </video>
</div> </div>
`, `,

View File

@@ -37,7 +37,7 @@ a.router-link-active {
background-color: lightgray; background-color: lightgray;
border-radius: 0.39em 0.39em 0 0; border-radius: 0.39em 0.39em 0 0;
} }
video { .audio-player {
height: 39px; height: 39px;
width: 100%; width: 100%;
} }