Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
buildbank-replica
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
姚珂
buildbank-replica
Commits
c9204c60
Commit
c9204c60
authored
May 06, 2026
by
何波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
高度bug修复
parent
717e4c4c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
10 deletions
+29
-10
account_balance.html
account_balance.html
+14
-4
account_info.html
account_info.html
+15
-6
No files found.
account_balance.html
View file @
c9204c60
...
...
@@ -1264,15 +1264,25 @@
</html>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1/html2pdf.bundle.min.js"
></script>
<script>
window
.
addEventListener
(
'pageshow'
,
()
=>
{
document
.
querySelectorAll
(
'.tableLBtn_box'
).
forEach
(
el
=>
{
el
.
addEventListener
(
'mouseenter'
,
()
=>
{
refreshHeight
(
380
);
});
el
.
addEventListener
(
'mouseleave'
,
()
=>
{
refreshHeight
(
360
);
});
});
function
refreshHeight
(
h
)
{
window
.
parent
.
postMessage
({
type
:
'STATUS_HEIGHT'
,
value
:
340
value
:
h
},
'*'
);
}
);
}
window
.
parent
.
postMessage
({
type
:
'STATUS_HEIGHT'
,
value
:
3
4
0
value
:
3
6
0
},
'*'
);
function
onBack
(){
window
.
history
.
back
();
...
...
account_info.html
View file @
c9204c60
...
...
@@ -594,17 +594,26 @@
</div>
</body>
<script>
window
.
addEventListener
(
'pageshow'
,
()
=>
{
setTimeout
(
sendHeight
(),
300
);
document
.
querySelectorAll
(
'.tableLBtn_box'
).
forEach
(
el
=>
{
el
.
addEventListener
(
'mouseenter'
,
()
=>
{
refreshHeight
(
560
);
});
el
.
addEventListener
(
'mouseleave'
,
()
=>
{
refreshHeight
(
540
);
});
});
function
sendHeight
()
{
const
pageHeight
=
document
.
body
.
scrollHeight
;
console
.
log
(
pageHeight
,
'pageHeight==================='
);
function
refreshHeight
(
h
)
{
window
.
parent
.
postMessage
({
type
:
'STATUS_HEIGHT'
,
value
:
pageHeight
+
20
value
:
h
},
'*'
);
}
window
.
parent
.
postMessage
({
type
:
'STATUS_HEIGHT'
,
value
:
540
},
'*'
);
document
.
querySelectorAll
(
'.downloadBox li'
).
forEach
((
el
,
index
)
=>
{
el
.
addEventListener
(
'click'
,
function
()
{
submitSelect
(
'0'
,
String
(
index
+
1
));
...
...
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