<template>
	<view class="route">
		<view class="list">
			<view class="item" v-for="(item,index) in list" :key="index">
				<zs-img :src="item.img" width="164rpx" height="164rpx" radius='full'></zs-img>
				<view class="info">
					<view class="title">
						少儿编程培训基础班
					</view>
					<view class="types">
						AI培训 | 编程
					</view>
					<view class="author-info">
						<image class="head" :src="item.head" mode=""></image>
						<view class="name">
							李老师
						</view>
					</view>
				</view>
				
				<image class="play" src="../static/play.png" mode=""></image>
			</view>
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[
					{
						img:'https://gd-hbimg.huaban.com/5519accd3d95a5f992bd2f485fa5ca04c9af67be56754-gus75N_fw658webp',
						head:'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fsafe-img.xhscdn.com%2Fbw1%2F1e0466ff-3a60-4544-9630-318439662daf%3FimageView2%2F2%2Fw%2F1080%2Fformat%2Fjpg&refer=http%3A%2F%2Fsafe-img.xhscdn.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1695371853&t=0d9cf33ea0b96e7e0d2778264668a623'
					},
					{
						img:'https://gd-hbimg.huaban.com/f6c02f600c1de991ba0e457c263f70d076c61cb535e9c-Yi5djy',
						head:'https://gd-hbimg.huaban.com/54c90225377e9ddb9aa260a735f429edf15309361cb73-QCueku_fw658webp'
					},
					{
						img:'https://gd-hbimg.huaban.com/e893b5ded9bcba900a5dde2dabe09d1cf8b4fa43a31c4-usH1ui_fw658webp',
						head:'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fsafe-img.xhscdn.com%2Fbw1%2F1e0466ff-3a60-4544-9630-318439662daf%3FimageView2%2F2%2Fw%2F1080%2Fformat%2Fjpg&refer=http%3A%2F%2Fsafe-img.xhscdn.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1695371853&t=0d9cf33ea0b96e7e0d2778264668a623'
					}
				]
			}
		},
	}
</script>

<style lang="scss" scoped>
.route{
	.list{
		padding: 0 30rpx;
		.item{
			background: #fff;
			padding: 20rpx;
			border-radius: 16rpx;
			display: flex;
			margin-bottom: 20rpx;
			box-shadow: 0rpx 0rpx 24rpx 2rpx rgba(0,0,0,0.06);
			.icon{
				width: 164rpx;
				height: 164rpx;
			}
			.info{
				margin-left: 20rpx;
				display: flex;
				flex-direction: column;
				justify-content: space-between;
				flex: 1;
				.title{
					font-size: 28rpx;
					font-weight: bold;
					color: #0F0F0F;
				}
				.types{
					font-size: 24rpx;
					font-weight: 400;
					color: #999999;
				}
				.author-info{
					display: flex;
					align-items: center;
					.head{
						width: 48rpx;
						height: 48rpx;
						border-radius: 50%;
						background: #999;
					}
					.name{
						font-size: 24rpx;
						font-weight: 400;
						color: #999999;
						margin-left: 10rpx;
					}
				}
		
			}
			.play{
				width: 40rpx;
				height: 40rpx;
				align-self: center;
			}
		}
	}
}
</style>