| | |
| | | <!DOCTYPE html> |
| | | <html lang="en"> |
| | | <head> |
| | | <meta charset="UTF-8" /> |
| | | <script> |
| | | var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || |
| | | CSS.supports('top: constant(a)')) |
| | | document.write( |
| | | '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + |
| | | (coverSupport ? ', viewport-fit=cover' : '') + '" />') |
| | | </script> |
| | | <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | |
| | | </script> |
| | | <title></title> |
| | | <head>
|
| | | <meta charset="UTF-8" />
|
| | | <script>
|
| | | var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
|
| | | CSS.supports('top: constant(a)'))
|
| | | document.write(
|
| | | '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
|
| | | (coverSupport ? ', viewport-fit=cover' : '') + '" />')
|
| | | </script>
|
| | | <title></title>
|
| | | <!--preload-links-->
|
| | | <!--app-context-->
|
| | | </head> |
| | | <body>
|
| | | <link rel="stylesheet" href="<%= BASE_URL %>static/index.css"/>
|
| | | |
| | | <!--preload-links--> |
| | | <!--app-context--> |
| | | </head> |
| | | <body> |
| | | <div id="app"><!--app-html--></div> |
| | | <script type="module" src="/main.js"></script> |
| | | <script type="module" src="/main.js"></script>
|
| | | <script type="text/javascript" src="https://api.map.baidu.com/api?v=1.0&type=webgl&ak=3mHKIXMArjgIkgADzOlTYp4XssNSNkwr"></script> |
| | | </body> |
| | | </html> |
| | |
| | | "uniStatistics" : { |
| | | "enable" : false |
| | | }, |
| | | "vueVersion" : "2" |
| | | "vueVersion" : "2", |
| | | "h5" : { |
| | | "template" : "index.html" |
| | | } |
| | | } |
| | |
| | | <view slot="left"> |
| | | <image src="/static/location/back.png" class="w-19 h-35" mode=""></image> |
| | | </view> |
| | | </u-navbar> |
| | | <web-view src="https://api.map.baidu.com/api?v=3.0&ak=W3x8DhCWKc2UFIwYgclpRBdL6BeGLLQt"></wwb-view> |
| | | |
| | | </u-navbar>
|
| | | <view class="" id="container">
|
| | | |
| | | </view> |
| | | <view class=""> |
| | | <view class="searchMain mb-35"> |
| | | <view class="search fs-27 "> |
| | |
| | | latitude: 39.909, |
| | | longitude: 116.39742, |
| | | }; |
| | | },
|
| | | mounted() {
|
| | | |
| | | }, |
| | | |
| | | onReady() {
|
| | | var map = new BMapGL.Map("container"); // 创建地图实例 |
| | | var point = new BMapGL.Point(116.404, 39.915); // 创建点坐标 |
| | | map.centerAndZoom(point, 15); |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | #baiduMap { |
| | | #container { |
| | | width: 100vw; |
| | | height: 517rpx; |
| | | } |