From 1e746bc97193bfd8120864524631a6f4169945ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E9=B9=8F?= Date: Mon, 2 Sep 2024 09:31:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E9=80=80=E5=87=BA=E7=99=BB=E5=BD=95=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/mine/mine.vue | 33 ++------------------------------- 1 file changed, 2 insertions(+), 31 deletions(-) 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;