diff --git a/pages/myinformation/myinformation.vue b/pages/myinformation/myinformation.vue
index f53d2a5..63a4cf4 100644
--- a/pages/myinformation/myinformation.vue
+++ b/pages/myinformation/myinformation.vue
@@ -3,7 +3,7 @@
-
+
个人信息
@@ -11,7 +11,7 @@
-
+
修改手机号
@@ -19,7 +19,7 @@
-
+
修改密码
@@ -43,6 +43,14 @@
+
+
+ 退出账号
+
+
+
+
+
@@ -82,9 +90,18 @@
+
+
+ 退出账号
+
+
+
+
+
+
@@ -141,6 +158,30 @@
url: '/pages/ServiceSchedule/ServiceSchedule'
})
},
+ // 退出登录
+ remove() {
+ let that = this
+ uni.showModal({
+ title: '提示',
+ content: '确认要退出此账号吗',
+ success: function(res) {
+ if (res.confirm) {
+ uni.clearStorageSync();
+ that.$refs.uToast.show({
+ title: '退出账号成功',
+ type: 'success',
+ duration: '1000'
+ })
+ setTimeout(e => {
+ uni.reLaunch({
+ url: '/pages/login/login'
+ })
+ }, 1000)
+ }
+ }
+ });
+
+ },
@@ -367,4 +408,4 @@
}
}
}
-
\ No newline at end of file
+