| | |
| | | <script> |
| | | import LeftNav from "../components/LeftNav.vue"; |
| | | import TopNav from "../components/TopNav.vue"; |
| | | import Home from "./home" |
| | | import Home from "./home"; |
| | | |
| | | export default { |
| | | mounted() { |
| | | this.screenHeight = document.documentElement.clientHeight - 90; |
| | | this.getCenter(); |
| | | this.TreeDataPool.showTreeBox = false |
| | | this.TreeDataPool.showTreeBox = false; |
| | | this.screenHeight = document.documentElement.clientHeight - 90; |
| | | document.title = "SmartAI"; |
| | | }, |
| | | components: { |
| | | LeftNav, |
| | | TopNav, |
| | | Home |
| | | }, |
| | | |
| | | |
| | | data() { |
| | | return { |
| | | screenHeight: 0, |
| | |
| | | min-width: 1350px; |
| | | overflow: auto; |
| | | } |
| | | .tree-menu{ |
| | | max-width: 270px!important; |
| | | .tree-menu { |
| | | max-width: 270px !important; |
| | | } |
| | | .el-menu-vertical-demo::-webkit-scrollbar{ |
| | | background-color: transparent!important; |
| | | .el-menu-vertical-demo::-webkit-scrollbar { |
| | | background-color: transparent !important; |
| | | } |
| | | .el-menu-vertical-demo::-webkit-scrollbar-thumb{ |
| | | background-color: transparent!important; |
| | | .el-menu-vertical-demo::-webkit-scrollbar-thumb { |
| | | background-color: transparent !important; |
| | | } |
| | | .el-menu-vertical-demo::-webkit-scrollbar-track{ |
| | | background-color: transparent!important; |
| | | .el-menu-vertical-demo::-webkit-scrollbar-track { |
| | | background-color: transparent !important; |
| | | } |
| | | .hasLeftTree{ |
| | | .hasLeftTree { |
| | | float: left; |
| | | width: calc(100% - 315px); |
| | | } |