<template>
	<view>
		<u-cell-group style="width: 95%; margin: 15rpx auto; background-color: #fff;" :border="false">
			<u-cell
				title="个人资料" 
				:isLink="true" 
				:border="false"
				url="/pages/personalInfo/personalInfo"
			>
			</u-cell>
			<u-cell
				title="账号与安全" 
				:isLink="true" 
				:border="false"
				url="/pages/accountSafety/accountSafety"
			>
			</u-cell>
			<u-cell 
				title="意见反馈" 
				:isLink="true" 
				:border="false"
			>
			</u-cell>
			<u-cell
				title="退出登录" 
				:isLink="true" 
				@click="exitLogin"
				:border="false"
			>
			</u-cell>
		</u-cell-group>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			exitLogin () {
				uni.showModal({
					title: '退出登录',
					content: '确定退出登录吗？',
					success: (res) => {
						if (res.confirm) {
							uni.clearStorageSync()
							uni.reLaunch({
								url: '/pages/login/login'
							})
						}
					}
				})
			}
		}
	}
</script>

<style>

</style>
