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
640bee95
Commit
640bee95
authored
Nov 23, 2023
by
王晓旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门户修改
parent
8888cc16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
27 deletions
+30
-27
portal-manager-ui/admin/src/views/signIn/signIn.vue
portal-manager-ui/admin/src/views/signIn/signIn.vue
+30
-27
No files found.
portal-manager-ui/admin/src/views/signIn/signIn.vue
View file @
640bee95
...
...
@@ -326,12 +326,7 @@ export default {
this
.
initSwiper
();
},
methods
:
{
...
mapMutations
(
"
user
"
,
[
"
set_token
"
,
"
SET_USERDATA
"
,
"
set_siteList
"
,
"
SET_routerList
"
,
]),
...
mapMutations
(
"
user
"
,
[
"
set_token
"
,
"
SET_USERDATA
"
,
"
set_siteList
"
]),
initSwiper
()
{
this
.
mySwiper
=
new
Swiper
(
"
.mySwiper
"
,
{
effect
:
"
cube
"
,
// 方块动画
...
...
@@ -382,7 +377,6 @@ export default {
this
.
set_token
(
token
);
this
.
SET_USERDATA
(
user
);
this
.
set_siteList
(
siteList
);
this
.
SET_routerList
(
this
.
getUrl
(
user
.
menuList
));
if
(
siteList
.
length
)
{
storage
.
set
(
2
,
"
siteId
"
,
siteList
[
0
].
id
);
storage
.
set
(
2
,
"
siteName
"
,
siteList
[
0
].
siteName
);
...
...
@@ -426,21 +420,6 @@ export default {
}
});
},
// 递归获取菜单url
getUrl
(
menus
=
[])
{
let
urls
=
[];
let
fn
=
(
arr
)
=>
{
arr
.
forEach
((
v
)
=>
{
urls
.
push
(
v
.
url
);
if
(
v
.
childList
&&
v
.
childList
.
length
)
{
fn
(
v
.
childList
);
}
});
};
fn
(
menus
);
return
urls
;
},
},
};
</
script
>
...
...
@@ -468,7 +447,7 @@ export default {
}
100% {
width:
70
0px;
width:
64
0px;
}
}
// @keyframes hiddrenText {
...
...
@@ -477,12 +456,35 @@ export default {
// opacity: 0;
// }
// }
@media(max-width: 1900px){
.slogan{
// font-size: 60px !important;
margin-left: 100px !important;
}
}
@media (max-width: 1700px){
.slogan{
// font-size: 60px !important;
margin-left: 50px !important;
}
}
@media (max-width: 1500px){
.slogan{
margin-left: 0px !important;
margin-right: 0px !important;
}
}
.login {
--pd: 9%;
--input-height: 50px;
--input-border-color: rgba(238, 238, 238, 1);
--time: 1s;
background: url("@/assets/images/login_bg
2.jp
g");
background: url("@/assets/images/login_bg
.pn
g");
background-size: 100% auto;
animation: bg-roll 150s cubic-bezier(0.21, 0.07, 0.88, 1.02) infinite;
.main {
...
...
@@ -490,11 +492,12 @@ export default {
background-color: rgba(0, 0, 0, 0.7);
}
.slogan {
margin-left: calc(300px - 9%);
margin-left: 100px;
// margin-right: 20px;
}
.slogan-text {
width:
70
0px;
font-size:
7
8px;
width:
64
0px;
font-size:
6
8px;
font-family: Source Han Sans CN;
font-weight: 500;
color: #fff;
...
...
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