#
luxiaotao1123
2022-03-02 aaf2e5aed7df2d082935cf91a538a037557c368e
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
/* 文件列表item */
.file-choose-list-item {
    position: relative;
    display: inline-block;
    vertical-align: top;
    padding: 8px 8px;
    margin: 5px 0;
    cursor: pointer;
}
 
.file-choose-list-item:hover {
    background-color: #F7F7F7;
}
 
/* 文件列表图片 */
.file-choose-list-item-img {
    width: 90px;
    height: 90px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    background-color: #eee;
}
 
.file-choose-list-item-img.img-icon {
    background-size: inherit;
    background-color: transparent;
}
 
.file-choose-list-item.active .file-choose-list-item-img:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
}
 
/* 文件列表名称 */
.file-choose-list-item-name {
    width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
    font-size: 12px;
    text-align: center;
    margin-top: 12px;
}
 
/* 文件列表复选框 */
.file-choose-list-item-ck {
    position: absolute;
    right: 8px;
    top: 8px;
}
 
.file-choose-list-item-ck .layui-form-checkbox {
    padding: 0;
}
 
/* 文件列表操作菜单 */
.file-choose-oper-menu {
    background-color: #fff;
    position: absolute;
    left: 8px;
    top: 8px;
    border-radius: 2px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, .15);
    transition: all .3s;
    overflow: hidden;
    transform: scale(0);
    transform-origin: left top;
    visibility: hidden;
}
 
.file-choose-oper-menu.show {
    transform: scale(1);
    visibility: visible;
}
 
/* 文件列表操作菜单item */
.file-choose-oper-menu-item {
    color: #555;
    padding: 6px 5px;
    font-size: 14px;
    min-width: 70px;
    text-align: center;
    cursor: pointer;
    display: block;
}
 
.file-choose-oper-menu-item:hover {
    background-color: #eee;
}
 
/** 文件列表为空时样式 */
.file-choose-empty {
    text-align: center;
    color: #999;
    padding: 50px 0;
}
 
.file-choose-empty .layui-icon {
    font-size: 60px;
    display: block;
    margin-bottom: 8px;
}