From 1b5cbcdad008c7127143a83c54a2560d40aa2fbe Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 14 Feb 2025 10:36:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20babylon=E5=92=8Ccesium=E6=87=92?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E5=8F=8A=E6=89=93=E5=8C=85=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 5 +- src/main.js | 3 -- src/views/bigScreen/cesiumtest.vue | 35 ++++++++----- src/views/bigScreen/index_enm.vue | 72 +++++++++++++++----------- src/views/bigScreen/index_enm_ly.vue | 53 ++++++++++++++----- src/views/bigScreen/index_enp_blue.vue | 1 - src/views/bigScreen/index_gx.vue | 43 ++++++++++----- src/views/bigScreen/index_photon.vue | 40 +++++++++----- src/views/bigScreen/textIndex.vue | 25 ++++++--- vue.config.js | 33 +++++++++++- 10 files changed, 213 insertions(+), 97 deletions(-) diff --git a/package.json b/package.json index beef902a..5d14edbf 100644 --- a/package.json +++ b/package.json @@ -17,9 +17,11 @@ "babylonjs": "^6.46.0", "babylonjs-gui": "^6.46.0", "babylonjs-loaders": "^6.46.0", - "cesium": "1.75", + "cesium": "^1.126.0", "codemirror": "^5.65.17", "codemirror-editor-vue3": "^2.7.0", + "compression-webpack-plugin": "^11.1.0", + "copy-webpack-plugin": "^12.0.2", "core-js": "3.29.0", "cropperjs": "1.5.13", "crypto-browserify": "^3.12.0", @@ -37,6 +39,7 @@ "moment": "^2.30.1", "node-polyfill-webpack-plugin": "^4.0.0", "nprogress": "0.2.0", + "path": "^0.12.7", "print-js": "^1.6.0", "qrcodejs2": "0.0.2", "sortablejs": "1.15.0", diff --git a/src/main.js b/src/main.js index e55fa8bb..ec952eff 100644 --- a/src/main.js +++ b/src/main.js @@ -16,14 +16,11 @@ import jsBarCode from "./utils/jsBarCode"; import DataVVue3 from "@kjgl77/datav-vue3"; import htmlToPdf from "./utils/htmlToPdf"; -import * as Cesium from "cesium"; - const app = createApp(App); app.use(store); app.use(router); app.use(ElementPlus); -app.use(Cesium); app.use(i18n); app.use(scui); app.use(xtui); diff --git a/src/views/bigScreen/cesiumtest.vue b/src/views/bigScreen/cesiumtest.vue index cabbd357..a0318585 100644 --- a/src/views/bigScreen/cesiumtest.vue +++ b/src/views/bigScreen/cesiumtest.vue @@ -269,9 +269,18 @@