| | |
| | | z-index: 1; |
| | | } |
| | | |
| | | .uploadLocation { |
| | | position: fixed; |
| | | bottom: 10px; |
| | | width: 100%; |
| | | z-index: 100; |
| | | text-align: center; |
| | | } |
| | | |
| | | #mapVue { |
| | | overflow: hidden; |
| | | /* border: solid 1px springgreen; */ |
| | |
| | | geolocation: null |
| | | }, |
| | | methods: { |
| | | uplcation() { |
| | | var that = this; |
| | | this.$message({ |
| | | showClose: true, |
| | | message: '位置上传中,请稍等' |
| | | }); |
| | | |
| | | setTimeout(function() { |
| | | that.$message({ |
| | | showClose: true, |
| | | type: 'success', |
| | | message: '上传成功' |
| | | }); |
| | | }, 3000); |
| | | }, |
| | | |
| | | beginCome() { |
| | | var resultData = [] |
| | |
| | | <div class="dingwei" @click="locationMap"> |
| | | <img style="width: 80%;height: 80%;" src="./img/dingwei.png" alt=""> |
| | | </div> |
| | | <div class="uploadLocation"> |
| | | <el-button @click="uplcation" type="primary">上传位置</el-button> |
| | | </div> |
| | | <div id="map"> |
| | | |
| | | </div> |