Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
94aafe11
Commit
94aafe11
authored
Aug 30, 2023
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tui
parent
b59fc6fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
22 deletions
+28
-22
portal-manager-ui/admin/src/views/thePlatformIsSet/index.css
portal-manager-ui/admin/src/views/thePlatformIsSet/index.css
+5
-4
portal-manager-ui/admin/src/views/thePlatformIsSet/setPlatformes.vue
...ger-ui/admin/src/views/thePlatformIsSet/setPlatformes.vue
+23
-18
No files found.
portal-manager-ui/admin/src/views/thePlatformIsSet/index.css
View file @
94aafe11
...
@@ -26,14 +26,15 @@ body::-webkit-scrollbar {
...
@@ -26,14 +26,15 @@ body::-webkit-scrollbar {
}
}
.effect-content
{
.effect-content
{
height
:
200vh
;
/* height: 200vh;
min-height
:
1864rem
;
min-height: 1864rem; */
overflow-y
:
hidden
;
}
}
.effect-box
{
.effect-box
{
position
:
sticky
;
position
:
sticky
;
top
:
0
;
top
:
0
;
height
:
100vh
;
/* height: 100vh; */
min-height
:
932rem
;
min-height
:
932rem
;
background-color
:
#031233
;
background-color
:
#031233
;
perspective
:
800px
;
perspective
:
800px
;
...
@@ -89,7 +90,7 @@ body::-webkit-scrollbar {
...
@@ -89,7 +90,7 @@ body::-webkit-scrollbar {
height
:
64px
;
height
:
64px
;
font-size
:
53px
;
font-size
:
53px
;
font-family
:
FZZhengHeiS-EB-GB
;
font-family
:
FZZhengHeiS-EB-GB
;
font-weight
:
4
00
;
font-weight
:
6
00
;
color
:
#ffffff
;
color
:
#ffffff
;
line-height
:
64px
;
line-height
:
64px
;
text-align
:
center
;
text-align
:
center
;
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/setPlatformes.vue
View file @
94aafe11
...
@@ -1926,26 +1926,31 @@ class RollEventComp {
...
@@ -1926,26 +1926,31 @@ class RollEventComp {
data
.
cb
(
index
);
data
.
cb
(
index
);
if
(
index
>=
1
)
{
if
(
index
>=
1
)
{
clearInterval
(
set
);
clearInterval
(
set
);
// this_.show = false;
document
.
getElementsByClassName
(
"
content
"
)[
0
].
style
.
background
=
"
url(
"
+
require
(
"
@/assets/images/siteArrange/bg-pintai.jpg
"
)
+
"
) no-repeat
"
;
document
.
getElementsByClassName
(
"
effect-box
"
)[
0
].
style
.
backgroundColor
=
"
unset
"
;
}
}
});
});
window
.
addEventListener
(
"
scroll
"
,
(
event
)
=>
{
//
window.addEventListener("scroll", (event) => {
const
scrollTop
=
document
.
documentElement
.
scrollTop
;
//
const scrollTop = document.documentElement.scrollTop;
const
scrollHeight
=
document
.
documentElement
.
scrollHeight
;
//
const scrollHeight = document.documentElement.scrollHeight;
const
clientHeight
=
document
.
documentElement
.
clientHeight
;
//
const clientHeight = document.documentElement.clientHeight;
let
scrollPos
=
0
;
//
let scrollPos = 0;
if
(
scrollTop
+
clientHeight
>=
scrollHeight
-
5
)
{
//
if (scrollTop + clientHeight >= scrollHeight - 5) {
scrollPos
=
1
;
//
scrollPos = 1;
}
else
if
(
scrollTop
===
0
)
{
//
} else if (scrollTop === 0) {
scrollPos
=
0
;
//
scrollPos = 0;
}
else
{
//
} else {
scrollPos
=
Number
(
//
scrollPos = Number(
(
scrollTop
/
(
scrollHeight
-
clientHeight
)).
toFixed
(
3
)
//
(scrollTop / (scrollHeight - clientHeight)).toFixed(3)
);
//
);
}
//
}
console
.
log
(
scrollPos
,
"
###########
"
);
//
console.log(scrollPos, "###########");
data
.
cb
(
scrollPos
);
//
data.cb(scrollPos);
});
//
});
}
}
}
}
export
default
{
export
default
{
...
...
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