<template>
	<view class="app">
		<view class="user">
			<view class="img">
				<image src="../../static/users.png" mode=""></image>
			</view>
			<view class="phone">
				188****8888
			</view>
			<view class="nickname">
				点此设置昵称
			</view>
			<view class="modify">
				修改信息
				<u-icon name="arrow-right" color="#ffffff" size="32"></u-icon>
			</view>
		</view>
		<view class="information">
			<view class="item">
				姓名:
			</view>
			<view class="item">
				电话:
			</view>
			<view class="item">
				地址:
			</view>
			<view class="item">
				疾病类型:
			</view>
		</view>
		<view class="External" style="margin: 200rpx auto 0;">
			<view class="lefttext">
				积分:
			</view>
			<view class="righttext">
				100分
			</view>
			<image src="../../static/jiantou.png" mode=""></image>
		</view>
		<view class="External">
			<view class="lefttext">
				健康档案
			</view>
			<view class="righttext">
			</view>
			<image src="../../static/jiantou.png" mode=""></image>
		</view>
		<view class="External">
			<view class="lefttext">
				我的设备
			</view>
			<view class="righttext">
			</view>
			<image src="../../static/jiantou.png" mode=""></image>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss">
	.app {
		padding: 0;
		font-size: 36rpx;
		height: 100vh;

		.External {
			width: 94%;
			height: 100rpx;
			line-height: 100rpx;
			margin: 20rpx auto;
			padding-left: 5%;
			background: #FFFFFF;
			box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
			border-radius: 20rpx;
			position: relative;

			.righttext {
				position: absolute;
				right: 12%;
				top: 50%;
				color: #969394;
				transform: translateY(-50%);
			}

			image {
				width: 18rpx;
				height: 27rpx;
				position: absolute;
				right: 5%;
				top: 50%;
				transform: translateY(-50%);
			}

			.lefttext,
			.righttext {
				display: inline-block;
			}
		}

		.information {
			width: 94%;
			background: #FFFFFF;
			box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
			border-radius: 20rpx;
			position: absolute;
			top: 18%;
			left: 3%;
			color: #000000;
			padding-left: 5%;
			overflow: hidden;

			.item {
				height: 110rpx;
				line-height: 110rpx;
				border-bottom: 1rpx solid #D8D4D4;

			}
		}

		.user {
			width: 100%;
			height: 500rpx;
			background: #4C7BC9;
			position: relative;
			color: #FFFFFF;

			.modify {
				font-size: 32rpx;
				position: absolute;
				right: 3%;
				top: 22%;
			}

			.nickname {
				position: absolute;
				top: 26%;
				left: 33%;
			}

			.phone {
				position: absolute;
				top: 13%;
				left: 33%;
			}

			.img {
				width: 150rpx;
				height: 150rpx;
				border-radius: 50%;
				background: #F6F6F6;
				position: absolute;
				top: 10%;
				left: 8%;

				image {
					width: 100rpx;
					margin-left: 50%;
					margin-top: 50%;
					transform: translate(-50%, -50%);
					height: 100rpx;
				}
			}
		}
	}
</style>
