From 6c0fc4bd5bec5e21f1a1176c8687b4d35ff2ddf6 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期一, 08 四月 2024 17:09:59 +0800 Subject: [PATCH] 修改树高度 --- Source/ProjectWeb/src/views/base/UIContentViewer.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/ProjectWeb/src/views/base/UIContentViewer.vue b/Source/ProjectWeb/src/views/base/UIContentViewer.vue index 24d6b35..a963086 100644 --- a/Source/ProjectWeb/src/views/base/UIContentViewer.vue +++ b/Source/ProjectWeb/src/views/base/UIContentViewer.vue @@ -24,8 +24,8 @@ @setDataStore="setDataStore"> </UIContentArea> </el-aside> - <el-container style="height: 100%"> - <el-main v-if="uiDefineVO.centerAreas && uiDefineVO.centerAreas.length>0" :style="'height: '+centerHeight"> + <el-container style="height: 100%;display: block"> + <el-main v-if="uiDefineVO.centerAreas && uiDefineVO.centerAreas.length>0" :style="'min-height: 300px;height: '+centerHeight"> <UIContentArea :key="'centerArea-'+uiDefineVO.oid" :areasData="uiDefineVO.centerAreas" :dataStore="checkedData.centerArea" :inDialog="inDialog" @@ -36,7 +36,7 @@ </UIContentArea> </el-main> <el-footer v-if="uiDefineVO.southAreas && uiDefineVO.southAreas.length>0" height="35%" - style="max-height: 300px"> + style="min-height: 150px;"> <UIContentArea :key="'southArea-'+uiDefineVO.oid" :areasData="uiDefineVO.southAreas" :dataStore="checkedData.southArea" :inDialog="inDialog" @@ -110,7 +110,7 @@ }, initContent() { if (this.uiDefineVO.southAreas && this.uiDefineVO.southAreas.length > 0) { - this.centerHeight = 'calc(100% - 310px)'; + this.centerHeight = '65%'; } else { this.centerHeight = '100%'; } -- Gitblit v1.9.3