<template>
	<view>
		<view class="ding">
			<image src="../../static/ic_12@2x.png" style="width: 116rpx;height: 116rpx;" mode=""></image>
			<text class="userName">张小鱼</text>
		</view>
		<view class="topBack">
			<view class="top">
				<view class="one" @click="GoUpPass">
					<view style="display: flex;">
						<image src="../../static/ic_13@2x.png" style="width: 32rpx;height: 36rpx;" mode=""></image>
						<text class="updateMi">更改密码</text>
					</view>
					<view>
						<image src="../../static/ic_15@2x.png" style="width: 28rpx;height: 28rpx;" mode=""></image>
					</view>
				</view>
				<view class="one" @click="outLogin">
					<view style="display: flex;">
						<image src="../../static/ic_14@2x.png" style="width: 32rpx;height: 36rpx;" mode=""></image>
						<text class="out">退出登录</text>
					</view>
					<view>
						<image src="../../static/ic_15@2x.png" style="width: 28rpx;height: 28rpx;" mode=""></image>
					</view>
				</view>
			</view>
		</view>
		<view class="Btn">
			<view class="Onb" @click="GoIndex">
				<image src="../../static/ic_6@2x.png" style="width: 44rpx;height: 44rpx;" mode=""></image>
				<text class="pei">培训</text>
			</view>
			<view class="Onb">
				<image src="../../static/ic_7@2x.png" style="width: 44rpx;height: 44rpx;" mode=""></image>
				<text class="me">我的</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		methods: {
			onClose() {},
			//退出登录
			outLogin() {},
			GoIndex() {
				uni.navigateTo({
					url: './index'
				})
			},
			//修改密码
			GoUpPass() {
				uni.navigateTo({
					url: './updatePass'
				})
			}
		}
	}
</script>

<style>
	.ding {
		position: absolute;
		top: 35px;
		width: 100%;
		display: flex;
		align-items: center;
		margin-left: 24px;

	}

	.userName {
		color: #FFFFFF;
		font-size: 40rpx;
		margin-left: 15px;
	}

	.one {
		display: flex;
		align-items: center;
		height: 50px;
		margin: 0 16px;
		justify-content: space-between;
		border-bottom: 1px solid #EBEDF0;
	}

	.top {
		background: #ffffff;
		border-radius: 12px 12px 0 0;
		position: fixed;
		width: 100%;
		top: 140px;
	}

	.out {
		color: #323233;
		font-size: 30rpx;
		margin-left: 10px;
	}

	.updateMi {
		color: #323233;
		font-size: 30rpx;
		margin-left: 10px;
	}

	.topBack {
		height: 320rpx;
		width: 100%;
		background-color: #007AFF;
	}

	.me {
		color: #2E7FF9;
		font-size: 20rpx;
	}

	.pei {
		color: #969799;
		font-size: 20rpx;
	}

	.Onb {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.Btn {
		display: flex;
		width: 100%;
		justify-content: space-around;
		height: 50px;
		align-items: center;
		position: fixed;
		bottom: 0;
	}
</style>