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
a8393ce7
Commit
a8393ce7
authored
Sep 21, 2026
by
Jeff nan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 表头浮动样式固定
parent
6a7a8121
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
57 additions
and
13 deletions
+57
-13
index.css
form/index.css
+41
-0
index.html
form/index.html
+9
-6
index.js
form/index.js
+7
-7
No files found.
form/index.css
View file @
a8393ce7
...
...
@@ -265,6 +265,47 @@
margin-right
:
4px
;
}
/* 字幕编辑器:铺满屏幕,标题固定,仅内容滚动 */
.subtitle-editor-dialog.el-dialog.is-fullscreen
{
display
:
flex
;
flex-direction
:
column
;
height
:
100vh
;
margin
:
0
!important
;
overflow
:
hidden
;
}
.subtitle-editor-dialog
.el-dialog__header
{
flex-shrink
:
0
;
margin
:
0
;
padding
:
12px
20px
;
border-bottom
:
1px
solid
#ebeef5
;
}
.subtitle-editor-dialog
.el-dialog__title
{
width
:
100%
;
display
:
block
;
line-height
:
normal
;
}
.subtitle-editor-dialog
.el-dialog__body
{
flex
:
1
;
min-height
:
0
;
overflow-y
:
auto
;
padding
:
16px
20px
24px
;
}
.subtitle-editor-title
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
gap
:
12px
;
width
:
100%
;
box-sizing
:
border-box
;
}
.subtitle-editor-title
.el-page-header
{
flex
:
1
;
min-width
:
0
;
}
.subtitle-editor-body
{
min-height
:
200px
;
}
/* 提示包裹,保证禁用按钮仍可触发 tooltip */
.disabled-tip
{
display
:
inline-block
;
...
...
form/index.html
View file @
a8393ce7
...
...
@@ -205,30 +205,33 @@
</div>
</div>
<!-- 全屏字幕编辑器 -->
<!-- 全屏字幕编辑器
:标题栏固定,内容区滚动
-->
<el-dialog
:visible
.
sync=
"subtitleEditorVisible"
fullscreen
custom-class=
"subtitle-editor-dialog"
:show-close=
"false"
:close-on-click-modal=
"false"
:destroy-on-close=
"true"
@
open=
"onSubtitleEditorOpen"
>
<span
slot=
"title"
class=
"dialog-title"
>
<span
slot=
"title"
class=
"dialog-title
subtitle-editor-title
"
>
<el-page-header
@
back=
"confirmExitSubtitleEditor"
title=
"返回"
content=
"字幕编辑器"
>
</el-page-header>
<el-button
type=
"primary"
size=
"mini"
@
click=
"overwriteAndRegenerateLyrics"
>
覆盖上传并重新生成歌词
</el-button>
</span>
<div
class=
"subtitle-editor-body"
v-loading=
"subtitleEditorLoading"
element-loading-spinner=
"el-icon-loading"
element-loading-background=
"rgba(255, 255, 255, 0.5)"
>
<div
style=
"margin-bottom:12px;"
>
<!-- <el-button type="primary" size="mini" @click="applyEditorChanges">保存修改</el-button> -->
<el-button
type=
"primary"
size=
"mini"
@
click=
"overwriteAndRegenerateLyrics"
>
覆盖上传并重新生成歌词
</el-button>
</div>
<div
v-if=
"subtitleEditor && subtitleEditor.mergedList"
>
<el-timeline>
<el-timeline-item
...
...
form/index.js
View file @
a8393ce7
...
...
@@ -28,13 +28,13 @@ document.addEventListener('DOMContentLoaded', () => {
window
.
courseware
.
getData
(
function
(
data
)
{
window
.
air
.
hideAirClassLoading
(
key
,
data
);
//
if (!data) {
//
// 加载默认数据
//
$.getJSON('../play/defaultData.json', function (defaultData) {
//
initVueApp(defaultData);
//
})
//
return;
//
}
if
(
!
data
)
{
// 加载默认数据
$
.
getJSON
(
'
../play/defaultData.json
'
,
function
(
defaultData
)
{
initVueApp
(
defaultData
);
})
return
;
}
//数据加载完,才算页面加载完成
initVueApp
(
data
);
},
key
);
...
...
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