| | |
| | | <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" > |
| | |
| | | } |
| | | }, |
| | | mounted() { |
| | | debugger |
| | | this.screenHeight = document.documentElement.clientHeight; |
| | | window.onresize = () => { |
| | | return (() => { |
| | | this.screenHeight = document.documentElement.clientHeight; |
| | | })(); |
| | | }; |
| | | debugger |
| | | |
| | | this.leftWith = this.$refs['left'].offsetWidth; |
| | | }, |
| | | methods: { |
| | |
| | | height: 100%; |
| | | } |
| | | .column-left { |
| | | height: inherit; |
| | | height: 100%; |
| | | padding-bottom: 20px; |
| | | box-sizing: border-box; |
| | | // height: inherit; |
| | | background-color: #fff; |
| | | position: relative; |
| | | } |