<template>
	<view class="app">
		<view class="cards">
			<view class="item" style="background-color: #9E4DD0;">
				<image src="../../static/user.png" mode=""></image>
				<view class="title">
					个人信息
				</view>
			</view>
			<view class=" item" style="background-color: #E1AE3C ;">
				<image src="../../static/dingdan.png" mode=""></image>
				<view class="title">
					我的订单
				</view>
			</view>
			<view class="item" style="background-color: #00C176 ;">
				<image src="../../static/home.png" mode=""></image>
				<view class="title" style="font-size: 42rpx;">
					我的家庭
				</view>
			</view>
			<view class="item">
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {};
		},
		methods: {},
	}
</script>

<style lang="scss">
	.app {
		background-color: #F4F5F7;
		width: 100%;
		height: 100vh;
		position: relative;

		.cards {
			width: 94%;
			box-shadow: 0px 0px 30rpx 0px rgba(108, 99, 255, 0.16);
			background-color: #fff;
			position: absolute;
			top: 3%;
			left: 3%;
			display: flex;
			justify-content: space-evenly;
			flex-wrap: wrap;
			padding: 40rpx 0 200rpx 0;
			border-radius: 25rpx;

			.item {
				width: 43%;
				height: 295rpx;
				margin-bottom: 40rpx;
				border-radius: 25rpx;
				position: relative;

				.title {
					width: 80%;
					text-align: center;
					font-size: 46rpx;
					color: #FCFCFC;
					position: absolute;
					top: 60%;
					left: 50%;
					transform: translateX(-50%);
				}

				image {
					width: 100rpx;
					height: 100rpx;
					position: absolute;
					top: 20%;
					left: 50%;
					transform: translateX(-50%);
				}
			}
		}
	}
</style>
