<template>
	<view class="pageBgImg">
		<topNavbar title="学车学时"></topNavbar>
		<view class="pad">
			<view class="box">
				<view class="h2">模拟器</view>
				<view class="con">
					<view class="item_row">
						<view class="item">
							<view class="lab">总学时</view>
							<view class="val">100分钟</view>
						</view>
						<view class="item">
							<view class="lab">已完成</view>
							<view class="val">90分钟</view>
						</view>
					</view>
				</view>
				<view class="chain left">
					<image src="@/static/images/index/chain.png" mode=""></image>
				</view>
				<view class="chain right">
					<image src="@/static/images/index/chain.png" mode=""></image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
</script>

<style lang="scss" scoped>
	.box {
		width: 100%;
		height: 400rpx;
		background: #FFFFFF;
		box-shadow: inset 0px 2px 6px 0px rgba(255,255,255,0.5);
		border-radius: 16px;
		border: 4rpx solid #A6E2FF;
		// border-image: linear-gradient(134deg, rgba(166, 226, 255, 1), rgba(114, 199, 247, 1), rgba(208, 228, 255, 1)) 4 4;
		border-radius: 16rpx;
		padding: 0 16rpx 52rpx 16rpx;
		overflow: hidden;
		position: relative;
	  .h2 {
			width: 489rpx;
			height: 75rpx;
			margin: 0 auto;
			text-align: center;
			background-color: #A6E2FF;
			color: #fff;
			font-size: 32rpx;
			font-weight: 600;
	  }
	
	  .con {
		  background-color: #F3F8FE;
		  height: 256rpx;
		  background: linear-gradient(180deg, #99C2F4 0%, #3A89EB 100%);
		  border-radius: 16rpx;
	    .item_row {
			display: flex;
			width: 100%;
			height: 100%;
	      .item {
			  text-align: center;
			  display: flex;
			  flex-direction: column;
			  align-items: center;
	        .lab {
				font-size: 28rpx;
				color: #363A44;
	        }
	
	        .val {
				margin-top: 26rpx;
				font-size: 40rpx;
				color: $themC;
	        }
	      }
	    }
	  }
	
	  .chain {
	  	width: 28rpx;
	  	height: 100rpx;
	  	position: absolute;
	  	top: -34rpx;
	  	&.left {
	  		left: 60rpx;
	  	}
	  	&.right {
	  		right: 60rpx !important;
	  	}
	  }
	}
</style>