<template>
	<view class="information">
		<view class="info-avatar">
			<image src="../static/mine/23.png"></image>
		</view>
		<view class="info-item">
			<view class="title">昵称</view>
			<view class="value">胖胖</view>
		</view>
		<view class="info-item">
			<view class="title">性别</view>
			<view class="value">女</view>
		</view>
		<view class="info-item">
			<view class="title">生日</view>
			<view class="value">1998.10.13</view>
		</view>
		<view class="info-item">
			<view class="title">手机号</view>
			<view class="value">18265906216</view>
		</view>
		<view class="info-item">
			<view class="title">等级</view>
			<view class="value">9999</view>
		</view>
		<view class="info-item">
			<view class="title">积分数</view>
			<view class="value">9999</view>
		</view>
		<view class="info-item">
			<view class="title">经验值</view>
			<view class="value">9999</view>
		</view>
	</view>
</template>
<script>
export default {
	data() {
		return {}
	},
	onNavigationBarButtonTap() {
		this.toEditPage();
	},
	methods: {
		toEditPage() {
			uni.navigateTo({
				url: '/pageE/mine/EditUserInfo'
			});
		}
	},
};
</script>
<style lang="scss" scoped>
.information {
	min-height: calc(100vh - var(--window-top));
	background-color: #ECECEC;
	padding-top: 1rpx;
	.info-avatar {
		text-align: center;
		height: 160rpx;
		background: rgba(255,255,255,1);
		> image {
			flex-shrink: 0;
			width: 120rpx;
			height: 120rpx;
			border-radius: 50%;
			margin-top: 20rpx;
		}
	}
	.info-item {
		display: flex;
		align-items: center;
		padding: 35rpx 30rpx;
		border-top: 2rpx solid #ECECEC;
		font-size: 30rpx;
		height: 98rpx;
		background: rgba(255,255,255,1);
		.title {
			width: 240rpx;
			color: rgba(51,51,51,1);
		}
		.value {
			color: rgba(102,102,102,1);
		}
	}
}
</style>