<template>
	<view>
		<view class="" v-if="wsq">
			<view class="box">
				<uni-forms ref="form" :modelValue="formData" :rules="rules" label-width="100rpx">
					<uni-forms-item label="姓名" name="name">
						<input class="input" v-model="formData.name" type="text" placeholder="请输入" />
					</uni-forms-item>
					<view class="border"></view>
					<uni-forms-item label="身份证" name="name">
						<view class="input">身份证</view>
					</uni-forms-item>
					<view class="border"></view>
					<uni-forms-item label="手机号" name="name">
						<input class="input" v-model="formData.name" type="text" placeholder="请输入" />
					</uni-forms-item>
				</uni-forms>
			</view>
			<view class="sfz">
				<view class="sfzwz">身份证照片</view>
				<view class="sfztp">
					<image class="sfzimg" src="@/static/身份证正面.png" mode=""></image>
					<image class="sfzimg" src="@/static/身份证反面.png" mode=""></image>
				</view>
			</view>
			<view class="sfz">
				<view class="sfzwz">驾驶证照片</view>
				<view class="sfztp">
					<image class="sfzimg" src="@/static/驾驶证正面.png" mode=""></image>
					<image class="sfzimg" src="@/static/驾驶证反面.png" mode=""></image>
				</view>
			</view>
			<view class="sfz">
				<view class="sfzwz">行驶证照片</view>
				<view class="sfztp">
					<image class="sfzimg" src="@/static/行驶证正面.png" mode=""></image>
					<image class="sfzimg" src="@/static/行驶证反面.png" mode=""></image>
				</view>
				<button class="subbtn">提交</button>
			</view>
		</view>
		<view class="shzbox" v-if="wsq">
			<image src="@/static/审核中.png" mode="" class="shzimg"></image>
			<view class="shzwz">
				审核中
			</view>
		</view>
		<view class="wtgbox" v-if="wsq">
			<image src="@/static/未通过.png" mode="" class="shzimg"></image>
			<view class="shzwz">
				未通过
			</view>
			<view class="jj">
				拒绝原因
			</view>
			<view class="jjyy">
				身份证上传的不对
			</view>
			<button class="wtgsubbtn">重新认证</button>
		</view>
		<view class="cgbox">
			<image src="@/static/认证成功.png" mode="" class="shzimg"></image>
			<view class="shzwz">
				认证成功，快去抢单吧~
			</view>
			<button class="wtgsubbtn" @click="ljqd">立即抢单</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				formData: {}
			}
		},
		methods: {
			ljqd(){
				uni.switchTab({
					url:'/pages/index/index'
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.wtgsubbtn{
		margin-top: 80rpx;
		width: 702rpx;
		height: 98rpx;
		background: #0D5DC9;
		box-shadow: 0rpx 4rpx 13rpx 0rpx rgba(14,94,157,0.4);
		border-radius: 49rpx;
		border: 1px solid #0D5DC9;
		font-family: Alibaba PuHuiTi;
		font-weight: 400;
		font-size: 30rpx;
		color: #FFFFFF
	}
	.wtgbox{
		background: #fff;
		height: 1624rpx;
	}
	.jjyy{
		width: 592rpx;
		height: 80rpx;
		background: #F9F9F9;
		border-radius: 10rpx;
		margin-left: 54rpx;
		margin-top: 21rpx;
		font-family: Alibaba PuHuiTi;
		font-weight: 400;
		font-size: 30rpx;
		color: #E45050;
		line-height: 40rpx;
		padding: 25rpx;
	}
	.jj{
		font-family: Alibaba PuHuiTi;
		font-weight: 400;
		font-size: 30rpx;
		color: #333333;
		line-height: 40rpx;
		margin-left: 54rpx;
		margin-top: 21rpx;
	}
	.shzwz{
		text-align: center;
		font-family: Alibaba PuHuiTi;
		font-weight: 400;
		font-size: 36rpx;
		color: #333333;
		line-height: 80rpx;
	}
	.shzimg {
		width: 160rpx;
		height: 160rpx;
		margin-top: 119rpx;
		margin-left: 295rpx;
	}

	.shzbox {
		height: 1624rpx;
		background: #fff;
	}

	.subbtn {
		margin-top: 50rpx;
		width: 630rpx;
		height: 98rpx;
		background: #0D5DC9;
		box-shadow: 0rpx 4rpx 13rpx 0rpx rgba(14, 94, 157, 0.4);
		border-radius: 49rpx;
		font-family: Alibaba PuHuiTi;
		font-weight: 400;
		font-size: 30rpx;
		color: #FFFFFF;
	}

	.sfztp {
		margin-top: 49rpx;
		display: flex;
		justify-content: space-between;
	}

	.sfzimg {
		width: 332rpx;
		height: 216rpx;
	}

	.sfz {
		background: #fff;
		margin-top: 20rpx;
		padding: 24rpx;
	}

	.sfzwz {
		font-family: Alibaba PuHuiTi;
		font-weight: 400;
		font-size: 36rpx;
		color: #333333;
		line-height: 40rpx;
	}

	/deep/ .uni-forms-item {
		margin-bottom: 24rpx;
	}

	.border {
		border: 1px solid #EAEAEA;
		margin-bottom: 10rpx;
	}

	.input {
		margin-top: 15rpx;
	}

	.box {
		padding: 24rpx;
		background: #fff;
	}
</style>