From 96f1630c00709204f463f82a04f8c1b595c14477 Mon Sep 17 00:00:00 2001 From: daihh Date: Mon, 19 Dec 2022 14:49:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 ++ .env.preview | 3 ++ .env.production | 3 ++ .env.testing | 3 ++ src/components/Course/catalogCourseware.vue | 43 ++++++++++++++++++--- src/components/Course/chooseCourseFile.vue | 8 +++- src/views/course/Courseware.vue | 18 +++++---- 7 files changed, 67 insertions(+), 14 deletions(-) diff --git a/.env.development b/.env.development index 889821b0..7151581c 100644 --- a/.env.development +++ b/.env.development @@ -35,3 +35,6 @@ VUE_APP_PUBLIC_PATH='/pc' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true + +# scorm课件的播放url地址 +VUE_APP_SCORM_URL = 'http://localhost:9083/scorm-player' diff --git a/.env.preview b/.env.preview index a1b96aec..61261405 100644 --- a/.env.preview +++ b/.env.preview @@ -32,3 +32,6 @@ VUE_APP_PUBLIC_PATH='/pc-release' # 登录地址 VUE_APP_LOGIN_URL='https://u.boe.com/web-release/' + +# scorm课件的播放url地址 +VUE_APP_SCORM_URL = 'http://localhost:9083/scorm-player' diff --git a/.env.production b/.env.production index b18fe5a4..25388f13 100644 --- a/.env.production +++ b/.env.production @@ -32,3 +32,6 @@ VUE_APP_PUBLIC_PATH='/pc' # 登录地址 VUE_APP_LOGIN_URL='https://u.boe.com/web/' + +# scorm课件的播放url地址 +VUE_APP_SCORM_URL = 'http://localhost:9083/scorm-player' diff --git a/.env.testing b/.env.testing index a0aa5726..910d20c6 100644 --- a/.env.testing +++ b/.env.testing @@ -32,3 +32,6 @@ VUE_APP_PUBLIC_PATH='/pc' # 登录地址 VUE_APP_LOGIN_URL='https://u-pre.boe.com/web/' + +# scorm课件的播放url地址 +VUE_APP_SCORM_URL = 'http://localhost:9083/scorm-player' diff --git a/src/components/Course/catalogCourseware.vue b/src/components/Course/catalogCourseware.vue index d52acc1e..c5c13440 100644 --- a/src/components/Course/catalogCourseware.vue +++ b/src/components/Course/catalogCourseware.vue @@ -19,7 +19,7 @@
-
+
@@ -95,6 +95,9 @@
+
+ +
@@ -102,7 +105,7 @@
- +
@@ -326,7 +329,6 @@