Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
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
2022-05-27 20:50:57 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
de4c7ff85f60971a64c1b598d9fe8c48275dfdfb
de4c7ff8
1 parent
4dcf00d4
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
src/components/DonateBook/index.vue
src/components/DonateBook/index.vue
View file @
de4c7ff
...
...
@@ -130,6 +130,12 @@ watch(() => props.showPopup, (v) => {
});
return false;
}
show.value = v;
// DOM调整后,把弹出框高度设定到适合高度,配合不同分辨率效果
nextTick(() => {
let height = $('.donate-wrapper').height();
popupHeight.value = height + 10 + 'px';
})
})
const closeBtn = () => {
...
...
Please
register
or
login
to post a comment