个人中心设置改为退出登录
This commit is contained in:
@@ -81,11 +81,14 @@
|
|||||||
帮助与反馈
|
帮助与反馈
|
||||||
<image src="../../static/img/right.svg" mode=""></image>
|
<image src="../../static/img/right.svg" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="btnList" @click="go('/pageMy/my/set')">
|
<!-- <view class="btnList" @click="go('/pageMy/my/set')">
|
||||||
<image src="../../static/img/set.svg" mode=""></image>
|
<image src="../../static/img/set.svg" mode=""></image>
|
||||||
设置
|
设置
|
||||||
<image src="../../static/img/right.svg" mode=""></image>
|
<image src="../../static/img/right.svg" mode=""></image>
|
||||||
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
|
<view class="btn-out" @click="logout">
|
||||||
|
退出登录
|
||||||
</view>
|
</view>
|
||||||
<view class="bottom" @click="makePhoneCall">
|
<view class="bottom" @click="makePhoneCall">
|
||||||
客服电话 18500206848 工作时间 9:00-18:00
|
客服电话 18500206848 工作时间 9:00-18:00
|
||||||
@@ -130,6 +133,16 @@
|
|||||||
this.federationStatus = e.data.data.joined
|
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) {
|
go(url) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url
|
url
|
||||||
@@ -294,4 +307,13 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
overflow: auto;
|
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;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user