<template>
	<view class="task-item">
		<view class="task-head">
			<view class="sn-box">单据编号：CGDD00000000692</view>
			<view class="tips tips-red">待拣货</view>
		</view>
		<view class="task-line">
			<view>客户名称：</view>
			<view>快马阳光便利店</view>
		</view>
		<view class="task-line">
			<view>客户名称：</view>
			<view>快马阳光便利店</view>
		</view>
		<view class="task-line">
			<view class="task-line2">
				<view>货物总数：</view>
				<view class="task-num">55件</view>
			</view>
			<view class="task-line2">
				<view>货物种类：</view>
				<view class="task-num">55件</view>
			</view>
		</view>
		<view class="task-bottom">
			<view class="btn-1">去出库</view>
		</view>
	</view>
</template>

<script>
	export default{
		props:{
			item:{
				type:Object,
				default:()=>{}
			}
		},
		data() {
			return{
				
			}
		}
	}
</script>

<style lang="scss" scoped>
	.task-item {
		width: 100%;
		background-color: #fff;
		border-radius: 16rpx;
		padding: 24rpx 24rpx 0;
		margin-bottom: 24rpx;
		.task-head {
			display: flex;
			align-items: center;
			justify-content: space-between;
			.sn-box {
				color: #333;
				font-family: "PingFang SC";
				font-size: 28rpx;
				font-weight: 500;
			}
			.tips {
				font-family: "PingFang SC";
				font-size: 22rpx;
				font-weight: 400;
				width: 120rpx;
				height: 44rpx;
				border-radius: 8rpx;
				display: flex;
				align-items: center;
				justify-content: center;
			}
			.tips-red {
				color: #FF3B1D;
				background-color: #fff;
				background: rgba(255, 59, 29, 0.20);
			}
		}
	
		.task-line {
			display: flex;
			align-items: center;
			color: #666;
			font-family: "PingFang SC";
			font-size: 28rpx;
			font-weight: 400;
			margin-top: 16rpx;
		}
		.task-line2 {
			width: 50%;
			display: flex;
			align-items: center;
			.task-num {
				color: #0256FF;;
			}
		}
	
		.task-bottom {
			border-top: 1px solid #F0F0F0;
			margin-top: 32rpx;
			height: 104rpx;
			display: flex;
			align-items: center;
			justify-content: flex-end;
			.btn-1 {
				width: 144rpx;
				height: 56rpx;
				border-radius: 8rpx;
				background: #0256FF;
				color: #FFF;
				font-family: "PingFang SC";
				font-size: 28rpx;
				display: flex;
				align-items: center;
				justify-content: center;
			}
		}
	}
</style>