From 08d0c4ca9064c27be7b3e488bec497e87a05cc18 Mon Sep 17 00:00:00 2001 From: surprise <15810472099@163.com> Date: 星期三, 27 三月 2024 09:56:01 +0800 Subject: [PATCH] 代码更新 --- src/views/index.vue | 26 ++++++++++++++++++++++++-- 1 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index caabd72..ddf071e 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -35,7 +35,7 @@ v-if="showFk" @FKclose="FKclose" ></SYFK> - <YCWG v-show="checkMenuFlag == 'b2'"></YCWG> + <YCWG v-if="checkMenuFlag == 'b2'"></YCWG> <div class="chart_box" v-if="chart_isshow"> <div class="popout_title">鏇茬嚎缁熻鍥�</div> <div class="close" @click="popoutClose('QX')"></div> @@ -63,11 +63,15 @@ <YJlist v-if="checkMenuFlag == 'c2'"></YJlist> <gjfx v-if="checkMenuFlag == 'f1'"></gjfx> <zdmax v-if="checkMenuFlag == 'f1'"></zdmax> + <PreCusPage v-if="checkMenuFlag == 'b5'"></PreCusPage> </div> </div> </div> </transition> - <div class="video_box" v-show="checkMenuFlag == 'e3'"> + <div + class="video_box" + v-if="checkMenuFlag == 'e3' || checkMenuFlag == 'e5'" + > <video :src="videoUrl" controls="controls" @@ -109,6 +113,7 @@ //棰勮鎶ヨ import BJlist from "@/components/BJlist.vue"; import YJlist from "@/components/YJlist.vue"; +import PreCusPage from "@/components/PreCusPage.vue"; //鐐逛綅鍒楄〃 import poiList from "@/components/poiList.vue"; //缁熻鍥� @@ -143,6 +148,7 @@ reportList, dayzdmax, weekzdmax, + PreCusPage }, setup(props, { emit }) { const store = useStore(); @@ -223,6 +229,22 @@ }config/鐕曞北鐭冲寲绯荤粺鍔熻兘鎿嶄綔鏂囨。.pdf` ); } + if (res.id == "e3") { + videoUrl.value = window.location.href.split("#")[0] + videoJS; + } + if (res.id == "e5") { + videoUrl.value = window.location.href.split("#")[0] + SMvideoJS; + } + + sgworld.Core.postMessage({ + func_name: "SetSmallWind", + lon: "", + lat: "", + alt: 300, + Scope: "", + Direction: "", + Hidden: "true", + }); }; const toggleFK = (params) => { -- Gitblit v1.9.3