|
@@ -1906,6 +1906,14 @@ const checkParentMode = () => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+const forceLogout = () => {
|
|
|
|
+ // @ts-ignore
|
|
|
|
+ if (window.parent && typeof window.parent.topU.U.MD.U.LO.logoutSystemQ === 'function' && props.type == '2') {
|
|
|
|
+ // @ts-ignore
|
|
|
|
+ window.parent.topU.U.MD.U.LO.logoutSystemQ()
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
// 检查是否为创建人
|
|
// 检查是否为创建人
|
|
const checkIsCreator = () => {
|
|
const checkIsCreator = () => {
|
|
// 这里可以根据实际业务逻辑判断是否为创建人
|
|
// 这里可以根据实际业务逻辑判断是否为创建人
|
|
@@ -2049,7 +2057,8 @@ onMounted(() => {
|
|
toggleFollowMode,
|
|
toggleFollowMode,
|
|
// 添加重连功能
|
|
// 添加重连功能
|
|
manualReconnect,
|
|
manualReconnect,
|
|
- connectionStatus: computed(() => connectionStatus.value)
|
|
|
|
|
|
+ connectionStatus: computed(() => connectionStatus.value),
|
|
|
|
+ forceLogout,
|
|
}
|
|
}
|
|
|
|
|
|
console.log('PPTist Student View 已加载,可通过 window.PPTistStudent 访问功能')
|
|
console.log('PPTist Student View 已加载,可通过 window.PPTistStudent 访问功能')
|
|
@@ -2879,7 +2888,7 @@ const handleDisconnection = () => {
|
|
/* 作业提交按钮样式 */
|
|
/* 作业提交按钮样式 */
|
|
.homework-submit-btn {
|
|
.homework-submit-btn {
|
|
position: fixed;
|
|
position: fixed;
|
|
- bottom: 30px;
|
|
|
|
|
|
+ bottom: 60px;
|
|
z-index: 100;
|
|
z-index: 100;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
color: white;
|
|
@@ -2939,7 +2948,7 @@ const handleDisconnection = () => {
|
|
/* 刷新网页按钮样式 */
|
|
/* 刷新网页按钮样式 */
|
|
.refresh-page-btn {
|
|
.refresh-page-btn {
|
|
position: fixed;
|
|
position: fixed;
|
|
- bottom: 30px;
|
|
|
|
|
|
+ bottom: 60px;
|
|
z-index: 100;
|
|
z-index: 100;
|
|
background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
|
|
background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
|
|
color: white;
|
|
color: white;
|