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; + }