

<template>
	<view class="addres">
		<view>{{Status.addressSnapshot.name}}</view>
		<view>{{Status.addressSnapshot.phone}}</view>
		<view>{{Status.addressSnapshot.region}}</view>
		<view>{{Status.addressSnapshot.detailAddress}}</view>
	</view>
	<view>订单编号：{{Status.orderNumber}}</view>
	<view>{{Status.orderStatus}}</view>
	<view v-for="i in Status.orderItemList" :key="i" >
		 <image :src="i.goodSnapshot.goodImg" style="height: 50px;width: 50px;"></image>
	</view> 
	 <view v-for="i in Status.orderItemList" :key="i" >
		{{i.goodSnapshot.name}}
	</view> 
	<view v-for="i in Status.orderItemList" :key="i" >
		{{i.goodSnapshot.type}}
	</view> 
	<view v-for="i in Status.orderItemList" :key="i" >
		{{i.goodSnapshot.price}}
	</view> 
	<view v-if="Status.orderStatus==='待支付'" >去支付</view>
	<view v-if="Status.orderStatus==='待发货'" >取消订单</view>
	<view v-if="Status.orderStatus==='已发货'" >确认收货</view>
	<view v-if="Status.orderStatus==='售后'" >售后详情</view>
</template>

<script setup>
import {onMounted, ref} from 'vue'
import { onLoad } from "@dcloudio/uni-app";
const Status = ref({})
console.log(Status.value,34)
onLoad((options) => {
  Status.value = JSON.parse(options.info);
  console.log(Status.value,111)
   console.log(Status.value.orderStatus,222)
})
</script>

<style>
</style>