Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
eduline
Commits
e492ccb6
Commit
e492ccb6
authored
Jul 01, 2020
by
刘海龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d82f3109
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
apps/home/Tpl/default/Home/exams_w3g.html
+9
-8
No files found.
apps/home/Tpl/default/Home/exams_w3g.html
View file @
e492ccb6
...
@@ -217,14 +217,15 @@
...
@@ -217,14 +217,15 @@
// console.log("top:"+scrollTop+",doc:"+scrollHeight+",client:"+clientHeight);
// console.log("top:"+scrollTop+",doc:"+scrollHeight+",client:"+clientHeight);
if
(
scrollTop
+
clientHeight
>=
scrollHeight
){
//距离顶部+当前高度 >=文档总高度 即代表滑动到底部
if
(
scrollTop
+
clientHeight
>=
scrollHeight
){
//距离顶部+当前高度 >=文档总高度 即代表滑动到底部
//滚动条到达底部
//滚动条到达底部
console
.
log
(
that
)
console
.
log
(
"tab:"
+
that
.
tab
)
// if(this.tab==0){
console
.
log
(
"page:"
+
that
.
page
)
// this.loadZhenti()
if
(
that
.
tab
==
0
){
// }else if(this.tab == 1) {
that
.
loadZhenti
()
// this.loadDownload()
}
else
if
(
that
.
tab
==
1
)
{
// } else {
that
.
loadDownload
()
// this.onMyTab(this.myTab)
}
else
{
// }
that
.
onMyTab
(
that
.
myTab
)
}
}
else
if
(
scrollTop
<=
0
){
}
else
if
(
scrollTop
<=
0
){
//滚动条到达顶部
//滚动条到达顶部
// alert(4)
// alert(4)
...
...
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