From 6648559cda10b4d6f55eac5fe9f7a0110536d0b9 Mon Sep 17 00:00:00 2001 From: haha Date: Sun, 10 Sep 2023 23:20:30 +0800 Subject: [PATCH] update code --- public/index.html | 1 + public/initApi.js | 81 ++++++++++++++++++ public/js/mapmodle.js | 11 +++ public/maps/config.json | 1 - public/maps/home.html | 3 +- public/maps/index.html | 41 --------- public/maps/map1.html | 76 ----------------- public/maps/map2.html | 76 ----------------- src/pages/detail/mapModle.vue | 124 ++++++++++++++++++++++++++++ src/pages/detail/projectInfoDlg.vue | 18 +++- src/pages/index/indexDlg2.vue | 38 +++++++-- src/pages/projectDetail.vue | 16 ++-- src/pages/style/index.less | 1 + vue.config.js | 4 +- 14 files changed, 279 insertions(+), 212 deletions(-) create mode 100644 public/initApi.js create mode 100644 public/js/mapmodle.js delete mode 100644 public/maps/config.json delete mode 100644 public/maps/index.html delete mode 100644 public/maps/map1.html delete mode 100644 public/maps/map2.html create mode 100644 src/pages/detail/mapModle.vue diff --git a/public/index.html b/public/index.html index e402382..cf2abd7 100644 --- a/public/index.html +++ b/public/index.html @@ -14,6 +14,7 @@ + - - - - - - - - - -
- - -
-
模型视图列表
- -
- - -
-
-
- 加载中.... -
-
- - - - - - - diff --git a/public/maps/map2.html b/public/maps/map2.html deleted file mode 100644 index b493fd9..0000000 --- a/public/maps/map2.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - 泾河路网 - - - - - - - - - - -
- - -
-
模型视图列表
- -
- - -
-
-
- 加载中.... -
-
- - - - - - - diff --git a/src/pages/detail/mapModle.vue b/src/pages/detail/mapModle.vue new file mode 100644 index 0000000..badef17 --- /dev/null +++ b/src/pages/detail/mapModle.vue @@ -0,0 +1,124 @@ + + + + + \ No newline at end of file diff --git a/src/pages/detail/projectInfoDlg.vue b/src/pages/detail/projectInfoDlg.vue index 40c78a1..b00c222 100644 --- a/src/pages/detail/projectInfoDlg.vue +++ b/src/pages/detail/projectInfoDlg.vue @@ -52,6 +52,10 @@ fill="#fff" p-id="3687"> + + + +
{ + setTimeout(()=>{ + this.isFullScreen=b; + },400); + }) }, methods: { + toggleFullScreen(){ + let el=this.$el.querySelector(".popup-project-introduction-min"); + this.$toggleFullScreen(el); + setTimeout(()=>{ + this.isFullScreen=document.fullscreenElement==el; + },400); + }, getPrjUser(t, deptType) { if (this.users && this.users.length > 0) { if (deptType) { diff --git a/src/pages/index/indexDlg2.vue b/src/pages/index/indexDlg2.vue index e0f55ec..e2db897 100644 --- a/src/pages/index/indexDlg2.vue +++ b/src/pages/index/indexDlg2.vue @@ -37,9 +37,13 @@ fill="#fff" p-id="3687"> + + + +
-
+
@@ -67,7 +71,7 @@
目前进展:
-
+