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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
.desc {
color: rgba(10, 10, 10, 1);
font-size: 28rpx;
line-height: 48rpx;
margin-top: 10rpx;
}
.file-list {
border: 1rpx solid rgba(10, 10, 10, 0.14);
border-radius: 16rpx;
border-radius: 16rpx;
padding: 24rpx 22rpx 0 22rpx;
margin-top: 16rpx;
}
.file-list>.file-box {
position: relative;
padding-left: 70rpx;
margin-bottom: 24rpx;
height: 64rpx;
}
.file-box-close {
padding-right: 70rpx;
}
.file-box>.file-icon {
position: absolute;
width: 50rpx;
height: 64rpx;
left: 0rpx;
top: 0rpx;
background: url(../../assests/all.png) center /100% 100%;
}
.file-box>.file-title {
font-size: 28rpx;
color: rgba(25, 31, 37, 1);
display: flex;
line-height: 38rpx;
max-width: calc(100% - 100rpx);
overflow: hidden
}
.file-box>.iconfont {
font-size: 40rpx;
color: rgba(25, 31, 37, 0.4);
position: absolute;
right: 0;
top: 10rpx;
}
.file-box>.file-title>text:first-child {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.file-box>.file-title>text:last-child {
white-space: nowrap;
}
.file-box>.file-size {
color: rgba(25, 31, 37, 0.56);
font-size: 24rpx;
line-height: 36rpx;
}
.file-box-mask {
background: rgba(10, 10, 10, 0.08);
position: relative;
}
.btns-pop {
padding: 0;
display: flex;
color: white;
height: 57rpx;
border-radius: 6px;
background: rgba(0, 0, 0, 0.8);
position: absolute;
z-index: 9;
top: -73rpx;
left: 50%;
}
.btns-pop>view {
width: 95rpx;
line-height: 57rpx;
text-align: center;
font-size: 26rpx;
}
.edit {
border-right: 1rpx solid #fff;
}
.btns-pop .triangle {
position: absolute;
bottom: -31rpx;
width: 0;
left: 50%;
margin-left: -16rpx;
height: 0;
border-top: 16rpx solid rgba(0, 0, 0, 0.8);
border-bottom: 16rpx solid rgba(0, 0, 0, 0);
border-right: 16rpx solid rgba(0, 0, 0, 0);
border-left: 16rpx solid rgba(0, 0, 0, 0);
}
.pdf {
background: url(../../assests/pdf.png) center /100% 100% !important;
}
.png, .jpg, .svg, .jpeg, .picture {
background: url(../../assests/image.png) center /100% 100% !important;
}
.docx, .txt, .doc, .pages, .wps, .file {
background: url(../../assests/docx.png) center /100% 100% !important;
}
.mov, .mp4 {
background: url(../../assests/mp4.png) center /100% 100% !important;
}
.pptx, .ppt, .key {
background: url(../../assests/mp4.png) center /100% 100% !important;
}
.xlsx, .numbers {
background: url(../../assests/xlsx.png) center /100% 100% !important;
}
.zip, .rar {
background: url(../../assests/zip.png) center /100% 100% !important;
}
.file-showName {
position: absolute;
right: 0px;
bottom: -8rpx;
font-size: 24rpx;
}