fix:监控视频组件:视频列表支持最大宽度配置

This commit is contained in:
李帅武
2025-06-09 14:48:23 +08:00
parent dcb926968e
commit b53f974e3d
2 changed files with 9 additions and 0 deletions

View File

@@ -73,6 +73,14 @@ export const widgetVideoMonitor = {
placeholder: '',
value: 200
},
{
type: 'el-input-number',
label: '最大宽度',
name: 'maxWidth',
require: false,
placeholder: '',
value: 500
},
{
type: 'vue-color',
label: '选中背景色',

View File

@@ -74,6 +74,7 @@ export default {
videoListStyle2 () {
return {
minWidth: this.optionsSetUp.minWidth + 'px',
maxWidth: this.optionsSetUp.maxWidth + 'px',
};
},
videoListLiStyle () {