Commit 1e5ec877 authored by liujiangnan's avatar liujiangnan

feat: 定位

parent cc0374ee
...@@ -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{
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment