<template>
	<view>
		<!-- topbar -->
		<u-navbar title="退款详情" bgColor="#d43030" :titleStyle="{ color: '#FFF'}" :autoBack="true" placeholder>
			<view class="u-nav-slot" slot="left">
				<u-icon name="arrow-left" color="#fff" size="19"></u-icon>
			</view>
		</u-navbar>
		<!-- 进度box -->
		<view class="m-l-24 m-r-24 m-t-24 p-24 bg-w rad8 boxshadow">
			<view class="m-b-24 borderBDas flex msb mub">
				<view class="fb fz36 l-h-18">{{ order.refund_status !== "主动退"?"买家申请":"卖家取消订单" }}</view>
			</view>
			<!-- <process :processList="processList"></process> -->
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				order_sn: '', //订单号
			}
		},
		onLoad(options) {
			this.order_sn = options.order_sn // 从提交订单页面传递过来的订单号	
		},
		methods: {

		},
		computed: {
			//订单
			order() {
				if (this.order_sn) {
					return this.$store.state.orderList.find(item => item.order_sn === this.order_sn)
				} else {
					return null
				}
			},
		}
	}
</script>

<style lang="scss" scoped>

</style>