<template>
	<view>
		<view class="cmain">
			<view class="box order_detail" style="margin-top: 0px">
				<u-divider text="订单信息"></u-divider>
				<view class="item" style="padding-top: 0px">
					<text class="label">订单编号</text>
					<text class="desc">13454334567</text>
				</view>
				<view class="item">
					<text class="label">申报单号</text>
					<text class="desc">13454334567</text>
				</view>
				<view class="item">
					<text class="label">商家名称</text>
					<text class="desc">胡椒粉</text>
				</view>
				<view class="item">
					<text class="label">联系号码</text>
					<text class="desc">元/kg</text>
				</view>
				<view class="item">
					<text class="label">商品名称</text>
					<text class="desc">元/kg</text>
				</view>
				<view class="item">
					<text class="label">计价单位</text>
					<text class="desc">元/kg</text>
				</view>
				<view class="item">
					<text class="label">净重</text>
					<text class="desc">34吨</text>
				</view>
				<view class="item">
					<text class="label">毛重</text>
					<text class="desc">35吨</text>
				</view>
				<view class="item">
					<text class="label">价格</text>
					<text class="desc">400000元</text>
				</view>
				<view class="item">
					<text class="label">边民</text>
					<text class="desc" @click="members()">查看</text>
				</view>
				<view class="item">
					<text class="label">发布时间</text>
					<text class="desc">2023-07-20 11:38</text>
				</view>
				<view class="item">
					<text class="label">下单时间</text>
					<text class="desc">2023-07-20 11:38</text>
				</view>
				<view class="item">
					<text class="label">购买边民组</text>
					<text class="desc">貔貅互助组</text>
				</view>
				<view class="item">
					<text class="label">确认时间</text>
					<text class="desc">2023-07-20 11:38</text>
				</view>
				<view class="item">
					<text class="label">进境时间</text>
					<text class="desc">2023-07-20 11:38</text>
				</view>
				<view class="item">
					<text class="label">进口时间</text>
					<text class="desc">2023-07-20 11:38</text>
				</view>
				<view class="item">
					<text class="label">出互市区时间</text>
					<text class="desc">2023-07-20 11:38</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			item: {}
		};
	},
	onLoad(e) {
		if (e.id) {
			this.http.request({
				url: '/level-one-server/app/TbOrder/getById?id=' + e.id,
				success: res => {
					this.item = res.data.data;
					console.log('asd:' + JSON.stringify(res));
				}
			});
		}
	},
	methods: {
		//查看边民
		members() {
			uni.navigateTo({
				url: '/pages/market/one/leader/members'
			});
		}
	}
};
</script>

<style lang="scss">
page {
	background-color: $pg;
}
</style>
