@cmstops/pro-compo 0.3.23 → 0.3.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +52 -45
- package/dist/index.min.css +1 -1
- package/es/contentDetailList/components/Content/index.js +4 -1
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +58 -32
- package/es/editMetaInfo/components/metaInfoForm.js +57 -23
- package/es/index.css +52 -45
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.less +1 -1
- package/es/{mediaGridList → resourceGridList}/component.js +39 -25
- package/es/{mediaGridList → resourceGridList}/components/FileTypeThumb/index.js +1 -1
- package/es/resourceGridList/index.d.ts +2 -0
- package/es/{mediaGridList → resourceGridList}/index.js +2 -2
- package/es/{mediaGridList → resourceGridList}/style/FileTypeThumb.less +5 -4
- package/es/{mediaGridList → resourceGridList}/style/index.css +49 -43
- package/es/{mediaGridList → resourceGridList}/style/index.less +6 -0
- package/es/resourceModal/style/FileTypeThumb.less +3 -2
- package/es/resourceModal/style/index.css +3 -2
- package/lib/contentDetailList/components/Content/index.js +4 -1
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +55 -29
- package/lib/editMetaInfo/components/metaInfoForm.js +57 -23
- package/lib/index.css +52 -45
- package/lib/index.js +2 -2
- package/lib/index.less +1 -1
- package/lib/{mediaGridList → resourceGridList}/component.js +38 -24
- package/lib/{mediaGridList → resourceGridList}/components/FileTypeThumb/index.js +1 -1
- package/lib/{mediaGridList → resourceGridList}/index.js +2 -2
- package/lib/{mediaGridList → resourceGridList}/style/FileTypeThumb.less +5 -4
- package/lib/{mediaGridList → resourceGridList}/style/index.css +49 -43
- package/lib/{mediaGridList → resourceGridList}/style/index.less +6 -0
- package/lib/resourceModal/style/FileTypeThumb.less +3 -2
- package/lib/resourceModal/style/index.css +3 -2
- package/package.json +1 -1
- package/es/mediaGridList/index.d.ts +0 -2
- /package/es/{mediaGridList → resourceGridList}/component.d.ts +0 -0
- /package/es/{mediaGridList → resourceGridList}/components/FileTypeThumb/index.d.ts +0 -0
- /package/es/{mediaGridList → resourceGridList}/style/css.js +0 -0
- /package/es/{mediaGridList → resourceGridList}/style/index.d.ts +0 -0
- /package/es/{mediaGridList → resourceGridList}/style/index.js +0 -0
- /package/lib/{mediaGridList → resourceGridList}/style/css.js +0 -0
- /package/lib/{mediaGridList → resourceGridList}/style/index.js +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var component = require("./component.js");
|
|
3
|
-
const
|
|
3
|
+
const resourceGridList = Object.assign(component, {
|
|
4
4
|
install: (app) => {
|
|
5
5
|
app.component(component.name, component);
|
|
6
6
|
}
|
|
7
7
|
});
|
|
8
|
-
module.exports =
|
|
8
|
+
module.exports = resourceGridList;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.file-type-thumb {
|
|
1
|
+
.resource-grid-file-type-thumb {
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
|
|
@@ -59,12 +59,13 @@
|
|
|
59
59
|
|
|
60
60
|
.tag {
|
|
61
61
|
position: absolute;
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: center;
|
|
64
65
|
padding: 2px 8px;
|
|
65
66
|
color: white;
|
|
66
67
|
font-size: 12px;
|
|
67
|
-
background-color: rgba(
|
|
68
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
68
69
|
border-radius: 12px;
|
|
69
70
|
}
|
|
70
71
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
.file-type-thumb {
|
|
1
|
+
.resource-grid-file-type-thumb {
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
}
|
|
5
|
-
.file-type-thumb:hover .mask {
|
|
5
|
+
.resource-grid-file-type-thumb:hover .mask {
|
|
6
6
|
display: flex;
|
|
7
7
|
}
|
|
8
|
-
.file-type-thumb .mask {
|
|
8
|
+
.resource-grid-file-type-thumb .mask {
|
|
9
9
|
position: absolute;
|
|
10
10
|
top: 0;
|
|
11
11
|
display: none;
|
|
@@ -17,56 +17,57 @@
|
|
|
17
17
|
font-size: 18px;
|
|
18
18
|
background: rgba(0, 0, 0, 0.3);
|
|
19
19
|
}
|
|
20
|
-
.file-type-thumb .mask i {
|
|
20
|
+
.resource-grid-file-type-thumb .mask i {
|
|
21
21
|
display: inline-block;
|
|
22
22
|
cursor: pointer;
|
|
23
23
|
}
|
|
24
|
-
.file-type-thumb .mask i:active {
|
|
24
|
+
.resource-grid-file-type-thumb .mask i:active {
|
|
25
25
|
opacity: 0.4;
|
|
26
26
|
}
|
|
27
|
-
.file-type-thumb .mask .half {
|
|
27
|
+
.resource-grid-file-type-thumb .mask .half {
|
|
28
28
|
display: flex;
|
|
29
29
|
align-items: center;
|
|
30
30
|
justify-content: center;
|
|
31
31
|
width: 48%;
|
|
32
32
|
height: 100%;
|
|
33
33
|
}
|
|
34
|
-
.file-type-thumb .mask .half:hover {
|
|
34
|
+
.resource-grid-file-type-thumb .mask .half:hover {
|
|
35
35
|
cursor: pointer;
|
|
36
36
|
opacity: 0.7;
|
|
37
37
|
}
|
|
38
|
-
.file-type-thumb .mask .el-divider {
|
|
38
|
+
.resource-grid-file-type-thumb .mask .el-divider {
|
|
39
39
|
margin: 0;
|
|
40
40
|
opacity: 0.4;
|
|
41
41
|
}
|
|
42
|
-
.file-type-thumb .transparent {
|
|
42
|
+
.resource-grid-file-type-thumb .transparent {
|
|
43
43
|
position: absolute;
|
|
44
44
|
top: 0;
|
|
45
45
|
width: 100%;
|
|
46
46
|
height: 100%;
|
|
47
47
|
}
|
|
48
|
-
.file-type-thumb .transparent:hover {
|
|
48
|
+
.resource-grid-file-type-thumb .transparent:hover {
|
|
49
49
|
cursor: pointer;
|
|
50
50
|
}
|
|
51
|
-
.file-type-thumb .tag {
|
|
51
|
+
.resource-grid-file-type-thumb .tag {
|
|
52
52
|
position: absolute;
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
justify-content: center;
|
|
55
56
|
padding: 2px 8px;
|
|
56
57
|
color: white;
|
|
57
58
|
font-size: 12px;
|
|
58
|
-
background-color: rgba(
|
|
59
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
59
60
|
border-radius: 12px;
|
|
60
61
|
}
|
|
61
|
-
.file-type-thumb .rate-info-tag {
|
|
62
|
+
.resource-grid-file-type-thumb .rate-info-tag {
|
|
62
63
|
top: 8px;
|
|
63
64
|
left: 5px;
|
|
64
65
|
}
|
|
65
|
-
.file-type-thumb .ai-tag {
|
|
66
|
+
.resource-grid-file-type-thumb .ai-tag {
|
|
66
67
|
top: 8px;
|
|
67
68
|
right: 5px;
|
|
68
69
|
}
|
|
69
|
-
.file-type-thumb .pic {
|
|
70
|
+
.resource-grid-file-type-thumb .pic {
|
|
70
71
|
width: 100%;
|
|
71
72
|
padding-top: 56.25%;
|
|
72
73
|
background-color: #fff;
|
|
@@ -76,83 +77,83 @@
|
|
|
76
77
|
background-position: top;
|
|
77
78
|
background-size: cover;
|
|
78
79
|
}
|
|
79
|
-
.file-type-thumb .pic:hover {
|
|
80
|
+
.resource-grid-file-type-thumb .pic:hover {
|
|
80
81
|
transform: scale(1.02);
|
|
81
82
|
transition: ease-out 0.4s;
|
|
82
83
|
}
|
|
83
|
-
.file-type-thumb .audio {
|
|
84
|
+
.resource-grid-file-type-thumb .audio {
|
|
84
85
|
background-image: url('../assets/images/music.png') !important;
|
|
85
86
|
}
|
|
86
|
-
.file-type-thumb .audio.doc {
|
|
87
|
+
.resource-grid-file-type-thumb .audio.doc {
|
|
87
88
|
background-image: url('../assets/images/draf.png') !important;
|
|
88
89
|
}
|
|
89
|
-
.file-type-thumb .project {
|
|
90
|
+
.resource-grid-file-type-thumb .project {
|
|
90
91
|
background-image: url('../assets/images/project1.png') !important;
|
|
91
92
|
}
|
|
92
|
-
.file-type-thumb .doc {
|
|
93
|
+
.resource-grid-file-type-thumb .doc {
|
|
93
94
|
background-image: url('../assets/images/draf.png');
|
|
94
95
|
}
|
|
95
|
-
.file-type-thumb .link {
|
|
96
|
+
.resource-grid-file-type-thumb .link {
|
|
96
97
|
background-image: url('../assets/images/link.png');
|
|
97
98
|
}
|
|
98
|
-
.file-type-thumb .sp_topic {
|
|
99
|
+
.resource-grid-file-type-thumb .sp_topic {
|
|
99
100
|
background-image: url('../assets/images/link.png');
|
|
100
101
|
}
|
|
101
|
-
.file-type-thumb .live {
|
|
102
|
+
.resource-grid-file-type-thumb .live {
|
|
102
103
|
background-image: url('../assets/images/live.png');
|
|
103
104
|
}
|
|
104
|
-
.file-type-thumb .pdf {
|
|
105
|
+
.resource-grid-file-type-thumb .pdf {
|
|
105
106
|
background-image: url('../assets/images/pdf.png') !important;
|
|
106
107
|
}
|
|
107
|
-
.file-type-thumb .officeexcel {
|
|
108
|
+
.resource-grid-file-type-thumb .officeexcel {
|
|
108
109
|
background-image: url('../assets/images/excel.png') !important;
|
|
109
110
|
}
|
|
110
|
-
.file-type-thumb .officeppt {
|
|
111
|
+
.resource-grid-file-type-thumb .officeppt {
|
|
111
112
|
background-image: url('../assets/images/ppt.png') !important;
|
|
112
113
|
}
|
|
113
|
-
.file-type-thumb .zip {
|
|
114
|
+
.resource-grid-file-type-thumb .zip {
|
|
114
115
|
background-image: url('../assets/images/zip.png') !important;
|
|
115
116
|
}
|
|
116
|
-
.file-type-thumb .rar {
|
|
117
|
+
.resource-grid-file-type-thumb .rar {
|
|
117
118
|
background-image: url('../assets/images/rar.png') !important;
|
|
118
119
|
}
|
|
119
|
-
.file-type-thumb .txt {
|
|
120
|
+
.resource-grid-file-type-thumb .txt {
|
|
120
121
|
background-image: url('../assets/images/txt.png') !important;
|
|
121
122
|
}
|
|
122
|
-
.file-type-thumb .exe {
|
|
123
|
+
.resource-grid-file-type-thumb .exe {
|
|
123
124
|
background-image: url('../assets/images/exe.png') !important;
|
|
124
125
|
}
|
|
125
|
-
.file-type-thumb .html {
|
|
126
|
+
.resource-grid-file-type-thumb .html {
|
|
126
127
|
background-image: url('../assets/images/html.png') !important;
|
|
127
128
|
}
|
|
128
|
-
.file-type-thumb .officedoc {
|
|
129
|
+
.resource-grid-file-type-thumb .officedoc {
|
|
129
130
|
background-image: url('../assets/images/word.png') !important;
|
|
130
131
|
}
|
|
131
|
-
.file-type-thumb .wechat {
|
|
132
|
+
.resource-grid-file-type-thumb .wechat {
|
|
132
133
|
background-image: url('../assets/images/wechat.png') !important;
|
|
133
134
|
}
|
|
134
|
-
.file-type-thumb .h5 {
|
|
135
|
+
.resource-grid-file-type-thumb .h5 {
|
|
135
136
|
background-image: url('../assets/images/h5.png') !important;
|
|
136
137
|
}
|
|
137
|
-
.file-type-thumb .ad {
|
|
138
|
+
.resource-grid-file-type-thumb .ad {
|
|
138
139
|
background-image: url('../assets/images/ad.png') !important;
|
|
139
140
|
}
|
|
140
|
-
.file-type-thumb .booklink {
|
|
141
|
+
.resource-grid-file-type-thumb .booklink {
|
|
141
142
|
background-image: url('../assets/images/booklink.png') !important;
|
|
142
143
|
}
|
|
143
|
-
.file-type-thumb .activity {
|
|
144
|
+
.resource-grid-file-type-thumb .activity {
|
|
144
145
|
background-image: url('../assets/images/activity.png') !important;
|
|
145
146
|
}
|
|
146
|
-
.file-type-thumb .svideo {
|
|
147
|
+
.resource-grid-file-type-thumb .svideo {
|
|
147
148
|
background-image: url('../assets/images/svideo.png') !important;
|
|
148
149
|
}
|
|
149
|
-
.file-type-thumb .cloud_lottery {
|
|
150
|
+
.resource-grid-file-type-thumb .cloud_lottery {
|
|
150
151
|
background-image: url('../assets/images/cloud_lottery.png') !important;
|
|
151
152
|
}
|
|
152
|
-
.file-type-thumb .cloud_form {
|
|
153
|
+
.resource-grid-file-type-thumb .cloud_form {
|
|
153
154
|
background-image: url('../assets/images/cloud_form.png') !important;
|
|
154
155
|
}
|
|
155
|
-
.file-type-thumb .illegal-media-warning {
|
|
156
|
+
.resource-grid-file-type-thumb .illegal-media-warning {
|
|
156
157
|
position: absolute;
|
|
157
158
|
top: 0;
|
|
158
159
|
width: 100%;
|
|
@@ -332,6 +333,11 @@
|
|
|
332
333
|
line-height: 1em;
|
|
333
334
|
opacity: 0.65;
|
|
334
335
|
}
|
|
336
|
+
.media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap .menu-wrap {
|
|
337
|
+
position: absolute;
|
|
338
|
+
right: 10px;
|
|
339
|
+
bottom: 10px;
|
|
340
|
+
}
|
|
335
341
|
.media-grid-list-scroll .file-wrap .file-list::after {
|
|
336
342
|
height: 50px;
|
|
337
343
|
}
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|