{{ video.content }}
+请登录后使用
账号没有权限
++ 如果没有出现您的数字人,请联系管理员开通 +
++ 仅支持 .pptx 格式 +
+ +请登录后使用
-- 没有记录 -
-
@@ -220,7 +220,7 @@ const copyTaskId = (extraMessage?: string) => {
disabled: !isDownloadable,
click: () => isPreviewModalOpen = true,
}, {
- label: '查看字幕',
+ label: '编辑字幕',
icon: 'i-solar-subtitles-linear',
shortcuts: [metaSymbol, 'D'],
disabled: !isDownloadable,
@@ -233,8 +233,8 @@ const copyTaskId = (extraMessage?: string) => {
icon: 'i-tabler-file-download',
shortcuts: [metaSymbol, 'S'],
disabled: !isDownloadable,
- click: () => {
- startDownload(course.subtitle_url, `眩生花微课_${ props.course.title }_${ props.course.task_id }.srt`)
+ click: async () => {
+ await startDownload(await fetchCourseSubtitleUrl(course), `眩生花微课_${ props.course.title }_${ props.course.task_id }.srt`)
}
}], [{
label: '删除记录',
diff --git a/components/aigc/generation/GBTaskCard.vue b/components/aigc/generation/GBTaskCard.vue
new file mode 100644
index 0000000..2718304
--- /dev/null
+++ b/components/aigc/generation/GBTaskCard.vue
@@ -0,0 +1,188 @@
+
+
+
+ {{ video.title || '无标题' }} {{ dayjs(video.complete_time * 1000).format('YYYY-MM-DD HH:mm:ss') }} {{ dayjs.duration(video.duration || 0).format('HH:mm:ss') }} {{ video.content }} 数字人 {{ video.digital_human_id }} {{ video.content }}
@@ -136,6 +149,7 @@ body {
background-clip: content-box;
border: 1px solid transparent
}
+
/*
*::-webkit-scrollbar {
@apply w-1.5 h-1.5;
diff --git a/nuxt.config.ts b/nuxt.config.ts
index dafa407..a06c922 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -1,11 +1,13 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
- devtools: {enabled: true},
+ devtools: { enabled: true },
+
runtimeConfig: {
public: {
- API_BASE: 'https://service1.fenshenzhike.com/',
+ API_BASE: 'https://service2.fenshenzhike.com/',
},
},
+
modules: [
'@nuxt/ui',
'radix-vue/nuxt',
@@ -13,26 +15,45 @@ export default defineNuxtConfig({
'@pinia/nuxt',
'@pinia-plugin-persistedstate/nuxt',
'@vite-pwa/nuxt',
- ['@nuxtjs/google-fonts', {
- display: 'swap',
- families: {
- Rubik: '100..900',
- 'Noto Sans SC': '100..900',
- 'Barlow Condensed': '100..900'
- }
- }],
+ '@nuxtjs/google-fonts',
'@nuxt/image',
+ '@vueuse/nuxt',
+ 'nuxt-driver.js',
],
- ui: {
- icons: ['tabler', 'solar', 'line-md', 'svg-spinners'],
+
+ routeRules: {
+ '/': {
+ redirect: {
+ to: '/generation',
+ statusCode: 302,
+ },
+ },
},
+
+ icon: {
+ provider: 'iconify',
+ serverBundle: false,
+ },
+
colorMode: {
- preference: 'dark',
+ preference: 'light',
},
+
dayjs: {
locales: ['zh', 'en'],
- plugins: ['relativeTime', 'utc', 'timezone'],
+ plugins: ['relativeTime', 'utc', 'timezone', 'duration'],
defaultLocale: 'zh',
defaultTimezone: 'Asia/Shanghai',
},
+
+ googleFonts: {
+ display: 'swap',
+ families: {
+ Rubik: '100..900',
+ 'Noto Sans SC': '100..900',
+ 'Barlow Condensed': '100..900',
+ },
+ },
+
+ compatibilityDate: '2024-07-28',
})
\ No newline at end of file
diff --git a/package.json b/package.json
index 5277c92..366e26e 100644
--- a/package.json
+++ b/package.json
@@ -9,34 +9,43 @@
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
+ "packageManager": "pnpm@9.1.3",
"dependencies": {
- "@iconify-json/line-md": "^1.1.36",
+ "@iconify-json/line-md": "^1.1.38",
"@iconify-json/solar": "^1.1.9",
"@iconify-json/svg-spinners": "^1.1.2",
- "@iconify-json/tabler": "^1.1.105",
+ "@iconify-json/tabler": "^1.1.118",
+ "@monosky/base64": "^0.0.3",
"@nuxt/image": "^1.7.0",
- "@nuxt/ui": "^2.14.1",
"@uniiem/object-trim": "^0.2.0",
"@uniiem/uuid": "^0.2.1",
"events": "^3.3.0",
"gsap": "^3.12.5",
- "highlight.js": "^11.9.0",
+ "highlight.js": "^11.10.0",
"idb-keyval": "^6.2.1",
"markdown-it": "^14.1.0",
- "nuxt": "^3.10.3",
- "radix-vue": "^1.4.9",
- "vue": "^3.4.19",
- "vue-router": "^4.3.0",
+ "nuxt": "^3.12.4",
+ "nuxt-driver.js": "^0.0.11",
+ "radix-vue": "^1.9.2",
+ "vue": "^3.4.34",
+ "vue-router": "^4.4.0",
"yup": "^1.4.0"
},
"devDependencies": {
+ "@nuxt/ui": "^2.18.3",
"@nuxtjs/google-fonts": "^3.2.0",
- "@pinia-plugin-persistedstate/nuxt": "^1.2.0",
- "@pinia/nuxt": "^0.5.1",
- "@tailwindcss/typography": "^0.5.12",
- "@types/markdown-it": "^13.0.7",
+ "@pinia-plugin-persistedstate/nuxt": "^1.2.1",
+ "@pinia/nuxt": "^0.5.2",
+ "@tailwindcss/typography": "^0.5.13",
+ "@types/markdown-it": "^13.0.9",
"@vite-pwa/nuxt": "^0.5.0",
+ "@vueuse/core": "^10.11.1",
+ "@vueuse/nuxt": "^10.11.1",
"dayjs-nuxt": "^2.1.9",
- "sass": "^1.72.0"
+ "sass": "^1.77.8"
+ },
+ "peerDependencies": {
+ "dayjs": "^1.11.12",
+ "tailwindcss": "^3.4.7"
}
}
diff --git a/pages/aigc/course-generate/index.vue b/pages/aigc/course-generate/index.vue
deleted file mode 100644
index e997d99..0000000
--- a/pages/aigc/course-generate/index.vue
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
-
+ 生成即代表您同意用户许可协议
+ 请登录后使用 没有记录 所有图片均为 AI 生成,服务器不会保存任何图像,数据仅保存在浏览器本地 {{ viewingUser?.username }} (UID:{{ viewingUser?.id }})
+ 没有记录
+
+ 没有记录
+
- 生成即代表您同意用户许可协议
- 请登录后使用 没有记录 所有图片均为 AI 生成,服务器不会保存任何图像,数据仅保存在浏览器本地
+
+ 完成时间
+ 生成耗时
+ 驱动文本
+
+ {{ video.title || '无标题' }}
+ 驱动内容
+
+ {{ label }}
-
- ID: {{ record.task_id.slice(0, 6) }}
-
-
- {{ dayjs(record.create_time * 1000).fromNow() }}
-
-
- {{ record.title }}
-
-
眩生花 AI 助手
- 这里可以有一个副标题
+ XSH AI Assistant
删除后无法恢复,确定删除?
+ 删除后无法恢复,确定删除?
-