<template>
	<view class="therecontent flex-between">
		<view class="therecontent_box_item" v-for="item in 2" :key="item">
			<view class="therecontent_box_imge flex-between" :style="item&&item">
				<view class="therecontent_box_imge_text">
					今日上新
				</view>
				<view class="therecontent_box_imge_right flex-start">
					<view>
						10点更新
					</view>
					<u-icon name="arrow-right" color="#666666" size="16"></u-icon>
				</view>
			</view>
			<view class="therecontent_box_itembox">
				<view class="therecontent_box_itembox_item flex-between" v-for="item in 2" :key="item">
					<image src="@/static/avatar.png" mode="aspectFill"></image>
					<view class="therecontent_box_itembox_itemview">
						<view class="therecontent_box_itembox_itemviewone">
							书亦烧仙草新品书亦烧仙草新品亦烧仙草新品
						</view>
						<view class="therecontent_box_itembox_itemviewtow flex-start">
							<image src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/index/xia.png"
								mode="widthFix"></image>
							<view>
								8折
							</view>
						</view>
						<view class="therecontent_box_itembox_itemviewthere flex-start">
							<text>￥15.00</text>
							<text>￥18.00</text>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {};
		},
	};
</script>

<style scoped lang="scss">
	.therecontent {
		padding: 0 28rpx;
		background: #F9F9F9;
	
		.therecontent_box_item {
			width: 336rpx;
			border-radius: 18rpx;
			background: #FFFFFF;
	
			.therecontent_box_itembox {
				padding: 10rpx 18rpx 24rpx 24rpx;
	
				.therecontent_box_itembox_item {
					margin-top: 20rpx;
	
					image {
						width: 114rpx;
						height: 136rpx;
						border-radius: 10rpx;
					}
	
					.therecontent_box_itembox_itemview {
						margin-left: 12rpx;
	
						.therecontent_box_itembox_itemviewone {
							width: 168rpx;
							height: 68rpx;
							font-family: Source Han Sans CN, Source Han Sans CN;
							font-weight: 400;
							font-size: 24rpx;
							color: #333333;
							overflow: hidden;
							text-overflow: ellipsis;
							display: -webkit-box;
							-webkit-box-orient: vertical;
							-webkit-line-clamp: 2;
						}
	
						.therecontent_box_itembox_itemviewtow {
							margin-top: 8rpx;
							width: 60rpx;
							padding: 4rpx 10rpx;
							background: #FFFFFF;
							border-radius: 4rpx;
							border: 2rpx solid #FF7127;
	
							image {
								width: 9.74rpx;
								height: 13.51rpx;
							}
	
							view {
								font-family: Source Han Sans CN, Source Han Sans CN;
								font-weight: bold;
								font-size: 16rpx;
								color: #FF7127;
							}
						}
	
						.therecontent_box_itembox_itemviewthere {
							margin-top: 4rpx;
	
							text:nth-child(1) {
								font-family: Source Han Sans CN, Source Han Sans CN;
								font-weight: 500;
								font-size: 24rpx;
								color: #FF7127;
							}
	
							text:nth-child(2) {
								font-family: Source Han Sans CN, Source Han Sans CN;
								font-weight: 500;
								font-size: 16rpx;
								color: #999999;
								text-decoration-line: line-through;
							}
						}
					}
				}
	
				.therecontent_box_itembox_item:nth-child(1) {
					margin-top: 0;
				}
			}
	
			.therecontent_box_imge {
				padding: 24rpx 16rpx 6rpx 24rpx;
				background: url(https://czg-qr-order.oss-cn-beijing.aliyuncs.com/index/towcontent_box1.png) no-repeat;
				width: 100%;
				height: 70rpx;
				background-size: cover;
	
				.therecontent_box_imge_text {
					font-family: Source Han Sans CN, Source Han Sans CN;
					font-weight: bold;
					font-size: 28rpx;
					color: #333333;
				}
	
				.therecontent_box_imge_right {
					font-family: Source Han Sans CN, Source Han Sans CN;
					font-weight: 500;
					font-size: 24rpx;
					color: #666666;
				}
			}
	
			.therecontent_box_imge:nth-child(2) {
				background: url(https://czg-qr-order.oss-cn-beijing.aliyuncs.com/index/towcontent_box2.png) no-repeat;
			}
		}
	}
	
	
</style>