diff --git a/registry/lib/components/touch/player-control/player-control.scss b/registry/lib/components/touch/player-control/player-control.scss index 5f9bd7c3f..1d2c5eb7a 100644 --- a/registry/lib/components/touch/player-control/player-control.scss +++ b/registry/lib/components/touch/player-control/player-control.scss @@ -175,3 +175,8 @@ } } } + +// 适配控制栏着色 +.bpx-player-control-bottom.bpx-player-control-bottom::before { + width: 100%; +} diff --git a/registry/lib/components/video/player/control-background/control-background.scss b/registry/lib/components/video/player/control-background/control-background.scss index d016e8d2e..3a16db36b 100644 --- a/registry/lib/components/video/player/control-background/control-background.scss +++ b/registry/lib/components/video/player/control-background/control-background.scss @@ -27,10 +27,9 @@ &::before { content: ''; position: absolute; - left: 0; bottom: 0; height: calc(100% - 17px); - width: 100%; + width: calc(100% - 24px); background-color: rgba(0, 0, 0, var(--video-control-opacity)); z-index: -1; @include on-fullscreen {