| | |
| | | }, |
| | | methods: { |
| | | initMap() { |
| | | this.map = new window.BMap.Map("map"); |
| | | this.map = new window.BMap.Map("map",{ |
| | | minZoom : 2, |
| | | maxZoom : 11 |
| | | }); |
| | | console.log(map,'map===') |
| | | this.map.centerAndZoom(new BMap.Point(118.183450598,39.6505309225), 11) |
| | | //map.enableScrollWheelZoom(true) //鼠标滚动缩放 |
| | |
| | | .uploadBtn{ |
| | | background: linear-gradient(to right,#0e0e25,#092749); |
| | | } |
| | | .el-button.is-plain:focus, .el-button.is-plain:hover{ |
| | | background: transparent; |
| | | .el-button.is-plain:hover{ |
| | | background: linear-gradient(to right, #0e0e25, #092749)!important; |
| | | } |
| | | .el-button{ |
| | | border:1px solid #1ee3f3!important; |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | </style> |
| | | <style lang="scss" scoped> |
| | | |