| New file |
| | |
| | | <!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 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> |