@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.
Files changed (35) hide show
  1. package/dist/index.css +52 -45
  2. package/dist/index.min.css +1 -1
  3. package/es/index.css +52 -45
  4. package/es/index.d.ts +1 -1
  5. package/es/index.js +1 -1
  6. package/es/index.less +1 -1
  7. package/es/{mediaGridList → resourceGridList}/component.js +41 -30
  8. package/es/{mediaGridList → resourceGridList}/components/FileTypeThumb/index.js +1 -1
  9. package/es/resourceGridList/index.d.ts +2 -0
  10. package/es/{mediaGridList → resourceGridList}/index.js +2 -2
  11. package/es/{mediaGridList → resourceGridList}/style/FileTypeThumb.less +5 -4
  12. package/es/{mediaGridList → resourceGridList}/style/index.css +49 -43
  13. package/es/{mediaGridList → resourceGridList}/style/index.less +6 -0
  14. package/es/resourceModal/style/FileTypeThumb.less +3 -2
  15. package/es/resourceModal/style/index.css +3 -2
  16. package/lib/index.css +52 -45
  17. package/lib/index.js +2 -2
  18. package/lib/index.less +1 -1
  19. package/lib/{mediaGridList → resourceGridList}/component.js +40 -29
  20. package/lib/{mediaGridList → resourceGridList}/components/FileTypeThumb/index.js +1 -1
  21. package/lib/{mediaGridList → resourceGridList}/index.js +2 -2
  22. package/lib/{mediaGridList → resourceGridList}/style/FileTypeThumb.less +5 -4
  23. package/lib/{mediaGridList → resourceGridList}/style/index.css +49 -43
  24. package/lib/{mediaGridList → resourceGridList}/style/index.less +6 -0
  25. package/lib/resourceModal/style/FileTypeThumb.less +3 -2
  26. package/lib/resourceModal/style/index.css +3 -2
  27. package/package.json +1 -1
  28. package/es/mediaGridList/index.d.ts +0 -2
  29. /package/es/{mediaGridList → resourceGridList}/component.d.ts +0 -0
  30. /package/es/{mediaGridList → resourceGridList}/components/FileTypeThumb/index.d.ts +0 -0
  31. /package/es/{mediaGridList → resourceGridList}/style/css.js +0 -0
  32. /package/es/{mediaGridList → resourceGridList}/style/index.d.ts +0 -0
  33. /package/es/{mediaGridList → resourceGridList}/style/index.js +0 -0
  34. /package/lib/{mediaGridList → resourceGridList}/style/css.js +0 -0
  35. /package/lib/{mediaGridList → resourceGridList}/style/index.js +0 -0
package/es/index.css CHANGED
@@ -887,8 +887,9 @@
887
887
  }
888
888
  .file-type-thumb .tag {
889
889
  position: absolute;
890
- top: 8px;
891
- left: 5px;
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
- top: 8px;
3950
- left: 5px;
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(#000, #000, #000, 0.4);
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
  }
package/es/index.d.ts CHANGED
@@ -20,5 +20,5 @@ export { default as editMetaInfo } from './editMetaInfo';
20
20
  export { default as baseFilter } from './baseFilter';
21
21
  export { default as dataTags } from './dataTags';
22
22
  export { default as colorPalette } from './colorPalette';
23
- export { default as mediaGridList } from './mediaGridList';
23
+ export { default as resourceGridList } from './resourceGridList';
24
24
  export { default as mediaView } from './mediaView';
package/es/index.js CHANGED
@@ -20,5 +20,5 @@ export { default as editMetaInfo } from "./editMetaInfo/index.js";
20
20
  export { default as baseFilter } from "./baseFilter/index.js";
21
21
  export { default as dataTags } from "./dataTags/index.js";
22
22
  export { default as colorPalette } from "./colorPalette/index.js";
23
- export { default as mediaGridList } from "./mediaGridList/index.js";
23
+ export { default as resourceGridList } from "./resourceGridList/index.js";
24
24
  export { default as mediaView } from "./mediaView/index.js";
package/es/index.less CHANGED
@@ -20,5 +20,5 @@
20
20
  @import './baseFilter/style/index.less';
21
21
  @import './dataTags/style/index.less';
22
22
  @import './colorPalette/style/index.less';
23
- @import './mediaGridList/style/index.less';
23
+ @import './resourceGridList/style/index.less';
24
24
  @import './mediaView/style/index.less';
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, watch, openBlock, createBlock, unref, withCtx, createElementVNode, createCommentVNode, withDirectives, createElementBlock, Fragment, renderList, createVNode, toDisplayString, createTextVNode, vShow, normalizeClass } from "vue";
1
+ import { defineComponent, ref, watch, openBlock, createBlock, unref, withCtx, createElementVNode, createCommentVNode, withDirectives, createElementBlock, Fragment, renderList, createVNode, toDisplayString, createTextVNode, vShow, normalizeClass, renderSlot } from "vue";
2
2
  import { Scrollbar, Tooltip, Button } from "@arco-design/web-vue";
3
3
  import { IconDoubleDown, IconDoubleUp } from "@arco-iconbox/vue-cmstop-icons";
4
4
  import _sfc_main$2 from "../typeIcons/component.js";
@@ -17,28 +17,30 @@ const _hoisted_7 = { class: "wrap" };
17
17
  const _hoisted_8 = { class: "thumb" };
18
18
  const _hoisted_9 = { class: "folder-more-wrap" };
19
19
  const _hoisted_10 = { class: "file-list clearfix" };
20
- const _hoisted_11 = { class: "thumb-wrap" };
21
- const _hoisted_12 = /* @__PURE__ */ createElementVNode("div", { class: "transcoding-in-progress grid-mode" }, [
20
+ const _hoisted_11 = ["onClick"];
21
+ const _hoisted_12 = { class: "thumb-wrap" };
22
+ const _hoisted_13 = { class: "menu-wrap" };
23
+ const _hoisted_14 = /* @__PURE__ */ createElementVNode("div", { class: "transcoding-in-progress grid-mode" }, [
22
24
  /* @__PURE__ */ createElementVNode("div", { class: "transcoding-progress" }, "\u8F6C\u7801\u4E2D\u2026")
23
25
  ], -1);
24
- const _hoisted_13 = {
26
+ const _hoisted_15 = {
25
27
  key: 1,
26
28
  class: "load_more_title"
27
29
  };
28
- const _hoisted_14 = {
30
+ const _hoisted_16 = {
29
31
  key: 1,
30
32
  class: "nomore_tips"
31
33
  };
32
- const _hoisted_15 = {
34
+ const _hoisted_17 = {
33
35
  key: 2,
34
36
  class: "null-file"
35
37
  };
36
- const _hoisted_16 = /* @__PURE__ */ createElementVNode("p", null, "\u6682\u65E0\u7D20\u6750", -1);
37
- const _hoisted_17 = [
38
- _hoisted_16
38
+ const _hoisted_18 = /* @__PURE__ */ createElementVNode("p", null, "\u6682\u65E0\u7D20\u6750", -1);
39
+ const _hoisted_19 = [
40
+ _hoisted_18
39
41
  ];
40
42
  const _sfc_main = defineComponent({
41
- ...{ name: "mediaGridList" },
43
+ ...{ name: "resourceGridList" },
42
44
  __name: "component",
43
45
  props: {
44
46
  folderList: {},
@@ -46,11 +48,9 @@ const _sfc_main = defineComponent({
46
48
  fileListCount: {},
47
49
  isOver: { type: Boolean },
48
50
  showFolder: { type: Boolean },
49
- preview: { type: Boolean },
50
- changeDirectory: { type: Function },
51
- loadFileMore: { type: Function }
51
+ preview: { type: Boolean }
52
52
  },
53
- emits: ["confirm"],
53
+ emits: ["clickDir", "clickItem", "loadMore"],
54
54
  setup(__props, { emit: __emit }) {
55
55
  const props = __props;
56
56
  const isFold = ref(true);
@@ -65,11 +65,17 @@ const _sfc_main = defineComponent({
65
65
  { immediate: true }
66
66
  );
67
67
  const emit = __emit;
68
- const confirm = (itemData) => {
69
- selectedData.value = [itemData];
70
- emit("confirm", selectedData.value);
71
- };
72
68
  const selectedData = ref([]);
69
+ const _changeDirectory = (item) => {
70
+ emit("clickDir", item);
71
+ };
72
+ const _clickFileItem = (item) => {
73
+ selectedData.value = [item];
74
+ emit("clickItem", item);
75
+ };
76
+ const _loadFileMore = () => {
77
+ emit("loadMore");
78
+ };
73
79
  return (_ctx, _cache) => {
74
80
  return openBlock(), createBlock(unref(Scrollbar), { class: "media-grid-list-scroll" }, {
75
81
  default: withCtx(() => {
@@ -83,7 +89,7 @@ const _sfc_main = defineComponent({
83
89
  return openBlock(), createElementBlock("div", {
84
90
  key: index,
85
91
  class: "item folder-item",
86
- onClick: ($event) => _ctx.changeDirectory(item)
92
+ onClick: ($event) => _changeDirectory(item)
87
93
  }, [
88
94
  createElementVNode("div", _hoisted_4, [
89
95
  createVNode(unref(Tooltip), {
@@ -108,7 +114,7 @@ const _sfc_main = defineComponent({
108
114
  return openBlock(), createElementBlock("div", {
109
115
  key: index,
110
116
  class: "item folder-item",
111
- onClick: ($event) => _ctx.changeDirectory(item)
117
+ onClick: ($event) => _changeDirectory(item)
112
118
  }, [
113
119
  createElementVNode("div", _hoisted_7, [
114
120
  createVNode(unref(Tooltip), {
@@ -150,13 +156,14 @@ const _sfc_main = defineComponent({
150
156
  class: "item"
151
157
  }, [
152
158
  createElementVNode("div", {
153
- class: normalizeClass([{ active: selectedData.value.includes(item) }, "shadow-wrap"])
159
+ class: normalizeClass([{ active: selectedData.value.includes(item) }, "shadow-wrap"]),
160
+ onClick: ($event) => _clickFileItem(item)
154
161
  }, [
155
- createElementVNode("div", _hoisted_11, [
162
+ createElementVNode("div", _hoisted_12, [
156
163
  createVNode(_sfc_main$1, {
157
164
  "item-data": item,
158
165
  preview: _ctx.preview,
159
- onConfirm: confirm
166
+ onConfirm: _clickFileItem
160
167
  }, null, 8, ["item-data", "preview"])
161
168
  ]),
162
169
  createElementVNode("h4", null, [
@@ -179,6 +186,10 @@ const _sfc_main = defineComponent({
179
186
  }, 1032, ["content"])
180
187
  ]),
181
188
  createElementVNode("p", null, toDisplayString(unref(timeFormat)(item.updated_at)), 1),
189
+ createCommentVNode(" \u83DC\u5355\u63D2\u69FD "),
190
+ createElementVNode("div", _hoisted_13, [
191
+ renderSlot(_ctx.$slots, "menu", { item })
192
+ ]),
182
193
  createCommentVNode(" \u89C6\u9891\u8F6C\u7801\u8FDB\u5EA6 "),
183
194
  item.task ? (openBlock(), createBlock(unref(Tooltip), {
184
195
  key: 0,
@@ -188,33 +199,33 @@ const _sfc_main = defineComponent({
188
199
  placement: "bottom"
189
200
  }, {
190
201
  default: withCtx(() => [
191
- _hoisted_12
202
+ _hoisted_14
192
203
  ]),
193
204
  _: 1
194
205
  })) : createCommentVNode("v-if", true)
195
- ], 2)
206
+ ], 10, _hoisted_11)
196
207
  ]);
197
208
  }), 128))
198
209
  ]),
199
- _ctx.fileListCount ? (openBlock(), createElementBlock("div", _hoisted_13, [
210
+ _ctx.fileListCount ? (openBlock(), createElementBlock("div", _hoisted_15, [
200
211
  !_ctx.isOver ? (openBlock(), createBlock(unref(Button), {
201
212
  key: 0,
202
213
  class: "loadmore_tips",
203
214
  size: "small",
204
215
  type: "text",
205
- onClick: _ctx.loadFileMore
216
+ onClick: _loadFileMore
206
217
  }, {
207
218
  default: withCtx(() => [
208
219
  createTextVNode("\u52A0\u8F7D\u66F4\u591A\u2026 ")
209
220
  ]),
210
221
  _: 1
211
- }, 8, ["onClick"])) : (openBlock(), createElementBlock("div", _hoisted_14, "\u6CA1\u6709\u66F4\u591A\u4E86\u2026"))
222
+ })) : (openBlock(), createElementBlock("div", _hoisted_16, "\u6CA1\u6709\u66F4\u591A\u4E86\u2026"))
212
223
  ])) : createCommentVNode("v-if", true),
213
- !((_d = _ctx.fileList) == null ? void 0 : _d.length) && !((_e = _ctx.folderList) == null ? void 0 : _e.length) ? (openBlock(), createElementBlock("div", _hoisted_15, _hoisted_17)) : createCommentVNode("v-if", true)
224
+ !((_d = _ctx.fileList) == null ? void 0 : _d.length) && !((_e = _ctx.folderList) == null ? void 0 : _e.length) ? (openBlock(), createElementBlock("div", _hoisted_17, _hoisted_19)) : createCommentVNode("v-if", true)
214
225
  ])
215
226
  ];
216
227
  }),
217
- _: 1
228
+ _: 3
218
229
  });
219
230
  };
220
231
  }
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, openBlock, createElementBlock, Fragment
2
2
  import { Divider } from "@arco-design/web-vue";
3
3
  import { IconEye, IconPlus } from "@arco-design/web-vue/es/icon";
4
4
  import _sfc_main$1 from "../../../mediaView/component.js";
5
- const _hoisted_1 = { class: "file-type-thumb" };
5
+ const _hoisted_1 = { class: "resource-grid-file-type-thumb" };
6
6
  const _hoisted_2 = {
7
7
  key: 0,
8
8
  class: "rate-info-tag tag"
@@ -0,0 +1,2 @@
1
+ declare const resourceGridList: any;
2
+ export default resourceGridList;
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./component.js";
2
- const mediaGridList = Object.assign(_sfc_main, {
2
+ const resourceGridList = Object.assign(_sfc_main, {
3
3
  install: (app) => {
4
4
  app.component(_sfc_main.name, _sfc_main);
5
5
  }
6
6
  });
7
- export { mediaGridList as default };
7
+ export { resourceGridList as default };
@@ -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
- top: 8px;
63
- left: 5px;
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(#000, #000, #000, 0.4);
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
- top: 8px;
54
- left: 5px;
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(#000, #000, #000, 0.4);
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
  }