<template>
	<view class="v1">
		<view class="userback">
			<view class="brand">
				Y
			</view>
			<view class="userback-username">
				原动力
			</view>
		</view>
		<view class="user-function">
			<!-- <view class="user-function-forget">
				<button class="clean-btn-style user-function-forget-btn" @click="toChange()">清空缓存</button>
			</view> -->
			<view class="user-function-exit">
				<button class="clean-btn-style user-function-exit-btn"  @click="exit()">退出登录</button>
			</view>
		</view>
		<!-- 提示信息弹窗 -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			exit(){
				uni.removeStorageSync('Admin-Token')
				uni.reLaunch({
					url:'/pages/login/login'
				})
			}
		}
	}
</script>

<style lang="scss" >
.v1{
  display: block;
  position:absolute;
  width: 100%;
  height: 100vh;
  background-color: #FFFFFF;
}
.clean-btn-style{
	background-color: #FFFFFF;
	border-radius: 0;
}
.clean-btn-style::after{
	border: none;
}
.userback {
	height: 216px;
	// background-repeat: no-repeat;
	// background-size: 100%;
	text-align: center
}
.brand{
	display: inline-block;
	border-radius: 50%;
	// margin-top: 21%;
	width: 97px;
	height: 97px;
	margin: 80px auto 0;
	background-color: #1296db;
	color: #ffffff;
	font-size: 70px;
	line-height: 97px;
}
.userback-username{
		margin-top: 20px;
	}
	.user-function{
		margin: 30px 20px;
		border-radius: 20px;
		background-color: #F8F8F8;
		line-height: 36px;
		border: 1px solid #F0F0F0;
		.user-function-forget{
			padding-left: 30px;
			cursor: pointer;
			border-bottom: 1px solid #F0F0F0;
			.user-function-forget-btn{
				font-size: 14px;
				padding: 0;
				text-align: left;
				background-color: #F8F8F8;
				width: 90%;
				margin: 0;
			}
		}
		.user-function-exit{
			padding-left: 30px;
			cursor: pointer;
			.user-function-exit-btn{
				font-size: 14px;
				padding: 0;
				text-align: left;
				background-color: #F8F8F8;
				width: 90%;
				margin: 0;
			}
		}
	}
</style>
