<template>
	<view class="content">
		<view class="top"></view>
		<view class="title">
			<view class="title-item flex">
				<view class="title-title">
					产品名称：
				</view>
				<view class="title-font">
					豆豆鞋
				</view>
			</view>
			<view class="xian"></view>
			<view class="title-item flex">
				<view class="title-title">
					货号：
				</view>
				<view class="title-font">
					1425115654456
				</view>
			</view>
			<view class="xian"></view>
			<view class="title-item flex">
				<view class="title-title">
					图片：
				</view>
				<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 class="xian"></view>
			<view class="title-item flex">
				<view class="title-title">
					领取日期：
				</view>
				<view class="title-font">
					2022年10月30日
				</view>
			</view>
		</view>
		<view class="main" v-for="(item,index) in 10">
			<view class="main-top">
				<image class="main-icon" src="../../static/icon/order.png" mode=""></image>
				<view class="main-font">
					规格{{index + 1 }}
				</view>
			</view>
			<view class="xian"></view>
			<view class="main-bottom flex">
				<view class="num">
					颜色：
				</view>
				<view class="main-input red">
					黄色
				</view>
			</view>
			<view class="xian"></view>
			<view class="main-bottom flex">
				<view class="num">
					尺码：
				</view>
				<view class="main-input red">
					37码
				</view>
			</view>
			<view class="xian"></view>
			<view class="main-bottom flex">
				<view class="num">
					领取数量：
				</view>
				<view class="main-input red">
					253
				</view>
			</view>
			<view class="xian"></view>
			<view class="main-bottom flex">
				<view class="num">
					已提交数量：
				</view>
				<view class="main-input red">
					253
				</view>
			</view>
			<view class="xian"></view>
			<view class="main-bottom">
				<view class="num">
					<text class="gray">工序:</text>(下料,20件,￥100)(下料,20件,￥100)(下料,20件,￥100)(下料,20件,￥100)
				</view>
				<view class="title-money">
					总计:<text class="red">￥500</text>
					<image class="jt" src="../../static/img/jt.png" mode=""></image>
				</view>
			</view>
		</view>
		<view class="all flex">
			<view class="all-font">
				总计金额：
			</view>
			<view class="all-num">
				￥1000
			</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;
		background: #ffffff;
	}

	.top {
		height: 20rpx;
		width: 750rpx;
		background: #f8f8f8;
	}

	.xian {
		width: 100%;
		height: 2rpx;
		background: #EAECED;
	}

	.title {
		width: 700rpx;
		background: #FFFFFF;
		border: 2px solid #EAECED;
		box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(50, 50, 52, 0.06);
		border-radius: 20rpx;
		margin: 20rpx auto 0;
		padding: 0 24rpx;

		.title-item {
			padding: 24rpx 6rpx;

			.title-title {
				font-size: 28rpx;
				font-family: PingFang SC;
				font-weight: 500;
				color: #666666;
			}

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

			.main-price {
				width: 480rpx;

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

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

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

	.main {
		margin: 20rpx auto 0;
		padding: 0 20rpx;
		width: 700rpx;
		background: #FFFFFF;
		border: 2px solid #EAECED;
		box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(50, 50, 52, 0.06);
		border-radius: 20rpx;

		.main-top {
			display: flex;
			align-items: center;
			padding: 16rpx 0;
			border-bottom: 1px solid #EAECED;

			.main-icon {
				width: 32rpx;
				height: 37rpx;
			}

			.main-font {
				margin-left: 10rpx;
				font-size: 30rpx;
				font-family: PingFang SC;
				font-weight: bold;
				color: #333333;
			}
		}

		.main-bottom {
			padding: 20rpx 0;

			.num {
				font-size: 28rpx;
				font-family: PingFang SC;
				font-weight: 500;
				color: #333333;

				.gray {
					color: #666666;
				}
			}

			.main-input {
				text-align: right;
				font-size: 28rpx;
				font-family: PingFang SC;
				font-weight: 500;
				color: #999999;
			}

			.red {
				color: #FF4C4C;
			}
		}

		.title-money {
			text-align: right;
			font-size: 28rpx;
			font-family: PingFang SC;
			font-weight: bold;
			color: #333333;

			.red {
				display: inline-block;
				margin: 0 20rpx;
				color: #FF4C4C;
			}

			.jt {
				width: 13rpx;
				height: 20rpx;
			}
		}
	}

	.all {
		margin: 20rpx auto 0;
		padding: 20rpx;
		width: 700rpx;
		background: #FFFFFF;
		border: 2px solid #EAECED;
		box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(50, 50, 52, 0.06);
		border-radius: 20rpx;

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

		.all-num {
			font-size: 32rpx;
			font-family: PingFang SC;
			font-weight: bold;
			color: #FF4C4C;
		}
	}
</style>