diff --git a/src/api/park.js b/src/api/park.js new file mode 100644 index 0000000..4e8b818 --- /dev/null +++ b/src/api/park.js @@ -0,0 +1,13 @@ +import request from '@/utils/request' + +/** + * 获取车主账户 + * @param param + */ +export function queryParkLotInfoByOrgId(param) { + return request({ + url: '/realTime/queryParkLotInfoByOrgId', + method: 'post', + data:param + }) +} diff --git a/src/assets/park/phone_ewm.png b/src/assets/park/phone_ewm.png new file mode 100644 index 0000000..6848df2 --- /dev/null +++ b/src/assets/park/phone_ewm.png diff --git a/src/views/about.vue b/src/views/about.vue index 703260a..f694cea 100644 --- a/src/views/about.vue +++ b/src/views/about.vue @@ -106,6 +106,13 @@ map.addOverlay(marker); //在地图中添加marker map.centerAndZoom(point, 15); + map.enableScrollWheelZoom(true); //开启鼠标滚轮缩放 + var top_left_control = new BMap.ScaleControl({anchor: BMAP_ANCHOR_TOP_LEFT});// 左上角,添加比例尺 + var top_left_navigation = new BMap.NavigationControl(); //左上角,添加默认缩放平移控件 + var top_right_navigation = new BMap.NavigationControl({anchor: BMAP_ANCHOR_TOP_RIGHT, type: BMAP_NAVIGATION_CONTROL_SMALL}); //右上角,仅包含平移和缩放按钮 + map.addControl(top_left_control); + map.addControl(top_left_navigation); + map.addControl(top_right_navigation); var infoWindow = new BMap.InfoWindow(sContent); // 创建信息窗口对象 map.openInfoWindow(infoWindow, point); //开启信息窗口 } diff --git a/src/views/center.vue b/src/views/center.vue index ed3b6a0..b78fa1b 100644 --- a/src/views/center.vue +++ b/src/views/center.vue @@ -53,7 +53,7 @@ export default { diff --git a/src/views/service.vue b/src/views/service.vue index 3c705f9..e6166c7 100644 --- a/src/views/service.vue +++ b/src/views/service.vue @@ -45,7 +45,7 @@ 我的评价 - + 退出服务