@cmstops/pro-compo 0.1.9 → 0.1.11
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 +949 -0
- package/dist/index.min.css +1 -1
- package/es/_virtual/plugin-vue_export-helper.js +7 -0
- package/es/config.d.ts +2 -0
- package/es/config.js +5 -3
- package/es/contentDetailList/component.d.ts +0 -0
- package/es/contentDetailList/component.js +89 -0
- package/es/contentDetailList/components/Content/CompoItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/CompoItem/index.js +76 -0
- package/es/contentDetailList/components/Content/ContentListItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/ContentListItem/index.js +99 -0
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +71 -0
- package/es/contentDetailList/components/Content/DocItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocItem/index.js +199 -0
- package/es/contentDetailList/components/Content/KongoNavItem/DocTags/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/KongoNavItem/DocTags/index.js +184 -0
- package/es/contentDetailList/components/Content/KongoNavItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/KongoNavItem/index.js +131 -0
- package/es/contentDetailList/components/Content/LiveItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/LiveItem/index.js +82 -0
- package/es/contentDetailList/components/Content/MaccountItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/MaccountItem/index.js +84 -0
- package/es/contentDetailList/components/Content/MaccountItem/temp/user.js +2 -0
- package/es/contentDetailList/components/Content/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/index.js +308 -0
- package/es/contentDetailList/components/Doc/index.d.ts +0 -0
- package/es/contentDetailList/components/Doc/index.js +58 -0
- package/es/contentDetailList/index.d.ts +2 -0
- package/es/contentDetailList/index.js +7 -0
- package/es/contentDetailList/scripts/data.d.ts +254 -0
- package/es/contentDetailList/scripts/index.d.ts +58 -0
- package/es/contentDetailList/scripts/index.js +137 -0
- package/es/contentDetailList/style/ComoItem.less +106 -0
- package/es/contentDetailList/style/Content.less +49 -0
- package/es/contentDetailList/style/ContentListItem.less +131 -0
- package/es/contentDetailList/style/Doc.less +8 -0
- package/es/contentDetailList/style/DocItem.less +145 -0
- package/es/contentDetailList/style/DocTags.less +63 -0
- package/es/contentDetailList/style/KongoNavItem.less +110 -0
- package/es/contentDetailList/style/LiveItem.less +115 -0
- package/es/contentDetailList/style/MaccountItem.less +114 -0
- package/es/contentDetailList/style/css.js +1 -0
- package/es/contentDetailList/style/index.css +683 -0
- package/es/contentDetailList/style/index.d.ts +1 -0
- package/es/contentDetailList/style/index.js +1 -0
- package/es/contentDetailList/style/index.less +9 -0
- package/es/contentModal/component.js +2 -1
- package/es/contentModal/components/CompoList/CompoFilter/index.js +3 -2
- package/es/contentModal/components/CompoList/index.js +3 -2
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +2 -1
- package/es/contentModal/components/ViewAllColumn/columnTree/index.js +2 -1
- package/es/contentModal/components/ViewAllColumn/index.js +2 -1
- package/es/contentModal/components/storeBox/index.js +2 -1
- package/es/emptyData/component.d.ts +0 -0
- package/es/emptyData/component.js +48 -0
- package/es/emptyData/index.d.ts +2 -0
- package/es/emptyData/index.js +7 -0
- package/es/emptyData/style/css.js +1 -0
- package/es/emptyData/style/index.css +26 -0
- package/es/emptyData/style/index.d.ts +1 -0
- package/es/emptyData/style/index.js +1 -0
- package/es/emptyData/style/index.less +30 -0
- package/es/hooks/toggle.d.ts +6 -0
- package/es/hooks/toggle.js +9 -0
- package/es/hooks/user.js +2 -0
- package/es/index.css +949 -0
- package/es/index.d.ts +6 -0
- package/es/index.js +6 -0
- package/es/index.less +6 -0
- package/es/mediaFilter/component.d.ts +0 -0
- package/es/mediaFilter/component.js +41 -0
- package/es/mediaFilter/components/DocFilter.d.ts +0 -0
- package/es/mediaFilter/components/DocFilter.js +251 -0
- package/es/mediaFilter/components/DocFilter.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
- package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
- package/es/mediaFilter/components/FilterGroup.js +187 -0
- package/es/mediaFilter/components/FilterGroup.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
- package/es/mediaFilter/components/FilterItem.d.ts +0 -0
- package/es/mediaFilter/components/FilterItem.js +116 -0
- package/es/mediaFilter/components/FilterItem.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
- package/es/mediaFilter/components/MediaFilter.js +8 -0
- package/es/mediaFilter/components/MpAccountFilter.js +8 -0
- package/es/mediaFilter/components/MpContentFilter.js +8 -0
- package/es/mediaFilter/index.d.ts +2 -0
- package/es/mediaFilter/index.js +7 -0
- package/es/mediaFilter/script/optionsGetter.d.ts +26 -0
- package/es/mediaFilter/script/optionsGetter.js +82 -0
- package/es/mediaFilter/style/css.js +1 -0
- package/es/mediaFilter/style/index.css +4 -0
- package/es/mediaFilter/style/index.d.ts +1 -0
- package/es/mediaFilter/style/index.js +1 -0
- package/es/mediaFilter/style/index.less +4 -0
- package/es/messageBox/list.js +2 -1
- package/es/previousVersion/component.js +2 -1
- package/es/previousVersion/style/index.less +1 -0
- package/es/resourceModal/component.js +2 -1
- package/es/resourceModal/components/MediaPreviewer/index.js +2 -1
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +2 -1
- package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +5 -3
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +4 -2
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -1
- package/es/resourceModal/components/MediaSelection/index.js +3 -2
- package/es/resourceModal/script/filter.d.ts +1 -0
- package/es/resourceModal/script/filter.js +15 -2
- package/es/selectAvatarList/component.d.ts +0 -0
- package/es/selectAvatarList/component.js +77 -0
- package/es/selectAvatarList/index.d.ts +2 -0
- package/es/selectAvatarList/index.js +7 -0
- package/es/selectAvatarList/style/css.js +1 -0
- package/es/selectAvatarList/style/index.css +4 -0
- package/es/selectAvatarList/style/index.d.ts +1 -0
- package/es/selectAvatarList/style/index.js +1 -0
- package/es/selectAvatarList/style/index.less +4 -0
- package/es/selectGategory/component.js +5 -12
- package/es/selectGategory/components/ColumnSelection/index.js +5 -1
- package/es/style.css +89 -0
- package/es/uploadBefore/component.d.ts +0 -0
- package/es/uploadBefore/component.js +81 -0
- package/es/uploadBefore/components/UploadBefore.d.ts +0 -0
- package/es/uploadBefore/components/UploadBefore.js +228 -0
- package/es/uploadBefore/components/UploadForClick.d.ts +0 -0
- package/es/uploadBefore/components/UploadForClick.js +28 -0
- package/es/uploadBefore/index.d.ts +2 -0
- package/es/uploadBefore/index.js +7 -0
- package/es/uploadBefore/script/api.d.ts +16 -0
- package/es/uploadBefore/script/api.js +27 -0
- package/es/uploadBefore/script/fileTypeAdapter.d.ts +39 -0
- package/es/uploadBefore/script/fileTypeAdapter.js +48 -0
- package/es/uploadBefore/script/fileUpload.d.ts +7 -0
- package/es/uploadBefore/script/fileUpload.js +39 -0
- package/es/uploadBefore/script/uploadHooks.d.ts +55 -0
- package/es/uploadBefore/script/uploadHooks.js +33 -0
- package/es/uploadBefore/style/css.js +1 -0
- package/es/uploadBefore/style/index.css +111 -0
- package/es/uploadBefore/style/index.d.ts +1 -0
- package/es/uploadBefore/style/index.js +1 -0
- package/es/uploadBefore/style/index.less +144 -0
- package/es/uploadBefore/utils/dragUploadEvent.d.ts +0 -0
- package/es/uploadStep/component.js +139 -4
- package/es/uploadStep/script/fileTypeAdapter.d.ts +20 -0
- package/es/uploadStep/style/index.css +113 -0
- package/es/uploadStep/style/index.less +148 -0
- package/es/userDirector/component.d.ts +0 -0
- package/es/userDirector/component.js +200 -0
- package/es/userDirector/index.d.ts +2 -0
- package/es/userDirector/index.js +7 -0
- package/es/userDirector/script/api.d.ts +9 -0
- package/es/userDirector/script/api.js +32 -0
- package/es/userDirector/style/css.js +1 -0
- package/es/userDirector/style/index.css +8 -0
- package/es/userDirector/style/index.d.ts +1 -0
- package/es/userDirector/style/index.js +1 -0
- package/es/userDirector/style/index.less +8 -0
- package/es/utils/doc.d.ts +18 -16
- package/es/utils/doc.js +52 -0
- package/es/utils/index.d.ts +8 -0
- package/es/utils/index.js +22 -1
- package/es/utils/tusUpload.d.ts +8 -0
- package/es/utils/tusUpload.js +52 -0
- package/lib/_virtual/plugin-vue_export-helper.js +8 -0
- package/lib/config.js +6 -2
- package/lib/contentDetailList/component.js +90 -0
- package/lib/contentDetailList/components/Content/CompoItem/index.js +77 -0
- package/lib/contentDetailList/components/Content/ContentListItem/index.js +100 -0
- package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +72 -0
- package/lib/contentDetailList/components/Content/DocItem/index.js +200 -0
- package/lib/contentDetailList/components/Content/KongoNavItem/DocTags/index.js +185 -0
- package/lib/contentDetailList/components/Content/KongoNavItem/index.js +132 -0
- package/lib/contentDetailList/components/Content/LiveItem/index.js +83 -0
- package/lib/contentDetailList/components/Content/MaccountItem/index.js +85 -0
- package/lib/contentDetailList/components/Content/MaccountItem/temp/user.js +3 -0
- package/lib/contentDetailList/components/Content/index.js +313 -0
- package/lib/contentDetailList/components/Doc/index.js +59 -0
- package/lib/contentDetailList/index.js +8 -0
- package/lib/contentDetailList/scripts/index.js +153 -0
- package/lib/contentDetailList/style/ComoItem.less +106 -0
- package/lib/contentDetailList/style/Content.less +49 -0
- package/lib/contentDetailList/style/ContentListItem.less +131 -0
- package/lib/contentDetailList/style/Doc.less +8 -0
- package/lib/contentDetailList/style/DocItem.less +145 -0
- package/lib/contentDetailList/style/DocTags.less +63 -0
- package/lib/contentDetailList/style/KongoNavItem.less +110 -0
- package/lib/contentDetailList/style/LiveItem.less +115 -0
- package/lib/contentDetailList/style/MaccountItem.less +114 -0
- package/lib/contentDetailList/style/css.js +2 -0
- package/lib/contentDetailList/style/index.css +683 -0
- package/lib/contentDetailList/style/index.js +2 -0
- package/lib/contentDetailList/style/index.less +9 -0
- package/lib/contentModal/component.js +2 -1
- package/lib/contentModal/components/CompoList/CompoFilter/index.js +3 -2
- package/lib/contentModal/components/CompoList/index.js +3 -2
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +2 -1
- package/lib/contentModal/components/ViewAllColumn/columnTree/index.js +2 -1
- package/lib/contentModal/components/ViewAllColumn/index.js +2 -1
- package/lib/contentModal/components/storeBox/index.js +2 -1
- package/lib/emptyData/component.js +49 -0
- package/lib/emptyData/index.js +8 -0
- package/lib/emptyData/style/css.js +2 -0
- package/lib/emptyData/style/index.css +26 -0
- package/lib/emptyData/style/index.js +2 -0
- package/lib/emptyData/style/index.less +30 -0
- package/lib/hooks/toggle.js +11 -0
- package/lib/hooks/user.js +2 -0
- package/lib/index.css +949 -0
- package/lib/index.js +12 -0
- package/lib/index.less +6 -0
- package/lib/mediaFilter/component.js +42 -0
- package/lib/mediaFilter/components/DocFilter.js +252 -0
- package/lib/mediaFilter/components/DocFilter.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
- package/lib/mediaFilter/components/FilterGroup.js +188 -0
- package/lib/mediaFilter/components/FilterGroup.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
- package/lib/mediaFilter/components/FilterItem.js +117 -0
- package/lib/mediaFilter/components/FilterItem.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
- package/lib/mediaFilter/components/MediaFilter.js +9 -0
- package/lib/mediaFilter/components/MpAccountFilter.js +9 -0
- package/lib/mediaFilter/components/MpContentFilter.js +9 -0
- package/lib/mediaFilter/index.js +8 -0
- package/lib/mediaFilter/script/optionsGetter.js +88 -0
- package/lib/mediaFilter/style/css.js +2 -0
- package/lib/mediaFilter/style/index.css +4 -0
- package/lib/mediaFilter/style/index.js +2 -0
- package/lib/mediaFilter/style/index.less +4 -0
- package/lib/messageBox/list.js +2 -1
- package/lib/previousVersion/component.js +2 -1
- package/lib/previousVersion/style/index.less +1 -0
- package/lib/resourceModal/component.js +2 -1
- package/lib/resourceModal/components/MediaPreviewer/index.js +2 -1
- package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +2 -1
- package/lib/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +5 -3
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +4 -2
- package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -1
- package/lib/resourceModal/components/MediaSelection/index.js +3 -2
- package/lib/resourceModal/script/filter.js +14 -0
- package/lib/selectAvatarList/component.js +78 -0
- package/lib/selectAvatarList/index.js +8 -0
- package/lib/selectAvatarList/style/css.js +2 -0
- package/lib/selectAvatarList/style/index.css +4 -0
- package/lib/selectAvatarList/style/index.js +2 -0
- package/lib/selectAvatarList/style/index.less +4 -0
- package/lib/selectGategory/component.js +4 -11
- package/lib/selectGategory/components/ColumnSelection/index.js +5 -1
- package/lib/uploadBefore/component.js +82 -0
- package/lib/uploadBefore/components/UploadBefore.js +229 -0
- package/lib/uploadBefore/components/UploadForClick.js +29 -0
- package/lib/uploadBefore/index.js +8 -0
- package/lib/uploadBefore/script/api.js +32 -0
- package/lib/uploadBefore/script/fileTypeAdapter.js +53 -0
- package/lib/uploadBefore/script/fileUpload.js +42 -0
- package/lib/uploadBefore/script/uploadHooks.js +36 -0
- package/lib/uploadBefore/style/css.js +2 -0
- package/lib/uploadBefore/style/index.css +111 -0
- package/lib/uploadBefore/style/index.js +2 -0
- package/lib/uploadBefore/style/index.less +144 -0
- package/lib/uploadStep/component.js +138 -3
- package/lib/uploadStep/style/index.css +113 -0
- package/lib/uploadStep/style/index.less +148 -0
- package/lib/userDirector/component.js +201 -0
- package/lib/userDirector/index.js +8 -0
- package/lib/userDirector/script/api.js +38 -0
- package/lib/userDirector/style/css.js +2 -0
- package/lib/userDirector/style/index.css +8 -0
- package/lib/userDirector/style/index.js +2 -0
- package/lib/userDirector/style/index.less +8 -0
- package/lib/utils/doc.js +59 -0
- package/lib/utils/index.js +23 -0
- package/lib/utils/tusUpload.js +75 -0
- package/package.json +8 -1
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
var webVue = require("@arco-design/web-vue");
|
|
4
|
+
var api = require("../script/api.js");
|
|
5
|
+
const _hoisted_1 = { class: "table_wrp" };
|
|
6
|
+
const _hoisted_2 = { key: 1 };
|
|
7
|
+
const _hoisted_3 = { key: 1 };
|
|
8
|
+
const _hoisted_4 = { key: 1 };
|
|
9
|
+
const _sfc_main = vue.defineComponent({
|
|
10
|
+
__name: "UploadBefore",
|
|
11
|
+
props: {
|
|
12
|
+
visable: { type: Boolean },
|
|
13
|
+
fileList: {},
|
|
14
|
+
BASE_API: {}
|
|
15
|
+
},
|
|
16
|
+
emits: ["confirm", "update:visable", "update:file-list"],
|
|
17
|
+
setup(__props, { emit: __emit }) {
|
|
18
|
+
const props = __props;
|
|
19
|
+
const emits = __emit;
|
|
20
|
+
const modalVis = vue.toRef(props, "visable");
|
|
21
|
+
const fileList = vue.toRef(props, "fileList");
|
|
22
|
+
const column = [
|
|
23
|
+
{
|
|
24
|
+
title: "\u6587\u4EF6\u540D\u79F0",
|
|
25
|
+
dataIndex: "name",
|
|
26
|
+
ellipsis: true,
|
|
27
|
+
tooltip: true,
|
|
28
|
+
width: 200
|
|
29
|
+
},
|
|
30
|
+
{ title: "\u6587\u4EF6\u7C7B\u578B", dataIndex: "typeCN", width: 100 },
|
|
31
|
+
{ title: "\u6587\u4EF6\u5927\u5C0F", dataIndex: "sizeCN", width: 120 },
|
|
32
|
+
{ title: "\u667A\u80FD\u7F16\u76EE", slotName: "analize", width: 100 },
|
|
33
|
+
{ title: "\u6C34\u5370\u9009\u62E9", slotName: "watermark", width: 180 },
|
|
34
|
+
{ title: "\u89C6\u9891\u8F6C\u7801\u6A21\u7248\u7EC4\u9009\u62E9", slotName: "vTransTemp", width: 180 },
|
|
35
|
+
{ title: "\u97F3\u9891\u8F6C\u7801\u6A21\u7248\u7EC4\u9009\u62E9", slotName: "aTransTemp", width: 180 }
|
|
36
|
+
];
|
|
37
|
+
const scroll = { y: "100%" };
|
|
38
|
+
const switched = vue.ref([]);
|
|
39
|
+
const curChoseWm = vue.ref([]);
|
|
40
|
+
const curVideoW = vue.ref([]);
|
|
41
|
+
const curAudioW = vue.ref([]);
|
|
42
|
+
const waterMarkList = vue.ref([]);
|
|
43
|
+
const videoTempList = vue.ref([]);
|
|
44
|
+
const audioTempList = vue.ref([]);
|
|
45
|
+
const templateDict = /* @__PURE__ */ new Map();
|
|
46
|
+
const defaultWm = vue.ref();
|
|
47
|
+
const defaultVm = vue.ref();
|
|
48
|
+
const defaultAm = vue.ref();
|
|
49
|
+
vue.watch(
|
|
50
|
+
() => fileList.value,
|
|
51
|
+
(n) => {
|
|
52
|
+
n.forEach((item) => {
|
|
53
|
+
switched.value.push(false);
|
|
54
|
+
curChoseWm.value.push(
|
|
55
|
+
["dir", "image"].includes(item.type) ? defaultWm.value : ""
|
|
56
|
+
);
|
|
57
|
+
curVideoW.value.push(
|
|
58
|
+
["dir", "video"].includes(item.type) ? defaultVm.value : ""
|
|
59
|
+
);
|
|
60
|
+
curAudioW.value.push(
|
|
61
|
+
["dir", "audio"].includes(item.type) ? defaultAm.value : ""
|
|
62
|
+
);
|
|
63
|
+
});
|
|
64
|
+
},
|
|
65
|
+
{ deep: true }
|
|
66
|
+
);
|
|
67
|
+
const templateDataInit = async () => {
|
|
68
|
+
try {
|
|
69
|
+
let allTemp = [];
|
|
70
|
+
const wM = await api.getWaterMark(props.BASE_API);
|
|
71
|
+
if (wM.code === 0) {
|
|
72
|
+
waterMarkList.value = wM.message.images;
|
|
73
|
+
defaultWm.value = wM.message.default;
|
|
74
|
+
allTemp = allTemp.concat(wM.message.images);
|
|
75
|
+
}
|
|
76
|
+
const vM = await api.getVideoTransTemplate(props.BASE_API);
|
|
77
|
+
if (vM.code === 0) {
|
|
78
|
+
videoTempList.value = vM.message.templates;
|
|
79
|
+
defaultVm.value = vM.message.default;
|
|
80
|
+
allTemp = allTemp.concat(vM.message.templates);
|
|
81
|
+
}
|
|
82
|
+
const aM = await api.getAudioTransTrempalte(props.BASE_API);
|
|
83
|
+
if (aM.code === 0) {
|
|
84
|
+
audioTempList.value = aM.message.templates;
|
|
85
|
+
defaultAm.value = aM.message.default;
|
|
86
|
+
allTemp = allTemp.concat(aM.message.templates);
|
|
87
|
+
}
|
|
88
|
+
allTemp.forEach((item) => {
|
|
89
|
+
templateDict.set(item.id, item);
|
|
90
|
+
});
|
|
91
|
+
} catch (e) {
|
|
92
|
+
console.log(e);
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
const handleClose = () => {
|
|
96
|
+
emits("update:visable", false);
|
|
97
|
+
emits("update:file-list", []);
|
|
98
|
+
};
|
|
99
|
+
const handleOk = () => {
|
|
100
|
+
const ret = JSON.parse(JSON.stringify(fileList.value));
|
|
101
|
+
emits(
|
|
102
|
+
"confirm",
|
|
103
|
+
ret.map((item, idx) => {
|
|
104
|
+
return {
|
|
105
|
+
...item,
|
|
106
|
+
isAnalize: switched.value[idx] ? 1 : 0,
|
|
107
|
+
watermark: templateDict.get(curChoseWm.value[idx]),
|
|
108
|
+
videotemp: templateDict.get(curVideoW.value[idx]),
|
|
109
|
+
audiotemp: templateDict.get(curAudioW.value[idx])
|
|
110
|
+
};
|
|
111
|
+
})
|
|
112
|
+
);
|
|
113
|
+
handleClose();
|
|
114
|
+
};
|
|
115
|
+
vue.onMounted(() => {
|
|
116
|
+
templateDataInit();
|
|
117
|
+
});
|
|
118
|
+
return (_ctx, _cache) => {
|
|
119
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Modal), {
|
|
120
|
+
visible: modalVis.value,
|
|
121
|
+
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => modalVis.value = $event),
|
|
122
|
+
width: "80%",
|
|
123
|
+
onOk: handleOk,
|
|
124
|
+
onCancel: handleClose
|
|
125
|
+
}, {
|
|
126
|
+
title: vue.withCtx(() => [
|
|
127
|
+
vue.createTextVNode("\u4E0A\u4F20\u914D\u7F6E")
|
|
128
|
+
]),
|
|
129
|
+
default: vue.withCtx(() => [
|
|
130
|
+
vue.createElementVNode("div", _hoisted_1, [
|
|
131
|
+
vue.createVNode(vue.unref(webVue.Table), {
|
|
132
|
+
columns: column,
|
|
133
|
+
data: fileList.value,
|
|
134
|
+
hoverable: false,
|
|
135
|
+
bordered: false,
|
|
136
|
+
pagination: false,
|
|
137
|
+
scroll
|
|
138
|
+
}, {
|
|
139
|
+
analize: vue.withCtx(({ rowIndex }) => [
|
|
140
|
+
vue.createVNode(vue.unref(webVue.Switch), {
|
|
141
|
+
modelValue: switched.value[rowIndex],
|
|
142
|
+
"onUpdate:modelValue": ($event) => switched.value[rowIndex] = $event
|
|
143
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
144
|
+
]),
|
|
145
|
+
watermark: vue.withCtx(({ rowIndex, record }) => [
|
|
146
|
+
["dir", "image"].includes(record.type) ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Select), {
|
|
147
|
+
key: 0,
|
|
148
|
+
modelValue: curChoseWm.value[rowIndex],
|
|
149
|
+
"onUpdate:modelValue": ($event) => curChoseWm.value[rowIndex] = $event,
|
|
150
|
+
placeholder: "\u8BF7\u9009\u62E9\u6C34\u5370",
|
|
151
|
+
"value-key": "id",
|
|
152
|
+
"allow-clear": ""
|
|
153
|
+
}, {
|
|
154
|
+
default: vue.withCtx(() => [
|
|
155
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(waterMarkList.value, (item) => {
|
|
156
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
157
|
+
key: item.id,
|
|
158
|
+
value: item.id
|
|
159
|
+
}, {
|
|
160
|
+
default: vue.withCtx(() => [
|
|
161
|
+
vue.createTextVNode(vue.toDisplayString(item.title), 1)
|
|
162
|
+
]),
|
|
163
|
+
_: 2
|
|
164
|
+
}, 1032, ["value"]);
|
|
165
|
+
}), 128))
|
|
166
|
+
]),
|
|
167
|
+
_: 2
|
|
168
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, "\u2014 \u2014"))
|
|
169
|
+
]),
|
|
170
|
+
vTransTemp: vue.withCtx(({ rowIndex, record }) => [
|
|
171
|
+
["dir", "video"].includes(record.type) ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Select), {
|
|
172
|
+
key: 0,
|
|
173
|
+
modelValue: curVideoW.value[rowIndex],
|
|
174
|
+
"onUpdate:modelValue": ($event) => curVideoW.value[rowIndex] = $event,
|
|
175
|
+
placeholder: "\u8BF7\u9009\u62E9\u8F6C\u7801\u6A21\u7248",
|
|
176
|
+
"value-key": "id",
|
|
177
|
+
"allow-clear": ""
|
|
178
|
+
}, {
|
|
179
|
+
default: vue.withCtx(() => [
|
|
180
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(videoTempList.value, (item) => {
|
|
181
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
182
|
+
key: item.id,
|
|
183
|
+
value: item.id
|
|
184
|
+
}, {
|
|
185
|
+
default: vue.withCtx(() => [
|
|
186
|
+
vue.createTextVNode(vue.toDisplayString(item.title), 1)
|
|
187
|
+
]),
|
|
188
|
+
_: 2
|
|
189
|
+
}, 1032, ["value"]);
|
|
190
|
+
}), 128))
|
|
191
|
+
]),
|
|
192
|
+
_: 2
|
|
193
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, "\u2014 \u2014"))
|
|
194
|
+
]),
|
|
195
|
+
aTransTemp: vue.withCtx(({ record, rowIndex }) => [
|
|
196
|
+
["dir", "audio"].includes(record.type) ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Select), {
|
|
197
|
+
key: 0,
|
|
198
|
+
modelValue: curAudioW.value[rowIndex],
|
|
199
|
+
"onUpdate:modelValue": ($event) => curAudioW.value[rowIndex] = $event,
|
|
200
|
+
placeholder: "\u8BF7\u9009\u62E9\u8F6C\u7801\u6A21\u7248",
|
|
201
|
+
"value-key": "id",
|
|
202
|
+
"allow-clear": ""
|
|
203
|
+
}, {
|
|
204
|
+
default: vue.withCtx(() => [
|
|
205
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(audioTempList.value, (item) => {
|
|
206
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
207
|
+
key: item.id,
|
|
208
|
+
value: item.id
|
|
209
|
+
}, {
|
|
210
|
+
default: vue.withCtx(() => [
|
|
211
|
+
vue.createTextVNode(vue.toDisplayString(item.title), 1)
|
|
212
|
+
]),
|
|
213
|
+
_: 2
|
|
214
|
+
}, 1032, ["value"]);
|
|
215
|
+
}), 128))
|
|
216
|
+
]),
|
|
217
|
+
_: 2
|
|
218
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, "\u2014 \u2014"))
|
|
219
|
+
]),
|
|
220
|
+
_: 1
|
|
221
|
+
}, 8, ["data"])
|
|
222
|
+
])
|
|
223
|
+
]),
|
|
224
|
+
_: 1
|
|
225
|
+
}, 8, ["visible"]);
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
});
|
|
229
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
var webVue = require("@arco-design/web-vue");
|
|
4
|
+
const _sfc_main = vue.defineComponent({
|
|
5
|
+
__name: "UploadForClick",
|
|
6
|
+
props: {
|
|
7
|
+
uploadMethod: {}
|
|
8
|
+
},
|
|
9
|
+
emits: ["after-choose"],
|
|
10
|
+
setup(__props, { emit: __emit }) {
|
|
11
|
+
const emits = __emit;
|
|
12
|
+
const tusUpload = (option) => {
|
|
13
|
+
const { fileItem } = option;
|
|
14
|
+
emits("after-choose", fileItem);
|
|
15
|
+
return {
|
|
16
|
+
abort() {
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Upload), {
|
|
22
|
+
multiple: "",
|
|
23
|
+
"show-file-list": false,
|
|
24
|
+
"custom-request": tusUpload
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
var request = require("../../utils/request.js");
|
|
4
|
+
function getWaterMark(BASE_API) {
|
|
5
|
+
return request(BASE_API, {
|
|
6
|
+
url: `/poplar/v2/material/image/watermark`,
|
|
7
|
+
method: "get"
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
function getVideoTransTemplate(BASE_API) {
|
|
11
|
+
return request(BASE_API, {
|
|
12
|
+
url: "/poplar/v2/material/video/templates",
|
|
13
|
+
method: "get"
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function getAudioTransTrempalte(BASE_API) {
|
|
17
|
+
return request(BASE_API, {
|
|
18
|
+
url: "/poplar/v2/material/audio/templates",
|
|
19
|
+
method: "get"
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
function addMedia(BASE_API, params) {
|
|
23
|
+
return request(BASE_API, {
|
|
24
|
+
url: "/poplar/v2/media/add",
|
|
25
|
+
method: "post",
|
|
26
|
+
data: params
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
exports.addMedia = addMedia;
|
|
30
|
+
exports.getAudioTransTrempalte = getAudioTransTrempalte;
|
|
31
|
+
exports.getVideoTransTemplate = getVideoTransTemplate;
|
|
32
|
+
exports.getWaterMark = getWaterMark;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
var index = require("../../utils/index.js");
|
|
4
|
+
function fileAdapter(fileMeta) {
|
|
5
|
+
let coreInfo = null;
|
|
6
|
+
if (fileMeta instanceof File) {
|
|
7
|
+
coreInfo = { file: fileMeta, id: index.generateUUID() };
|
|
8
|
+
} else if (isFileType(fileMeta, "uid")) {
|
|
9
|
+
if (!fileMeta.file)
|
|
10
|
+
return void 0;
|
|
11
|
+
coreInfo = { file: fileMeta.file, id: fileMeta.uid };
|
|
12
|
+
} else
|
|
13
|
+
;
|
|
14
|
+
if (!coreInfo)
|
|
15
|
+
return void 0;
|
|
16
|
+
return { ...coreInfo, url: "" };
|
|
17
|
+
}
|
|
18
|
+
function isFileType(fileType, key) {
|
|
19
|
+
return fileType[key] !== void 0;
|
|
20
|
+
}
|
|
21
|
+
function checkType(type) {
|
|
22
|
+
const t = getMediaType(type);
|
|
23
|
+
if (t === "image")
|
|
24
|
+
return "\u56FE\u7247";
|
|
25
|
+
if (t === "video")
|
|
26
|
+
return "\u56FE\u7247";
|
|
27
|
+
if (t === "audio")
|
|
28
|
+
return "\u56FE\u7247";
|
|
29
|
+
if (t === "dir")
|
|
30
|
+
return "\u76EE\u5F55";
|
|
31
|
+
return "\u5176\u4ED6";
|
|
32
|
+
}
|
|
33
|
+
function getMediaType(type) {
|
|
34
|
+
if (!type)
|
|
35
|
+
return "";
|
|
36
|
+
const t = type.split("/");
|
|
37
|
+
return t[0];
|
|
38
|
+
}
|
|
39
|
+
function getSize(value) {
|
|
40
|
+
if (!value)
|
|
41
|
+
return "";
|
|
42
|
+
let i = -1;
|
|
43
|
+
const byteUnits = [" KB", " MB", " GB", " TB", " PB", " EB", " ZB", " YB"];
|
|
44
|
+
do {
|
|
45
|
+
value /= 1024;
|
|
46
|
+
i++;
|
|
47
|
+
} while (value > 1024);
|
|
48
|
+
return value.toFixed(2) + byteUnits[i];
|
|
49
|
+
}
|
|
50
|
+
exports.checkType = checkType;
|
|
51
|
+
exports.fileAdapter = fileAdapter;
|
|
52
|
+
exports.getMediaType = getMediaType;
|
|
53
|
+
exports.getSize = getSize;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
var tusUpload = require("../../utils/tusUpload.js");
|
|
4
|
+
var api = require("./api.js");
|
|
5
|
+
async function uploadFile(file, cb) {
|
|
6
|
+
try {
|
|
7
|
+
const uploadRet = await tusUpload.uploadByTUS(file, (b, t) => {
|
|
8
|
+
cb(parseFloat((b / t * 100).toFixed(2)));
|
|
9
|
+
});
|
|
10
|
+
return uploadRet;
|
|
11
|
+
} catch (e) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
async function uploadAddRequest(file, metaData, BASE_API, cb) {
|
|
16
|
+
const params = {
|
|
17
|
+
url: metaData.url,
|
|
18
|
+
alias: file.name,
|
|
19
|
+
catalog: file.type,
|
|
20
|
+
repository_id: metaData.rid,
|
|
21
|
+
directory_id: metaData.dirId,
|
|
22
|
+
size: file.size
|
|
23
|
+
};
|
|
24
|
+
if (file.isAnalize !== void 0)
|
|
25
|
+
params.enable_ai_catalog = file.isAnalize;
|
|
26
|
+
if (file.watermark)
|
|
27
|
+
params.watermark = file.watermark;
|
|
28
|
+
if (file.videotemp)
|
|
29
|
+
params.video_transcode_template = file.videotemp;
|
|
30
|
+
if (file.audiotemp)
|
|
31
|
+
params.audio_transcode_template = file.audiotemp;
|
|
32
|
+
try {
|
|
33
|
+
const { code, message } = await api.addMedia(BASE_API, params);
|
|
34
|
+
if (code !== 0)
|
|
35
|
+
return;
|
|
36
|
+
cb && cb(message);
|
|
37
|
+
} catch (e) {
|
|
38
|
+
console.log(e);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.uploadAddRequest = uploadAddRequest;
|
|
42
|
+
exports.uploadFile = uploadFile;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
var vue = require("vue");
|
|
4
|
+
var fileTypeAdapter = require("./fileTypeAdapter.js");
|
|
5
|
+
function usePreUploadOptions() {
|
|
6
|
+
const preOptionsList = vue.ref([]);
|
|
7
|
+
function uploadFileToShowFileTrans(file) {
|
|
8
|
+
if (file.dirId) {
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
preOptionsList.value.push({
|
|
12
|
+
id: file.id,
|
|
13
|
+
name: file.file.name,
|
|
14
|
+
size: file.file.size,
|
|
15
|
+
sizeCN: fileTypeAdapter.getSize(file.file.size),
|
|
16
|
+
type: fileTypeAdapter.getMediaType(file.file.type),
|
|
17
|
+
typeCN: fileTypeAdapter.checkType(file.file.type)
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return {
|
|
21
|
+
preOptionsList,
|
|
22
|
+
uploadFileToShowFileTrans
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function useUplaodList() {
|
|
26
|
+
const fileList = vue.ref([]);
|
|
27
|
+
function uploadFileAdd(file) {
|
|
28
|
+
fileList.value.push(file);
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
fileList,
|
|
32
|
+
uploadFileAdd
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
exports.usePreUploadOptions = usePreUploadOptions;
|
|
36
|
+
exports.useUplaodList = useUplaodList;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
.tooltip-button {
|
|
2
|
+
height: auto;
|
|
3
|
+
padding: 20px;
|
|
4
|
+
}
|
|
5
|
+
.table_wrp {
|
|
6
|
+
height: 50vh;
|
|
7
|
+
}
|
|
8
|
+
/** 上传列表面板 */
|
|
9
|
+
.panel_wrp {
|
|
10
|
+
position: absolute;
|
|
11
|
+
right: 10px;
|
|
12
|
+
bottom: 10px;
|
|
13
|
+
}
|
|
14
|
+
.panel_wrp .panel_card .panel_header {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: row;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: space-between;
|
|
19
|
+
}
|
|
20
|
+
.panel_wrp .panel_card .panel_header .opt {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: row;
|
|
23
|
+
gap: 15px;
|
|
24
|
+
}
|
|
25
|
+
.panel_wrp .panel_card .panel_list {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
}
|
|
29
|
+
.panel_wrp .panel_card .panel_list .panel_item {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: row;
|
|
32
|
+
justify-content: space-between;
|
|
33
|
+
}
|
|
34
|
+
.panel_wrp .panel_card .panel_list .panel_item .panel_column {
|
|
35
|
+
display: flex;
|
|
36
|
+
gap: 10px;
|
|
37
|
+
align-items: center;
|
|
38
|
+
}
|
|
39
|
+
.panel_wrp .panel_card .panel_list .panel_item .panel_column.flex-1 {
|
|
40
|
+
flex: 1;
|
|
41
|
+
}
|
|
42
|
+
.panel_wrp .panel_card .panel_list .panel_item .panel_column.flex-3 {
|
|
43
|
+
flex: 3;
|
|
44
|
+
}
|
|
45
|
+
.panel_wrp {
|
|
46
|
+
width: auto;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
border-top-left-radius: 12px;
|
|
49
|
+
border-top-right-radius: 12px;
|
|
50
|
+
}
|
|
51
|
+
.panel_wrp *::selection {
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
.panel_wrp .panel_card {
|
|
55
|
+
width: 350px;
|
|
56
|
+
transition: all 0.3s;
|
|
57
|
+
}
|
|
58
|
+
.panel_wrp .panel_card.expend {
|
|
59
|
+
width: 420px;
|
|
60
|
+
}
|
|
61
|
+
.panel_wrp .panel_card .panel_header {
|
|
62
|
+
width: 90%;
|
|
63
|
+
height: 50px;
|
|
64
|
+
padding: 0 5%;
|
|
65
|
+
color: white;
|
|
66
|
+
background-color: rgb(var(--arcoblue-5));
|
|
67
|
+
border-top-left-radius: 10px;
|
|
68
|
+
border-top-right-radius: 10px;
|
|
69
|
+
}
|
|
70
|
+
.panel_wrp .panel_card .panel_header .title {
|
|
71
|
+
white-space: nowrap;
|
|
72
|
+
}
|
|
73
|
+
.panel_wrp .panel_card .panel_header .opt {
|
|
74
|
+
font-size: 18px;
|
|
75
|
+
}
|
|
76
|
+
.panel_wrp .panel_card .panel_header .opt::selection {
|
|
77
|
+
display: none;
|
|
78
|
+
}
|
|
79
|
+
.panel_wrp .panel_card .panel_header .opt .bar {
|
|
80
|
+
cursor: pointer;
|
|
81
|
+
}
|
|
82
|
+
.panel_wrp .panel_card .panel_list {
|
|
83
|
+
width: 100%;
|
|
84
|
+
height: 120px;
|
|
85
|
+
overflow-y: scroll;
|
|
86
|
+
transition: all 0.3s;
|
|
87
|
+
}
|
|
88
|
+
.panel_wrp .panel_card .panel_list::-webkit-scrollbar {
|
|
89
|
+
display: none;
|
|
90
|
+
}
|
|
91
|
+
.panel_wrp .panel_card .panel_list.un_expend {
|
|
92
|
+
height: 0;
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
}
|
|
95
|
+
.panel_wrp .panel_card .panel_list .panel_item {
|
|
96
|
+
height: 35px;
|
|
97
|
+
padding: 5px 15px;
|
|
98
|
+
}
|
|
99
|
+
.panel_wrp .panel_card .panel_list .panel_item .panel_column {
|
|
100
|
+
white-space: nowrap;
|
|
101
|
+
}
|
|
102
|
+
.panel_wrp .panel_card .panel_list .panel_item .panel_column .media_alias {
|
|
103
|
+
width: 160px;
|
|
104
|
+
cursor: pointer;
|
|
105
|
+
}
|
|
106
|
+
/** 公用 */
|
|
107
|
+
.ellips {
|
|
108
|
+
overflow: hidden;
|
|
109
|
+
white-space: nowrap;
|
|
110
|
+
text-overflow: ellipsis;
|
|
111
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
.tooltip-button {
|
|
2
|
+
height: auto;
|
|
3
|
+
padding: 20px;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.table_wrp {
|
|
7
|
+
height: 50vh;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
._brTop(@p) {
|
|
11
|
+
border-top-left-radius: @p;
|
|
12
|
+
border-top-right-radius: @p;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/** 上传列表面板 */
|
|
16
|
+
|
|
17
|
+
// 布局部分
|
|
18
|
+
.panel_wrp {
|
|
19
|
+
position: absolute;
|
|
20
|
+
right: 10px;
|
|
21
|
+
bottom: 10px;
|
|
22
|
+
|
|
23
|
+
.panel_card {
|
|
24
|
+
.panel_header {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: row;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: space-between;
|
|
29
|
+
|
|
30
|
+
.opt {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: row;
|
|
33
|
+
gap: 15px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.panel_list {
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
|
|
41
|
+
.panel_item {
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: row;
|
|
44
|
+
justify-content: space-between;
|
|
45
|
+
|
|
46
|
+
.panel_column {
|
|
47
|
+
display: flex;
|
|
48
|
+
gap: 10px;
|
|
49
|
+
align-items: center;
|
|
50
|
+
|
|
51
|
+
&.flex-1 {
|
|
52
|
+
flex: 1;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.flex-3 {
|
|
56
|
+
flex: 3;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// 样式部分
|
|
65
|
+
.panel_wrp {
|
|
66
|
+
width: auto;
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
|
|
69
|
+
& *::selection {
|
|
70
|
+
display: none;
|
|
71
|
+
}
|
|
72
|
+
._brTop(12px);
|
|
73
|
+
|
|
74
|
+
.panel_card {
|
|
75
|
+
width: 350px;
|
|
76
|
+
transition: all 0.3s;
|
|
77
|
+
|
|
78
|
+
&.expend {
|
|
79
|
+
width: 420px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.panel_header {
|
|
83
|
+
width: 90%;
|
|
84
|
+
height: 50px;
|
|
85
|
+
padding: 0 5%;
|
|
86
|
+
color: white;
|
|
87
|
+
background-color: rgb(var(--arcoblue-5));
|
|
88
|
+
._brTop(10px);
|
|
89
|
+
|
|
90
|
+
.title {
|
|
91
|
+
white-space: nowrap;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.opt {
|
|
95
|
+
font-size: 18px;
|
|
96
|
+
|
|
97
|
+
&::selection {
|
|
98
|
+
display: none;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.bar {
|
|
102
|
+
cursor: pointer;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.panel_list {
|
|
108
|
+
width: 100%;
|
|
109
|
+
height: 120px;
|
|
110
|
+
overflow-y: scroll;
|
|
111
|
+
transition: all 0.3s;
|
|
112
|
+
|
|
113
|
+
&::-webkit-scrollbar {
|
|
114
|
+
display: none;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&.un_expend {
|
|
118
|
+
height: 0;
|
|
119
|
+
overflow: hidden;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.panel_item {
|
|
123
|
+
height: 35px;
|
|
124
|
+
padding: 5px 15px;
|
|
125
|
+
|
|
126
|
+
.panel_column {
|
|
127
|
+
white-space: nowrap;
|
|
128
|
+
|
|
129
|
+
.media_alias {
|
|
130
|
+
width: 160px;
|
|
131
|
+
cursor: pointer;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/** 公用 */
|
|
140
|
+
.ellips {
|
|
141
|
+
overflow: hidden;
|
|
142
|
+
white-space: nowrap;
|
|
143
|
+
text-overflow: ellipsis;
|
|
144
|
+
}
|