| | |
| | | mode="horizontal" |
| | | :collapse="isCollapse" |
| | | unique-opened |
| | | @open="handleOpen" |
| | | @close="handleClose" |
| | | @select="handleSelect" |
| | | v-show='selectGroup' |
| | | > |
| | |
| | | }, |
| | | handleClose () { |
| | | }, |
| | | handleSelect (index, indexPath) { |
| | | |
| | | }, |
| | | gitBounced (params) { |
| | | this.bouncedText = params |
| | | }, |
| | | changeSelect () { |
| | | this.selectGroup = !this.selectGroup |
| | | }, |
| | | handleSelects (command) { |
| | | console.log(command) |
| | | switch (command) { |
| | | case '全屏': |
| | | handleSelect (index) { |
| | | console.log(index) |
| | | switch (index) { |
| | | case '4-1': |
| | | // this.map.toggleFullscreen() |
| | | var printer = this.L.easyPrint({ |
| | | sizeModes: ['Current', 'A4Landscape', 'A4Portrait'], |
| | |
| | | Measure.startMeasureArea(this.map, this.L) |
| | | break |
| | | } |
| | | }, |
| | | gitBounced (params) { |
| | | this.bouncedText = params |
| | | }, |
| | | changeSelect () { |
| | | this.selectGroup = !this.selectGroup |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="less"> |
| | | |
| | | .lefttop-toolbox-panel { |
| | | position: absolute; |
| | | left: 15px; |
| | |
| | | line-height: 55px; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-around; |
| | | |
| | | .init-choose { |
| | | background: #305B62; |
| | |
| | | } |
| | | |
| | | .el-menu { |
| | | width: 80%; |
| | | width: 100%; |
| | | background: none; |
| | | z-index: 1; |
| | | border: none; |
| | | background: #305B62; |
| | | border-radius: 50px; |
| | | //margin-left: -30px; |
| | | |
| | | .el-icon-arrow-down:before { |
| | | content: " "; |
| | | } |
| | | |
| | | .el-submenu__title:focus, .el-submenu__title:hover { |
| | | background: none; |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | //} |
| | | |
| | | } |
| | | .el-menu--horizontal { |
| | | .el-menu--popup { |
| | | min-width: 100px; |
| | | .el-menu-item { |
| | | min-width: 50px; |
| | | } |
| | | } |
| | | } |
| | | ul { |
| | | padding-inline-start: 0; |
| | | } |
| | | </style> |