fix(video-patrol): 调整视频播放高度为180px

- 将分支机构视频面板中的Video组件高度从100%改为180px
- 将首页底部视频面板中的Video组件高度从100%改为180px
- 统一视频播放区域高度,优化界面布局与显示效果
master
LiuJiaNan 2026-08-08 16:22:27 +08:00
parent 30ace87da6
commit 03a580366e
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ function VideoPatrolPanel(props) {
>
{playUrl
? (
<Video inline height="100%" width="100%" source={playUrl} isLive aliPlayerProps={{ extraInfo: { crossOrigin: "anonymous" } }} />
<Video inline height="180px" width="100%" source={playUrl} isLive aliPlayerProps={{ extraInfo: { crossOrigin: "anonymous" } }} />
)
: (
<div className={styles.indexInfoVideoPatrol__empty}>暂无视频</div>

View File

@ -74,7 +74,7 @@ function VideoPatrolPanel(props) {
}
>
{playUrl
? <Video inline height="100%" width="100%" source={playUrl} isLive aliPlayerProps={{ extraInfo: { crossOrigin: "anonymous" } }} />
? <Video inline height="180px" width="100%" source={playUrl} isLive aliPlayerProps={{ extraInfo: { crossOrigin: "anonymous" } }} />
: <div className={styles.branchOfficeVideoPatrol__empty}>暂无视频</div>}
</Spin>
</div>