<template>
	<view class="instructor-card-list">
		<view class="i-info-card">
			<view class="i-card-list" :style="{background:index % 2=== 0?'linear-gradient(179deg, #FFD5FB 0%, #FFFFFF 40%)':'linear-gradient( 179deg, #F2FFBE 0%, #FFFFFF 40%)'}" v-for="(item,index) in 6">
				<view class="i-info">
					<view class="header" :style="{background:index % 2=== 0?'#FFB8F9':'#C8FF0C'}">
						<image class="head-img" src="https://img.keaitupian.cn/newupload/08/1629449018344288.jpg"
							mode=""></image>
						<image class="head-tag" src="/src/static/badge.png" mode=""></image>
					</view>
					<view class="i-name-tag">
						<view class="name-tag">
							<view class="name">
								<view class="">
									<text>张慕斯</text>
								</view>
								<image v-if="index % 2=== 0" src="/src/static/name_bg.png" mode=""></image>
								<image v-else src="/src/static/name_bg1.png" mode=""></image>
							</view>
							<view class="tag">篮球</view>
						</view>
						<view class="ascription">贵州成人篮球俱乐部</view>
						<view class="sign">教育就是看到美并将其无限放大</view>
					</view>
					<view class="type-icon">
						<image src="/src/static/hot-icon2.png" mode=""></image>
					</view>
				</view>
				<view class="i-data">
					<view class="acclaim">
						<zzx-icon name="acclaim"></zzx-icon>
						<view style="color: #FFCC00;">好评 99%</view>
					</view>
					<view class="acclaim">
						<zzx-icon name="order"></zzx-icon>
						<view style="color: #4DDF96;">订单数 5577</view>
					</view>
					<view class="acclaim">
						<zzx-icon name="number"></zzx-icon>
						<view style="color: #AB7BFF;">授课人数 8659</view>
					</view>
				</view>
				<view class="i-skill">
					擅长：体能、篮球、其他运动培训。体能、篮球、其他运
					动培训。体能、篮球、其他运动培训。
				</view>
				<view class="i-course" v-for="item in 2">
					<view class="course-name">
						<view class="price">￥296</view>
						<view class="name textHidden">室内小班篮球培训课时室内小班篮球培训课时</view>
					</view>
					<view class="num">已售9999</view>
				</view>
				<view class="more">更多课程</view>
			</view>
		</view>
	</view>
</template>

<script>
</script>

<style lang="less" scoped>
	.instructor-card-list{
		margin-top: 20rpx;
		.i-info-card {
			.i-card-list {
				margin-bottom:24rpx;
				border-radius: 32rpx;
				padding: 20rpx;
				width: 670rpx;
				height: 480rpx;
			}
		
			.i-info {
				display: flex;
				align-items: center;
				justify-content: space-around;
		
				.header {
					width: 150rpx;
					height: 150rpx;
					border-radius: 32rpx;
					// background: #FFB8F9;
					padding: 4rpx;
					position: relative;
		
					.head-img {
						width: 150rpx;
						height: 150rpx;
						border-radius: 32rpx;
					}
		
					.head-tag {
						position: absolute;
						bottom: 0;
						right: -14rpx;
						width: 36rpx;
						height: 36rpx;
					}
				}
		
				.i-name-tag {
					.name-tag {
						display: flex;
						align-items: center;
						gap: 8rpx;
		
						.name {
							width: 134rpx;
							height: 60rpx;
							font-weight: 800;
							font-size: 36rpx;
							color: #222222;
							position: relative;
		
							&>view {
								&>text {
									position: absolute;
									z-index: 1;
								}
							}
		
							&>image {
								top: 0;
								left: 0;
								position: absolute;
								width: 133rpx;
								height: 48rpx;
							}
						}
		
						.tag {
							font-size: 24rpx;
							color: #AAAAAA;
						}
					}
		
					.ascription {
						font-size: 24rpx;
						color: #222222;
					}
		
					.sign {
						margin-top: 20rpx;
						font-weight: bold;
						font-size: 24rpx;
						color: #222222;
					}
				}
		
				.type-icon {
					&>image {
						width: 106rpx;
						height: 100rpx;
					}
				}
			}
		
			.i-data {
				display: flex;
				align-items: center;
				gap: 28rpx;
				margin-top: 20rpx;
		
				.acclaim {
					display: flex;
					align-items: center;
					gap: 10rpx;
					font-size: 24rpx;
				}
			}
		
			.i-skill {
				width: 700rpx;
				margin-top: 20rpx;
				font-size: 24rpx;
				color: #AAAAAA;
			}
		
			.i-course {
				display: flex;
				align-items: center;
				justify-content: space-between;
				margin-top: 20rpx;
		
				.course-name {
					display: flex;
					align-items: center;
					gap: 20rpx;
		
					.price {
						font-weight: bold;
						font-size: 28rpx;
						color: #FB5B5B;
					}
		
					.name {
						width: 440rpx;
						font-weight: bold;
						font-size: 28rpx;
						color: #222222;
					}
				}
		
				.num {
					font-size: 24rpx;
					color: #AAAAAA;
				}
			}
		
			.more {
				margin: auto;
				width: 100rpx;
				margin-top: 20rpx;
				text-align: center;
				font-size: 24rpx;
				color: #CCCCCC;
				position: relative;
			}
		
			.more::after {
				position: absolute;
				bottom: -10rpx;
				left: 25rpx;
				content: '';
				width: 38rpx;
				height: 4rpx;
				border-radius: 2rpx;
				background-color: #CCCCCC;
			}
		}
	}
</style>