<template>
	<!-- 实操 -->
	<view class="consultItem">
		<view class="top_row">
			<view class="flex">
				<view class="schoolName">{{item.name}} <text style="margin-left: 10rpx;">{{item.phone}}</text></view>
			</view>
			<view class="status">
				<!-- <view class="text">待上课</view> -->
				<view class="icon">
					<u-icon name="arrow-right" size="14" color="#686B73" style="margin-left: 12rpx;" ></u-icon>
				</view>
			</view>
		</view>
		<view class="target">
			<view class="row">
				<view class="iconImg">
					<image src="@/static/images/index/timerIcon.png" mode=""></image>
				</view>
				<view class="name">报名时间：{{$u.timeFormat(item.applyDate, 'yyyy/mm/dd')}}</view>
			</view>
			<view class="row">
				<view class="iconImg">
					<image src="@/static/images/index/carIcon.png" mode=""></image>
				</view>
				<view class="name">学驾车型：{{item.trainType}}</view>
			</view>
			<view class="row">
				<view class="iconImg">
					<image src="@/static/images/index/listIcon.png" mode=""></image>
				</view>
				<view class="name">报名班型：{{item.className}}</view>
			</view>
			<!-- <view class="row">
				<view class="iconImg">
					<image src="@/static/images/index/newSatus.png" mode=""></image>
				</view>
				<view class="name">最新状态：<text>就先放着不做</text> </view>
			</view> -->
		</view>
		
	</view>
</template>

<script>
	export default {
		props: {
			item: {
				type: Object,
				default: function() {
					return {}
				}
			}
		},
		data() {
			return {
				
			}
		}
	}
</script>

<style lang="scss" scoped>
	.consultItem {
			width: 100%;
			.top_row {
				display: flex;
				width: 100%;
				height: 116rpx;
				border-bottom: 2rpx dashed #E8E9EC;
				justify-content: space-between;
				align-items: center;
				.tag {
					// width: 176rpx;
					height: 60rpx;
					background: rgba(250, 149, 25, 0.1);
					border-radius: 8rpx;
					text-align: center;
					font-size: 28rpx;
					color: #FA7919;
					margin-right: 24rpx;
					padding: 10rpx 18rpx;
				}
				.schoolName {
					font-size: 28rpx;
					color: #333;
					margin-left: 20rpx;
					font-weight: 550;
				}
				.status {
					display: flex;
					align-items: center;
					.text {
						font-size: 28rpx;
						color: $themC;
					}
				}
			}
			.target {
				padding: 20rpx 0;
			}
			.row {
				padding: 16rpx 0;
				display: flex;
				align-items: center;
				.iconImg {
					width: 32rpx;
					height: 28rpx;
				}
				.name {
					font-size: 28rpx;
					color: #333;
					padding-left: 20rpx;
					text {
						color: $themC;
					}
				}
			}
		}
		
</style>