From 929cf4c7be11bfd1e134d0cb0d7cbbe94772ebdf Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期一, 07 九月 2020 15:35:14 +0800 Subject: [PATCH] 摄像机树增加导入功能 --- src/pages/cameraAccess/index/App.vue | 22 +++++++++++++--------- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/pages/cameraAccess/index/App.vue b/src/pages/cameraAccess/index/App.vue index 5e0faaf..e10d808 100644 --- a/src/pages/cameraAccess/index/App.vue +++ b/src/pages/cameraAccess/index/App.vue @@ -4,7 +4,7 @@ <div class="resize-bar"></div> <div class="resize-line"></div> <div class="resize-save"> - <left-nav :appName="app" :edit="editTree"></left-nav> + <left-nav :appName="app" :edit="editTree" :height="screenHeight"></left-nav> </div> </div> <div class="column-right" > @@ -43,8 +43,8 @@ this.screenHeight = document.documentElement.clientHeight; })(); }; - debugger - this.leftWith = this.$refs['left'].width; + + this.leftWith = this.$refs['left'].offsetWidth; }, methods: { getUrlKey() { @@ -57,23 +57,27 @@ <style lang="scss" scoped> .column { - //overflow: hidden; + overflow-y: hidden; display: flex; width: 100%; + height: 100%; } .column-left { - height: inherit; + height: 100%; + padding-bottom: 20px; + box-sizing: border-box; + // height: inherit; background-color: #fff; position: relative; } .column-right { - min-width: 1442px; - flex:1; position: relative; + flex:1; background-color: #fff; box-sizing: border-box; - overflow: auto; - //height: 100%; + overflow-y: hidden; + height: 100%; + min-width: 1680px; } .resize-save { position: absolute; -- Gitblit v1.8.0