@cmstops/pro-compo 0.3.18 → 0.3.19

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 (79) hide show
  1. package/dist/index.css +467 -39
  2. package/dist/index.min.css +1 -1
  3. package/es/colorPalette/style/index.css +10 -10
  4. package/es/colorPalette/style/index.less +29 -25
  5. package/es/index.css +467 -39
  6. package/es/index.d.ts +2 -0
  7. package/es/index.js +2 -0
  8. package/es/index.less +2 -0
  9. package/es/mediaGridList/component.d.ts +0 -0
  10. package/es/mediaGridList/component.js +222 -0
  11. package/es/mediaGridList/components/FileTypeThumb/index.d.ts +0 -0
  12. package/es/mediaGridList/components/FileTypeThumb/index.js +127 -0
  13. package/es/mediaGridList/index.d.ts +2 -0
  14. package/es/mediaGridList/index.js +7 -0
  15. package/es/mediaGridList/style/FileTypeThumb.less +204 -0
  16. package/es/mediaGridList/style/css.js +1 -0
  17. package/es/mediaGridList/style/index.css +364 -0
  18. package/es/mediaGridList/style/index.d.ts +1 -0
  19. package/es/mediaGridList/style/index.js +1 -0
  20. package/es/mediaGridList/style/index.less +230 -0
  21. package/es/mediaView/component.d.ts +0 -0
  22. package/es/mediaView/component.js +65 -0
  23. package/es/mediaView/index.d.ts +2 -0
  24. package/es/mediaView/index.js +7 -0
  25. package/es/mediaView/style/css.js +1 -0
  26. package/es/mediaView/style/index.css +64 -0
  27. package/es/mediaView/style/index.d.ts +1 -0
  28. package/es/mediaView/style/index.js +1 -0
  29. package/es/mediaView/style/index.less +71 -0
  30. package/es/resourceModal/components/MediaPreviewer/index.js +1 -1
  31. package/es/resourceModal/components/MediaSelection/MainContent/index.js +2 -2
  32. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +1 -1
  33. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +1 -1
  34. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +1 -1
  35. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +1 -1
  36. package/es/resourceModal/style/FileTypeThumb.less +26 -26
  37. package/es/resourceModal/style/MainContent.less +3 -3
  38. package/es/resourceModal/style/SystemResourceSelected.less +1 -1
  39. package/es/resourceModal/style/index.css +29 -29
  40. package/es/uploadBefore/script/fileTypeAdapter.d.ts +1 -1
  41. package/lib/colorPalette/style/index.css +10 -10
  42. package/lib/colorPalette/style/index.less +29 -25
  43. package/lib/index.css +467 -39
  44. package/lib/index.js +4 -0
  45. package/lib/index.less +2 -0
  46. package/lib/mediaGridList/component.js +223 -0
  47. package/lib/mediaGridList/components/FileTypeThumb/index.js +128 -0
  48. package/lib/mediaGridList/index.js +8 -0
  49. package/lib/mediaGridList/style/FileTypeThumb.less +204 -0
  50. package/lib/mediaGridList/style/css.js +2 -0
  51. package/lib/mediaGridList/style/index.css +364 -0
  52. package/lib/mediaGridList/style/index.js +2 -0
  53. package/lib/mediaGridList/style/index.less +230 -0
  54. package/lib/mediaView/component.js +66 -0
  55. package/lib/mediaView/index.js +8 -0
  56. package/lib/mediaView/style/css.js +2 -0
  57. package/lib/mediaView/style/index.css +64 -0
  58. package/lib/mediaView/style/index.js +2 -0
  59. package/lib/mediaView/style/index.less +71 -0
  60. package/lib/resourceModal/components/MediaPreviewer/index.js +1 -1
  61. package/lib/resourceModal/components/MediaSelection/MainContent/index.js +2 -2
  62. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +1 -1
  63. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +1 -1
  64. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +1 -1
  65. package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +1 -1
  66. package/lib/resourceModal/style/FileTypeThumb.less +26 -26
  67. package/lib/resourceModal/style/MainContent.less +3 -3
  68. package/lib/resourceModal/style/SystemResourceSelected.less +1 -1
  69. package/lib/resourceModal/style/index.css +29 -29
  70. package/package.json +1 -1
  71. /package/es/{resourceModal/assets → assets}/images/sys_load_more.js +0 -0
  72. /package/es/{resourceModal/assets → assets}/images/unknown.js +0 -0
  73. /package/es/{resourceModal/assets → assets}/selection/null.js +0 -0
  74. /package/es/{resourceModal/script → utils}/filter.d.ts +0 -0
  75. /package/es/{resourceModal/script → utils}/filter.js +0 -0
  76. /package/lib/{resourceModal/assets → assets}/images/sys_load_more.js +0 -0
  77. /package/lib/{resourceModal/assets → assets}/images/unknown.js +0 -0
  78. /package/lib/{resourceModal/assets → assets}/selection/null.js +0 -0
  79. /package/lib/{resourceModal/script → utils}/filter.js +0 -0
@@ -0,0 +1,222 @@
1
+ import { defineComponent, ref, watch, openBlock, createBlock, unref, withCtx, createElementVNode, createCommentVNode, withDirectives, createElementBlock, Fragment, renderList, createVNode, toDisplayString, createTextVNode, vShow, normalizeClass } from "vue";
2
+ import { Scrollbar, Tooltip, Button } from "@arco-design/web-vue";
3
+ import { IconDoubleDown, IconDoubleUp } from "@arco-iconbox/vue-cmstop-icons";
4
+ import _sfc_main$2 from "../typeIcons/component.js";
5
+ import _sfc_main$1 from "./components/FileTypeThumb/index.js";
6
+ import { timeFormat } from "../utils/filter.js";
7
+ const _hoisted_1 = { class: "file-wrap" };
8
+ const _hoisted_2 = {
9
+ key: 0,
10
+ class: "folder-list clearfix"
11
+ };
12
+ const _hoisted_3 = ["onClick"];
13
+ const _hoisted_4 = { class: "wrap" };
14
+ const _hoisted_5 = { class: "thumb" };
15
+ const _hoisted_6 = ["onClick"];
16
+ const _hoisted_7 = { class: "wrap" };
17
+ const _hoisted_8 = { class: "thumb" };
18
+ const _hoisted_9 = { class: "folder-more-wrap" };
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" }, [
22
+ /* @__PURE__ */ createElementVNode("div", { class: "transcoding-progress" }, "\u8F6C\u7801\u4E2D\u2026")
23
+ ], -1);
24
+ const _hoisted_13 = {
25
+ key: 1,
26
+ class: "load_more_title"
27
+ };
28
+ const _hoisted_14 = {
29
+ key: 1,
30
+ class: "nomore_tips"
31
+ };
32
+ const _hoisted_15 = {
33
+ key: 2,
34
+ class: "null-file"
35
+ };
36
+ const _hoisted_16 = /* @__PURE__ */ createElementVNode("p", null, "\u6682\u65E0\u7D20\u6750", -1);
37
+ const _hoisted_17 = [
38
+ _hoisted_16
39
+ ];
40
+ const _sfc_main = defineComponent({
41
+ ...{ name: "mediaGridList" },
42
+ __name: "component",
43
+ props: {
44
+ folderList: {},
45
+ fileList: {},
46
+ fileListCount: {},
47
+ isOver: { type: Boolean },
48
+ showFolder: { type: Boolean },
49
+ preview: { type: Boolean },
50
+ changeDirectory: { type: Function },
51
+ loadFileMore: { type: Function }
52
+ },
53
+ emits: ["confirm"],
54
+ setup(__props, { emit: __emit }) {
55
+ const props = __props;
56
+ const isFold = ref(true);
57
+ watch(
58
+ () => {
59
+ var _a;
60
+ return (_a = props.folderList) == null ? void 0 : _a.length;
61
+ },
62
+ (n) => {
63
+ isFold.value = n > 10;
64
+ },
65
+ { immediate: true }
66
+ );
67
+ const emit = __emit;
68
+ const confirm = (itemData) => {
69
+ selectedData.value = [itemData];
70
+ emit("confirm", selectedData.value);
71
+ };
72
+ const selectedData = ref([]);
73
+ return (_ctx, _cache) => {
74
+ return openBlock(), createBlock(unref(Scrollbar), { class: "media-grid-list-scroll" }, {
75
+ default: withCtx(() => {
76
+ var _a, _b, _c, _d, _e;
77
+ return [
78
+ createElementVNode("div", _hoisted_1, [
79
+ createCommentVNode(" \u6587\u4EF6\u5939 "),
80
+ _ctx.folderList ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2, [
81
+ createCommentVNode(" \u6587\u4EF6\u5939\u6570\u91CF<10 "),
82
+ !isFold.value ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.folderList, (item, index) => {
83
+ return openBlock(), createElementBlock("div", {
84
+ key: index,
85
+ class: "item folder-item",
86
+ onClick: ($event) => _ctx.changeDirectory(item)
87
+ }, [
88
+ createElementVNode("div", _hoisted_4, [
89
+ createVNode(unref(Tooltip), {
90
+ content: item.alias,
91
+ "open-delay": 500,
92
+ class: "item",
93
+ effect: "dark",
94
+ placement: "top"
95
+ }, {
96
+ default: withCtx(() => [
97
+ createElementVNode("div", _hoisted_5, [
98
+ createElementVNode("h4", null, toDisplayString(item.alias), 1)
99
+ ])
100
+ ]),
101
+ _: 2
102
+ }, 1032, ["content"])
103
+ ])
104
+ ], 8, _hoisted_3);
105
+ }), 128)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
106
+ createCommentVNode(" \u6587\u4EF6\u5939\u6570\u91CF>10 "),
107
+ (openBlock(true), createElementBlock(Fragment, null, renderList((_a = _ctx.folderList) == null ? void 0 : _a.slice(0, 9), (item, index) => {
108
+ return openBlock(), createElementBlock("div", {
109
+ key: index,
110
+ class: "item folder-item",
111
+ onClick: ($event) => _ctx.changeDirectory(item)
112
+ }, [
113
+ createElementVNode("div", _hoisted_7, [
114
+ createVNode(unref(Tooltip), {
115
+ content: item.alias,
116
+ "open-delay": 500,
117
+ class: "item",
118
+ effect: "dark",
119
+ placement: "top"
120
+ }, {
121
+ default: withCtx(() => [
122
+ createElementVNode("div", _hoisted_8, [
123
+ createElementVNode("h4", null, toDisplayString(item.alias), 1)
124
+ ])
125
+ ]),
126
+ _: 2
127
+ }, 1032, ["content"])
128
+ ])
129
+ ], 8, _hoisted_6);
130
+ }), 128))
131
+ ], 64)),
132
+ ((_b = _ctx.folderList) == null ? void 0 : _b.length) > 10 ? (openBlock(), createElementBlock("div", {
133
+ key: 2,
134
+ class: "folder-more-button",
135
+ onClick: _cache[0] || (_cache[0] = ($event) => isFold.value = !isFold.value)
136
+ }, [
137
+ createElementVNode("div", _hoisted_9, [
138
+ isFold.value ? (openBlock(), createBlock(unref(IconDoubleDown), { key: 0 })) : (openBlock(), createBlock(unref(IconDoubleUp), { key: 1 })),
139
+ createTextVNode(" " + toDisplayString(isFold.value ? "\u5C55\u5F00\u5168\u90E8" : "\u6536\u7F29\u5168\u90E8"), 1)
140
+ ])
141
+ ])) : createCommentVNode("v-if", true)
142
+ ], 512)), [
143
+ [vShow, ((_c = _ctx.folderList) == null ? void 0 : _c.length) !== 0 && _ctx.showFolder]
144
+ ]) : createCommentVNode("v-if", true),
145
+ createCommentVNode(" \u6587\u4EF6 "),
146
+ createElementVNode("div", _hoisted_10, [
147
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.fileList, (item, index) => {
148
+ return openBlock(), createElementBlock("div", {
149
+ key: index,
150
+ class: "item"
151
+ }, [
152
+ createElementVNode("div", {
153
+ class: normalizeClass([{ active: selectedData.value.includes(item) }, "shadow-wrap"])
154
+ }, [
155
+ createElementVNode("div", _hoisted_11, [
156
+ createVNode(_sfc_main$1, {
157
+ "item-data": item,
158
+ preview: _ctx.preview,
159
+ onConfirm: confirm
160
+ }, null, 8, ["item-data", "preview"])
161
+ ]),
162
+ createElementVNode("h4", null, [
163
+ createVNode(_sfc_main$2, {
164
+ doc: item.catalog !== "image",
165
+ resource: item.catalog === "image",
166
+ type: item.catalog,
167
+ class: "icon"
168
+ }, null, 8, ["doc", "resource", "type"]),
169
+ createVNode(unref(Tooltip), {
170
+ content: item.alias,
171
+ "open-delay": 500,
172
+ effect: "dark",
173
+ placement: "top"
174
+ }, {
175
+ default: withCtx(() => [
176
+ createElementVNode("span", null, toDisplayString(item.alias), 1)
177
+ ]),
178
+ _: 2
179
+ }, 1032, ["content"])
180
+ ]),
181
+ createElementVNode("p", null, toDisplayString(unref(timeFormat)(item.updated_at)), 1),
182
+ createCommentVNode(" \u89C6\u9891\u8F6C\u7801\u8FDB\u5EA6 "),
183
+ item.task ? (openBlock(), createBlock(unref(Tooltip), {
184
+ key: 0,
185
+ "open-delay": 2e3,
186
+ content: "\u8F6C\u7801\u4E2D\uFF0C\u6682\u4E0D\u53EF\u7528",
187
+ effect: "dark",
188
+ placement: "bottom"
189
+ }, {
190
+ default: withCtx(() => [
191
+ _hoisted_12
192
+ ]),
193
+ _: 1
194
+ })) : createCommentVNode("v-if", true)
195
+ ], 2)
196
+ ]);
197
+ }), 128))
198
+ ]),
199
+ _ctx.fileListCount ? (openBlock(), createElementBlock("div", _hoisted_13, [
200
+ !_ctx.isOver ? (openBlock(), createBlock(unref(Button), {
201
+ key: 0,
202
+ class: "loadmore_tips",
203
+ size: "small",
204
+ type: "text",
205
+ onClick: _ctx.loadFileMore
206
+ }, {
207
+ default: withCtx(() => [
208
+ createTextVNode("\u52A0\u8F7D\u66F4\u591A\u2026 ")
209
+ ]),
210
+ _: 1
211
+ }, 8, ["onClick"])) : (openBlock(), createElementBlock("div", _hoisted_14, "\u6CA1\u6709\u66F4\u591A\u4E86\u2026"))
212
+ ])) : 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)
214
+ ])
215
+ ];
216
+ }),
217
+ _: 1
218
+ });
219
+ };
220
+ }
221
+ });
222
+ export { _sfc_main as default };
@@ -0,0 +1,127 @@
1
+ import { defineComponent, ref, computed, openBlock, createElementBlock, Fragment, createElementVNode, normalizeStyle, toDisplayString, createCommentVNode, normalizeClass, createVNode, Transition, withCtx, withModifiers, unref, createBlock } from "vue";
2
+ import { Divider } from "@arco-design/web-vue";
3
+ import { IconEye, IconPlus } from "@arco-design/web-vue/es/icon";
4
+ import _sfc_main$1 from "../../../mediaView/component.js";
5
+ const _hoisted_1 = { class: "file-type-thumb" };
6
+ const _hoisted_2 = {
7
+ key: 0,
8
+ class: "rate-info-tag tag"
9
+ };
10
+ const _hoisted_3 = {
11
+ key: 1,
12
+ class: "ai-tag tag"
13
+ };
14
+ const _hoisted_4 = {
15
+ key: 0,
16
+ class: "rate-info-tag tag"
17
+ };
18
+ const _hoisted_5 = {
19
+ key: 1,
20
+ class: "ai-tag tag"
21
+ };
22
+ const _hoisted_6 = {
23
+ key: 0,
24
+ class: "mask"
25
+ };
26
+ const _sfc_main = defineComponent({
27
+ __name: "index",
28
+ props: {
29
+ itemData: {},
30
+ preview: { type: Boolean }
31
+ },
32
+ emits: ["confirm"],
33
+ setup(__props, { emit: __emit }) {
34
+ const props = __props;
35
+ const emit = __emit;
36
+ const visible = ref(false);
37
+ const previewType = computed(() => props.itemData.catalog);
38
+ const previewUrl = computed(() => props.itemData.url || "");
39
+ const openPreview = () => visible.value = true;
40
+ const closePreviewer = (val) => visible.value = val;
41
+ const add = () => {
42
+ emit("confirm", props.itemData);
43
+ };
44
+ const getRate = computed(() => {
45
+ if (!props.itemData.metas)
46
+ return "";
47
+ const { metas } = props.itemData;
48
+ let width = 0;
49
+ let height = 0;
50
+ metas.forEach((item) => {
51
+ if (item.key === "width") {
52
+ width = typeof item.value === "string" ? parseInt(item.value, 10) : item.value;
53
+ }
54
+ if (item.key === "height") {
55
+ height = typeof item.value === "string" ? parseInt(item.value, 10) : item.value;
56
+ }
57
+ });
58
+ const rate = (width / height).toFixed(1);
59
+ if (rate === (16 / 9).toFixed(1))
60
+ return "16:9";
61
+ if (rate === (4 / 3).toFixed(1))
62
+ return "4:3";
63
+ if (rate === (4 / 1).toFixed(1))
64
+ return "4:1";
65
+ if (rate === (3 / 4).toFixed(1))
66
+ return "3:4";
67
+ return "\u5176\u4ED6";
68
+ });
69
+ return (_ctx, _cache) => {
70
+ return openBlock(), createElementBlock(Fragment, null, [
71
+ createElementVNode("div", _hoisted_1, [
72
+ _ctx.itemData.thumb ? (openBlock(), createElementBlock("div", {
73
+ key: 0,
74
+ class: "pic",
75
+ style: normalizeStyle({ "background-image": "url(" + _ctx.itemData.thumb + ")" })
76
+ }, [
77
+ getRate.value ? (openBlock(), createElementBlock("div", _hoisted_2, toDisplayString(getRate.value), 1)) : createCommentVNode("v-if", true),
78
+ _ctx.itemData.source === "ai" ? (openBlock(), createElementBlock("div", _hoisted_3, "AI\u751F\u6210")) : createCommentVNode("v-if", true)
79
+ ], 4)) : (openBlock(), createElementBlock("div", {
80
+ key: 1,
81
+ class: normalizeClass(["pic", `${_ctx.itemData.catalog} ${_ctx.itemData.series}`])
82
+ }, [
83
+ getRate.value ? (openBlock(), createElementBlock("div", _hoisted_4, toDisplayString(getRate.value), 1)) : createCommentVNode("v-if", true),
84
+ _ctx.itemData.source === "ai" ? (openBlock(), createElementBlock("div", _hoisted_5, "AI\u751F\u6210")) : createCommentVNode("v-if", true)
85
+ ], 2)),
86
+ createVNode(Transition, { name: "el-fade-in" }, {
87
+ default: withCtx(() => [
88
+ _ctx.preview ? (openBlock(), createElementBlock("div", _hoisted_6, [
89
+ createElementVNode("span", {
90
+ class: "half",
91
+ onClick: withModifiers(openPreview, ["stop"])
92
+ }, [
93
+ createVNode(unref(IconEye), {
94
+ "stroke-width": 6,
95
+ size: 20
96
+ })
97
+ ]),
98
+ createVNode(unref(Divider), { direction: "vertical" }),
99
+ createElementVNode("span", {
100
+ class: "half",
101
+ onClick: withModifiers(add, ["stop"])
102
+ }, [
103
+ createVNode(unref(IconPlus), {
104
+ "stroke-width": 6,
105
+ size: 20
106
+ })
107
+ ])
108
+ ])) : (openBlock(), createElementBlock("div", {
109
+ key: 1,
110
+ class: "transparent",
111
+ onClick: withModifiers(add, ["stop"])
112
+ }))
113
+ ]),
114
+ _: 1
115
+ })
116
+ ]),
117
+ visible.value ? (openBlock(), createBlock(_sfc_main$1, {
118
+ key: 0,
119
+ type: previewType.value,
120
+ url: previewUrl.value,
121
+ onClose: closePreviewer
122
+ }, null, 8, ["type", "url"])) : createCommentVNode("v-if", true)
123
+ ], 64);
124
+ };
125
+ }
126
+ });
127
+ export { _sfc_main as default };
@@ -0,0 +1,2 @@
1
+ declare const mediaGridList: any;
2
+ export default mediaGridList;
@@ -0,0 +1,7 @@
1
+ import _sfc_main from "./component.js";
2
+ const mediaGridList = Object.assign(_sfc_main, {
3
+ install: (app) => {
4
+ app.component(_sfc_main.name, _sfc_main);
5
+ }
6
+ });
7
+ export { mediaGridList as default };
@@ -0,0 +1,204 @@
1
+ .file-type-thumb {
2
+ position: relative;
3
+ width: 100%;
4
+
5
+ &:hover .mask {
6
+ display: flex;
7
+ }
8
+
9
+ .mask {
10
+ position: absolute;
11
+ top: 0;
12
+ display: none;
13
+ align-items: center;
14
+ justify-content: center;
15
+ width: 100%;
16
+ height: 100%;
17
+ color: #eaeaea;
18
+ font-size: 18px;
19
+ background: rgba(0, 0, 0, 0.3);
20
+
21
+ i {
22
+ display: inline-block;
23
+ cursor: pointer;
24
+
25
+ &:active {
26
+ opacity: 0.4;
27
+ }
28
+ }
29
+
30
+ .half {
31
+ display: flex;
32
+ align-items: center;
33
+ justify-content: center;
34
+ width: 48%;
35
+ height: 100%;
36
+
37
+ &:hover {
38
+ cursor: pointer;
39
+ opacity: 0.7;
40
+ }
41
+ }
42
+
43
+ .el-divider {
44
+ margin: 0;
45
+ opacity: 0.4;
46
+ }
47
+ }
48
+
49
+ .transparent {
50
+ position: absolute;
51
+ top: 0;
52
+ width: 100%;
53
+ height: 100%;
54
+
55
+ &:hover {
56
+ cursor: pointer;
57
+ }
58
+ }
59
+
60
+ .tag {
61
+ position: absolute;
62
+ top: 8px;
63
+ left: 5px;
64
+ padding: 2px 8px;
65
+ color: white;
66
+ font-size: 12px;
67
+ background-color: rgba(#000, #000, #000, 0.4);
68
+ border-radius: 12px;
69
+ }
70
+
71
+ .rate-info-tag {
72
+ top: 8px;
73
+ left: 5px;
74
+ }
75
+
76
+ .ai-tag {
77
+ top: 8px;
78
+ right: 5px;
79
+ }
80
+
81
+ .pic {
82
+ width: 100%;
83
+ padding-top: 56.25%;
84
+ background-color: #fff;
85
+ background-image: url('../../assets/images/unknown.png');
86
+ background-repeat: no-repeat;
87
+ background-repeat: repeat-x;
88
+ background-position: top;
89
+ background-size: cover;
90
+
91
+ &:hover {
92
+ transform: scale(1.02);
93
+ transition: ease-out 0.4s;
94
+ }
95
+ }
96
+
97
+ .audio {
98
+ background-image: url('../../assets/images/music.png') !important;
99
+
100
+ &.doc {
101
+ background-image: url('../../assets/images/draf.png') !important;
102
+ }
103
+ }
104
+
105
+ .project {
106
+ background-image: url('../../assets/images/project1.png') !important;
107
+ }
108
+
109
+ .doc {
110
+ background-image: url('../../assets/images/draf.png');
111
+ }
112
+
113
+ .link {
114
+ background-image: url('../../assets/images/link.png');
115
+ }
116
+
117
+ .sp_topic {
118
+ background-image: url('../../assets/images/link.png');
119
+ }
120
+
121
+ .live {
122
+ background-image: url('../../assets/images/live.png');
123
+ }
124
+
125
+ .pdf {
126
+ background-image: url('../../assets/images/pdf.png') !important;
127
+ }
128
+
129
+ .officeexcel {
130
+ background-image: url('../../assets/images/excel.png') !important;
131
+ }
132
+
133
+ .officeppt {
134
+ background-image: url('../../assets/images/ppt.png') !important;
135
+ }
136
+
137
+ .zip {
138
+ background-image: url('../../assets/images/zip.png') !important;
139
+ }
140
+
141
+ .rar {
142
+ background-image: url('../../assets/images/rar.png') !important;
143
+ }
144
+
145
+ .txt {
146
+ background-image: url('../../assets/images/txt.png') !important;
147
+ }
148
+
149
+ .exe {
150
+ background-image: url('../../assets/images/exe.png') !important;
151
+ }
152
+
153
+ .html {
154
+ background-image: url('../../assets/images/html.png') !important;
155
+ }
156
+
157
+ .officedoc {
158
+ background-image: url('../../assets/images/word.png') !important;
159
+ }
160
+
161
+ .wechat {
162
+ background-image: url('../../assets/images/wechat.png') !important;
163
+ }
164
+
165
+ .h5 {
166
+ background-image: url('../../assets/images/h5.png') !important;
167
+ }
168
+
169
+ .ad {
170
+ background-image: url('../../assets/images/ad.png') !important;
171
+ }
172
+
173
+ .booklink {
174
+ background-image: url('../../assets/images/booklink.png') !important;
175
+ }
176
+
177
+ .activity {
178
+ background-image: url('../../assets/images/activity.png') !important;
179
+ }
180
+
181
+ .svideo {
182
+ background-image: url('../../assets/images/svideo.png') !important;
183
+ }
184
+
185
+ .cloud_lottery {
186
+ background-image: url('../../assets/images/cloud_lottery.png') !important;
187
+ }
188
+
189
+ .cloud_form {
190
+ background-image: url('../../assets/images/cloud_form.png') !important;
191
+ }
192
+
193
+ .illegal-media-warning {
194
+ position: absolute;
195
+ top: 0;
196
+ width: 100%;
197
+ height: 100%;
198
+ background-color: rgba(0, 0, 0, 0.65);
199
+ background-image: url('../../assets/images/unknown.png');
200
+ background-repeat: no-repeat;
201
+ background-position: center;
202
+ background-size: 30%;
203
+ }
204
+ }
@@ -0,0 +1 @@
1
+ import "./index.css";