diff --git a/src/views/DialogTabs/DialogConfig.js b/src/views/DialogTabs/DialogConfig.js index 2cf0f09..3af85d0 100644 --- a/src/views/DialogTabs/DialogConfig.js +++ b/src/views/DialogTabs/DialogConfig.js @@ -63,6 +63,11 @@ content: markRaw(res_components['RQ_Warning']), name: 'RQ_Warning', }, + { + title: '街景', + content: markRaw(res_components['streetscape']), + name: 'streetscape', + }, ], }; diff --git a/src/views/DialogTabs/DialogConfig.js b/src/views/DialogTabs/DialogConfig.js index 2cf0f09..3af85d0 100644 --- a/src/views/DialogTabs/DialogConfig.js +++ b/src/views/DialogTabs/DialogConfig.js @@ -63,6 +63,11 @@ content: markRaw(res_components['RQ_Warning']), name: 'RQ_Warning', }, + { + title: '街景', + content: markRaw(res_components['streetscape']), + name: 'streetscape', + }, ], }; diff --git a/src/views/DialogTabs/component/streetscape.vue b/src/views/DialogTabs/component/streetscape.vue new file mode 100644 index 0000000..f52697a --- /dev/null +++ b/src/views/DialogTabs/component/streetscape.vue @@ -0,0 +1,21 @@ + + + + + diff --git a/src/views/DialogTabs/DialogConfig.js b/src/views/DialogTabs/DialogConfig.js index 2cf0f09..3af85d0 100644 --- a/src/views/DialogTabs/DialogConfig.js +++ b/src/views/DialogTabs/DialogConfig.js @@ -63,6 +63,11 @@ content: markRaw(res_components['RQ_Warning']), name: 'RQ_Warning', }, + { + title: '街景', + content: markRaw(res_components['streetscape']), + name: 'streetscape', + }, ], }; diff --git a/src/views/DialogTabs/component/streetscape.vue b/src/views/DialogTabs/component/streetscape.vue new file mode 100644 index 0000000..f52697a --- /dev/null +++ b/src/views/DialogTabs/component/streetscape.vue @@ -0,0 +1,21 @@ + + + + + diff --git a/src/views/oneMap/components/mapboxPopup.vue b/src/views/oneMap/components/mapboxPopup.vue index b5b6e5f..4465edf 100644 --- a/src/views/oneMap/components/mapboxPopup.vue +++ b/src/views/oneMap/components/mapboxPopup.vue @@ -470,6 +470,11 @@ //街景弹框点击事件 const showStreetLayer = () => { console.log('少爷在这里加~~~~~~~~~'); + let data = { + title: '街景', + comIDs: ['streetscape'], + }; + bus.emit('publicDialog', data); }; onMounted(() => { bus.on('closeCesiumPopup', () => {