platform-fee-info.vue
1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<template>
<div class="platform-fee-info-wrapper">
<div class="price-info">
<p class="price-item">
<span>{{ platformFeeInfo.appraiseFeeDesc }}</span>
<span>{{ platformFeeInfo.appraiseFee }}</span>
</p>
<p class="price-item">
<span>{{ platformFeeInfo.packageFeeDesc }}</span>
<span>{{ platformFeeInfo.packageFee }}</span>
</p>
<p class="price-item">
<span
>{{ platformFeeInfo.serviceFeeDesc }} ({{
platformFeeInfo.payChannelPercentage
}})</span
>
<span>{{ platformFeeInfo.serviceFee }}</span>
</p>
</div>
</div>
</template>
<script>
export default {
props: {
platformFeeInfo: {
type: Object,
default: function() {
return {};
}
}
}
};
</script>
<style lang="scss" scoped>
.platform-fee-info-wrapper {
display: flex;
padding: 0 40px;
color: #000;
.confrim-info {
font-size: 28px;
text-align: center;
flex: 1;
span {
color: #d0021b;
}
& > :first-child,
& > :last-child {
color: #000;
padding-left: 10px;
}
// p {
// display: inline-block;
// text-align: left;
// max-width: 100%;
// }
}
.price-info {
flex: 1;
.price-item {
display: flex;
justify-content: space-between;
.penalty {
color: #d0021b;
}
}
}
}
</style>