<template>
	<view class="container">
		<view class="u-status-bar"></view>
		<view class="list-wrap">
			<view class="title-wrap">
				<view class="title">最近观看</view>
				<view class="more">更多</view>
			</view>
			<view class="list">
				<view class="item">
					<div class="item-content">
						<view class="cover">
							<image class="img" src="https://img0.baidu.com/it/u=966333451,3199467079&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=714" mode="aspectFill"></image>
							<view class="num">第三集</view>
						</view>
						<view class="intro-wrap">
							<view class="name">我在八十年代当后妈</view>
							<view class="t">言情</view>
						</view>
					</div>
				</view>
				<view class="item">
					<div class="item-content">
						<view class="cover">
							<image class="img" src="https://img0.baidu.com/it/u=966333451,3199467079&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=714" mode="aspectFill"></image>
							<view class="num">第三集</view>
						</view>
						<view class="intro-wrap">
							<view class="name">我在八十年代当后妈</view>
							<view class="t">言情</view>
						</view>
					</div>
				</view>
				<view class="item">
					<div class="item-content">
						<view class="cover">
							<image class="img" src="https://img0.baidu.com/it/u=966333451,3199467079&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=714" mode="aspectFill"></image>
							<view class="num">第三集</view>
						</view>
						<view class="intro-wrap">
							<view class="name">我在八十年代当后妈</view>
							<view class="t">言情</view>
						</view>
					</div>
				</view>
				<view class="item">
					<div class="item-content">
						<view class="cover">
							<image class="img" src="https://img0.baidu.com/it/u=966333451,3199467079&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=714" mode="aspectFill"></image>
							<view class="num">第三集</view>
						</view>
						<view class="intro-wrap">
							<view class="name">我在八十年代当后妈</view>
							<view class="t">言情</view>
						</view>
					</div>
				</view>
				<view class="item">
					<div class="item-content">
						<view class="cover">
							<image class="img" src="https://img0.baidu.com/it/u=966333451,3199467079&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=714" mode="aspectFill"></image>
							<view class="num">第三集</view>
						</view>
						<view class="intro-wrap">
							<view class="name">我在八十年代当后妈</view>
							<view class="t">言情</view>
						</view>
					</div>
				</view>
				<view class="item">
					<div class="item-content">
						<view class="cover">
							<image class="img" src="https://img0.baidu.com/it/u=966333451,3199467079&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=714" mode="aspectFill"></image>
							<view class="num">第三集</view>
						</view>
						<view class="intro-wrap">
							<view class="name">我在八十年代当后妈</view>
							<view class="t">言情</view>
						</view>
					</div>
				</view>
			</view>
		</view>
		<view class="list-wrap">
			<view class="title-wrap">
				<view class="title">我的追剧</view>
				<view class="more">更多</view>
			</view>
			<view class="list">
				<view class="item">
					<div class="item-content">
						<view class="cover">
							<image class="img" src="https://img0.baidu.com/it/u=966333451,3199467079&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=714" mode="aspectFill"></image>
							<view class="num">第三集</view>
						</view>
						<view class="intro-wrap">
							<view class="name">我在八十年代当后妈</view>
							<view class="t">言情</view>
						</view>
					</div>
				</view>
			</view>
		</view>
	</view>
</template>

<script setup></script>

<style lang="scss">
page {
	background: #f5f7ff;
}
</style>
<style scoped lang="scss">
.container {
	color: #333;
	font-size: 28upx;
}
.list-wrap {
	margin-bottom: 40upx;
	.title-wrap {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 28upx;
		.title {
			font-weight: bold;
			font-size: 32upx;
		}
		.more {
			color: #999;
		}
	}
	.list {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(auto, 1fr);
		grid-column-gap: 28upx;
		grid-row-gap: 28upx;
		box-sizing: border-box;
		padding: 0 28upx;
		.item {
			box-sizing: border-box;
			.item-content {
				overflow: hidden;
				background-color: #fff;
				border-radius: 30upx;
				.cover {
					height: 200upx;
					position: relative;
					.img {
						width: 100%;
						height: 100%;
					}
					.num {
						padding: 4upx 16upx;
						border-radius: 8upx;
						background: rgba(0, 0, 0, 0.3);
						backdrop-filter: blur(5px);
						position: absolute;
						right: 8upx;
						bottom: 8upx;
						color: #fff;
						font-size: 24upx;
					}
				}
				.intro-wrap {
					padding: 20upx;
					.name {
						width: 180upx;
						overflow: hidden;
						text-overflow: ellipsis;
						white-space: nowrap;
						line-height: 32upx;
						font-weight: bold;
					}
					.t {
						color: #999;
						font-size: 24upx;
						margin-top: 8upx;
					}
				}
			}
		}
	}
}
</style>
