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 | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index 5e319c9..2491790 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -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