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
ce799c97
Commit
ce799c97
authored
Jul 22, 2024
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交修改门户口号
parent
adb5e5c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
13 deletions
+11
-13
portal-manager-ui/admin/src/views/signIn/signIn.vue
portal-manager-ui/admin/src/views/signIn/signIn.vue
+11
-13
No files found.
portal-manager-ui/admin/src/views/signIn/signIn.vue
View file @
ce799c97
...
@@ -5,10 +5,13 @@
...
@@ -5,10 +5,13 @@
>
>
<div
class=
"main h-full w-full flex items-center justify-between"
>
<div
class=
"main h-full w-full flex items-center justify-between"
>
<div
class=
"slogan"
>
<div
class=
"slogan"
>
<p
class=
"slogan-text slogan-text-1 mb-12"
v-html=
"sloganTitle"
></p>
<!--
<p
class=
"slogan-text slogan-text-1 mb-12"
v-html=
"sloganTitle"
></p>
-->
<!--
<p
class=
"slogan-text slogan-text-2"
>
似烟·似梦·似天堂
</p>
-->
<p
class=
"slogan-text slogan-text-1"
>
{{
sloganTitle
[
0
]
}}
</p>
<p
class=
"slogan-text slogan-text-2"
v-if=
"sloganTitle.length == 2"
>
{{
sloganTitle
[
1
]
}}
</p>
</div>
</div>
<div
class=
"w-[4
9
0px] h-[660px]"
>
<div
class=
"w-[4
8
0px] h-[660px]"
>
<div
class=
"swiper mySwiper"
>
<div
class=
"swiper mySwiper"
>
<div
class=
"swiper-wrapper"
>
<div
class=
"swiper-wrapper"
>
<div
class=
"swiper-slide"
>
<div
class=
"swiper-slide"
>
...
@@ -352,15 +355,9 @@ export default {
...
@@ -352,15 +355,9 @@ export default {
getSlogan
(
"
title
"
).
then
((
res
)
=>
{
getSlogan
(
"
title
"
).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
if
(
res
.
code
==
1
)
{
this
.
sloganTitle
=
res
.
data
;
this
.
sloganTitle
=
res
.
data
;
this
.
sloganTitle
=
this
.
sloganTitle
.
replace
(
let
str
=
this
.
sloganTitle
.
replace
(
/
(\/
n|
\r
|
\r\n
|↵
)
/g
,
"
<br />
"
);
/
(\n
|
\r
|
\r\n
|↵
)
/g
,
this
.
sloganTitle
=
this
.
sloganTitle
.
split
(
"
/n
"
);
"
<br />
"
localStorage
.
setItem
(
"
sloganTitle
"
,
str
);
);
// let i = this.sloganTitle.indexOf("\n");
// let str1 = this.sloganTitle.substring(0, i);
// let str2 = this.sloganTitle.substring(3);
// this.sloganTitle = `
<
p
>
$
{
str1
}
<
/p><p>${str2}</
p
>
`;
localStorage.setItem("sloganTitle", this.sloganTitle);
}
}
});
});
},
},
...
@@ -551,7 +548,7 @@ export default {
...
@@ -551,7 +548,7 @@ export default {
}
}
.slogan-text {
.slogan-text {
width: 640px;
width: 640px;
font-size: 7
8
px;
font-size: 7
2
px;
font-family: Source Han Sans CN;
font-family: Source Han Sans CN;
font-weight: 500;
font-weight: 500;
color: #fff;
color: #fff;
...
@@ -564,6 +561,7 @@ export default {
...
@@ -564,6 +561,7 @@ export default {
}
}
.slogan-text-2 {
.slogan-text-2 {
margin-left: 1em;
margin-left: 1em;
margin-top: 0.5em;
animation: var(--time) printText var(--time) both;
animation: var(--time) printText var(--time) both;
}
}
.swiper {
.swiper {
...
...
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