@cmstops/pro-compo 0.3.24 → 0.3.26
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/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 +41 -30
- 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/index.css +52 -45
- package/lib/index.js +2 -2
- package/lib/index.less +1 -1
- package/lib/{mediaGridList → resourceGridList}/component.js +40 -29
- 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
package/dist/index.css
CHANGED
|
@@ -887,8 +887,9 @@
|
|
|
887
887
|
}
|
|
888
888
|
.file-type-thumb .tag {
|
|
889
889
|
position: absolute;
|
|
890
|
-
|
|
891
|
-
|
|
890
|
+
display: flex;
|
|
891
|
+
align-items: center;
|
|
892
|
+
justify-content: center;
|
|
892
893
|
padding: 2px 8px;
|
|
893
894
|
color: white;
|
|
894
895
|
font-size: 12px;
|
|
@@ -3894,14 +3895,14 @@
|
|
|
3894
3895
|
padding: 0 2px;
|
|
3895
3896
|
border: none;
|
|
3896
3897
|
}
|
|
3897
|
-
.file-type-thumb {
|
|
3898
|
+
.resource-grid-file-type-thumb {
|
|
3898
3899
|
position: relative;
|
|
3899
3900
|
width: 100%;
|
|
3900
3901
|
}
|
|
3901
|
-
.file-type-thumb:hover .mask {
|
|
3902
|
+
.resource-grid-file-type-thumb:hover .mask {
|
|
3902
3903
|
display: flex;
|
|
3903
3904
|
}
|
|
3904
|
-
.file-type-thumb .mask {
|
|
3905
|
+
.resource-grid-file-type-thumb .mask {
|
|
3905
3906
|
position: absolute;
|
|
3906
3907
|
top: 0;
|
|
3907
3908
|
display: none;
|
|
@@ -3913,56 +3914,57 @@
|
|
|
3913
3914
|
font-size: 18px;
|
|
3914
3915
|
background: rgba(0, 0, 0, 0.3);
|
|
3915
3916
|
}
|
|
3916
|
-
.file-type-thumb .mask i {
|
|
3917
|
+
.resource-grid-file-type-thumb .mask i {
|
|
3917
3918
|
display: inline-block;
|
|
3918
3919
|
cursor: pointer;
|
|
3919
3920
|
}
|
|
3920
|
-
.file-type-thumb .mask i:active {
|
|
3921
|
+
.resource-grid-file-type-thumb .mask i:active {
|
|
3921
3922
|
opacity: 0.4;
|
|
3922
3923
|
}
|
|
3923
|
-
.file-type-thumb .mask .half {
|
|
3924
|
+
.resource-grid-file-type-thumb .mask .half {
|
|
3924
3925
|
display: flex;
|
|
3925
3926
|
align-items: center;
|
|
3926
3927
|
justify-content: center;
|
|
3927
3928
|
width: 48%;
|
|
3928
3929
|
height: 100%;
|
|
3929
3930
|
}
|
|
3930
|
-
.file-type-thumb .mask .half:hover {
|
|
3931
|
+
.resource-grid-file-type-thumb .mask .half:hover {
|
|
3931
3932
|
cursor: pointer;
|
|
3932
3933
|
opacity: 0.7;
|
|
3933
3934
|
}
|
|
3934
|
-
.file-type-thumb .mask .el-divider {
|
|
3935
|
+
.resource-grid-file-type-thumb .mask .el-divider {
|
|
3935
3936
|
margin: 0;
|
|
3936
3937
|
opacity: 0.4;
|
|
3937
3938
|
}
|
|
3938
|
-
.file-type-thumb .transparent {
|
|
3939
|
+
.resource-grid-file-type-thumb .transparent {
|
|
3939
3940
|
position: absolute;
|
|
3940
3941
|
top: 0;
|
|
3941
3942
|
width: 100%;
|
|
3942
3943
|
height: 100%;
|
|
3943
3944
|
}
|
|
3944
|
-
.file-type-thumb .transparent:hover {
|
|
3945
|
+
.resource-grid-file-type-thumb .transparent:hover {
|
|
3945
3946
|
cursor: pointer;
|
|
3946
3947
|
}
|
|
3947
|
-
.file-type-thumb .tag {
|
|
3948
|
+
.resource-grid-file-type-thumb .tag {
|
|
3948
3949
|
position: absolute;
|
|
3949
|
-
|
|
3950
|
-
|
|
3950
|
+
display: flex;
|
|
3951
|
+
align-items: center;
|
|
3952
|
+
justify-content: center;
|
|
3951
3953
|
padding: 2px 8px;
|
|
3952
3954
|
color: white;
|
|
3953
3955
|
font-size: 12px;
|
|
3954
|
-
background-color: rgba(
|
|
3956
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
3955
3957
|
border-radius: 12px;
|
|
3956
3958
|
}
|
|
3957
|
-
.file-type-thumb .rate-info-tag {
|
|
3959
|
+
.resource-grid-file-type-thumb .rate-info-tag {
|
|
3958
3960
|
top: 8px;
|
|
3959
3961
|
left: 5px;
|
|
3960
3962
|
}
|
|
3961
|
-
.file-type-thumb .ai-tag {
|
|
3963
|
+
.resource-grid-file-type-thumb .ai-tag {
|
|
3962
3964
|
top: 8px;
|
|
3963
3965
|
right: 5px;
|
|
3964
3966
|
}
|
|
3965
|
-
.file-type-thumb .pic {
|
|
3967
|
+
.resource-grid-file-type-thumb .pic {
|
|
3966
3968
|
width: 100%;
|
|
3967
3969
|
padding-top: 56.25%;
|
|
3968
3970
|
background-color: #fff;
|
|
@@ -3972,83 +3974,83 @@
|
|
|
3972
3974
|
background-position: top;
|
|
3973
3975
|
background-size: cover;
|
|
3974
3976
|
}
|
|
3975
|
-
.file-type-thumb .pic:hover {
|
|
3977
|
+
.resource-grid-file-type-thumb .pic:hover {
|
|
3976
3978
|
transform: scale(1.02);
|
|
3977
3979
|
transition: ease-out 0.4s;
|
|
3978
3980
|
}
|
|
3979
|
-
.file-type-thumb .audio {
|
|
3981
|
+
.resource-grid-file-type-thumb .audio {
|
|
3980
3982
|
background-image: url('../assets/images/music.png') !important;
|
|
3981
3983
|
}
|
|
3982
|
-
.file-type-thumb .audio.doc {
|
|
3984
|
+
.resource-grid-file-type-thumb .audio.doc {
|
|
3983
3985
|
background-image: url('../assets/images/draf.png') !important;
|
|
3984
3986
|
}
|
|
3985
|
-
.file-type-thumb .project {
|
|
3987
|
+
.resource-grid-file-type-thumb .project {
|
|
3986
3988
|
background-image: url('../assets/images/project1.png') !important;
|
|
3987
3989
|
}
|
|
3988
|
-
.file-type-thumb .doc {
|
|
3990
|
+
.resource-grid-file-type-thumb .doc {
|
|
3989
3991
|
background-image: url('../assets/images/draf.png');
|
|
3990
3992
|
}
|
|
3991
|
-
.file-type-thumb .link {
|
|
3993
|
+
.resource-grid-file-type-thumb .link {
|
|
3992
3994
|
background-image: url('../assets/images/link.png');
|
|
3993
3995
|
}
|
|
3994
|
-
.file-type-thumb .sp_topic {
|
|
3996
|
+
.resource-grid-file-type-thumb .sp_topic {
|
|
3995
3997
|
background-image: url('../assets/images/link.png');
|
|
3996
3998
|
}
|
|
3997
|
-
.file-type-thumb .live {
|
|
3999
|
+
.resource-grid-file-type-thumb .live {
|
|
3998
4000
|
background-image: url('../assets/images/live.png');
|
|
3999
4001
|
}
|
|
4000
|
-
.file-type-thumb .pdf {
|
|
4002
|
+
.resource-grid-file-type-thumb .pdf {
|
|
4001
4003
|
background-image: url('../assets/images/pdf.png') !important;
|
|
4002
4004
|
}
|
|
4003
|
-
.file-type-thumb .officeexcel {
|
|
4005
|
+
.resource-grid-file-type-thumb .officeexcel {
|
|
4004
4006
|
background-image: url('../assets/images/excel.png') !important;
|
|
4005
4007
|
}
|
|
4006
|
-
.file-type-thumb .officeppt {
|
|
4008
|
+
.resource-grid-file-type-thumb .officeppt {
|
|
4007
4009
|
background-image: url('../assets/images/ppt.png') !important;
|
|
4008
4010
|
}
|
|
4009
|
-
.file-type-thumb .zip {
|
|
4011
|
+
.resource-grid-file-type-thumb .zip {
|
|
4010
4012
|
background-image: url('../assets/images/zip.png') !important;
|
|
4011
4013
|
}
|
|
4012
|
-
.file-type-thumb .rar {
|
|
4014
|
+
.resource-grid-file-type-thumb .rar {
|
|
4013
4015
|
background-image: url('../assets/images/rar.png') !important;
|
|
4014
4016
|
}
|
|
4015
|
-
.file-type-thumb .txt {
|
|
4017
|
+
.resource-grid-file-type-thumb .txt {
|
|
4016
4018
|
background-image: url('../assets/images/txt.png') !important;
|
|
4017
4019
|
}
|
|
4018
|
-
.file-type-thumb .exe {
|
|
4020
|
+
.resource-grid-file-type-thumb .exe {
|
|
4019
4021
|
background-image: url('../assets/images/exe.png') !important;
|
|
4020
4022
|
}
|
|
4021
|
-
.file-type-thumb .html {
|
|
4023
|
+
.resource-grid-file-type-thumb .html {
|
|
4022
4024
|
background-image: url('../assets/images/html.png') !important;
|
|
4023
4025
|
}
|
|
4024
|
-
.file-type-thumb .officedoc {
|
|
4026
|
+
.resource-grid-file-type-thumb .officedoc {
|
|
4025
4027
|
background-image: url('../assets/images/word.png') !important;
|
|
4026
4028
|
}
|
|
4027
|
-
.file-type-thumb .wechat {
|
|
4029
|
+
.resource-grid-file-type-thumb .wechat {
|
|
4028
4030
|
background-image: url('../assets/images/wechat.png') !important;
|
|
4029
4031
|
}
|
|
4030
|
-
.file-type-thumb .h5 {
|
|
4032
|
+
.resource-grid-file-type-thumb .h5 {
|
|
4031
4033
|
background-image: url('../assets/images/h5.png') !important;
|
|
4032
4034
|
}
|
|
4033
|
-
.file-type-thumb .ad {
|
|
4035
|
+
.resource-grid-file-type-thumb .ad {
|
|
4034
4036
|
background-image: url('../assets/images/ad.png') !important;
|
|
4035
4037
|
}
|
|
4036
|
-
.file-type-thumb .booklink {
|
|
4038
|
+
.resource-grid-file-type-thumb .booklink {
|
|
4037
4039
|
background-image: url('../assets/images/booklink.png') !important;
|
|
4038
4040
|
}
|
|
4039
|
-
.file-type-thumb .activity {
|
|
4041
|
+
.resource-grid-file-type-thumb .activity {
|
|
4040
4042
|
background-image: url('../assets/images/activity.png') !important;
|
|
4041
4043
|
}
|
|
4042
|
-
.file-type-thumb .svideo {
|
|
4044
|
+
.resource-grid-file-type-thumb .svideo {
|
|
4043
4045
|
background-image: url('../assets/images/svideo.png') !important;
|
|
4044
4046
|
}
|
|
4045
|
-
.file-type-thumb .cloud_lottery {
|
|
4047
|
+
.resource-grid-file-type-thumb .cloud_lottery {
|
|
4046
4048
|
background-image: url('../assets/images/cloud_lottery.png') !important;
|
|
4047
4049
|
}
|
|
4048
|
-
.file-type-thumb .cloud_form {
|
|
4050
|
+
.resource-grid-file-type-thumb .cloud_form {
|
|
4049
4051
|
background-image: url('../assets/images/cloud_form.png') !important;
|
|
4050
4052
|
}
|
|
4051
|
-
.file-type-thumb .illegal-media-warning {
|
|
4053
|
+
.resource-grid-file-type-thumb .illegal-media-warning {
|
|
4052
4054
|
position: absolute;
|
|
4053
4055
|
top: 0;
|
|
4054
4056
|
width: 100%;
|
|
@@ -4228,6 +4230,11 @@
|
|
|
4228
4230
|
line-height: 1em;
|
|
4229
4231
|
opacity: 0.65;
|
|
4230
4232
|
}
|
|
4233
|
+
.media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap .menu-wrap {
|
|
4234
|
+
position: absolute;
|
|
4235
|
+
right: 10px;
|
|
4236
|
+
bottom: 10px;
|
|
4237
|
+
}
|
|
4231
4238
|
.media-grid-list-scroll .file-wrap .file-list::after {
|
|
4232
4239
|
height: 50px;
|
|
4233
4240
|
}
|