From 095ddf25ae9519b89b9bd43e6a0871a25dbee91d Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 02 Dec 2021 21:46:10 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/zhba_app_ys
---
mapWz/xcxmap.html | 3 +++
mapWz/css/body.css | 16 ++++++++++++----
mapWz/js/vueMain.js | 15 +++++++++++++++
3 files changed, 30 insertions(+), 4 deletions(-)
diff --git a/mapWz/css/body.css b/mapWz/css/body.css
index 2e98777..9bdcdff 100644
--- a/mapWz/css/body.css
+++ b/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; */
-}
\ No newline at end of file
+}
diff --git a/mapWz/js/vueMain.js b/mapWz/js/vueMain.js
index 2d50583..6df06a8 100644
--- a/mapWz/js/vueMain.js
+++ b/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 = []
diff --git a/mapWz/xcxmap.html b/mapWz/xcxmap.html
index a1f9e63..273eaea 100644
--- a/mapWz/xcxmap.html
+++ b/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>
--
Gitblit v1.9.3