<template>
	<view class="base-container">
		<view class="user-info">
			<view class="user-left">
				<image class="avatar" src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"></image>
				<view class="info">
					<text class="name">听妈妈的话</text>
					<view class="text">这是您使用飞鸟有味的第15天</view>
				</view>
			</view>
			<view class="user-right">收货地址</view>
		</view>
		<view class="grid-wrap">
			<view class="grid-item ">
				<view class="grid-name">守护兑换</view>
				<text class="grid-text">积累能量获大礼</text>
				<image class="image" src="https://birdseye-img.sysuimars.com/youwei-uniapp/img/gift.png"></image>
			</view>
			<view class="grid-item coupon">
				<view class="grid-name">优惠券</view>
				<text class="grid-text">满100减50</text>
				<image class="icon" src="https://birdseye-img.sysuimars.com/youwei-uniapp/img/coupon.png"></image>
			</view>
		</view>
		<view class="list-wrap">
			<view class="list-item list-card">
				<view class="card-head">
					<text class="name">我的订单</text>
					<text>></text>
				</view>
				<view class="card-cont">
					<view class="list-item">
						
					</view>
				</view>
			</view>
			<view class="list-item list-card">
				<text class="name">我的守护</text>
				<text>></text>
			</view>
			<view class="list-item">
				<text class="name">联系客服</text>
				<text>></text>
			</view>
			<view class="list-item">
				<text class="name">意见反馈</text>
				<text>></text>
			</view>
		</view>
	</view>
</template>

<script setup>

</script>

<style lang="scss" scoped>
	.base-container {
		.user-info {
			background: #fff;
			border-radius: 16rpx;
			padding: 24rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			.user-left{
				display: flex;
				align-items: center;
				.avatar{
					width: 92rpx;
					height: 92rpx;
					margin-right: 28rpx;
					border-radius: 50%;
				}
				.info{
					.name{
						font-family: 'PangMenZhengDao';
					}
					.text{
						font-size: 24rpx;
					}
				}
			}
			.user-right{
				font-size: 24rpx;
				padding: 12rpx 32rpx;
				border-radius: 50rpx;
				color: #000;
				background: #FFD95E;
				font-weight: 500;
			}
		}
		.grid-wrap{
			display: flex;
			margin-top: 20rpx;
			.grid-item{
				padding: 20rpx 28rpx;
				flex: 1;
				border-radius: 16rpx;
				border: 2rpx solid #FFFFFF;
				background-image: linear-gradient(180deg,#FFECAE,#FFFFFF);
				line-height: 42rpx;
				position: relative;
				&.coupon{
					margin-left: 18rpx;
					background-image: linear-gradient(180deg,#FFDFC5,#FFFFFF);
				}
				.grid-name{
					font-family: 'PangMenZhengDao';
				}
				.grid-text{
					font-size: 24rpx;
				}
				.image{
					position: absolute;
					bottom: 0;
					right: 0;
					width: 110rpx;
					height: 120rpx;
				}
				.icon{
					position: absolute;
					bottom: 0;
					right: 0;
					width: 110rpx;
					height: 110rpx
				}
			}
		}
		.list-wrap{
			.list-item{
				background: #fff;
				border-radius: 10rpx;
				margin-top: 20rpx;
				padding: 26rpx 20rpx;
				display: flex;
				align-items: center;
				justify-content: space-between;
				.name{
					font-weight: 500;
				}
			}
		}
	}
</style>