Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rbc-demo
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王衍超
rbc-demo
Commits
9466a075
Commit
9466a075
authored
Feb 21, 2022
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(@rbc/rbc-login): 用纯白加载画面显得加载很快(
parent
47e61b1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
index.vue
develop/@rbc/rbc-login/src/views/login/index.vue
+8
-8
No files found.
develop/@rbc/rbc-login/src/views/login/index.vue
View file @
9466a075
<
template
>
<div
class=
"login-wrapper"
>
<div
v-if=
"imgLoading"
class=
"white-loading"
></div>
<img
v-if=
"loginImageBg"
:src=
"loginImageBg"
class=
"login-img-bg"
/>
<div
class=
"bg-color-class"
/>
...
...
@@ -154,14 +155,6 @@ export default {
},
},
watch
:
{
imgLoading
(
val
)
{
if
(
val
)
{
this
.
$Spin
.
show
()
}
else
{
this
.
$Spin
.
hide
()
}
}
},
methods
:
{
getImgUrl
(
imgCode
)
{
...
...
@@ -301,6 +294,13 @@ export default {
background-size
:
cover
;
overflow
:
hidden
;
position
:
absolute
;
.white-loading
{
position
:
absolute
;
width
:
100%
;
height
:
100%
;
background-color
:
white
;
z-index
:
2000
;
}
.login-img-bg
{
width
:
100%
;
...
...
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