| | |
| | | <template> |
| | | <div class="menu_Box"> |
| | | <div class="menu_Box box_div"> |
| | | <div |
| | | class="leftMen_div" |
| | | @click="setChangeTwoMenu(item)" |
| | |
| | | // this.openMeasureResultInfo('海拔高度', data); |
| | | // } |
| | | // ); |
| | | var measure = window.sgworld.Command.execute(0, 3, this.colorAll, (data) => { |
| | | data.id = window.sgworld.Core.getuid(); |
| | | this.measureData.set(data.id, measure); |
| | | this.openMeasureResultInfo('平面面积', data); |
| | | var measure = window.sgworld.Command.execute(0, 3, this.colorAll, (data) => { |
| | | data.id = window.sgworld.Core.getuid(); |
| | | this.measureData.set(data.id, measure); |
| | | this.openMeasureResultInfo('平面面积', data); |
| | | |
| | | |
| | | }); |
| | | |
| | | |
| | | }); |
| | | |
| | | break; |
| | | case 'j2': |
| | | var measure = window.sgworld.Command.execute( |
| | |
| | | switch (res) { |
| | | case 'a1': |
| | | if (this.$store.state.layerMnage == false) { |
| | | this.$refs && this.$refs.maplayer && this.$refs.maplayer.closeAll(); |
| | | this.$refs && this.$refs.maplayer && this.$refs.maplayer.open(); |
| | | this.$store.state.layerMnage = true; |
| | | } else if (this.$store.state.layerMnage == true) { |
| | | this.$refs && this.$refs.maplayer && this.$refs.maplayer.close(); |
| | | this.$refs && this.$refs.maplayer && this.$refs.maplayer.closeAll(); |
| | | this.$store.state.layerMnage = false; |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | }); |
| | | this.$bus.$on('showLeftMenu', (res) => { |
| | | this.$store.state.showAllLayers = true; |
| | | |
| | | this.setCoverage('a1'); |
| | | |
| | | }); |
| | | this.$store.state.showAllLayers = true; |
| | | this.$store.state.layerMnage = false; |
| | | this.setCoverage('a1'); |
| | | }, |
| | | }; |
| | | </script> |
| | |
| | | font-size: 16px; |
| | | font-family: Microsoft YaHei; |
| | | font-weight: 400; |
| | | color: #ffffff; |
| | | |
| | | padding: 10px; |
| | | min-width: 100px; |
| | | margin-left: 10px; |
| | |
| | | border-radius: 5px; |
| | | } |
| | | .leftMen_div:hover { |
| | | background: linear-gradient(180deg, #002992, #080472); |
| | | border: 1px solid #000000; |
| | | box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.21); |
| | | background: rgba(64, 158, 255, 0.4); |
| | | border: 1px solid #409eff; |
| | | box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1); |
| | | border-radius: 5px; |
| | | } |
| | | .lefMenuDivActive { |
| | | background: linear-gradient(180deg, #002992, #080472); |
| | | background: rgba(64, 158, 255, 0.4); |
| | | border: 1px solid #409eff; |
| | | } |
| | | .menuTwoImage { |
| | | width: 32px; |