diff --git a/src/api/mediaLibrary.js b/src/api/mediaLibrary.js index b324787..7595fd3 100644 --- a/src/api/mediaLibrary.js +++ b/src/api/mediaLibrary.js @@ -134,4 +134,13 @@ export function mediaByMap(query) { method: 'get', params: query }) +} + +// 获取户外媒介媒体分页列表 +export function outMediaPageList(query) { + return request({ + url: '/media/outdoors/pageList', + method: 'get', + params: query + }) } \ No newline at end of file diff --git a/src/views/mediaMap/index.vue b/src/views/mediaMap/index.vue index f6fd646..0112cbf 100644 --- a/src/views/mediaMap/index.vue +++ b/src/views/mediaMap/index.vue @@ -5,8 +5,6 @@ - { activeLableIndex.value = null circleRadius.value = 2000; // 实际半径(米) selectConfig.value = null - + // 清除现有的圆形和标记 if (centerMarker.value) { mapInstance.value.remove(centerMarker.value); @@ -338,11 +336,8 @@ const loadMap = () => { mapInstance.value = new AMap.Map("mapContainer", { resizeEnable: true, - // center: [116.397428, 39.90923], // 默认中心点 pitch: initialPitch, // 倾斜角度决定2D/3D模式 rotation: initialRotation, // 旋转角度 - // buildingAnimation: true, - // expandZoomRange: true, zoom: 16, zooms: [3, 16], viewMode: mapMode.value // 启用3D视图 diff --git a/src/views/outdoorMedia/index.vue b/src/views/outdoorMedia/index.vue index 7096e46..55f65c8 100644 --- a/src/views/outdoorMedia/index.vue +++ b/src/views/outdoorMedia/index.vue @@ -5,21 +5,21 @@
- - - @@ -40,33 +40,34 @@
- - - - + - - + @@ -90,7 +91,7 @@ - @@ -99,7 +100,7 @@ 查询 重置 PPT批量导出 - 清空所选媒体 + 清空所选媒体 @@ -107,15 +108,17 @@ - + - - - + + +