@cmstops/pro-compo 0.3.46 → 0.3.47
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 +22 -15
- package/dist/index.min.css +1 -1
- package/es/appCenter/component.d.ts +0 -0
- package/es/appCenter/index.d.ts +2 -0
- package/es/appCenter/script/api.d.ts +11 -0
- package/es/appCenter/script/apps.d.ts +14 -0
- package/es/appCenter/script/permissionMap.d.ts +6 -0
- package/es/appCenter/script/routeMap.d.ts +4 -0
- package/es/appCenter/style/index.d.ts +1 -0
- package/es/baseFilter/component.d.ts +0 -0
- package/es/baseFilter/components/FilterGroup.d.ts +0 -0
- package/es/baseFilter/components/filterItem.d.ts +0 -0
- package/es/baseFilter/index.d.ts +2 -0
- package/es/baseFilter/style/index.d.ts +1 -0
- package/es/baseFilter/useCalcWidth.d.ts +16 -0
- package/es/colorPalette/component.d.ts +0 -0
- package/es/colorPalette/components/colorPicker.d.ts +0 -0
- package/es/colorPalette/index.d.ts +2 -0
- package/es/colorPalette/style/index.d.ts +1 -0
- package/es/components.d.ts +5 -0
- package/es/config.d.ts +4 -0
- package/es/contentDetailList/__demo__/matrix/platform.d.ts +36 -0
- package/es/contentDetailList/component.d.ts +0 -0
- package/es/contentDetailList/components/Content/CompoItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/ContentListItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocMpItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/GroupPieceItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/KongoNavItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/LiveItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/MaccountItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/courseItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/funhdItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/index.d.ts +0 -0
- package/es/contentDetailList/components/CustomWrp/CustomItem.d.ts +0 -0
- package/es/contentDetailList/components/CustomWrp/index.d.ts +0 -0
- package/es/contentDetailList/components/Doc/index.d.ts +0 -0
- package/es/contentDetailList/components/Records/MatrixItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Records/index.d.ts +0 -0
- package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.d.ts +0 -0
- package/es/contentDetailList/components/ShowQRCode/index.d.ts +0 -0
- package/es/contentDetailList/index.d.ts +2 -0
- package/es/contentDetailList/script/api.d.ts +6 -0
- package/es/contentDetailList/style/index.d.ts +1 -0
- package/es/contentModal/component.d.ts +0 -0
- package/es/contentModal/components/CompoList/CompoFilter/index.d.ts +0 -0
- package/es/contentModal/components/CompoList/index.d.ts +0 -0
- package/es/contentModal/components/ContentList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/ContentList/index.d.ts +0 -0
- package/es/contentModal/components/EqxiuList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/EqxiuList/index.d.ts +0 -0
- package/es/contentModal/components/LiveList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/LiveList/index.d.ts +0 -0
- package/es/contentModal/components/MpAccountList/MpAccountFilter/index.d.ts +0 -0
- package/es/contentModal/components/MpAccountList/index.d.ts +0 -0
- package/es/contentModal/components/MpContentList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/MpContentList/index.d.ts +0 -0
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/ViewAllColumn/columnTree/index.d.ts +0 -0
- package/es/contentModal/components/ViewAllColumn/index.d.ts +0 -0
- package/es/contentModal/components/storeBox/index.d.ts +0 -0
- package/es/contentModal/index.d.ts +2 -0
- package/es/contentModal/script/api.d.ts +14 -0
- package/es/contentModal/style/index.d.ts +1 -0
- package/es/dataTags/component.d.ts +0 -0
- package/es/dataTags/index.d.ts +2 -0
- package/es/dataTags/style/index.d.ts +1 -0
- package/es/docHistory/component.d.ts +0 -0
- package/es/docHistory/components/DocDiffPanel/index.d.ts +0 -0
- package/es/docHistory/components/DocHistoryList/index.d.ts +0 -0
- package/es/docHistory/index.d.ts +2 -0
- package/es/docHistory/scripts/diff.d.ts +1 -0
- package/es/docHistory/scripts/useDocHistory.d.ts +10 -0
- package/es/docHistory/style/index.d.ts +1 -0
- package/es/docPreview/component.d.ts +0 -0
- package/es/docPreview/components/PreviewIframe.d.ts +0 -0
- package/es/docPreview/index.d.ts +2 -0
- package/es/docPreview/scripts/api.d.ts +1 -0
- package/es/docPreview/scripts/hook.d.ts +20 -0
- package/es/docPreview/style/index.d.ts +1 -0
- package/es/editMetaInfo/component.d.ts +0 -0
- package/es/editMetaInfo/components/metaInfoForm.d.ts +0 -0
- package/es/editMetaInfo/index.d.ts +2 -0
- package/es/editMetaInfo/script/api.d.ts +6 -0
- package/es/editMetaInfo/script/restaurants.d.ts +4 -0
- package/es/editMetaInfo/style/index.d.ts +1 -0
- package/es/emptyData/component.d.ts +0 -0
- package/es/emptyData/index.d.ts +2 -0
- package/es/emptyData/style/index.d.ts +1 -0
- package/es/emptyData/svg/add.d.ts +0 -0
- package/es/hooks/assets.d.ts +1 -0
- package/es/hooks/batch.d.ts +8 -0
- package/es/hooks/dialogVisible.d.ts +8 -0
- package/es/hooks/source.d.ts +9 -0
- package/es/hooks/toggle.d.ts +6 -0
- package/es/hooks/useAttachement.d.ts +26 -0
- package/es/hooks/useAttachement.js +1 -1
- package/es/hooks/useLocalStorage.d.ts +8 -0
- package/es/hooks/useMediaContext.d.ts +12 -0
- package/es/hooks/usePopper.d.ts +8 -0
- package/es/hooks/useSelection.d.ts +23 -0
- package/es/hooks/useUpload.d.ts +16 -0
- package/es/hooks/useUpload.js +2 -2
- package/es/hooks/user.d.ts +9 -0
- package/es/imageCrop/component.d.ts +0 -0
- package/es/imageCrop/index.d.ts +2 -0
- package/es/imageCrop/script/api.d.ts +1 -0
- package/es/imageCrop/style/index.d.ts +1 -0
- package/es/index.css +22 -15
- package/es/index.d.ts +29 -0
- package/es/mediaFilter/component.d.ts +0 -0
- package/es/mediaFilter/components/DocFilter.d.ts +0 -0
- package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
- package/es/mediaFilter/components/FilterItem.d.ts +0 -0
- package/es/mediaFilter/components/MpAccountFilter.d.ts +0 -0
- package/es/mediaFilter/components/MpContentFilter.d.ts +0 -0
- package/es/mediaFilter/index.d.ts +3 -0
- package/es/mediaFilter/script/optionsGetter.d.ts +26 -0
- package/es/mediaFilter/script/types.d.ts +16 -0
- package/es/mediaFilter/style/index.d.ts +1 -0
- package/es/mediaView/component.d.ts +0 -0
- package/es/mediaView/index.d.ts +2 -0
- package/es/mediaView/style/index.d.ts +1 -0
- package/es/messageBox/component.d.ts +0 -0
- package/es/messageBox/index.d.ts +2 -0
- package/es/messageBox/list.d.ts +0 -0
- package/es/messageBox/script/api.d.ts +6 -0
- package/es/messageBox/style/index.d.ts +1 -0
- package/es/previousVersion/component.d.ts +0 -0
- package/es/previousVersion/index.d.ts +2 -0
- package/es/previousVersion/script/api.d.ts +15 -0
- package/es/previousVersion/script/tool.d.ts +6 -0
- package/es/previousVersion/style/index.d.ts +1 -0
- package/es/resourceGridList/component.d.ts +0 -0
- package/es/resourceGridList/components/FileTypeThumb/index.d.ts +0 -0
- package/es/resourceGridList/index.d.ts +2 -0
- package/es/resourceGridList/style/index.d.ts +1 -0
- package/es/resourceModal/component.d.ts +0 -0
- package/es/resourceModal/components/MediaPreviewer/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/MainContent/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/index.d.ts +0 -0
- package/es/resourceModal/index.d.ts +2 -0
- package/es/resourceModal/script/api.d.ts +25 -0
- package/es/resourceModal/script/mediaSelection.d.ts +14 -0
- package/es/resourceModal/style/index.d.ts +1 -0
- package/es/selectAvatarList/component.d.ts +0 -0
- package/es/selectAvatarList/index.d.ts +2 -0
- package/es/selectAvatarList/style/index.d.ts +1 -0
- package/es/selectGategory/component.d.ts +0 -0
- package/es/selectGategory/components/ColumnSelection/index.d.ts +0 -0
- package/es/selectGategory/index.d.ts +2 -0
- package/es/selectGategory/script/api.d.ts +6 -0
- package/es/selectGategory/style/index.d.ts +1 -0
- package/es/selectResourceModal/component.d.ts +0 -0
- package/es/selectResourceModal/component.js +5 -0
- package/es/selectResourceModal/components/ListCardWrapper/index.d.ts +0 -0
- package/es/selectResourceModal/components/ListContent/index.d.ts +0 -0
- package/es/selectResourceModal/components/ListContentLocal/components/Upload.d.ts +0 -0
- package/es/selectResourceModal/components/ListContentLocal/index.d.ts +0 -0
- package/es/selectResourceModal/components/ListContentLocal/index.js +1 -1
- package/es/selectResourceModal/components/ListFilter/index.d.ts +0 -0
- package/es/selectResourceModal/components/ListFilter/index.js +162 -132
- package/es/selectResourceModal/components/ListFilter/scripts/api.d.ts +1 -0
- package/es/selectResourceModal/components/ListSelected/index.d.ts +0 -0
- package/es/selectResourceModal/components/ListTabs/index.d.ts +0 -0
- package/es/selectResourceModal/index.d.ts +2 -0
- package/es/selectResourceModal/scripts/useResourceSelect.d.ts +7 -0
- package/es/selectResourceModal/style/index.css +22 -4
- package/es/selectResourceModal/style/index.d.ts +1 -0
- package/es/selectResourceModal/style/listFilter.less +33 -9
- package/es/selectThumb/component.d.ts +0 -0
- package/es/selectThumb/components/card.d.ts +0 -0
- package/es/selectThumb/components/colorPalette.d.ts +0 -0
- package/es/selectThumb/components/colorPicker.d.ts +0 -0
- package/es/selectThumb/index.d.ts +2 -0
- package/es/selectThumb/style/index.d.ts +1 -0
- package/es/thumbCard/component.d.ts +0 -0
- package/es/thumbCard/component.js +5 -42
- package/es/thumbCard/index.d.ts +2 -0
- package/es/thumbCard/style/index.css +0 -11
- package/es/thumbCard/style/index.d.ts +1 -0
- package/es/thumbCard/style/index.less +0 -15
- package/es/typeIcons/component.d.ts +0 -0
- package/es/typeIcons/index.d.ts +2 -0
- package/es/typeIcons/style/index.d.ts +1 -0
- package/es/uploadBefore/component.d.ts +0 -0
- package/es/uploadBefore/components/UploadBefore.d.ts +0 -0
- package/es/uploadBefore/components/UploadForClick.d.ts +0 -0
- package/es/uploadBefore/index.d.ts +2 -0
- package/es/uploadBefore/script/api.d.ts +16 -0
- package/es/uploadBefore/script/fileTypeAdapter.d.ts +39 -0
- package/es/uploadBefore/script/fileUpload.d.ts +7 -0
- package/es/uploadBefore/script/uploadHooks.d.ts +55 -0
- package/es/uploadBefore/style/index.d.ts +1 -0
- package/es/uploadBefore/utils/dragUploadEvent.d.ts +0 -0
- package/es/uploadStep/component.d.ts +0 -0
- package/es/uploadStep/index.d.ts +2 -0
- package/es/uploadStep/script/fileTypeAdapter.d.ts +20 -0
- package/es/uploadStep/style/index.d.ts +1 -0
- package/es/userAvater/component.d.ts +0 -0
- package/es/userAvater/index.d.ts +2 -0
- package/es/userAvater/script/api.d.ts +8 -0
- package/es/userAvater/style/index.d.ts +1 -0
- package/es/userDirector/component.d.ts +0 -0
- package/es/userDirector/components/userTree.d.ts +0 -0
- package/es/userDirector/index.d.ts +2 -0
- package/es/userDirector/script/api.d.ts +10 -0
- package/es/userDirector/style/index.d.ts +1 -0
- package/es/utils/auth.d.ts +5 -0
- package/es/utils/date.d.ts +3 -0
- package/es/utils/doc.d.ts +76 -0
- package/es/utils/filter.d.ts +9 -0
- package/es/utils/index.d.ts +17 -0
- package/es/utils/request.d.ts +9 -0
- package/es/utils/resource.d.ts +4 -0
- package/es/utils/resource.js +13 -0
- package/es/utils/transcodeMedia.d.ts +13 -0
- package/es/utils/tusUpload.d.ts +16 -0
- package/es/utils/typeMap.d.ts +185 -0
- package/es/utils/uploadCatalog.d.ts +1 -0
- package/es/videoThumb/component.d.ts +0 -0
- package/es/videoThumb/index.d.ts +2 -0
- package/es/videoThumb/scripts/api.d.ts +9 -0
- package/es/videoThumb/scripts/useVideoThumbs.d.ts +7 -0
- package/es/videoThumb/style/index.d.ts +1 -0
- package/lib/hooks/useAttachement.js +1 -1
- package/lib/hooks/useUpload.js +2 -2
- package/lib/index.css +22 -15
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +2 -2
- package/lib/selectResourceModal/component.js +5 -0
- package/lib/selectResourceModal/components/ListContentLocal/index.js +1 -1
- package/lib/selectResourceModal/components/ListFilter/index.js +161 -131
- package/lib/selectResourceModal/style/index.css +22 -4
- package/lib/selectResourceModal/style/listFilter.less +33 -9
- package/lib/thumbCard/component.js +2 -39
- package/lib/thumbCard/style/index.css +0 -11
- package/lib/thumbCard/style/index.less +0 -15
- package/lib/utils/resource.js +15 -0
- package/package.json +1 -1
package/lib/index.css
CHANGED
|
@@ -4270,11 +4270,6 @@
|
|
|
4270
4270
|
.thumb-select-wrapper .thumb-upload-loading .arco-progress-circle-text {
|
|
4271
4271
|
color: #fff;
|
|
4272
4272
|
}
|
|
4273
|
-
.thumb-select-wrapper .thumb-add {
|
|
4274
|
-
color: var(--color-text-2);
|
|
4275
|
-
font-size: 16px;
|
|
4276
|
-
cursor: pointer;
|
|
4277
|
-
}
|
|
4278
4273
|
.thumb-select-wrapper .thumb-image img {
|
|
4279
4274
|
width: 100%;
|
|
4280
4275
|
height: 100%;
|
|
@@ -4331,29 +4326,41 @@
|
|
|
4331
4326
|
opacity: 1;
|
|
4332
4327
|
transition: all 0.3s ease-in-out;
|
|
4333
4328
|
}
|
|
4334
|
-
.thumb-select-wrapper .arco-dropdown-option-content {
|
|
4335
|
-
display: flex;
|
|
4336
|
-
gap: 8px;
|
|
4337
|
-
align-items: center;
|
|
4338
|
-
font-size: 14px;
|
|
4339
|
-
}
|
|
4340
4329
|
.card-list-wrapper {
|
|
4341
4330
|
display: grid;
|
|
4342
4331
|
grid-gap: 20px;
|
|
4343
4332
|
grid-template-columns: repeat(5, 1fr);
|
|
4344
4333
|
}
|
|
4345
|
-
.list-filter-wrapper {
|
|
4334
|
+
.list-filter-wrapper .list-filter-tags {
|
|
4335
|
+
display: flex;
|
|
4336
|
+
justify-content: space-between;
|
|
4337
|
+
margin-top: 10px;
|
|
4338
|
+
}
|
|
4339
|
+
.list-filter-wrapper .list-filter-tags .list-filter-tag {
|
|
4340
|
+
padding: 5px 16px;
|
|
4341
|
+
border-radius: 15px;
|
|
4342
|
+
cursor: pointer;
|
|
4343
|
+
}
|
|
4344
|
+
.list-filter-wrapper .list-filter-tags .list-filter-tag:hover {
|
|
4345
|
+
background-color: var(--color-fill-3);
|
|
4346
|
+
}
|
|
4347
|
+
.list-filter-wrapper .list-filter-tags .list-filter-tag.active {
|
|
4348
|
+
color: rgb(var(--primary-6));
|
|
4349
|
+
font-weight: bold;
|
|
4350
|
+
background: var(--color-fill-2);
|
|
4351
|
+
}
|
|
4352
|
+
.list-filter-wrapper .list-filter {
|
|
4346
4353
|
display: flex;
|
|
4347
4354
|
justify-content: space-between;
|
|
4348
4355
|
}
|
|
4349
|
-
.list-filter-wrapper .filter-list {
|
|
4356
|
+
.list-filter-wrapper .list-filter .filter-list {
|
|
4350
4357
|
display: flex;
|
|
4351
4358
|
gap: 10px;
|
|
4352
4359
|
}
|
|
4353
|
-
.list-filter-wrapper .filter-list .filter-item {
|
|
4360
|
+
.list-filter-wrapper .list-filter .filter-list .filter-item {
|
|
4354
4361
|
width: 100px;
|
|
4355
4362
|
}
|
|
4356
|
-
.list-filter-wrapper .arco-input-prepend {
|
|
4363
|
+
.list-filter-wrapper .list-filter .arco-input-prepend {
|
|
4357
4364
|
padding: 0;
|
|
4358
4365
|
}
|
|
4359
4366
|
.list-panel-wrapper {
|
|
@@ -90,12 +90,12 @@ const _sfc_main = vue.defineComponent({
|
|
|
90
90
|
showMore.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
91
91
|
key: 0,
|
|
92
92
|
class: "item-load-more",
|
|
93
|
-
style: { width: "calc(20% - 20px)" },
|
|
93
|
+
style: vue.normalizeStyle({ width: "calc(20% - 20px)" }),
|
|
94
94
|
onClick: loadMore
|
|
95
95
|
}, [
|
|
96
96
|
_hoisted_3,
|
|
97
97
|
vue.createTextVNode(" \u70B9\u51FB\u52A0\u8F7D\u66F4\u591A ")
|
|
98
|
-
])) : vue.createCommentVNode("v-if", true)
|
|
98
|
+
], 4)) : vue.createCommentVNode("v-if", true)
|
|
99
99
|
])
|
|
100
100
|
], 2112);
|
|
101
101
|
};
|
|
@@ -102,12 +102,15 @@ const _sfc_main = vue.defineComponent({
|
|
|
102
102
|
changeKey("local");
|
|
103
103
|
activeKey.value = "local";
|
|
104
104
|
}
|
|
105
|
+
const FilterRef = vue.ref();
|
|
105
106
|
vue.watch(
|
|
106
107
|
() => props.visible,
|
|
107
108
|
() => {
|
|
108
109
|
if (props.visible) {
|
|
109
110
|
activeKey.value = "all";
|
|
110
111
|
changeKey("all");
|
|
112
|
+
if (FilterRef.value)
|
|
113
|
+
FilterRef.value.resetFilter();
|
|
111
114
|
}
|
|
112
115
|
}
|
|
113
116
|
);
|
|
@@ -127,6 +130,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
127
130
|
vue.createCommentVNode(" \u7B5B\u9009 "),
|
|
128
131
|
activeKey.value !== "local" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
|
|
129
132
|
vue.createVNode(index$1, {
|
|
133
|
+
ref_key: "FilterRef",
|
|
134
|
+
ref: FilterRef,
|
|
130
135
|
"disable-upload-by": !["all", "remind"].includes(activeKey.value),
|
|
131
136
|
filterOptions: _ctx.filterOptions,
|
|
132
137
|
onChange: vue.unref(changeFilter),
|
|
@@ -5,16 +5,23 @@ var icon = require("@arco-design/web-vue/es/icon");
|
|
|
5
5
|
var useSelection = require("../../../hooks/useSelection.js");
|
|
6
6
|
var typeMap = require("../../../utils/typeMap.js");
|
|
7
7
|
var api = require("./scripts/api.js");
|
|
8
|
+
var resource = require("../../../utils/resource.js");
|
|
8
9
|
const _hoisted_1 = { class: "list-filter-wrapper" };
|
|
9
|
-
const _hoisted_2 = { class: "filter
|
|
10
|
-
const _hoisted_3 = {
|
|
11
|
-
const _hoisted_4 = {
|
|
10
|
+
const _hoisted_2 = { class: "list-filter" };
|
|
11
|
+
const _hoisted_3 = { class: "filter-list" };
|
|
12
|
+
const _hoisted_4 = { style: { "width": "200px" } };
|
|
12
13
|
const _hoisted_5 = { class: "filter-item" };
|
|
13
|
-
const _hoisted_6 = {
|
|
14
|
+
const _hoisted_6 = { class: "filter-item" };
|
|
15
|
+
const _hoisted_7 = {
|
|
14
16
|
key: 0,
|
|
15
17
|
class: "filter-item"
|
|
16
18
|
};
|
|
17
|
-
const
|
|
19
|
+
const _hoisted_8 = { class: "filter-extra" };
|
|
20
|
+
const _hoisted_9 = {
|
|
21
|
+
key: 0,
|
|
22
|
+
class: "list-filter-tags"
|
|
23
|
+
};
|
|
24
|
+
const _hoisted_10 = ["onClick"];
|
|
18
25
|
const _sfc_main = vue.defineComponent({
|
|
19
26
|
__name: "index",
|
|
20
27
|
props: {
|
|
@@ -22,7 +29,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
22
29
|
filterOptions: {}
|
|
23
30
|
},
|
|
24
31
|
emits: ["upload", "change"],
|
|
25
|
-
setup(__props, { emit: __emit }) {
|
|
32
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
26
33
|
const props = __props;
|
|
27
34
|
const emits = __emit;
|
|
28
35
|
const userInfo = vue.inject("userInfo");
|
|
@@ -54,7 +61,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
54
61
|
create_end: "",
|
|
55
62
|
keyword: "",
|
|
56
63
|
precise_keyword: "",
|
|
57
|
-
upload_by: null
|
|
64
|
+
upload_by: null,
|
|
65
|
+
sf: ""
|
|
58
66
|
};
|
|
59
67
|
const filter = vue.ref(JSON.parse(JSON.stringify(originFilter)));
|
|
60
68
|
const handleReset = () => {
|
|
@@ -93,6 +101,14 @@ const _sfc_main = vue.defineComponent({
|
|
|
93
101
|
}
|
|
94
102
|
}
|
|
95
103
|
});
|
|
104
|
+
vue.watch(
|
|
105
|
+
() => searchType.value,
|
|
106
|
+
() => {
|
|
107
|
+
filter.value.sf = "";
|
|
108
|
+
filter.value.precise_keyword = "";
|
|
109
|
+
filter.value.keyword = "";
|
|
110
|
+
}
|
|
111
|
+
);
|
|
96
112
|
const isEmpty = vue.computed(() => {
|
|
97
113
|
return Object.keys(filter.value).every((key) => {
|
|
98
114
|
return filter.value[key] === originFilter[key];
|
|
@@ -132,147 +148,161 @@ const _sfc_main = vue.defineComponent({
|
|
|
132
148
|
originFilter.catalog = props.filterOptions.mediaType;
|
|
133
149
|
}
|
|
134
150
|
});
|
|
151
|
+
__expose({
|
|
152
|
+
resetFilter: handleReset
|
|
153
|
+
});
|
|
135
154
|
return (_ctx, _cache) => {
|
|
136
155
|
var _a;
|
|
137
156
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
138
157
|
vue.createElementVNode("div", _hoisted_2, [
|
|
139
|
-
vue.createCommentVNode(" \u5173\u952E\u8BCD "),
|
|
140
158
|
vue.createElementVNode("div", _hoisted_3, [
|
|
141
|
-
vue.
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
vue.
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
159
|
+
vue.createCommentVNode(" \u5173\u952E\u8BCD "),
|
|
160
|
+
vue.createElementVNode("div", _hoisted_4, [
|
|
161
|
+
vue.createVNode(vue.unref(webVue.Input), {
|
|
162
|
+
modelValue: searchInput.value,
|
|
163
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => searchInput.value = $event),
|
|
164
|
+
"allow-clear": "",
|
|
165
|
+
placeholder: "\u8BF7\u8F93\u5165\u5173\u952E\u8BCD"
|
|
166
|
+
}, {
|
|
167
|
+
prepend: vue.withCtx(() => [
|
|
168
|
+
vue.createVNode(vue.unref(webVue.Dropdown), {
|
|
169
|
+
onSelect: _cache[0] || (_cache[0] = (e) => searchType.value = e)
|
|
170
|
+
}, {
|
|
171
|
+
content: vue.withCtx(() => [
|
|
172
|
+
vue.createVNode(vue.unref(webVue.Doption), { value: 0 }, {
|
|
173
|
+
default: vue.withCtx(() => [
|
|
174
|
+
vue.createTextVNode("\u7CBE\u51C6\u641C")
|
|
175
|
+
]),
|
|
176
|
+
_: 1
|
|
177
|
+
}),
|
|
178
|
+
vue.createVNode(vue.unref(webVue.Doption), { value: 1 }, {
|
|
179
|
+
default: vue.withCtx(() => [
|
|
180
|
+
vue.createTextVNode("\u6A21\u7CCA\u641C")
|
|
181
|
+
]),
|
|
182
|
+
_: 1
|
|
183
|
+
})
|
|
184
|
+
]),
|
|
185
|
+
default: vue.withCtx(() => [
|
|
186
|
+
vue.createVNode(vue.unref(webVue.Button), null, {
|
|
187
|
+
default: vue.withCtx(() => [
|
|
188
|
+
vue.createTextVNode(vue.toDisplayString(searchTypeText.value), 1)
|
|
189
|
+
]),
|
|
190
|
+
_: 1
|
|
191
|
+
})
|
|
192
|
+
]),
|
|
193
|
+
_: 1
|
|
194
|
+
})
|
|
195
|
+
]),
|
|
196
|
+
_: 1
|
|
197
|
+
}, 8, ["modelValue"])
|
|
198
|
+
]),
|
|
199
|
+
vue.createCommentVNode(" \u7D20\u6750\u7C7B\u578B "),
|
|
200
|
+
vue.createElementVNode("div", _hoisted_5, [
|
|
201
|
+
vue.createVNode(vue.unref(webVue.Select), {
|
|
202
|
+
modelValue: filter.value.catalog,
|
|
203
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => filter.value.catalog = $event),
|
|
204
|
+
disabled: (_a = _ctx.filterOptions) == null ? void 0 : _a.mediaTypeStrict,
|
|
205
|
+
"allow-clear": "",
|
|
206
|
+
placeholder: "\u7C7B\u578B"
|
|
207
|
+
}, {
|
|
208
|
+
default: vue.withCtx(() => [
|
|
209
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(resourceCatalog), (item) => {
|
|
210
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
211
|
+
key: item.value,
|
|
212
|
+
label: item.label,
|
|
213
|
+
value: item.value
|
|
214
|
+
}, null, 8, ["label", "value"]);
|
|
215
|
+
}), 128))
|
|
216
|
+
]),
|
|
217
|
+
_: 1
|
|
218
|
+
}, 8, ["modelValue", "disabled"])
|
|
219
|
+
]),
|
|
220
|
+
vue.createCommentVNode(" \u65F6\u95F4\u8303\u56F4 "),
|
|
221
|
+
vue.createVNode(vue.unref(webVue.RangePicker), {
|
|
222
|
+
modelValue: rangeTime.value,
|
|
223
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => rangeTime.value = $event),
|
|
185
224
|
"allow-clear": "",
|
|
186
|
-
|
|
225
|
+
style: { "width": "240px" }
|
|
226
|
+
}, null, 8, ["modelValue"]),
|
|
227
|
+
vue.createCommentVNode(" \u7D20\u6750\u4E0A\u4F20\u6765\u6E90 "),
|
|
228
|
+
vue.createElementVNode("div", _hoisted_6, [
|
|
229
|
+
vue.createVNode(vue.unref(webVue.Select), {
|
|
230
|
+
modelValue: filter.value.source,
|
|
231
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => filter.value.source = $event),
|
|
232
|
+
"allow-clear": "",
|
|
233
|
+
placeholder: "\u6765\u6E90"
|
|
234
|
+
}, {
|
|
235
|
+
default: vue.withCtx(() => [
|
|
236
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(resourceSource), (item) => {
|
|
237
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
238
|
+
key: item.value,
|
|
239
|
+
label: item.label,
|
|
240
|
+
value: item.value
|
|
241
|
+
}, null, 8, ["label", "value"]);
|
|
242
|
+
}), 128))
|
|
243
|
+
]),
|
|
244
|
+
_: 1
|
|
245
|
+
}, 8, ["modelValue"])
|
|
246
|
+
]),
|
|
247
|
+
vue.createCommentVNode(" \u7D20\u6750\u4E0A\u4F20\u4EBA "),
|
|
248
|
+
!_ctx.disableUploadBy ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
|
|
249
|
+
vue.createVNode(vue.unref(webVue.Select), {
|
|
250
|
+
modelValue: filter.value.upload_by,
|
|
251
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => filter.value.upload_by = $event),
|
|
252
|
+
"allow-clear": "",
|
|
253
|
+
placeholder: "\u4E0A\u4F20\u4EBA",
|
|
254
|
+
loading: vue.unref(loading),
|
|
255
|
+
"allow-search": "",
|
|
256
|
+
onSearch: vue.unref(handleSearch),
|
|
257
|
+
onDropdownReachBottom: vue.unref(loadMore)
|
|
258
|
+
}, {
|
|
259
|
+
default: vue.withCtx(() => [
|
|
260
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(options), (item) => {
|
|
261
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
262
|
+
key: item.id,
|
|
263
|
+
label: item.label,
|
|
264
|
+
value: item.value
|
|
265
|
+
}, null, 8, ["label", "value"]);
|
|
266
|
+
}), 128))
|
|
267
|
+
]),
|
|
268
|
+
_: 1
|
|
269
|
+
}, 8, ["modelValue", "loading", "onSearch", "onDropdownReachBottom"])
|
|
270
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
271
|
+
!isEmpty.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
|
|
272
|
+
key: 1,
|
|
273
|
+
type: "text",
|
|
274
|
+
onClick: handleReset
|
|
187
275
|
}, {
|
|
188
276
|
default: vue.withCtx(() => [
|
|
189
|
-
|
|
190
|
-
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
191
|
-
key: item.value,
|
|
192
|
-
label: item.label,
|
|
193
|
-
value: item.value
|
|
194
|
-
}, null, 8, ["label", "value"]);
|
|
195
|
-
}), 128))
|
|
277
|
+
vue.createTextVNode("\u91CD\u7F6E")
|
|
196
278
|
]),
|
|
197
279
|
_: 1
|
|
198
|
-
}
|
|
280
|
+
})) : vue.createCommentVNode("v-if", true)
|
|
199
281
|
]),
|
|
200
|
-
vue.
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
"allow-clear": "",
|
|
205
|
-
style: { "width": "240px" }
|
|
206
|
-
}, null, 8, ["modelValue"]),
|
|
207
|
-
vue.createCommentVNode(" \u7D20\u6750\u4E0A\u4F20\u6765\u6E90 "),
|
|
208
|
-
vue.createElementVNode("div", _hoisted_5, [
|
|
209
|
-
vue.createVNode(vue.unref(webVue.Select), {
|
|
210
|
-
modelValue: filter.value.source,
|
|
211
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => filter.value.source = $event),
|
|
212
|
-
"allow-clear": "",
|
|
213
|
-
placeholder: "\u6765\u6E90"
|
|
282
|
+
vue.createElementVNode("div", _hoisted_8, [
|
|
283
|
+
vue.createVNode(vue.unref(webVue.Button), {
|
|
284
|
+
type: "primary",
|
|
285
|
+
onClick: _cache[6] || (_cache[6] = ($event) => emits("upload"))
|
|
214
286
|
}, {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
218
|
-
key: item.value,
|
|
219
|
-
label: item.label,
|
|
220
|
-
value: item.value
|
|
221
|
-
}, null, 8, ["label", "value"]);
|
|
222
|
-
}), 128))
|
|
287
|
+
icon: vue.withCtx(() => [
|
|
288
|
+
vue.createVNode(vue.unref(icon.IconUpload))
|
|
223
289
|
]),
|
|
224
|
-
_: 1
|
|
225
|
-
}, 8, ["modelValue"])
|
|
226
|
-
]),
|
|
227
|
-
vue.createCommentVNode(" \u7D20\u6750\u4E0A\u4F20\u4EBA "),
|
|
228
|
-
!_ctx.disableUploadBy ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
|
|
229
|
-
vue.createVNode(vue.unref(webVue.Select), {
|
|
230
|
-
modelValue: filter.value.upload_by,
|
|
231
|
-
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => filter.value.upload_by = $event),
|
|
232
|
-
"allow-clear": "",
|
|
233
|
-
placeholder: "\u4E0A\u4F20\u4EBA",
|
|
234
|
-
loading: vue.unref(loading),
|
|
235
|
-
"allow-search": "",
|
|
236
|
-
onSearch: vue.unref(handleSearch),
|
|
237
|
-
onDropdownReachBottom: vue.unref(loadMore)
|
|
238
|
-
}, {
|
|
239
290
|
default: vue.withCtx(() => [
|
|
240
|
-
|
|
241
|
-
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
242
|
-
key: item.id,
|
|
243
|
-
label: item.label,
|
|
244
|
-
value: item.value
|
|
245
|
-
}, null, 8, ["label", "value"]);
|
|
246
|
-
}), 128))
|
|
291
|
+
vue.createTextVNode(" \u4E0A\u4F20 ")
|
|
247
292
|
]),
|
|
248
293
|
_: 1
|
|
249
|
-
}
|
|
250
|
-
])
|
|
251
|
-
!isEmpty.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
|
|
252
|
-
key: 1,
|
|
253
|
-
type: "text",
|
|
254
|
-
onClick: handleReset
|
|
255
|
-
}, {
|
|
256
|
-
default: vue.withCtx(() => [
|
|
257
|
-
vue.createTextVNode("\u91CD\u7F6E")
|
|
258
|
-
]),
|
|
259
|
-
_: 1
|
|
260
|
-
})) : vue.createCommentVNode("v-if", true)
|
|
294
|
+
})
|
|
295
|
+
])
|
|
261
296
|
]),
|
|
262
|
-
vue.
|
|
263
|
-
vue.
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
vue.createTextVNode(" \u4E0A\u4F20 ")
|
|
272
|
-
]),
|
|
273
|
-
_: 1
|
|
274
|
-
})
|
|
275
|
-
])
|
|
297
|
+
searchInput.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, [
|
|
298
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(resource.keywordsSelection), (item) => {
|
|
299
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
300
|
+
key: item.value,
|
|
301
|
+
class: vue.normalizeClass(["list-filter-tag", { active: filter.value.sf === item.value }]),
|
|
302
|
+
onClick: ($event) => filter.value.sf = item.value
|
|
303
|
+
}, vue.toDisplayString(item.name), 11, _hoisted_10);
|
|
304
|
+
}), 128))
|
|
305
|
+
])) : vue.createCommentVNode("v-if", true)
|
|
276
306
|
]);
|
|
277
307
|
};
|
|
278
308
|
}
|
|
@@ -3,18 +3,36 @@
|
|
|
3
3
|
grid-gap: 20px;
|
|
4
4
|
grid-template-columns: repeat(5, 1fr);
|
|
5
5
|
}
|
|
6
|
-
.list-filter-wrapper {
|
|
6
|
+
.list-filter-wrapper .list-filter-tags {
|
|
7
7
|
display: flex;
|
|
8
8
|
justify-content: space-between;
|
|
9
|
+
margin-top: 10px;
|
|
9
10
|
}
|
|
10
|
-
.list-filter-wrapper .filter-list {
|
|
11
|
+
.list-filter-wrapper .list-filter-tags .list-filter-tag {
|
|
12
|
+
padding: 5px 16px;
|
|
13
|
+
border-radius: 15px;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
}
|
|
16
|
+
.list-filter-wrapper .list-filter-tags .list-filter-tag:hover {
|
|
17
|
+
background-color: var(--color-fill-3);
|
|
18
|
+
}
|
|
19
|
+
.list-filter-wrapper .list-filter-tags .list-filter-tag.active {
|
|
20
|
+
color: rgb(var(--primary-6));
|
|
21
|
+
font-weight: bold;
|
|
22
|
+
background: var(--color-fill-2);
|
|
23
|
+
}
|
|
24
|
+
.list-filter-wrapper .list-filter {
|
|
25
|
+
display: flex;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
}
|
|
28
|
+
.list-filter-wrapper .list-filter .filter-list {
|
|
11
29
|
display: flex;
|
|
12
30
|
gap: 10px;
|
|
13
31
|
}
|
|
14
|
-
.list-filter-wrapper .filter-list .filter-item {
|
|
32
|
+
.list-filter-wrapper .list-filter .filter-list .filter-item {
|
|
15
33
|
width: 100px;
|
|
16
34
|
}
|
|
17
|
-
.list-filter-wrapper .arco-input-prepend {
|
|
35
|
+
.list-filter-wrapper .list-filter .arco-input-prepend {
|
|
18
36
|
padding: 0;
|
|
19
37
|
}
|
|
20
38
|
.list-panel-wrapper {
|
|
@@ -1,17 +1,41 @@
|
|
|
1
1
|
.list-filter-wrapper {
|
|
2
|
-
|
|
3
|
-
justify-content: space-between;
|
|
4
|
-
|
|
5
|
-
.filter-list {
|
|
2
|
+
.list-filter-tags {
|
|
6
3
|
display: flex;
|
|
7
|
-
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
margin-top: 10px;
|
|
6
|
+
|
|
7
|
+
.list-filter-tag {
|
|
8
|
+
padding: 5px 16px;
|
|
9
|
+
border-radius: 15px;
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
|
|
12
|
+
&:hover {
|
|
13
|
+
background-color: var(--color-fill-3);
|
|
14
|
+
}
|
|
8
15
|
|
|
9
|
-
|
|
10
|
-
|
|
16
|
+
&.active {
|
|
17
|
+
color: rgb(var(--primary-6));
|
|
18
|
+
font-weight: bold;
|
|
19
|
+
background: var(--color-fill-2);
|
|
20
|
+
}
|
|
11
21
|
}
|
|
12
22
|
}
|
|
13
23
|
|
|
14
|
-
.
|
|
15
|
-
|
|
24
|
+
.list-filter {
|
|
25
|
+
display: flex;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
|
|
28
|
+
.filter-list {
|
|
29
|
+
display: flex;
|
|
30
|
+
gap: 10px;
|
|
31
|
+
|
|
32
|
+
.filter-item {
|
|
33
|
+
width: 100px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.arco-input-prepend {
|
|
38
|
+
padding: 0;
|
|
39
|
+
}
|
|
16
40
|
}
|
|
17
41
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var vue = require("vue");
|
|
3
|
-
var icon = require("@arco-design/web-vue/es/icon");
|
|
4
3
|
var vueCmstopIcons = require("@arco-iconbox/vue-cmstop-icons");
|
|
5
4
|
var webVue = require("@arco-design/web-vue");
|
|
6
5
|
var magic = require("./assets/magic.js");
|
|
@@ -17,7 +16,7 @@ const _hoisted_2 = {
|
|
|
17
16
|
const _hoisted_3 = { class: "thumb-handler-list" };
|
|
18
17
|
const _hoisted_4 = ["onClick"];
|
|
19
18
|
const _hoisted_5 = {
|
|
20
|
-
key:
|
|
19
|
+
key: 2,
|
|
21
20
|
class: "thumb-select-tag"
|
|
22
21
|
};
|
|
23
22
|
const _sfc_main = vue.defineComponent({
|
|
@@ -27,7 +26,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
27
26
|
BASE_API: {},
|
|
28
27
|
url: {},
|
|
29
28
|
thumb: {},
|
|
30
|
-
isEdit: { type: Boolean },
|
|
31
29
|
useMask: { type: Boolean },
|
|
32
30
|
options: {},
|
|
33
31
|
meta: {},
|
|
@@ -76,9 +74,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
76
74
|
function handleOption(key) {
|
|
77
75
|
emits("handle", { key, item: props.meta });
|
|
78
76
|
}
|
|
79
|
-
function handleEdit(key) {
|
|
80
|
-
emits("edit", { key });
|
|
81
|
-
}
|
|
82
77
|
return (_ctx, _cache) => {
|
|
83
78
|
var _a, _b, _c;
|
|
84
79
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -91,39 +86,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
91
86
|
percent: (_a = _ctx.meta) == null ? void 0 : _a.progress
|
|
92
87
|
}, null, 8, ["percent"]),
|
|
93
88
|
((_b = _ctx.meta) == null ? void 0 : _b.isTrans) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, "\u8F6C\u7801\u4E2D...")) : vue.createCommentVNode("v-if", true)
|
|
94
|
-
])) : _ctx.
|
|
95
|
-
vue.createCommentVNode(" \u7F16\u8F91\u6A21\u5F0F\u4E0B\u53EF\u4F7F\u7528\u60AC\u6D6E\u6846\u5FEB\u901F\u63D2\u5165\u7D20\u6750 "),
|
|
96
|
-
vue.createVNode(vue.unref(webVue.Dropdown), {
|
|
97
|
-
trigger: "hover",
|
|
98
|
-
onSelect: handleEdit
|
|
99
|
-
}, {
|
|
100
|
-
content: vue.withCtx(() => [
|
|
101
|
-
vue.createVNode(vue.unref(webVue.Doption), { value: "resource" }, {
|
|
102
|
-
default: vue.withCtx(() => [
|
|
103
|
-
vue.createVNode(vue.unref(vueCmstopIcons.IconResource)),
|
|
104
|
-
vue.createTextVNode(" \u7D20\u6750\u5E93\u9009\u62E9 ")
|
|
105
|
-
]),
|
|
106
|
-
_: 1
|
|
107
|
-
}),
|
|
108
|
-
vue.createVNode(vue.unref(webVue.Doption), { value: "local" }, {
|
|
109
|
-
default: vue.withCtx(() => [
|
|
110
|
-
vue.createVNode(vue.unref(vueCmstopIcons.IconComputer)),
|
|
111
|
-
vue.createTextVNode(" \u672C\u5730\u4E0A\u4F20 ")
|
|
112
|
-
]),
|
|
113
|
-
_: 1
|
|
114
|
-
})
|
|
115
|
-
]),
|
|
116
|
-
default: vue.withCtx(() => [
|
|
117
|
-
vue.createElementVNode("div", {
|
|
118
|
-
class: "thumb-add",
|
|
119
|
-
onClick: _cache[0] || (_cache[0] = ($event) => handleEdit("resource"))
|
|
120
|
-
}, [
|
|
121
|
-
vue.createVNode(vue.unref(icon.IconPlus))
|
|
122
|
-
])
|
|
123
|
-
]),
|
|
124
|
-
_: 1
|
|
125
|
-
})
|
|
126
|
-
], 64)) : _ctx.catalog && _ctx.url ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
|
|
89
|
+
])) : _ctx.catalog && _ctx.url ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
127
90
|
vue.createCommentVNode(" \u6709\u7C7B\u578B\u7684\u5C01\u9762 "),
|
|
128
91
|
vue.createCommentVNode(" \u56FE\u7247 "),
|
|
129
92
|
_ctx.catalog ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), vue.mergeProps({
|
|
@@ -22,11 +22,6 @@
|
|
|
22
22
|
.thumb-select-wrapper .thumb-upload-loading .arco-progress-circle-text {
|
|
23
23
|
color: #fff;
|
|
24
24
|
}
|
|
25
|
-
.thumb-select-wrapper .thumb-add {
|
|
26
|
-
color: var(--color-text-2);
|
|
27
|
-
font-size: 16px;
|
|
28
|
-
cursor: pointer;
|
|
29
|
-
}
|
|
30
25
|
.thumb-select-wrapper .thumb-image img {
|
|
31
26
|
width: 100%;
|
|
32
27
|
height: 100%;
|
|
@@ -83,9 +78,3 @@
|
|
|
83
78
|
opacity: 1;
|
|
84
79
|
transition: all 0.3s ease-in-out;
|
|
85
80
|
}
|
|
86
|
-
.thumb-select-wrapper .arco-dropdown-option-content {
|
|
87
|
-
display: flex;
|
|
88
|
-
gap: 8px;
|
|
89
|
-
align-items: center;
|
|
90
|
-
font-size: 14px;
|
|
91
|
-
}
|