From 155f5f230b2a30c1b0f3d1f512780b2eb6830426 Mon Sep 17 00:00:00 2001 From: zhonghua Date: Tue, 17 Mar 2026 14:17:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E9=A2=84=E8=A7=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reading-platform-frontend/index.html | 4 + reading-platform-frontend/src/components.d.ts | 2 + .../src/components/FilePreviewModal.vue | 25 ++-- .../src/components/PressDrag.vue | 141 ++++++++++++++++++ reading-platform-frontend/src/utils/index.ts | 51 +++++++ .../src/views/office/player.vue | 123 +++++++++++++++ reading-platform-frontend/typed-router.d.ts | 13 ++ 7 files changed, 348 insertions(+), 11 deletions(-) create mode 100644 reading-platform-frontend/src/components/PressDrag.vue create mode 100644 reading-platform-frontend/src/utils/index.ts create mode 100644 reading-platform-frontend/src/views/office/player.vue diff --git a/reading-platform-frontend/index.html b/reading-platform-frontend/index.html index 23e8c02..dcb49f5 100644 --- a/reading-platform-frontend/index.html +++ b/reading-platform-frontend/index.html @@ -9,6 +9,10 @@ 幼儿阅读教学服务平台 + + diff --git a/reading-platform-frontend/src/components.d.ts b/reading-platform-frontend/src/components.d.ts index 5eeb3a9..03a884c 100644 --- a/reading-platform-frontend/src/components.d.ts +++ b/reading-platform-frontend/src/components.d.ts @@ -26,6 +26,7 @@ declare module 'vue' { AForm: typeof import('ant-design-vue/es')['Form'] AFormItem: typeof import('ant-design-vue/es')['FormItem'] AImage: typeof import('ant-design-vue/es')['Image'] + AImagePreviewGroup: typeof import('ant-design-vue/es')['ImagePreviewGroup'] AInput: typeof import('ant-design-vue/es')['Input'] AInputNumber: typeof import('ant-design-vue/es')['InputNumber'] AInputPassword: typeof import('ant-design-vue/es')['InputPassword'] @@ -75,6 +76,7 @@ declare module 'vue' { LessonConfigPanel: typeof import('./components/course/LessonConfigPanel.vue')['default'] LessonStepsEditor: typeof import('./components/course/LessonStepsEditor.vue')['default'] NotificationBell: typeof import('./components/NotificationBell.vue')['default'] + PressDrag: typeof import('./components/PressDrag.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] Step1BasicInfo: typeof import('./components/course-edit/Step1BasicInfo.vue')['default'] diff --git a/reading-platform-frontend/src/components/FilePreviewModal.vue b/reading-platform-frontend/src/components/FilePreviewModal.vue index 0f2ab15..8544d1f 100644 --- a/reading-platform-frontend/src/components/FilePreviewModal.vue +++ b/reading-platform-frontend/src/components/FilePreviewModal.vue @@ -1,12 +1,16 @@