智慧保安APP验收版本
zengh
2021-12-06 886a9f2deb311453f12cb0302bcb882a9d331d7a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!DOCTYPE html>
<html>
 
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>地图</title>
    <!-- vue -->
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.12"></script>
 
    <!-- leaflet支持 -->
    <script src="./lid/leaflet.js"></script>
    <link rel="stylesheet" href="./lid/leaflet.css" />
 
    <!-- leaflet聚合支持 -->
    <link rel="stylesheet" href="./lid/MarkerCluster.css" />
    <link rel="stylesheet" href="./lid/MarkerCluster.Default.css" />
    <script src="./lid/leaflet.markercluster-src.js"></script>
 
    <!-- layui支持 -->
    <!-- <link rel="stylesheet" href="../map/lib/layui/css/layui.css" media="all"> -->
    <!-- <script src="../map/lib/layui/layui.js" charset="utf-8"></script> -->
 
    <!-- 百度地图api -->
    <script type="text/javascript"
        src="https://mapapi.qq.com/web/mapComponents/geoLocation/v/geolocation.min.js"></script>
 
    <!-- axios支持 -->
    <script src="../map/lib/axios.js"></script>
 
    <!-- elementui -->
    <script src="../map/lib/elementUi.js"></script>
    <!-- <link rel="stylesheet" href="../map/lib/elementUi.css"> -->
    <link rel="stylesheet" href="./css/elementUI.css">
    <!-- <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"> -->
 
    <!-- jqurey -->
    <script src="../map/lib/jquery.js" charset="utf-8"></script>
 
    <!-- 微信支持 -->
    <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
    <!-- <script src="./js/wx.js"></script> -->
 
    <!-- uni 的 SDK -->
    <script type="text/javascript" src="https://js.cdn.aliyun.dcloud.net.cn/dev/uni-app/uni.webview.1.5.2.js"></script>
 
    <!-- omyself支持 -->
    <link rel="stylesheet" href="./css/body.css" />
 
    <!-- myDomMove -->
    <script src="./js/move.js"></script>
    <!-- sha1加密 -->
    <!-- <script src="./js/sha1.js"></script> -->
    <script src="https://pv.sohu.com/cityjson?ie=utf-8"></script>
 
    <style>
        #seedata {
            position: relative;
 
        }
 
        .clear {
            position: absolute;
            right: 6px;
            top: 6px;
            width: 20px;
            height: 20px;
            z-index: 120;
        }
 
        .content {
            padding: 10px;
            position: absolute;
            top: 0;
            left: 0;
            width: calc(100% - 20px);
            height: calc(100% - 20px);
            z-index: 99;
 
            display: flex;
            flex-direction: column;
            /* justify-content: center; */
            align-items: center;
 
        }
 
        .content div {
            flex: 1;
            max-height: 36px;
            line-height: 1.6;
        }
 
        .content label {
            display: inline-block;
            width: 80px;
        }
    </style>
 
 
</head>
 
<body>
    <div id="mapVue">
        <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>
        <div id="seedata" style='display: none'>
            <div class="clear">
                <img style="width: 100%;height: 100%;" src="./img/gaunbi.png" alt="">
            </div>
            <div class="content">
 
            </div>
        </div>
    </div>
    <!-- vue渲染 -->
    <script src="./js/vueMain.js"></script>
    <!-- 引入高德地图所需秘钥 -->
    <script type="text/javascript"
        src='https://webapi.amap.com/maps?v=1.4.11&key=7ab53b28352e55dc5754699add0ad862&plugin=AMap.PlaceSearch'></script>
</body>
 
</html>