<template>
	<view class="pageBgImg pad">
		<view class="searchBox">
			<searchRow placeholder="搜索学员姓名、学员手机号、考场名称"></searchRow>
		</view>
		<view class="card">
			<view class="verified_today">
				<view class="leftVerified">
					<view class="num_row">
						<view class="num">7</view>
						<view class="unit">个</view>
					</view>
					<view class="txtLab">今日待核销</view>
				</view>
				<view class="rightBtn">
					<view class="objBtn">科目二：3</view>
					<view class="objBtn">科目二：7</view>
				</view>
			</view>
		</view>

		<view class="card_flex">
			<view class="card" v-for="(item,index) in 4" :key="index">
				<view class="flex-b" style="padding: 32rpx 0;">
					<view class="leftText">
						<view class="lab">指标总量</view>
						<view class="num_row">
							<view class="num">7</view>
							<view class="unit">个</view>
						</view>
					</view>
					<view class="rightTxt">
						<view class="text_row">
							<view class="dian yellow"></view>
							<view class="text">科目二：100</view>
						</view>
						<view class="text_row">
							<view class="dian"></view>
							<view class="text">科目二：100</view>
						</view>
					</view>
				</view>
			</view>
		</view>

		<view class="flex-b">
			<view class="h1">预约记录</view>
			<moreRight text="更多" @click.native="$goPage('/pages/recordEntry/examine/examineRecord/examineRecord')"></moreRight>
		</view>
		<view class="card">
			<appointItem />
		</view>
		<!-- <UserTab selectedIndex ='1'></UserTab> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		onLoad() {},
		onShow() {
			// uni.hideTabBar();
		},
		methods: {
			goPage() {}
		}
	}
</script>

<style lang="scss" scoped>
	
	.searchBox {
		padding: 140rpx 0 24rpx 0;
	}
	.h1 {
		line-height: 92rpx;
	}
	.card {
		padding: 0 28rpx;
		margin-bottom: 20rpx;
	  .verified_today {
		  display: flex;
		  align-items: center;
		  padding: 20rpx 0;
	    .leftVerified {
			flex: 1;
			text-align: center;
	      .num_row {
			  display: flex;
			  justify-content: center;
			  color: $themC;
	        .num {
				font-size: 56rpx;
	        }
	
	        .unit {
				font-size: 24rpx;
				margin-top: 20rpx;
	        }
	      }
		  .txtLab {
			  font-size: 28rpx;
			  color: #686B73;
			  margin-top: 10rpx;
		  }
	    }
	
	    .rightBtn {
			width: 224rpx;
	      .objBtn {
			width: 100%;
			height: 76rpx;
			background: rgba(25,137,250,0.1);
			border-radius: 8rpx;
			line-height: 76rpx;
			text-align: center;
			font-size: 32rpx;
			color: $themC;
			&:first-child {
				margin-bottom: 8rpx;
			}
	      }
	    }
	  }
	}
	
	.card_flex {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	  .card {
		  width: 48.8%;
	    .leftText {
			display: flex;
			flex-direction: column;
			align-items: center;
			color: $themC;
	      .lab {
			font-size: 24rpx;
	      }
	
	      .num_row {
			  display: flex;
			  margin-top: 10rpx;
	        .num {
				font-size: 40rpx;
				font-weight: 500;
	        }
	
	        .unit {
				font-size: 24rpx;
				margin-top: 8rpx;
	        }
	      }
	    }
	
	    .rightTxt {
			display: flex;
			flex-direction: column;
			align-items: center;
	      .text_row {
			  display: flex;
			  align-items: center;
			  &:first-child {
				  margin-bottom: 20rpx;
			  }
	        .dian {
				width: 8rpx;
				height: 8rpx;
				background: #0D9269;
				border-radius: 4rpx;
				margin-right: 10rpx;
				&.yellow {
					background: #FA7919;
				}
	        }
	
	        .text {
				font-size: 24rpx;
				color: #333;
	        }
	      }
	    }
	  }
	}
</style>