智慧保安APP验收版本
shuishen
2021-12-02 095ddf25ae9519b89b9bd43e6a0871a25dbee91d
Merge branch 'master' of http://192.168.0.105:10010/r/zhba_app_ys
3 files modified
34 ■■■■ changed files
mapWz/css/body.css 16 ●●●● 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; */
@@ -292,10 +300,10 @@
    width: 70%;
}
.b-r-i-o-ups{
    /* align-items: center; */
    /* align-items: center;
}
} */
.b-r-m-i-o-c-img {
    width: 50px;
    height: 50px;
@@ -304,7 +312,7 @@
    position: relative;
    left: calc(50% - 40px);
}
*/ .butc {
 .butc {
    /* border: 1px solid #4D7CEE; */
}
.b-b-img {
@@ -312,4 +320,4 @@
    height: 40px;
    display: block;
    /* border: 1px solid #4D7CEE; */
}
}
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>