<style lang="scss" scoped>
	.recovery{
		&>.dateRange{
			display: flex;
			align-items: center;
			margin:30rpx;
			text{
				&.plant-youbian{
					display: flex;
					align-items: center;
					flex-direction: row-reverse;
					justify-content: space-between;
					background:#fff;
					height:48rpx;
					font-size:24rpx;
					color:#999;
					border-radius: 8rpx;
					padding:0 10rpx;
					min-width:226rpx;
					box-sizing: border-box;
					&:before{
						transform: rotate(90deg);
					}
				}
				&:nth-child(2){
					color:#999;
					padding:0 28rpx;
				}
			}
		}
		.card{
			display:flex;
			image{
				flex-shrink: 0;
				width:90rpx;
				height:90rpx;
				margin-right:20rpx;
			}
			.detail{
				flex-grow: 1;
				.name{
					display: flex;
					justify-content: space-between;
					margin-bottom:15rpx;
					text{
						&:first-child{
							font-weight: bold;
						}
						&:nth-child(2){
							font-weight: bold;
							font-size:32rpx;
							&:after{
								content:attr(data-unit);
								font-weight: normal;
							}
						}
					}
				}
				.info{
					font-size: 24rpx;
					color:#999;
				}
			}
		}
	}
</style>
<template>
	<view class="recovery">
		<view class="dateRange">
			<text class="plant-youbian">请选择开始时间</text>
			<text>~</text>
			<text class="plant-youbian">请选择结束时间</text>
		</view>

		<view class="card">
			<image mode="aspectFill" src="/static/logo.png"/>
			<view class="detail">
				<view class="name">
					<text>精品小黄瓜</text>
					<text data-unit="kg">200</text></view>
				<view class="info">
					<text>负责人：张召忠</text>
					<text>采收时间：2022-12-12</text>
				</view>
			</view>
		</view>
	</view>
</template>
<script>
export default {
	name:"recovery",
	data(){
		return{

		}
	}
}
</script>