From 10ecfd0b60442d209d1ab4b749580ffb638d1992 Mon Sep 17 00:00:00 2001
From: lixuliang <lixuliang_hd@126.com>
Date: 星期三, 08 五月 2024 14:44:04 +0800
Subject: [PATCH] 数字人更新

---
 src/components/map/viewer.vue |   43 +++----------------------------------------
 1 files changed, 3 insertions(+), 40 deletions(-)

diff --git a/src/components/map/viewer.vue b/src/components/map/viewer.vue
index bd20cd5..7118128 100644
--- a/src/components/map/viewer.vue
+++ b/src/components/map/viewer.vue
@@ -1,33 +1,7 @@
 <template>
   <div>
     <div id="sdkContainer"></div>
-    <!-- <iframe
-      id="digital_page"
-      v-if="isShowDigitalPerson"
-      src="https://iframetester.com/"
-      height="450"
-      width="600"
-      frameborder="no"
-      border="0"
-      marginwidth="0"
-      marginheight="0"
-      scrolling="no"
-      allowtransparency="yes"
-    ></iframe> -->
-    <iframe
-      v-if="isShowDigitalPerson"
-      id="digital_page"
-      allow="microphone;"
-      :src="digitalHuman"
-      :height="digitalSize.height"
-      :width="digitalSize.width"
-      frameborder="no"
-      border="0"
-      marginwidth="0"
-      marginheight="0"
-      scrolling="no"
-      allowtransparency="yes"
-    ></iframe>
+
 
     <div class="listBox" v-show="viewer1Show && !isLand">
       <ul id="viewer_lsyx">
@@ -121,8 +95,6 @@
       scale: "1",
       offset: "0%",
       radio: 3,
-      digitalHuman: null,
-      digitalSize: {},
       arr: [
         2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
         2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021,
@@ -131,9 +103,7 @@
   },
   computed: {
     ...mapState(["viewer1Show", "isLand", "layerTreeTwoScreen", "cesiumInit"]),
-    isShowDigitalPerson() {
-      return this.$store.state.isShowDigitalPerson;
-    },
+   
   },
   watch: {
     viewer1Show(newvalue, oldvalue) {
@@ -154,8 +124,6 @@
     },
   },
   mounted() {
-    this.digitalHuman = window.digitalHumanURL;
-    this.digitalSize = window.digitalSize;
     let pathName = window.location.pathname.split("/");
     let StaticFileBaseUrl;
     if (pathName.length != 2) {
@@ -644,12 +612,7 @@
   border-radius: 10px;
   /* box-shadow: 0px 0px 5px 3px #fff; */
 }
-#digital_page {
-  position: absolute;
-  left: 0;
-  bottom: 120px;
-  z-index: 10;
-}
+
 /* #switchImagerLayer:before {
   content: "";
   position: absolute;

--
Gitblit v1.9.3