feat: 视频组件修改&示例视频替换
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
// 视频控制条样式
|
||||
|
||||
Reference in New Issue
Block a user