| | |
| | | <img src="@assets/images/map-pages/icon/toolbox/tool.png" alt=""> |
| | | <span>工具</span> |
| | | </el-button> |
| | | <transition name="isD"> |
| | | <el-row v-show="selectGroup" class="specific-tools-group"> |
| | | <el-popover |
| | | placement="bottom" |
| | |
| | | <i :class="selectGroup === false ? 'el-icon-d-arrow-right':'el-icon-d-arrow-left'"></i> |
| | | </el-button> |
| | | </el-row> |
| | | </transition> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | drawLayer: null, |
| | | map: null, |
| | | L: window.L, |
| | | active: 0 |
| | | active: 0, |
| | | isShow: true |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | // 左上功能控制 |
| | | changeSelect () { |
| | | this.selectGroup = !this.selectGroup |
| | | this.isShow = !this.isShow |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | .specific-tools { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-evenly; |
| | | |
| | | .el-button { |
| | | z-index: 999; |
| | | padding: 0; |
| | | margin: 0 0.015rem; |
| | | width: 45px; |
| | |
| | | } |
| | | |
| | | .specific-tools-group { |
| | | z-index: 1; |
| | | .tools-panel-choose { |
| | | border: none; |
| | | box-shadow: 0 0 0.03rem @color-shadow; |
| | |
| | | } |
| | | } |
| | | } |
| | | .isD-enter-active, .isD-leave-active{ |
| | | transition: all 0.5s; |
| | | } |
| | | .isD-enter, .isD-leave-to{ |
| | | opacity: 0; |
| | | transform: translateX(-100px); |
| | | } |
| | | </style> |