Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 25266efa
authored
Nov 17, 2023
by
liimin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
调整logo切换动画逻辑
1 parent
c5ea5a55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
12 deletions
src/layout/components/Logo.vue
src/views/Login.vue
src/layout/components/Logo.vue
View file @
25266ef
...
...
@@ -2,7 +2,7 @@
* @Author: lizhijie429
* @Date: 2021-08-19 11:16:08
* @LastEditors: limin
* @LastEditTime: 2023-11-1
5 16:43:06
* @LastEditTime: 2023-11-1
7 15:20:11
* @Description:
-->
<
template
>
...
...
@@ -71,36 +71,31 @@ export default {
}
}
.el-image
{
//
padding
:
12px
0
;
//
padding-left
:
20px
;
//
left
:
0
;
//
top
:
0
;
position
:
absolute
;
top
:
50%
;
left
:
50%
;
&:nth-child(1)
{
opacity
:
1
;
transform
:
translate
X
(
0
)
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
}
&
:nth-child
(
2
)
{
opacity
:
0
;
transform
:
translate
X
(
204px
)
translate
(
-50%
,
-50%
);
transform
:
translate
(
204px
,
-50%
);
}
transition
:
all
0
.12s
ease-in-out
;
transition
:
transform
0
.2s
ease-in-out
,
opacity
0
.3s
linear
;
}
&
.collapse
{
i
{
transform
:
rotate
(
180deg
);
}
.el-image
{
//
padding-left
:
8px
;
&:nth-child(1)
{
opacity
:
0
;
transform
:
translate
X
(
-184px
)
translate
(
-50%
,
-50%
);
transform
:
translate
(
-184px
,
-50%
);
}
&
:nth-child
(
2
)
{
opacity
:
1
;
transform
:
translate
X
(
0
)
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
}
}
}
...
...
src/views/Login.vue
View file @
25266ef
...
...
@@ -214,7 +214,7 @@ export default {
const { defaultPath } = await this.login(menus)
Object.assign(sessionData, { defaultPath, loginpath: location.pathname, track })
this.setSession(sessionData)
t
rack && t
his.setTracker(sessionData)
this.setTracker(sessionData)
this.storeConfig()
const path = helper.locationPath()
const redirect = path?.get('redirect')
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment