diff --git a/auto-imports.d.ts b/auto-imports.d.ts index f06c23a..ba90363 100644 --- a/auto-imports.d.ts +++ b/auto-imports.d.ts @@ -2,7 +2,6 @@ export {} declare global { const EffectScope: typeof import('vue')['EffectScope'] - const ElMessage: typeof import('element-plus/es')['ElMessage'] const computed: typeof import('vue')['computed'] const createApp: typeof import('vue')['createApp'] const customRef: typeof import('vue')['customRef'] diff --git a/src/views/cesium/index.vue b/src/views/cesium/index.vue index ef9bcab..aafa079 100644 --- a/src/views/cesium/index.vue +++ b/src/views/cesium/index.vue @@ -9,10 +9,16 @@ import {ArcGisMapServerImageryProvider, Camera, Viewer, Rectangle} from 'cesium' const containerRef = ref(); const unvisibleCreditRef = ref(); Camera.DEFAULT_VIEW_RECTANGLE = Rectangle.fromDegrees( - 75.0, // 东 - 0.0, // 南 - 140.0, // 西 - 60.0 // 北 + // 75.0, // 东 + // 0.0, // 南 + // 140.0, // 西 + // 60.0 // 北 + // 106.5, // 西经(West) + // 28.5, // 南纬(South) + // 108.5, // 东经(East) + // 31.5 // 北纬(North) + 106.52,29.53, // 西南角(经度,维度) + 106.60,29.59 // 东北角 ) onMounted(() => { const viewer = new Viewer(containerRef.value, { @@ -43,6 +49,21 @@ onMounted(() => { } } ) + + // const addLabel= new Viewer(containerRef.value, { + // labelLayer :new Cesium.WebMapTileServiceImageryProvider({ + // url: "http://t0.tianditu.com/cia_w/wmts?service=wmts&tk=e3af6e89f787c2469373e3aea76f4d36&request=GetTile&version=1.0.0&LAYER=cia&tileMatrixSet=w&TileMatrix={TileMatrix}&TileRow={TileRow}&TileCol={TileCol}&style=default.jpg", + // layer: "tdtImgAnnoLayer", + // style: "default", + // format: "image/jpeg", + // tileMatrixSetID: "GoogleMapsCompatible", + // }) + + // }) + viewer.camera.setView({ + destination: Camera.DEFAULT_VIEW_RECTANGLE + }) + viewer.camera.moveBackward(100) const rawViewer = markRaw(viewer) console.log(rawViewer) }) @@ -50,7 +71,7 @@ onMounted(() => { diff --git a/src/views/system/metasploitable/index.vue b/src/views/system/metasploitable/index.vue index e823e1a..15b19dd 100644 --- a/src/views/system/metasploitable/index.vue +++ b/src/views/system/metasploitable/index.vue @@ -85,15 +85,7 @@ - + --> + + @@ -216,15 +210,7 @@ - + --> + @@ -346,15 +333,7 @@ - + --> + @@ -476,15 +456,7 @@ - + --> +
diff --git a/src/views/system/pilot/index.vue b/src/views/system/pilot/index.vue index e453150..5257651 100644 --- a/src/views/system/pilot/index.vue +++ b/src/views/system/pilot/index.vue @@ -1,6 +1,6 @@