|
|
<template>
|
|
|
<template functional>
|
|
|
<div class="assets-record-container">
|
|
|
<div class='assets-record-info-detail-view'>
|
|
|
<div class='assets-record-left-view'>
|
|
|
<div class='assets-record-middle-view'>
|
|
|
<span class='assets-record-code-txt'>{{data.productName}}<span class="size">(尺码:{{data.sizeName}})</span></span>
|
|
|
<span class='assets-record-time-txt'>{{data.time}}</span>
|
|
|
<span class='assets-record-code-txt'>{{props.data.productName}}<span class="size">(尺码:{{props.data.sizeName}})</span></span>
|
|
|
<span class='assets-record-time-txt'>{{props.data.time}}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class='assets-record-right-view'>
|
|
|
<span class='assets-record-income-txt'>{{data.price}}</span>
|
|
|
<span class='assets-record-income-tip-txt'>{{data.normalFlag ? '' : '打款失败'}}</span>
|
|
|
<span class='assets-record-income-desc'>{{data.tradeTypeDesc}}</span>
|
|
|
<span class='assets-record-income-txt'>{{props.data.price}}</span>
|
|
|
<span class='assets-record-income-tip-txt'>{{props.data.normalFlag ? '' : '打款失败'}}</span>
|
|
|
<span class='assets-record-income-desc'>{{props.data.tradeTypeDesc}}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
|
|
|
export default {
|
|
|
name: 'income-item',
|
|
|
props: {
|
|
|
data: {
|
|
|
type: Object,
|
|
|
default: {}
|
|
|
}
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
|
|
|
};
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
.assets-record-container {
|
|
|
display: flex;
|
...
|
...
|
|