feat: 视频组件修改&示例视频替换

This commit is contained in:
zhangyh
2025-10-28 13:09:49 +08:00
parent 0ce0c41dac
commit c9942cb5d6
5 changed files with 14 additions and 17 deletions

View File

@@ -32,7 +32,7 @@
<div class="control-right">
<div class="volume-btn" @click="toggleMute">
<!-- <van-icon :name="isMuted ? 'volume-mute' : 'volume'" /> -->
<SvgIcon :name="isMuted ? 'vol' : 'vol_close'" size="20" />
<SvgIcon :name="isMuted ? 'mute' : 'vol'" size="20" />
</div>
</div>
</div>
@@ -142,13 +142,15 @@ defineExpose({
<style scoped lang="less">
.video-container {
position: relative;
height: 60rem;
width: 100%;
height: 100%;
min-height: 50rem;
.video {
width: 100%;
height: 100%;
position: relative;
object-fit: fill;
object-fit: cover;
}
// 视频控制条样式