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
19e7429c
Commit
19e7429c
authored
Mar 05, 2025
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 优化登录页切换修改密码
parent
e6e3824e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
3 deletions
+22
-3
portal-manager-ui/admin/src/views/signIn/signIn.vue
portal-manager-ui/admin/src/views/signIn/signIn.vue
+22
-3
No files found.
portal-manager-ui/admin/src/views/signIn/signIn.vue
View file @
19e7429c
...
...
@@ -103,6 +103,13 @@
@
click=
"handleSubmit"
>
登录
</a-button
>
<!-- <div class="text-right">
<span
class="text-[#0857e8] cursor-pointer"
@click="switchover(1)"
>修改密码</span
>
</div> -->
</a-form-model-item>
</a-form-model>
</div>
...
...
@@ -114,8 +121,8 @@
class=
"w-[74px] mb-[20px]"
src=
"@/assets/images/logo.png"
/>
<p
class=
"login-text text-[40px] mb-[
2
0px]"
>
请修改密码
</p>
<p
class=
"login-text text-[32px] mb-[
3
0px]"
>
<p
class=
"login-text text-[40px] mb-[
1
0px]"
>
请修改密码
</p>
<p
class=
"login-text text-[32px] mb-[
1
0px]"
>
密码有效期为三个月
</p>
<a-form-model
...
...
@@ -238,6 +245,13 @@
@
click=
"changePwd"
>
确认
</a-button
>
<div
class=
"text-right"
>
<span
class=
"text-[#0857e8] cursor-pointer"
@
click=
"switchover(0)"
>
返回登录
</span
>
</div>
</a-form-model-item>
</a-form-model>
</div>
...
...
@@ -365,7 +379,7 @@ export default {
this
.
mySwiper
=
new
Swiper
(
"
.mySwiper
"
,
{
effect
:
"
cube
"
,
// 方块动画
speed
:
1000
,
// 时长
//
simulateTouch: false, //是否允许鼠标滑动切换
simulateTouch
:
false
,
//是否允许鼠标滑动切换
grabCursor
:
false
,
// 手形鼠标
shortSwipes
:
false
,
cubeEffect
:
{
...
...
@@ -473,6 +487,11 @@ export default {
fn
(
menus
);
return
urls
;
},
switchover
(
page
=
0
)
{
if
(
this
.
mySwiper
)
{
this
.
mySwiper
.
slideTo
(
page
);
}
},
},
};
</
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