Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ai_fundub
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
ai_fundub
Commits
4afb2e0b
Commit
4afb2e0b
authored
Jan 15, 2026
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
655fc285
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
1 deletion
+32
-1
index.css
form/index.css
+10
-0
index.html
form/index.html
+8
-1
index.js
form/index.js
+14
-0
No files found.
form/index.css
View file @
4afb2e0b
...
@@ -255,6 +255,16 @@
...
@@ -255,6 +255,16 @@
padding
:
0
;
padding
:
0
;
}
}
/* 全屏对话框自定义标题(返回 + 标题) */
.dialog-title
{
display
:
flex
;
align-items
:
center
;
gap
:
8px
;
}
.dialog-title__back
{
margin-right
:
4px
;
}
/* 卡片悬停效果 */
/* 卡片悬停效果 */
.upload-section
,
.upload-section
,
.video-section
,
.video-section
,
...
...
form/index.html
View file @
4afb2e0b
...
@@ -169,12 +169,19 @@
...
@@ -169,12 +169,19 @@
<!-- 全屏字幕编辑器 -->
<!-- 全屏字幕编辑器 -->
<el-dialog
<el-dialog
title=
"字幕编辑器"
:visible
.
sync=
"subtitleEditorVisible"
:visible
.
sync=
"subtitleEditorVisible"
fullscreen
fullscreen
:show-close=
"false"
:close-on-click-modal=
"false"
:close-on-click-modal=
"false"
:destroy-on-close=
"true"
:destroy-on-close=
"true"
@
open=
"onSubtitleEditorOpen"
>
@
open=
"onSubtitleEditorOpen"
>
<span
slot=
"title"
class=
"dialog-title"
>
<el-page-header
@
back=
"confirmExitSubtitleEditor"
title=
"返回"
content=
"字幕编辑器"
>
</el-page-header>
</span>
<div
v-loading=
"subtitleEditorLoading"
>
<div
v-loading=
"subtitleEditorLoading"
>
<div
style=
"margin-bottom:12px;"
>
<div
style=
"margin-bottom:12px;"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"applyEditorChanges"
>
保存修改
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"applyEditorChanges"
>
保存修改
</el-button>
...
...
form/index.js
View file @
4afb2e0b
...
@@ -627,6 +627,20 @@ function initVueApp(savedData) {
...
@@ -627,6 +627,20 @@ function initVueApp(savedData) {
this
.
subtitleEditorVisible
=
true
;
this
.
subtitleEditorVisible
=
true
;
},
},
// 退出字幕编辑器确认
async
confirmExitSubtitleEditor
()
{
try
{
await
this
.
$confirm
(
'
是否退出歌词编辑?
'
,
'
提示
'
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
,
});
this
.
subtitleEditorVisible
=
false
;
}
catch
(
e
)
{
// 用户取消,无需处理
}
},
// 弹窗打开时加载数据
// 弹窗打开时加载数据
async
onSubtitleEditorOpen
()
{
async
onSubtitleEditorOpen
()
{
try
{
try
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment