You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shop-app/pages/order/saleAfter/saleAfterDetail/components/LogisticsInfo.vue

76 lines
1.7 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!--
* @Author: ch
* @Date: 2022-04-14 14:19:41
* @LastEditors: ch
* @LastEditTime: 2022-04-18 18:14:30
* @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;
}
}
.recipient{
color: $color-grey5;
font-size: $font-size-sm;
margin-bottom: 10rpx;
}
</style>