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
bf33927b
Commit
bf33927b
authored
Aug 31, 2023
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tui
parent
5d96544c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
portal-manager-ui/admin/src/views/thePlatformIsSet/setPlatformes.vue
...ger-ui/admin/src/views/thePlatformIsSet/setPlatformes.vue
+12
-8
No files found.
portal-manager-ui/admin/src/views/thePlatformIsSet/setPlatformes.vue
View file @
bf33927b
...
...
@@ -1942,14 +1942,17 @@ class RollEventComp {
index
+=
0.004
;
data
.
cb
(
index
);
if
(
index
>=
0.43
)
{
document
.
getElementsByClassName
(
"
effect-box
"
)[
0
].
style
.
backgroundColor
=
`rgba(3, 18, 51,
${
0
?
0
:
0.5
-
index
}
)`
;
document
.
getElementsByClassName
(
"
effect-box
"
)[
0
]
?
(
document
.
getElementsByClassName
(
"
effect-box
"
)[
0
].
style
.
backgroundColor
=
`rgba(3, 18, 51,
${
0
?
0
:
0.5
-
index
}
)`
)
:
""
;
}
if
(
index
>
1
)
{
clearInterval
(
set
);
}
console
.
log
(
index
);
});
// window.addEventListener("scroll", (event) => {
// const scrollTop = document.documentElement.scrollTop;
...
...
@@ -1978,11 +1981,13 @@ export default {
show
:
true
,
};
},
created
()
{},
created
()
{
this
.
$nextTick
(()
=>
{
this
.
getPlatformChildren
();
});
},
mounted
()
{
_this
=
this
;
console
.
log
(
document
.
getElementsByClassName
(
"
effect-box
"
));
this
.
getPlatformChildren
();
// 重置根字体大小
let
root
=
document
.
documentElement
;
root
.
style
.
fontSize
=
"
var(--base-font-size)
"
;
...
...
@@ -3232,7 +3237,6 @@ export default {
// 重置根字体大小
let
root
=
document
.
documentElement
;
root
.
style
.
fontSize
=
"
16px
"
;
// location.reload();
},
};
</
script
>
...
...
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