diff --git a/front/src/supermap/createMarkerPopup.js b/front/src/supermap/createMarkerPopup.js index a899ef73..343620aa 100644 --- a/front/src/supermap/createMarkerPopup.js +++ b/front/src/supermap/createMarkerPopup.js @@ -1,3 +1,10 @@ +/* + * @Author: hisense.wuhongjian + * @Date: 2022-06-14 09:43:31 + * @LastEditors: hisense.wuhongjian + * @LastEditTime: 2022-07-26 15:19:38 + * @Description: 告诉大家这是什么 + */ /** * @Author: tiansiyuan * @Date: 2021/2/20 13:12:56 @@ -18,23 +25,23 @@ import { selectByChannelCode } from '@/api/videoSurveillance' */ function createCameraDetailsPop(feature) { // if(feature.type !== 'cameraTree'){ - selectByChannelCode({ channelCode: feature.data.channelCode }).then((res) => { - feature.data = res.data.data[0] - }) - // } - const popupDom = new Dom({ - template: '', - data() { - return { - feature: feature, - } - }, - created() {}, - components: { - CameraDetailsPop, - }, - }) - return popupDom.initDom() + // selectByChannelCode({ channelCode: feature.data.channelCode }).then((res) => { + // feature.data = res.data.data[0] + // }) + // // } + // const popupDom = new Dom({ + // template: '', + // data() { + // return { + // feature: feature, + // } + // }, + // created() {}, + // components: { + // CameraDetailsPop, + // }, + // }) + // return popupDom.initDom() } function createSearchAddressTitlePop(feature) { const popupDom = new Dom({ diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index c8aebfe2..eec677d2 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -5,7 +5,13 @@
{{ item.title }} - + + 清空 + 预览 @@ -588,7 +598,8 @@ padding: 0 0.08rem; } .leftType { - margin: 0.1rem 0; + margin: 0.2rem 0; + margin-right: 0.06rem; } .down { background: #0087ff;