fix(video-patrol): 调整视频播放高度为180px
- 将分支机构视频面板中的Video组件高度从100%改为180px - 将首页底部视频面板中的Video组件高度从100%改为180px - 统一视频播放区域高度,优化界面布局与显示效果master
parent
30ace87da6
commit
03a580366e
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue