<template>
	<view class="content">
		<view class="container">
			<view class="my-header">
				<view class="my-icons" @click="goback"> <uni-icons type="left" size="16"></uni-icons> </view>
				<view class="my-text">订单详情</view>
				<view class="my-icons"></view>
			</view>
			<view class="top-box">
				<view class="tiao"></view>
				<view class="t-top">
					<view class="top-icon">
						<uni-icons type="checkmarkempty" color="#ffffff" size="18"></uni-icons>

					</view>
					<view class="">
						<view class="title-lan">兑换成功</view>
						<view class="size-hui">商品正在路上，请耐心等待</view>
					</view>
				</view>

				<view class="t-b-box">
					<view class="goodsimg">
						<image src="../../static/imgs/xp.jpg" mode=""></image>
					</view>
					<view class="right-r-box">
						<view class="-title">商品名称</view>
						<view class="b-bt">
							<view class="h-size"> X1 </view>
							<view class="r-size"> 1000 积分 </view>
						</view>
					</view>
				</view>

			</view>

			<view class="d-box">
				<view class="t-top">订单信息</view>
				<view class="gang-box">
					<view class="left-size">订单编号</view>
					<view class="right-size">1325468751325468235</view>
				</view>
				<view class="gang-box">
					<view class="left-size">兑换时间</view>
					<view class="right-size">2023-03-24 12：00</view>
				</view>
				<view class="gang-box">
					<view class="left-size">所需积分</view>
					<view class="right-size">2000</view>
				</view>
			</view>
			<view class="d-box">
				<view class="t-top">物流信息</view>
				<u-steps current="1" direction="column">
					<u-steps-item title="已下单" desc="10:30">
					</u-steps-item>
					<u-steps-item title="已出库" desc="10:35">
					</u-steps-item>
					<u-steps-item title="运输中" desc="11:40"></u-steps-item>
				</u-steps>
			</view>


		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: '',


			}
		},

		components: {

		},
		methods: {
			goback() {
				uni.navigateBack()
			}
		}
	}
</script>

<style scoped lang="scss">
	.content {
		background: #f4f5f6;
	}

	.container {
		width: 100%;
		height: 100vh;
		box-sizing: border-box;
		padding-top: 88px;
	}

	.my-header {
		width: 100%;
		height: 88px;
		background: #ffffff;
		display: flex;
		align-items: center;
		justify-content: space-between;
		color: #000;
		box-sizing: border-box;
		padding: 0px 15px;
		padding-top: 40px;

		.my-icons {
			width: 20px;

		}

		position: fixed;
		top: 0px;
	}

	.top-box {
		width: 95%;

		box-sizing: border-box;
		background: #ffffff;
		border-radius: 6px;
		overflow: hidden;
		margin: 10px auto;

	}

	.tiao {
		width: 100%;
		height: 4px;
		background-color: #0082FC;
	}

	.t-top {
		width: 95%;
		box-sizing: border-box;
		margin: 0 auto;
		border-bottom: 1px solid #EEEEEE;
		padding: 10px 0px;
		display: flex;
		align-items: center;

	}

	.top-icon {
		width: 30px;
		height: 30px;
		border-radius: 50%;
		background-color: #0082FC;
		overflow: hidden;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #ffffff;
		margin-right: 10px;
	}

	.size-hui {
		font-size: 12px;
		color: #999999;
	}

	.title-lan {
		font-size: 20px;
		font-weight: bold;
		color: #0082FC;
		margin-bottom: 5px;
	}

	.t-b-box {
		width: 95%;
		box-sizing: border-box;
		margin: 0 auto;
		padding: 10px 0px;
		display: flex;
		justify-content: space-between;

	}

	.goodsimg {
		width: 90px;
		height: 90px;
		border-radius: 8px;
		overflow: hidden;

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

	.right-r-box {
		width: 70%;

	}

	.-title {
		font-size: 16px;
		font-weight: bold;
		margin-bottom: 50px;
	}

	.b-bt {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.h-size {
		font-size: 14px;
		color: #999999;
	}

	.r-size {
		font-size: 14px;
		font-weight: bold;
		color: #FB3524;
	}

	.d-box {
		width: 95%;
		border-radius: 8px;
		background: #ffffff;
		box-sizing: border-box;
		padding: 10px;
		margin: 10px auto;
	}

	.gang-box {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		box-sizing: border-box;
		padding: 10px;
	}

	.left-size {
		color: #666666;
	}

	.right-size {
		color: #333333;
	}
</style>