diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue index 0a09a9d..2326f04 100644 --- a/pages/mine/mine.vue +++ b/pages/mine/mine.vue @@ -34,7 +34,6 @@ - 退出 因智能门锁与账号绑定,登录为手机号登录 @@ -138,21 +137,8 @@ type } }) - }, - logout() { - const that = this - uni.showModal({ - title: '提示', - content: '确定退出登录吗?', - success: (res) => { - if (res.confirm) { - uni.removeStorageSync('token') - that.updateLoginStatus(false) - } - } - }) } - }, + } } @@ -202,25 +188,10 @@ page { background: #EBEBEB; } -.button-logout { - position: absolute; - border-radius: 46rpx; - bottom: 60rpx; - width: 600rpx; - height: 80rpx; - line-height: 80rpx; - text-align: center; - margin-left: 75rpx; - background: #ec433c; - color: #ffffff; - font-size: 40rpx; - font-weight: bold; -} - .switch-account { position: absolute; border-radius: 46rpx; - bottom: 180rpx; + bottom: 60rpx; width: 600rpx; height: 80rpx; line-height: 80rpx;