| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2024-10-29 13:33:11 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2024-10-29 19:58:45 |
| | | * @LastEditTime: 2024-11-12 14:24:37 |
| | | * @FilePath: \bigScreen\src\components\global\publicBox.vue |
| | | * @Description: |
| | | * |
| | |
| | | </div> |
| | | |
| | | <base-map v-show="currentComponent == 'map'" @close="closeBox"></base-map> |
| | | <layers-control v-show="currentComponent == 'layers'" @close="closeBox"></layers-control> |
| | | <layers-control :show="currentComponent == 'layers'" @close="closeBox"></layers-control> |
| | | <tool-list :moreToolShow="moreToolShow" @close="closeBox"></tool-list> |
| | | </template> |
| | | |
| | |
| | | } else { |
| | | currentComponent.value = '' |
| | | } |
| | | |
| | | console.log(type, currentComponent.value, 4444) |
| | | } |
| | | </script> |
| | | |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2024-10-31 10:47:29 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2024-11-12 13:29:29 |
| | | * @LastEditTime: 2024-11-12 14:20:54 |
| | | * @FilePath: \bigScreen\src\pages\layout\components\scomponents\layersControl.vue |
| | | * @Description: |
| | | * |
| | | * Copyright (c) 2024 by shuishen, All Rights Reserved. |
| | | --> |
| | | <template> |
| | | <public-box> |
| | | <public-box v-show="showLayerControl"> |
| | | <template #name> |
| | | <div class="name"><i class="fa fa-tasks"></i> 图层</div> |
| | | </template> |
| | | |
| | | <template #close> |
| | | <div class="close" @click="$emit('close', 'layers')"><i class="fa fa-close"></i></div> |
| | | <div class="close cursor-p" @click="$emit('close', 'layers')"><i class="fa fa-close"></i></div> |
| | | </template> |
| | | |
| | | <template #content> |
| | |
| | | </template> |
| | | |
| | | <script setup> |
| | | const { |
| | | show: showLayerControl |
| | | } = defineProps({ |
| | | show: { |
| | | default: false |
| | | } |
| | | }) |
| | | import panorama from './popup/panorama.vue' |
| | | import { getPage } from '@/api/indParkInfo' |
| | | import { getList } from "@/api/space/space" |
| | |
| | | ) { |
| | | attrParams.url = attrParams.url.replace( |
| | | "http://vr.jxpskj.com:180", |
| | | "/panorama/url" |
| | | "/panorama" |
| | | ) |
| | | } |
| | | |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2024-10-25 10:56:27 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2024-11-11 17:48:23 |
| | | * @LastEditTime: 2024-11-12 14:02:19 |
| | | * @FilePath: \bigScreen\vite.config.js |
| | | * @Description: |
| | | * |
| | |
| | | // overlay:false |
| | | // }, |
| | | proxy: { |
| | | '/panorama/url': { |
| | | '/panorama': { |
| | | // target: 'http://localhost', |
| | | target: 'http://vr.jxpskj.com:180', |
| | | changeOrigin: true, |
| | | rewrite: path => path.replace(/^\/panorama\/url/, ''), |
| | | rewrite: path => path.replace(/^\/panorama/, ''), |
| | | }, |
| | | |
| | | '/zhyq/mx': { |