| | |
| | | <img src="@/assets/img/navigation/menuicon.png" /> |
| | | </el-button> |
| | | </div> |
| | | <!-- <div class="menuBtn" @click="handleMenuListShow"></div> --> |
| | | |
| | | <div class="menuList" v-show="showMenuList.show"> |
| | | <ul> |
| | | <li |
| | |
| | | }; |
| | | }, |
| | | methods: { |
| | | // 点击右上角菜单按钮 |
| | | handleMenuListShow() { |
| | | // 清除定点绕飞 |
| | | if (window.pointerFly) { |
| | |
| | | this.showMenuList.show = !this.showMenuList.show; |
| | | store.setMenuListShow(this.showMenuList.show); |
| | | }, |
| | | |
| | | // 点击右上角菜单项 |
| | | handleMenuClick(attr) { |
| | | debugger; |
| | | //清除点 |
| | | // debugger; |
| | | // 清除定点绕飞 |
| | | if (window.pointerFly) { |
| | | window.pointerFly.end && window.pointerFly.end(); |
| | | window.pointerFly = null; |
| | | } |
| | | //清除搜索点 |
| | | flyPoint && Viewer.entities.remove(flyPoint); |
| | | flyPoint = undefined; |
| | | switch (attr) { |