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/GoodsInfo.vue

78 lines
1.9 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-13 17:59:48
* @LastEditors: ch
* @LastEditTime: 2022-04-13 18:45:43
* @Description: file content
-->
<template>
<UiWhiteBox>
<text class="title">退款信息</text>
<UiGoodsInfo class="goods-info" :data="data.refundProduct"></UiGoodsInfo>
<view class="info">
<view class="info--cell">
<text class="info--cell-label">退款原因</text>
<view class="info--cell-value">{{data.refundReason}}</view>
</view>
<view class="info--cell">
<text class="info--cell-label">退款金额</text>
<view class="info--cell-value">{{data.refundAmount}}</view>
</view>
<view class="info--cell">
<text class="info--cell-label">申请件款</text>
<view class="info--cell-value">{{data.refundProduct.quantity}}</view>
</view>
<view class="info--cell">
<text class="info--cell-label">申请时间</text>
<view class="info--cell-value">{{data.applyTime}}</view>
</view>
<view class="info--cell">
<text class="info--cell-label">退款编号</text>
<view class="info--cell-value">{{data.refundNo}}</view>
</view>
</view>
</UiWhiteBox>
</template>
<script>
import UiWhiteBox from '@/components/UiWhiteBox.vue'
import UiGoodsInfo from '@/components/UiGoodsInfo.vue'
import UiCell from '@/components/UiCell.vue'
export default {
components: { UiWhiteBox, UiGoodsInfo, UiCell },
props : {
data : {
type : Object,
default : ()=>({})
}
}
}
</script>
<style lang="scss" scoped>
.title{
display: block;
height: 100rpx;
line-height: 100rpx;
padding-left: 30rpx;
border-bottom: 1px solid $color-grey2;
}
.goods-info{
border:0
}
.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;
}
}
</style>