<template>
	<view class="content">
		<view class="main">
			<view class="main-item" v-for="(item,index) in 10">
				<view class="main-title flex">
					<view class="title">
						黄色,37码,数量3
					</view>
					<view class="type" v-if="index%2==0">
						合格
					</view>
					<view class="type1" v-else>
						报废
					</view>
				</view>
				<view class="main-info flex">
					<scroll-view scroll-x="true" class="main-price">
						<view class="image-box">
							<view class="image-item" v-for="(itm,ind) in 10">
								<image src="../../static/img/user-item2.png" mode=""></image>
							</view>
						</view>
					</scroll-view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {};
		},
		onLoad() {},
		onShow() {},
		onReachBottom() {},
		onReady() {},
		methods: {}
	};
</script>

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

	.main {
		padding-bottom: 100rpx;
	}

	.main-item {
		width: 700rpx;
		background: #FFFFFF;
		border-radius: 24rpx;
		margin: 20rpx auto 0;
		padding: 28rpx 16rpx;

		.main-title {
			padding: 0 14rpx 30rpx 10rpx;
			border-bottom: 1px solid #fafafa;

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

			.type {
				font-size: 30rpx;
				font-family: PingFang SC;
				font-weight: bold;
				color: #999999;
			}

			.type1 {
				font-size: 30rpx;
				font-family: PingFang SC;
				font-weight: bold;
				color: #FF4C4C;
			}
		}

		.main-info {
			padding: 20rpx 14rpx;

			.main-price {
				width: 100%;

				.image-box {
					display: flex;
					align-items: center;

					.image-item {
						margin-left: 10rpx;
						width: 110rpx;
						height: 110rpx;
						flex-shrink: 0;

						image {
							width: 100%;
							height: 100%;
						}
					}
				}
			}

		}
	}
</style>