| | |
| | | </div> |
| | | <div class="right_content"> |
| | | <div class="map"> |
| | | <Map /> |
| | | <!-- <Map /> --> |
| | | <GMap /> |
| | | </div> |
| | | <div class="media-wrapper" v-if="root.$route.name === ERouterName.MEDIA"> |
| | | <MediaPanel /> |
| | |
| | | <div class="task-wrapper" v-if="root.$route.name === ERouterName.TASK"> |
| | | <TaskPanel /> |
| | | </div> |
| | | <div class="device-wrapper" v-if="root.$route.name === ERouterName.IMPLEMENT"> |
| | | <Devices /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import Map from '/@/components/cesiumMap/cesium.vue' |
| | | // import Map from '/@/components/cesiumMap/cesium.vue' |
| | | import GMap from '/@/components/GMap.vue' |
| | | import MediaPanel from '/@/components/MediaPanel.vue' |
| | | import TaskPanel from '/@/components/task/TaskPanel.vue' |
| | | import Devices from '/@/pages/page-web/projects/devices.vue' |
| | | import { EBizCode, ERouterName } from '/@/types' |
| | | import { getRoot } from '/@/root' |
| | | const root = getRoot() |
| | |
| | | width: 100%; |
| | | |
| | | .left_content { |
| | | width: 335px; |
| | | min-height: 100vh; |
| | | width: 370px; |
| | | max-height: 100vh; |
| | | background-color: black; |
| | | color: $text-white-basic; |
| | | color: $text-white-basic !important; |
| | | } |
| | | |
| | | .right_content { |
| | |
| | | } |
| | | |
| | | .media-wrapper, |
| | | .device-wrapper, |
| | | .task-wrapper { |
| | | position: absolute; |
| | | top: 0; |