Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
AI_BOOK_TOOL
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_BOOK_TOOL
Commits
1e5ec877
Commit
1e5ec877
authored
May 12, 2025
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 定位
parent
cc0374ee
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
326 additions
and
92 deletions
+326
-92
index.css
form/index.css
+28
-3
index.js
form/index.js
+298
-89
No files found.
form/index.css
View file @
1e5ec877
...
@@ -153,28 +153,35 @@ html, body {
...
@@ -153,28 +153,35 @@ html, body {
height
:
100%
;
height
:
100%
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
position
:
relative
;
background
:
white
;
}
}
#waveform
{
#waveform
{
flex
:
1
;
flex
:
1
;
min-height
:
120px
;
min-height
:
120px
;
position
:
relative
;
background
:
white
;
}
}
#wave-timeline
{
#wave-timeline
{
height
:
30px
;
height
:
30px
;
margin-bottom
:
5px
;
margin-bottom
:
5px
;
position
:
relative
;
}
}
.audio-controls
{
.audio-controls
{
padding
:
5px
0
;
padding
:
5px
0
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
position
:
relative
;
z-index
:
4
;
}
}
/* 分页器样式 */
/* 分页器样式 */
.pagination-container
{
.pagination-container
{
position
:
fixed
;
position
:
fixed
;
bottom
:
200px
;
/* 音频控制器的高度 */
bottom
:
200px
;
left
:
0
;
left
:
0
;
right
:
0
;
right
:
0
;
z-index
:
1000
;
z-index
:
1000
;
...
@@ -182,6 +189,11 @@ html, body {
...
@@ -182,6 +189,11 @@ html, body {
text-align
:
center
;
text-align
:
center
;
background
:
rgba
(
255
,
255
,
255
,
0.9
);
background
:
rgba
(
255
,
255
,
255
,
0.9
);
border-top
:
1px
solid
#EBEEF5
;
border-top
:
1px
solid
#EBEEF5
;
pointer-events
:
none
;
}
.pagination-container
.el-pagination
{
pointer-events
:
all
;
}
}
/* 矩形框样式 */
/* 矩形框样式 */
...
@@ -295,12 +307,25 @@ html, body {
...
@@ -295,12 +307,25 @@ html, body {
}
}
.wavesurfer-region
{
.wavesurfer-region
{
z-index
:
2
!important
;
pointer-events
:
all
!important
;
}
/* 页面区间样式 */
.wavesurfer-region
[
data-id
^=
"page-"
]
{
z-index
:
3
!important
;
z-index
:
3
!important
;
background
:
rgba
(
255
,
192
,
203
,
0.3
)
!important
;
border
:
2px
solid
rgba
(
255
,
192
,
203
,
0.8
)
!important
;
pointer-events
:
all
!important
;
}
/* 组区间样式 */
.wavesurfer-region
:not
([
data-id
^=
"page-"
])
{
z-index
:
1
!important
;
}
}
.wavesurfer-handle
{
.wavesurfer-handle
{
background-color
:
#409EFF
!important
;
display
:
none
!important
;
width
:
4px
!important
;
}
}
.app
{
.app
{
...
...
form/index.js
View file @
1e5ec877
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