From 8106fb0c41cb6879222c5d2338f1a7a17a32099d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=A8?= <666> Date: Tue, 7 Jan 2025 17:19:41 +0800 Subject: [PATCH 1/5] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E5=AD=A6=E7=A7=91=E6=96=B9=E5=BC=8F;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/profile/components/selectClass.vue | 138 +++++++++++------- src/renderer/src/views/profile/index.vue | 4 +- 2 files changed, 91 insertions(+), 51 deletions(-) diff --git a/src/renderer/src/views/profile/components/selectClass.vue b/src/renderer/src/views/profile/components/selectClass.vue index 2dcc47e..7110967 100644 --- a/src/renderer/src/views/profile/components/selectClass.vue +++ b/src/renderer/src/views/profile/components/selectClass.vue @@ -1,50 +1,59 @@ + +.sidebar { + width: 100%; + padding: 5px; + display: flex; + justify-content: space-between; +} - \ No newline at end of file +.nav-level-one,.nav-level-two { + margin-bottom: 20px; + width: 120px; +} +.nav-level-two .nav-item{ + text-align: center; +} + +.nav-item { + display: flex; + align-items: center; + margin-bottom: 10px; + padding: 8px 10px; + border-radius: 5px; + cursor: pointer; + transition: background-color 0.3s ease; +} + +.nav-item:hover { + background-color: rgb(245, 247, 250); +} + +.nav-text { + flex: 1; + font-size: 14px; + color: #333; +} + +.nav-arrow { + font-size: 12px; + margin-left: auto; +} + +.nav-level-one.nav-item:first-child.nav-text { + color: blue; +} +.active .nav-text{ + font-weight: bold; + color:rgb(64, 158, 255) +} +.active .icon{ + font-weight: bold; + color:rgb(64, 158, 255) +} + \ No newline at end of file From dbaf861bef10c10e256e20e785c22e4b75865570 Mon Sep 17 00:00:00 2001 From: zdg Date: Wed, 8 Jan 2025 16:48:31 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E8=AF=BE=E5=A0=82=E7=82=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/public/icon/avatar.svg | 3 + .../AixPPTist/src/views/Screen/BaseView.vue | 7 +- .../src/views/Screen/PresenterView.vue | 9 ++- .../src/AixPPTist/src/views/Screen/index.vue | 5 +- src/renderer/src/api/teaching/classcourse.js | 12 +++ src/renderer/src/utils/ppt/index.js | 81 ++++++++++++++++++- 6 files changed, 107 insertions(+), 10 deletions(-) create mode 100644 src/renderer/public/icon/avatar.svg diff --git a/src/renderer/public/icon/avatar.svg b/src/renderer/public/icon/avatar.svg new file mode 100644 index 0000000..386fffa --- /dev/null +++ b/src/renderer/public/icon/avatar.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/renderer/src/AixPPTist/src/views/Screen/BaseView.vue b/src/renderer/src/AixPPTist/src/views/Screen/BaseView.vue index 4b747bd..e2dba4a 100644 --- a/src/renderer/src/AixPPTist/src/views/Screen/BaseView.vue +++ b/src/renderer/src/AixPPTist/src/views/Screen/BaseView.vue @@ -47,9 +47,10 @@ + + -
@@ -76,8 +77,8 @@ import WritingBoardTool from './WritingBoardTool.vue' import CountdownTimer from './CountdownTimer.vue' import emitter from '@/utils/mitt'; import Chat from '../../api/chat' // 聊天 -import { CircleDoubleDown, CircleDoubleUp, Share } from '@icon-park/vue-next' // icon-park 图标库 -import { ShareCode } from '@/utils/ppt' // ppt相关 +import { CircleDoubleDown, CircleDoubleUp, Share, Hands } from '@icon-park/vue-next' // icon-park 图标库 +import { ShareCode, ToolHandle } from '@/utils/ppt' // ppt相关 const props = defineProps<{ changeViewMode: (mode: 'base' | 'presenter') => void diff --git a/src/renderer/src/AixPPTist/src/views/Screen/PresenterView.vue b/src/renderer/src/AixPPTist/src/views/Screen/PresenterView.vue index 5ece2f4..56e930b 100644 --- a/src/renderer/src/AixPPTist/src/views/Screen/PresenterView.vue +++ b/src/renderer/src/AixPPTist/src/views/Screen/PresenterView.vue @@ -10,7 +10,10 @@ {{ fullscreenState ? '退出全屏' : '全屏' }}
-
分享
+
结束放映
结束课堂
@@ -79,7 +82,7 @@