智慧保安APP验收版本
zengh
2021-12-02 1d8854ac35de9ac1a37da1659675ff1765eda7f3
地图
3 files modified
26 ■■■■■ changed files
mapWz/css/body.css 8 ●●●●● patch | view | raw | blame | history
mapWz/js/vueMain.js 15 ●●●●● patch | view | raw | blame | history
mapWz/xcxmap.html 3 ●●●●● patch | view | raw | blame | history
mapWz/css/body.css
@@ -22,6 +22,14 @@
    z-index: 1;
}
.uploadLocation {
    position: fixed;
    bottom: 10px;
    width: 100%;
    z-index: 100;
    text-align: center;
}
#mapVue {
    overflow: hidden;
    /* border: solid 1px springgreen; */
mapWz/js/vueMain.js
@@ -34,6 +34,21 @@
        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 = []
mapWz/xcxmap.html
@@ -105,6 +105,9 @@
        <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>