Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
ztx_wx_gzt
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
e3bced87
authored
2026-04-24 11:39:13 +0800
by
lttnew
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
退出
1 parent
f05cc2b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
89 additions
and
5 deletions
myCenter/examPointApplyList.vue
pages/index/perfect.vue
myCenter/examPointApplyList.vue
View file @
e3bced8
...
...
@@ -101,8 +101,7 @@ function goApply() {
function
getStatusClass
(
status
)
{
return
{
'status-1'
:
status
==
0
,
'status-2'
:
status
==
9
,
'status-3'
:
status
==
3
'status-2'
:
status
!=
0
,
}
}
...
...
pages/index/perfect.vue
View file @
e3bced8
...
...
@@ -34,6 +34,11 @@
</view>
-->
<view
class=
"page-content"
style=
"padding: 0rpx 30rpx 30rpx;"
>
<!-- 退出按钮 - 悬浮右侧 -->
<view
class=
"logout-btn-top"
@
click=
"handleLogout"
>
<text
class=
"logout-icon"
>
⏻
</text>
<!--
<text
class=
"logout-text"
>
退出账号
</text>
-->
</view>
<!-- 步骤1:完善信息 -->
<view
class=
"wBox"
v-if=
"activeStep == 1"
>
<uni-forms
ref=
"baseForm"
:modelValue=
"form"
label-width=
"70"
>
...
...
@@ -72,9 +77,9 @@
<text
v-if=
"authenticationStatus == 4"
class=
"text-warning"
>
即将过期
</text>
<text
v-if=
"authenticationStatus == 5"
class=
"text-danger"
>
已过期
</text>
</view>
<!--
<view
class=
"
btn-row
"
>
<
button
type=
"primary"
:disabled=
"btn"
@
click=
"goPay"
>
去缴费
</button
>
<
button
v-if=
"form.deptType != 2"
type=
"default"
@
click=
"goAuditDetail"
>
审核详情
</button
>
<!--
<view
class=
"
logout-btn"
@
click=
"handleLogout
"
>
<
text
class=
"logout-icon"
>
⏻
</text
>
<
text
class=
"logout-text"
>
退出
</text
>
</view>
-->
</view>
...
...
@@ -1199,6 +1204,24 @@
})
}
// 退出登录
function
handleLogout
()
{
uni
.
showModal
({
title
:
'提示'
,
content
:
'确定要退出当前账号吗?'
,
success
:
(
res
)
=>
{
if
(
res
.
confirm
)
{
// 清除登录信息
uni
.
clearStorageSync
();
// 跳转到登录页
uni
.
reLaunch
({
url
:
'/login/login'
});
}
}
});
}
// 监听步骤变化,加载审核详情
watch
(
activeStep
,
(
newVal
)
=>
{
console
.
log
(
'activeStep changed:'
,
newVal
)
...
...
@@ -1355,6 +1378,49 @@
border-radius
:
15
rpx
;
}
.logout-btn-top
{
position
:
fixed
;
top
:
0
rpx
;
right
:
0
rpx
;
display
:
flex
;
align-items
:
center
;
gap
:
8
rpx
;
padding
:
20
rpx
20
rpx
;
background
:
#AD181F
;
border-radius
:
30
rpx
;
z-index
:
100
;
box-shadow
:
-4
rpx
4
rpx
16
rpx
rgba
(
173
,
24
,
31
,
0.3
);
transition
:
all
0.3s
ease
;
transform
:
scale
(
0.8
);
.logout-icon
{
font-size
:
32
rpx
;
color
:
#fff
;
}
.logout-text
{
font-size
:
24
rpx
;
color
:
#fff
;
font-weight
:
500
;
}
&
:active
{
transform
:
scale
(
0.95
);
box-shadow
:
-2
rpx
2
rpx
8
rpx
rgba
(
173
,
24
,
31
,
0.3
);
}
}
.logout-icon
{
font-size
:
28
rpx
;
color
:
#e64329
;
}
.logout-text
{
font-size
:
24
rpx
;
color
:
#e64329
;
}
.status-box
{
display
:
flex
;
align-items
:
center
;
...
...
@@ -1376,6 +1442,25 @@
width
:
100px
;
}
.logout-btn
{
display
:
flex
;
align-items
:
center
;
gap
:
6
rpx
;
padding
:
8
rpx
20
rpx
;
background
:
linear-gradient
(
135deg
,
#f5f5f5
0%
,
#e8e8e8
100%
);
border-radius
:
30
rpx
;
.logout-icon
{
font-size
:
28
rpx
;
color
:
#e64329
;
}
.logout-text
{
font-size
:
22
rpx
;
color
:
#e64329
;
}
}
.btn-row
{
display
:
flex
;
gap
:
10
rpx
;
...
...
Write
Preview
Styling with
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