<style lang="scss">
	.container{
		min-height: 100%;
		background:#f6f6f6;
		padding:30rpx 0;
		.card{
			margin-top:0;
			&>.head{
				display:flex;
				align-items: center;
				border-bottom: 2rpx solid #D8D8D8;
				padding-bottom:20rpx;
				text{
					&:first-child{
						flex-shrink: 0;
						color:#10C176;
						margin-right:20rpx;
					}
					&:nth-child(2){
						flex-grow: 1;
						color:#10C176;
					}
					&:nth-child(3){
						flex-shrink: 0;
						color:#FBB65C;
						margin-left:10rpx;
					}
				}
			}
			&>.plant-youbian{
				margin-top:20rpx;
				display:flex;
				flex-direction: row-reverse;
				align-items: center;
				justify-content: flex-end;
				text{
					flex-grow: 1;
					font-weight: bold;
					display:flex;
					align-items: center;
					&:after{
						content:"("attr(data-unit)")";
						font-size:20rpx;
						color:#999;
						margin-left:6rpx;
					}
				}
			}
			&>.company{
				margin-top:12rpx;
				display: flex;
				align-items: center;
				justify-content: space-between;
				text{
					&:first-child{
						font-size:24rpx;
						color:#999;
					}
					&:nth-child(2){
						color:#10C176;
					}
				}
			}
		}
	}
</style>
<template>
	<view class="container">
		<view class="card" @click="$u.route({url:'pages/stock/goods_detail'})">
			<view class="head">
				<text class="plant-rili"/> <text>批次号：A23366683</text> <text>领用出库</text>
			</view>
			<view class="plant-youbian"> <text data-unit="100kg/袋">中量元素水溶肥</text> </view>
			<view class="company">
				<text>云南云天化股份有限公司</text> <text>2袋(共200kg)</text>
			</view>
		</view>
	</view>
</template>
<script>
export default {
	data(){
		return{

		}
	}
}
</script>