<template>
	<view class="step1">
		<view class="card">
			<view class="carModel">C1小型汽车手动挡</view>
		</view>
		<view class="card">
			<view class="carModel active">C2小型汽车自动挡</view>
		</view>
		<view class="btn_row" style="margin-top: 108rpx;">
			<view class="border btn" @click="changeStep(3)">返回上一步</view>
			<view class="btn"  @click="changeStep(5)">下一步</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dateArr: [
					{week: '一', num: '08'},
					{week: '二', num: '09'},
					{week: '三', num: '10'},
					{week: '四', num: '11'},
					{week: '五', num: '12'},
				],
				show: true
			}
		},
		methods: {
			changeStep(val) {
				this.$emit('changeStep', val)
			}
		}
	}
</script>

<style lang="scss" scoped>
	.card {
		margin-bottom: 20rpx;
		.carModel {
			padding: 0 36rpx;
			height: 152rpx;
			background: #FFFFFF;
			border-radius: 16rpx;
			font-size: 32rpx;
			font-weight: 600;
			line-height: 152rpx;
			&.active {
				background: rgba(25,137,250,0.1);
				color: $themC;
				border: 2rpx solid #1989FA;
			}
		}
	}
	.btn_row {
		display: flex;
		justify-content: space-between;
		padding-bottom: 30rpx;
		.btn {
			width: 47%;
			height: 72rpx;
			background: #1989FA;
			border-radius: 8rpx;
			font-size: 28rpx;
			color: #fff;
			text-align: center;
			line-height: 72rpx;
	
			&.border {
				background: rgba(25, 137, 250, 0.1);
				border: 2rpx solid $themC;
				color: $themC;
			}
		}
	}
	
	
</style>