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
01c3336f
Commit
01c3336f
authored
Sep 21, 2026
by
Jeff nan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
5665c6f3
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
247 additions
and
82 deletions
+247
-82
index.css
form/index.css
+34
-0
index.html
form/index.html
+16
-0
index.js
form/index.js
+197
-82
No files found.
form/index.css
View file @
01c3336f
...
...
@@ -383,12 +383,46 @@
.waveform-tune-handle--end
span
{
background
:
#f56c6c
;
}
.waveform-tune-playhead
{
position
:
absolute
;
top
:
0
;
bottom
:
0
;
width
:
2px
;
margin-left
:
-1px
;
background
:
#e6a23c
;
box-shadow
:
0
0
6px
rgba
(
230
,
162
,
60
,
0.85
);
z-index
:
3
;
pointer-events
:
none
;
}
.waveform-tune-playhead
span
{
position
:
absolute
;
bottom
:
6px
;
left
:
50%
;
transform
:
translateX
(
-50%
);
padding
:
1px
6px
;
border-radius
:
3px
;
font-size
:
12px
;
color
:
#fff
;
background
:
#e6a23c
;
white-space
:
nowrap
;
pointer-events
:
none
;
}
.waveform-tune-error
{
margin-top
:
12px
;
color
:
#f56c6c
;
font-size
:
13px
;
line-height
:
1.5
;
}
.waveform-tune-actions
{
display
:
flex
;
align-items
:
center
;
gap
:
10px
;
margin-top
:
12px
;
}
.waveform-tune-actions__tip
{
color
:
#909399
;
font-size
:
12px
;
}
/* 提示包裹,保证禁用按钮仍可触发 tooltip */
.disabled-tip
{
...
...
form/index.html
View file @
01c3336f
...
...
@@ -393,6 +393,22 @@
class=
"waveform-tune-selection"
:style=
"{ left: waveformStartPct + '%', width: Math.max(0, waveformEndPct - waveformStartPct) + '%' }"
></div>
<div
v-if=
"waveformPlayheadPct != null"
class=
"waveform-tune-playhead"
:style=
"{ left: waveformPlayheadPct + '%' }"
>
<span>
{{ formatTime(waveformDialog.playheadSec) }}
</span>
</div>
</div>
<div
class=
"waveform-tune-actions"
>
<el-button
size=
"small"
type=
"success"
:disabled=
"!!waveformDialog.loading || !!waveformDialog.error"
@
click=
"toggleWaveformPreview"
>
{{ waveformDialog.playing ? '停止' : '播放' }}
</el-button>
<span
class=
"waveform-tune-actions__tip"
>
试听当前选中区间
</span>
</div>
<div
v-if=
"waveformDialog.error"
class=
"waveform-tune-error"
>
{{ waveformDialog.error }}
</div>
</div>
...
...
form/index.js
View file @
01c3336f
This diff is collapsed.
Click to expand it.
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