From 719693bf63c8923ba2c206295d366883cf39ed6d Mon Sep 17 00:00:00 2001 From: zdg Date: Thu, 26 Dec 2024 15:14:22 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=88=86=E4=BA=AB=E9=82=80=E8=AF=B7=E7=A0=81?= =?UTF-8?q?=202.=E4=BC=98=E5=8C=96ppt=E4=B8=8A=E8=AF=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/AixPPTist/src/api/watcher.ts | 2 +- .../AixPPTist/src/views/Screen/BaseView.vue | 10 +++-- .../src/views/Screen/PresenterView.vue | 22 +++++++--- src/renderer/src/api/teaching/classcourse.js | 12 +++++ src/renderer/src/utils/ppt/index.js | 44 +++++++++++++++++++ .../views/prepare/container/class-start.vue | 10 +++-- 6 files changed, 85 insertions(+), 15 deletions(-) diff --git a/src/renderer/src/AixPPTist/src/api/watcher.ts b/src/renderer/src/AixPPTist/src/api/watcher.ts index 5a9e731..b7ae2f8 100644 --- a/src/renderer/src/AixPPTist/src/api/watcher.ts +++ b/src/renderer/src/AixPPTist/src/api/watcher.ts @@ -130,7 +130,7 @@ export default () => { case MsgEnum.HEADS.MSG_yh: // 疑惑 hooksUpvote.trigger(2) break - case MsgEnum.HEADS.MSG_pushSreen_ImgList: // 推图片上屏 + case MsgEnum.HEADS.MSG_pushSreen_ImgList: // 推图片上屏 const imgArray = content.ImgList.map((obj) => obj.url); emitter.emit('opengridPic',{arr:imgArray}) // 打开推图片上屏窗口 break diff --git a/src/renderer/src/AixPPTist/src/views/Screen/BaseView.vue b/src/renderer/src/AixPPTist/src/views/Screen/BaseView.vue index 7d24e8c..df33b5c 100644 --- a/src/renderer/src/AixPPTist/src/views/Screen/BaseView.vue +++ b/src/renderer/src/AixPPTist/src/views/Screen/BaseView.vue @@ -47,8 +47,9 @@ - - + + +
@@ -75,7 +76,8 @@ import WritingBoardTool from './WritingBoardTool.vue' import CountdownTimer from './CountdownTimer.vue' import emitter from '@/utils/mitt'; import Chat from '../../api/chat' // 聊天 -import { CircleDoubleDown, CircleDoubleUp } from '@icon-park/vue-next' // icon-park 图标库 +import { CircleDoubleDown, CircleDoubleUp, Share } from '@icon-park/vue-next' // icon-park 图标库 +import { ShareCode } from '@/utils/ppt' // ppt相关 const props = defineProps<{ changeViewMode: (mode: 'base' | 'presenter') => void @@ -198,7 +200,7 @@ const contextmenus = (): ContextmenuItem[] => { }, ] } - +// 工具栏按钮触发 const toolTrigger = (type:string) => { const curT = Date.now() if (curT - timer.value < 200) return diff --git a/src/renderer/src/AixPPTist/src/views/Screen/PresenterView.vue b/src/renderer/src/AixPPTist/src/views/Screen/PresenterView.vue index a747a9c..5ece2f4 100644 --- a/src/renderer/src/AixPPTist/src/views/Screen/PresenterView.vue +++ b/src/renderer/src/AixPPTist/src/views/Screen/PresenterView.vue @@ -10,9 +10,10 @@ {{ fullscreenState ? '退出全屏' : '全屏' }}
+
分享
-
结束放映
-
结束课堂
+
结束放映
+
结束课堂
@@ -78,6 +79,7 @@