<!--
 * @Author: ch
 * @Date: 2022-04-14 14:19:41
 * @LastEditors: ch
 * @LastEditTime: 2022-04-22 19:24:49
 * @Description: file content
-->
<template>
	<UiWhiteBox>
		<view class="title">寄件信息</view>
		<view class="info">
			<view class="info--cell">
				<text class="info--cell-label">收货信息：</text>
				<view class="info--cell-value">
					<view class="recipient">{{data.recipientName}} {{data.recipientPhone}}</view>
					<view class="recipient">{{data.recipientAddress}}</view>
				</view>
			</view>
			<view class="info--cell">
				<text class="info--cell-label">物流公司：</text>
				<view class="info--cell-value">{{data.companyName}}</view>
			</view>
			<view class="info--cell">
				<text class="info--cell-label">物流单号：</text>
				<view class="info--cell-value">{{data.trackingNo}}</view>
			</view>
			<view class="info--cell">
				<text class="info--cell-label">备注说明：</text>
				<view class="info--cell-value">{{data.completeReturnRemark}}</view>
			</view>
		</view>
	</UiWhiteBox>
</template>
<script>
import UiWhiteBox from '../../../../../components/UiWhiteBox.vue'
export default {
	components: { UiWhiteBox },
	props: {
		data : {
			type : Object,
			default : () => ({})
		}
	}
	
}
</script>
<style lang="scss" scoped>
.title{
	height: 100rpx;
	line-height: 100rpx;
	padding-left: 30rpx;
	border-bottom: 1px solid $color-grey2;
}
.info{
	padding: 0 30rpx 10rpx;
	&--cell{
		margin: 30rpx 0;
		display: flex;
		justify-content: space-between;
	}
	&--cell-label{
		color: $color-grey4;
		font-size: $font-size-sm;
	}
	&--cell-value{
		font-size: $font-size-sm;
		color: $color-grey5;
		text-align: right;
		max-width: 500rpx;
		word-wrap: break-word;
		word-break: normal;
	}
}
.recipient{
	color: $color-grey5;
	font-size: $font-size-sm;
	margin-bottom: 10rpx;
}
</style>