<template>
	<view class="container">
		<view class="page">
			<view class="user" style="background-image: url('../../static/images/bg_mine.png');">
				<image src="../../static/images/img01.png" class="icon"></image>
				<view class="name">林二</view>
				<view class="phone">15245214563</view>
			</view>
			<view class="service">
				<view class="item">
					<view class="left">
						<image src="../../static/images/user01.png" class="icon"></image>
						<div class="title">个人资料</div>
					</view>
					<image src="../../static/images/icon_more.png" class="arrow"></image>
				</view>
				<view class="item">
					<view class="left">
						<image src="../../static/images/user02.png" class="icon"></image>
						<div class="title">我的房屋</div>
					</view>
					<image src="../../static/images/icon_more.png" class="arrow"></image>
				</view>
				<view class="item">
					<view class="left">
						<image src="../../static/images/user03.png" class="icon"></image>
						<div class="title">我的报修</div>
					</view>
					<image src="../../static/images/icon_more.png" class="arrow"></image>
				</view>
				<view class="item">
					<view class="left">
						<image src="../../static/images/user04.png" class="icon"></image>
						<div class="title">我的投诉</div>
					</view>
					<image src="../../static/images/icon_more.png" class="arrow"></image>
				</view>
				<view class="item">
					<view class="left">
						<image src="../../static/images/user05.png" class="icon"></image>
						<div class="title">缴费记录</div>
					</view>
					<image src="../../static/images/icon_more.png" class="arrow"></image>
				</view>
				<view class="item">
					<view class="left">
						<image src="../../static/images/user06.png" class="icon"></image>
						<div class="title">我的收据</div>
					</view>
					<image src="../../static/images/icon_more.png" class="arrow"></image>
				</view>
				<view class="item">
					<view class="left">
						<image src="../../static/images/user07.png" class="icon"></image>
						<div class="title">切换物业公司</div>
					</view>
					<image src="../../static/images/icon_more.png" class="arrow"></image>
				</view>
				<view class="item">
					<view class="left">
						<image src="../../static/images/user08.png" class="icon"></image>
						<div class="title">维修员</div>
					</view>
					<image src="../../static/images/icon_more.png" class="arrow"></image>
				</view>
			</view>
		</view>
	</view>
</template>

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

			}
		},
		methods: {

		},
		onLoad() {

		},
		onShow() {

		}
	}
</script>

<style lang="scss" scoped>
	.page {
		padding: 20rpx 30rpx 20rpx;
		background-color: #F8F6F9;
	}

	.user {
		background-position: top center;
		background-repeat: no-repeat;
		background-size: cover;
		border-radius: 16rpx;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding: 40rpx ;

		.icon {
			width: 160rpx;
			height: 160rpx;
			border-radius: 160rpx;
		}

		.name {
			font-size: 36rpx;
			color: #ffffff;
			margin: 20rpx 0 10rpx;
		}

		.phone {
			font-size: 28rpx;
			color: #ffffff;
			opacity: 0.55;
		}
	}

	.service {
		background-color: #ffffff;
		padding: 0 30rpx;
		border-radius: 16rpx;
		margin: 30rpx 0;

		.item {
			height: 84rpx;
			line-height: 84rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;
			border-bottom: 1px solid #F8F6F9;

			.left {
				display: flex;
				align-items: center;
				.icon {
					width: 32rpx;
					height: 32rpx;
					margin-right: 20rpx;
				}

				.title {
					font-size: 28rpx;
					color: #191A23;
				}
			}

			.arrow {
				width: 16rpx;
				height: 24rpx;
			}
		}
	}
</style>