Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
map-demo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-10-10 21:46:47 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7157f234b9fd5d5c53dc12178955ac17edb09802
7157f234
1 parent
c82001a1
音频播放列表高度动态调整
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
src/components/audioList.vue
src/components/audioList.vue
View file @
7157f23
...
...
@@ -67,6 +67,7 @@ watch(
() => props.height,
(v) => {
info_height.value = v;
anchors.value = [(0.2 * window.innerHeight), (0.5 * window.innerHeight)];
}
)
watch(
...
...
@@ -79,6 +80,9 @@ watch(
)
const onClose = () => { // 关闭列表回调
//
anchors.value = [0, (0.2 * window.innerHeight), (0.5 * window.innerHeight)];
//
audio.value.pause(); // 暂停音频播放
pauseProgress();
// 播放进度条
...
...
Please
register
or
login
to post a comment