<template>
	<view class="content">
		<view class="top"></view>
		<view class="title">
			<view class="title-item flex">
				<view class="title-font">
					提交人：
				</view>
				<view class="title-font">
					全包员工
				</view>
			</view>
			<view class="xian">
			</view>
			<view class="title-item flex">
				<view class="title-font">
					当前检验阶段：
				</view>
				<view class="title-font">
					下料
				</view>
			</view>
		</view>
		<view class="main " v-for="(item,index) in list">
			<view class="main-top">
				<image class="main-icon" src="../../static/icon/order.png" mode=""></image>
				<view class="main-font">
					{{item.name}}
				</view>
			</view>
			<view class="main-bottom flex">
				<view class="num">
					总数量：
				</view>
				<view class="main-input red">
					363
				</view>
			</view>
			<view class="xian"></view>
			<view class="main-bottom flex">
				<view class="num">
					缺漏数量：
				</view>
				<view class="main-input">
					<input type="number" v-model="item.number" placeholder="请填写缺漏数量">
				</view>
			</view>
		</view>
		<view class="btn">
			确认领取
		</view>
		<view class="" style="height: 80rpx;"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [{
					name: '规格1(黄色,37码）',
					number: '',
				}, {
					name: '规格2(黄色,37码）',
					number: '',
				}, {
					name: '规格3(黄色,37码）',
					number: '',
				}, {
					name: '规格4(黄色,37码）',
					number: '',
				}, {
					name: '规格5(黄色,37码）',
					number: '',
				}, {
					name: '规格6(黄色,37码）',
					number: '',
				}, {
					name: '规格7(黄色,37码）',
					number: '',
				}, {
					name: '规格8(黄色,37码）',
					number: '',
				}],
				type: 0,
			};
		},
		onLoad(opt) {
			this.type = opt.type
		},
		onShow() {},
		onReachBottom() {},
		onReady() {},
		methods: {}
	};
</script>

<style lang="scss">
	page,
	.content {
		min-height: 100%;
		height: auto;
		background: #ffffff;
	}

	.top {
		width: 100%;
		height: 20rpx;
		background: #f8f8f8;
	}

	.xian {
		width: 100%;
		height: 2rpx;
		background: #EAECED;
	}

	.title {
		width: 700rpx;
		background: #FFFFFF;
		border: 2px solid #EAECED;
		box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(50, 50, 52, 0.06);
		border-radius: 20rpx;
		margin: 20rpx auto 0;
		padding: 0 24rpx;

		.title-item {
			padding: 24rpx 6rpx;

			.title-font {
				font-size: 32rpx;
				font-family: PingFang SC;
				font-weight: bold;
				color: #323333;
			}
		}
	}

	.main {
		margin: 20rpx auto 0;
		padding: 0 20rpx;
		width: 700rpx;
		background: #FFFFFF;
		border: 2px solid #EAECED;
		box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(50, 50, 52, 0.06);
		border-radius: 20rpx;

		.main-top {
			display: flex;
			align-items: center;
			padding: 16rpx 0;
			border-bottom: 1px solid #EAECED;

			.main-icon {
				width: 32rpx;
				height: 37rpx;
			}

			.main-font {
				margin-left: 10rpx;
				font-size: 30rpx;
				font-family: PingFang SC;
				font-weight: bold;
				color: #333333;
			}
		}

		.main-bottom {
			padding: 20rpx 0;

			.num {
				font-size: 28rpx;
				font-family: PingFang SC;
				font-weight: 500;
				color: #666666;
			}

			.main-input {
				text-align: right;
				font-size: 28rpx;
				font-family: PingFang SC;
				font-weight: 500;
				color: #999999;
			}

			.red {
				color: #FF4C4C;
			}
		}
	}

	.btn {
		text-align: center;
		margin: 100rpx auto 0;
		width: 622rpx;
		height: 85rpx;
		background: #069CFA;
		border-radius: 15rpx;
		line-height: 85rpx;
		font-size: 32rpx;
		font-family: PingFang SC;
		font-weight: bold;
		color: #FFFFFF;
	}
</style>