<template>
	<view>
		<u-cell-group :border="false">
			<u-cell-item title="退出登录" :border-bottom="false" @click="logout" hover-class="none"></u-cell-item>
		</u-cell-group>
		
		<u-modal v-model="showLogout" :content="content" :show-cancel-button="true" @confirm="confirmLogout"></u-modal>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				showLogout: false,
				content: '确定退出登录'
			}
			
		},
		methods: {
			logout() {
				this.showLogout = true
			},
			
			confirmLogout() {
				
			}
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #fff;
	}
</style>