From 95a27fe55990ca151cbe08f99cbeb669b4cb9dd8 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期四, 20 六月 2024 17:07:16 +0800
Subject: [PATCH] fix:修改在线培训
---
public/index.html | 35 ++++++++++++++++++++++++-----------
1 files changed, 24 insertions(+), 11 deletions(-)
diff --git a/public/index.html b/public/index.html
index 6148799..dc077a3 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1,5 +1,6 @@
<!DOCTYPE html>
<html lang="en">
+
<head>
<meta charset="utf-8">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
@@ -14,13 +15,16 @@
height: 100%;
width: 100%;
}
+
body {
padding: 0;
margin: 0;
- height:100%;
+ height: 100%;
width: 100%;
}
</style>
+
+ <script src='https://ycl.easyblog.vip:8443/external_api.js'></script>
<script src='./admin/components/echarts/echarts.min.js'></script>
<script src='./admin/components/echarts/theme/macarons.js'></script>
@@ -35,19 +39,28 @@
<script>
var _hmt = _hmt || [];
(function () {
- var hm = document.createElement('script')
- hm.src = 'https://hm.baidu.com/hm.js?cd8218cd51f800ed2b73e5751cb3f4f9'
- var s = document.getElementsByTagName('script')[0]
- s.parentNode.insertBefore(hm, s)
+ var hm = document.createElement('script');
+ hm.src = 'https://hm.baidu.com/hm.js?cd8218cd51f800ed2b73e5751cb3f4f9';
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(hm, s);
})()
</script>
+ <script>
+ window.onload = () => {
+ window.JitsiMeetExternalAPI = JitsiMeetExternalAPI;
+ }
+ </script>
+
</head>
+
<body>
-<noscript>
- <strong>We're sorry but vue-demo doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
-</noscript>
-<div id="app"></div>
-<!-- built files will be auto injected -->
+ <noscript>
+ <strong>We're sorry but vue-demo doesn't work properly without JavaScript enabled. Please enable it to
+ continue.</strong>
+ </noscript>
+ <div id="app"></div>
+ <!-- built files will be auto injected -->
</body>
-</html>
+
+</html>
\ No newline at end of file
--
Gitblit v1.8.0