From 8f8419c816dd9837e8a3264fc480abf928bbc93e Mon Sep 17 00:00:00 2001 From: WX <1377869194@qq.com> Date: 星期三, 06 九月 2023 17:47:32 +0800 Subject: [PATCH] 修改菜单 --- src/views/index.vue | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index caabd72..2491790 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> @@ -67,7 +67,10 @@ </div> </div> </transition> - <div class="video_box" v-show="checkMenuFlag == 'e3'"> + <div + class="video_box" + v-show="checkMenuFlag == 'e3' || checkMenuFlag == 'e5'" + > <video :src="videoUrl" controls="controls" @@ -223,6 +226,12 @@ }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; + } }; const toggleFK = (params) => { -- Gitblit v1.9.3