From 7e55ff5a0ae61d3df395ca4029a324b717762515 Mon Sep 17 00:00:00 2001
From: zxy <353513737@qq.com>
Date: Sun, 24 Mar 2024 16:31:41 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83=E8=AE=BE?=
=?UTF-8?q?=E7=BD=AE=E6=94=B9=E4=B8=BA=E9=80=80=E5=87=BA=E7=99=BB=E5=BD=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/my/my.vue | 26 ++++++++++++++++++++++++--
1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/pages/my/my.vue b/pages/my/my.vue
index 0bfd0b5..261494a 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -81,11 +81,14 @@
帮助与反馈
-
+
+
+
+ 退出登录
客服电话 18500206848 工作时间 9:00-18:00
@@ -130,6 +133,16 @@
this.federationStatus = e.data.data.joined
})
},
+ logout() {
+ this.$store.dispatch('LogOut').then(() => {
+ // uni.reLaunch({
+ // url: '/pages/login/login'
+ // })
+ this.$store.dispatch('clearAuthState')
+ this.$store.dispatch('endRefreshNewsTimer')
+ location.href = "https://dy12333.org.cn/h5/"
+ })
+ },
go(url) {
uni.navigateTo({
url
@@ -294,4 +307,13 @@
position: relative;
overflow: auto;
}
+ .btn-out {
+ background-color: #fefefe;
+ margin-top: 20rpx;
+ padding: 20rpx 0;
+ text-align: center;
+ font-family: PingFangSC-Regular;
+ font-size: 32rpx;
+ color: #F46161;
+ }