incomeItem.vue
2.07 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
80
81
82
83
84
85
86
87
88
89
90
<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'>{{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'>{{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>
<style lang="scss" scoped>
.assets-record-container {
display: flex;
flex-direction: column;
justify-content: space-between;
border-bottom: solid 1px #E0E0E0;
}
.assets-record-info-detail-view {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
height: 160px;
padding-top: 30px;
padding-bottom: 30px;
}
.assets-record-left-view {
display: flex;
flex-direction: row;
align-items: center;
}
.assets-record-middle-view {
display: flex;
flex-direction: column;
margin-left: 20px;
}
.assets-record-right-view {
display: flex;
flex-direction: column;
align-items: center;
min-width: 120px;
}
.assets-record-image-style {
width: 48px;
height: 48px;
}
.assets-record-code-txt {
font-size: 28px;
color: #000000;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
text-overflow: ellipsis;
overflow: hidden;
}
.size {
display: inline-block;
}
.assets-record-time-txt {
font-size: 22px;
color: #999999;
margin-top: 12px;
}
.assets-record-income-txt {
font-weight: bold;
font-size: 28px;
color: #000;
}
.assets-record-income-tip-txt {
font-size: 20px;
color: #D0021B;
display: inline-block;
height: 40px;
line-height: 40px;
}
.assets-record-income-desc {
color: #999;
font-size: 22px;
}
</style>