diff --git a/package.json b/package.json index 726b2f6..9168068 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "@wangeditor/editor": "^5.0.0", "@wangeditor/editor-for-vue": "^5.1.10", "axios": "^1.3.4", + "browser-image-compression": "^2.0.2", "echarts": "^5.2.2", "element-plus": "^2.3.1", "js-audio-recorder": "^1.0.7", @@ -72,4 +73,4 @@ "repository": "https://gitee.com/youlaiorg/vue3-element-admin.git", "author": "有来开源组织", "license": "MIT" -} \ No newline at end of file +} diff --git a/src/types/components.d.ts b/src/types/components.d.ts index 8a50078..2e2b05d 100644 --- a/src/types/components.d.ts +++ b/src/types/components.d.ts @@ -39,8 +39,10 @@ declare module '@vue/runtime-core' { IEpEdit: typeof import('~icons/ep/edit')['default'] IEpGoods: typeof import('~icons/ep/goods')['default'] IEpMenu: typeof import('~icons/ep/menu')['default'] + IEpMic: typeof import('~icons/ep/mic')['default'] IEpSearch: typeof import('~icons/ep/search')['default'] IEpSetting: typeof import('~icons/ep/setting')['default'] + IEpVideoCamera: typeof import('~icons/ep/video-camera')['default'] IEpVideoPlay: typeof import('~icons/ep/video-play')['default'] LangSelect: typeof import('./../components/LangSelect/index.vue')['default'] MultiUpload: typeof import('./../components/Upload/MultiUpload.vue')['default'] diff --git a/src/views/createVideo/index.vue b/src/views/createVideo/index.vue index 4203d64..a3ff9c1 100644 --- a/src/views/createVideo/index.vue +++ b/src/views/createVideo/index.vue @@ -15,10 +15,15 @@ -
+
+ - - +
×
@@ -89,8 +89,9 @@
@@ -115,15 +116,15 @@ {{ $t("createVideo.confirm") }} + - - - +
🕗

{{ $t("createVideo.languages") }}

- {{ + {{ $t("createVideo.generateVideo") }}
@@ -172,7 +173,26 @@
+ +

+ + 上传视频 +

+
+ + + + +
+

+ + 录制音频 +

- -
- 上传视频 - - -
+ {{ + $t("createVideo.generateVideo") + }}
@@ -287,13 +296,14 @@