| | |
| | | } from "vue"; |
| | | import menuData from "@/assets/js/Map/menuData.js"; |
| | | import menuTool from "@/assets/js/Map/menuTool.js"; |
| | | import store from "@/store"; |
| | | const menuFlag = ref(null); |
| | | const menuOptions = ref([]); |
| | | const checkFlag = ref(null); |
| | |
| | | checkFlag.value = null; |
| | | // console.log(res); |
| | | if (res.name == "清除") { |
| | | menuTool.clearALL(res); |
| | | menuTool.clearALL(checkArr); |
| | | } |
| | | } else if (res.level == 2) { |
| | | checkFlag.value = res.id; |
| | |
| | | menuTool.topTools(res); |
| | | } |
| | | }; |
| | | |
| | | onMounted(() => { |
| | | menuOptions.value = menuData.topMenu; |
| | | }); |
| | |
| | | margin-right: 7px; |
| | | background: url("../assets/img/topBtn/图标bj.png") no-repeat; |
| | | background-size: 100% 100%; |
| | | opacity: 0.8; |
| | | .First_img { |
| | | width: 100%; |
| | | height: 100%; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | opacity: 1; |
| | | } |
| | | } |
| | | |