@cmstops/pro-compo 0.1.31 → 0.1.33
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 +190 -15
- package/dist/index.min.css +1 -1
- package/es/contentModal/component.js +35 -35
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +53 -22
- package/es/contentModal/components/ViewAllColumn/columnTree/index.js +67 -18
- package/es/contentModal/components/ViewAllColumn/index.js +91 -44
- package/es/contentModal/components/storeBox/index.js +6 -6
- package/es/contentModal/images/pic-thumb.js +2 -0
- package/es/contentModal/style/MediaFilter.less +35 -5
- package/es/contentModal/style/ViewAllColumn.less +11 -0
- package/es/contentModal/style/columnTree.less +25 -5
- package/es/contentModal/style/index.css +56 -11
- package/es/contentModal/style/storeBox.less +16 -6
- package/es/editMetaInfo/components/metaInfoForm.js +84 -81
- package/es/index.css +190 -15
- package/es/resourceModal/assets/images/sys_load_more.js +2 -0
- package/es/resourceModal/component.js +9 -2
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +1 -1
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +139 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +103 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +103 -0
- package/es/resourceModal/components/MediaSelection/index.js +16 -7
- package/es/resourceModal/script/api.d.ts +17 -0
- package/es/resourceModal/script/api.js +21 -1
- package/es/resourceModal/script/mediaSelection.d.ts +4 -0
- package/es/resourceModal/script/mediaSelection.js +8 -0
- package/es/resourceModal/style/DocAiMediaSelected.less +2 -3
- package/es/resourceModal/style/MainContent.less +5 -3
- package/es/resourceModal/style/SystemResourceSelected.less +138 -0
- package/es/resourceModal/style/ToolbarSearch.less +13 -0
- package/es/resourceModal/style/index.css +135 -5
- package/es/resourceModal/style/index.less +1 -0
- package/es/selectThumb/component.js +6 -2
- package/lib/contentModal/component.js +35 -35
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +51 -20
- package/lib/contentModal/components/ViewAllColumn/columnTree/index.js +65 -16
- package/lib/contentModal/components/ViewAllColumn/index.js +90 -43
- package/lib/contentModal/components/storeBox/index.js +6 -6
- package/lib/contentModal/images/pic-thumb.js +3 -0
- package/lib/contentModal/style/MediaFilter.less +35 -5
- package/lib/contentModal/style/ViewAllColumn.less +11 -0
- package/lib/contentModal/style/columnTree.less +25 -5
- package/lib/contentModal/style/index.css +56 -11
- package/lib/contentModal/style/storeBox.less +16 -6
- package/lib/editMetaInfo/components/metaInfoForm.js +83 -80
- package/lib/index.css +190 -15
- package/lib/resourceModal/assets/images/sys_load_more.js +3 -0
- package/lib/resourceModal/component.js +8 -1
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +2 -2
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +140 -0
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +104 -0
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +104 -0
- package/lib/resourceModal/components/MediaSelection/index.js +15 -6
- package/lib/resourceModal/script/api.js +23 -0
- package/lib/resourceModal/script/mediaSelection.js +10 -0
- package/lib/resourceModal/style/DocAiMediaSelected.less +2 -3
- package/lib/resourceModal/style/MainContent.less +5 -3
- package/lib/resourceModal/style/SystemResourceSelected.less +138 -0
- package/lib/resourceModal/style/ToolbarSearch.less +13 -0
- package/lib/resourceModal/style/index.css +135 -5
- package/lib/resourceModal/style/index.less +1 -0
- package/lib/selectThumb/component.js +5 -1
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ var webVue = require("@arco-design/web-vue");
|
|
|
4
4
|
var icon = require("@arco-design/web-vue/es/icon");
|
|
5
5
|
var api = require("../../../script/api.js");
|
|
6
6
|
const _hoisted_1 = { class: "column-selection-container" };
|
|
7
|
+
const _hoisted_2 = { class: "search-column" };
|
|
7
8
|
const _sfc_main = vue.defineComponent({
|
|
8
9
|
...{ name: "columnTree" },
|
|
9
10
|
__name: "index",
|
|
@@ -15,22 +16,54 @@ const _sfc_main = vue.defineComponent({
|
|
|
15
16
|
},
|
|
16
17
|
emits: ["update:column_id"],
|
|
17
18
|
setup(__props, { emit: __emit }) {
|
|
18
|
-
const emit = __emit;
|
|
19
19
|
const props = __props;
|
|
20
|
-
const
|
|
20
|
+
const emit = __emit;
|
|
21
21
|
const treeOptions = {
|
|
22
22
|
title: "alias",
|
|
23
23
|
isLeaf: "leaf"
|
|
24
24
|
};
|
|
25
|
+
const selectAlias = vue.ref("\u5168\u90E8\u5185\u5BB9");
|
|
26
|
+
const lastSearchKey = vue.ref(window.localStorage.getItem("lastSearchKey") || "");
|
|
27
|
+
const searchKey = vue.ref("");
|
|
28
|
+
const aTreeRef = vue.ref();
|
|
29
|
+
const treeData = vue.computed(() => {
|
|
30
|
+
if (!searchKey.value)
|
|
31
|
+
return props.tree;
|
|
32
|
+
return searchData(searchKey.value);
|
|
33
|
+
});
|
|
34
|
+
const searchData = (keyword) => {
|
|
35
|
+
const loop = (data) => {
|
|
36
|
+
const result = [];
|
|
37
|
+
data.forEach((item) => {
|
|
38
|
+
var _a;
|
|
39
|
+
if ((_a = item.alias) == null ? void 0 : _a.includes(keyword)) {
|
|
40
|
+
result.push({ ...item });
|
|
41
|
+
} else if (item.children) {
|
|
42
|
+
const filterData = loop(item.children);
|
|
43
|
+
if (filterData.length) {
|
|
44
|
+
result.push({
|
|
45
|
+
...item,
|
|
46
|
+
children: filterData
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
return result;
|
|
52
|
+
};
|
|
53
|
+
return loop(props.tree);
|
|
54
|
+
};
|
|
55
|
+
const clickLastItem = () => {
|
|
56
|
+
aTreeRef.value.selectNode(lastSearchKey.value, true);
|
|
57
|
+
};
|
|
25
58
|
vue.watch(
|
|
26
59
|
() => props.column_id,
|
|
27
60
|
(val) => {
|
|
28
|
-
|
|
61
|
+
setSelectAlias(val);
|
|
29
62
|
}
|
|
30
63
|
);
|
|
31
|
-
const
|
|
64
|
+
const setSelectAlias = async (id) => {
|
|
32
65
|
if (id === "all") {
|
|
33
|
-
|
|
66
|
+
selectAlias.value = "\u5168\u90E8\u5185\u5BB9";
|
|
34
67
|
return;
|
|
35
68
|
}
|
|
36
69
|
const { code, message } = await api.getCategoryPath(props.userInfo.BASE_API, {
|
|
@@ -42,28 +75,42 @@ const _sfc_main = vue.defineComponent({
|
|
|
42
75
|
for (const i of message) {
|
|
43
76
|
pathArr.push(i.category_alias);
|
|
44
77
|
}
|
|
45
|
-
|
|
78
|
+
selectAlias.value = pathArr.join("/");
|
|
46
79
|
}
|
|
47
80
|
};
|
|
48
81
|
const AddColumnSelected = (selectedKeys, data) => {
|
|
82
|
+
lastSearchKey.value = selectedKeys[0];
|
|
83
|
+
window.localStorage.setItem("lastSearchKey", lastSearchKey.value);
|
|
49
84
|
emit("update:column_id", data.node.id);
|
|
50
85
|
};
|
|
51
86
|
return (_ctx, _cache) => {
|
|
52
87
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
53
88
|
vue.createVNode(vue.unref(webVue.Popover), {
|
|
54
|
-
position: "bottom",
|
|
55
|
-
"content-class": "column-selection-popover-content",
|
|
56
89
|
"content-style": { minWidth: "120px" },
|
|
90
|
+
"content-class": "column-selection-popover-content",
|
|
91
|
+
position: "bottom",
|
|
57
92
|
trigger: "click"
|
|
58
93
|
}, {
|
|
59
94
|
content: vue.withCtx(() => [
|
|
95
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
96
|
+
vue.createVNode(vue.unref(webVue.InputSearch), {
|
|
97
|
+
modelValue: searchKey.value,
|
|
98
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchKey.value = $event),
|
|
99
|
+
placeholder: "\u8BF7\u8F93\u5165\u680F\u76EE\u540D\u79F0"
|
|
100
|
+
}, null, 8, ["modelValue"])
|
|
101
|
+
]),
|
|
102
|
+
lastSearchKey.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
103
|
+
key: 0,
|
|
104
|
+
class: "last-search-key",
|
|
105
|
+
onClick: clickLastItem
|
|
106
|
+
}, "\u4E0A\u4E00\u6B21\u9009\u62E9 ")) : vue.createCommentVNode("v-if", true),
|
|
60
107
|
vue.createElementVNode("div", {
|
|
61
|
-
|
|
62
|
-
|
|
108
|
+
style: vue.normalizeStyle({ minHeight: props.height + "px" }),
|
|
109
|
+
class: "column-selection-main"
|
|
63
110
|
}, [
|
|
64
111
|
vue.createElementVNode("div", {
|
|
65
|
-
|
|
66
|
-
|
|
112
|
+
style: vue.normalizeStyle({ height: props.height + "px" }),
|
|
113
|
+
class: "column-v"
|
|
67
114
|
}, [
|
|
68
115
|
vue.createVNode(vue.unref(webVue.Scrollbar), {
|
|
69
116
|
"outer-class": "column-outer-scrollbar",
|
|
@@ -71,11 +118,13 @@ const _sfc_main = vue.defineComponent({
|
|
|
71
118
|
}, {
|
|
72
119
|
default: vue.withCtx(() => [
|
|
73
120
|
vue.createVNode(vue.unref(webVue.Tree), {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
121
|
+
ref_key: "aTreeRef",
|
|
122
|
+
ref: aTreeRef,
|
|
123
|
+
data: treeData.value,
|
|
77
124
|
"default-expand-all": false,
|
|
78
125
|
"field-names": treeOptions,
|
|
126
|
+
"block-node": "",
|
|
127
|
+
"check-strictly": "",
|
|
79
128
|
onSelect: AddColumnSelected
|
|
80
129
|
}, null, 8, ["data"])
|
|
81
130
|
]),
|
|
@@ -88,7 +137,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
88
137
|
vue.createVNode(vue.unref(webVue.Button), { class: "button" }, {
|
|
89
138
|
default: vue.withCtx(() => [
|
|
90
139
|
vue.createVNode(vue.unref(icon.IconDragDotVertical)),
|
|
91
|
-
vue.createTextVNode(vue.toDisplayString(
|
|
140
|
+
vue.createTextVNode(" " + vue.toDisplayString(selectAlias.value) + " ", 1),
|
|
92
141
|
vue.createVNode(vue.unref(icon.IconCaretRight))
|
|
93
142
|
]),
|
|
94
143
|
_: 1
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var vue = require("vue");
|
|
3
|
+
var picThumb = require("../../images/pic-thumb.js");
|
|
3
4
|
var webVue = require("@arco-design/web-vue");
|
|
4
5
|
var component = require("../../../typeIcons/component.js");
|
|
5
6
|
var index = require("./MediaFilter/index.js");
|
|
@@ -9,11 +10,19 @@ var index$1 = require("../../../utils/index.js");
|
|
|
9
10
|
var api = require("../../script/api.js");
|
|
10
11
|
const _hoisted_1 = { class: "view-all-column-container" };
|
|
11
12
|
const _hoisted_2 = { class: "content-table-view" };
|
|
12
|
-
const _hoisted_3 =
|
|
13
|
-
const _hoisted_4 =
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
const _hoisted_3 = ["src"];
|
|
14
|
+
const _hoisted_4 = {
|
|
15
|
+
key: 1,
|
|
16
|
+
alt: "",
|
|
17
|
+
class: "pic-thumb-img",
|
|
18
|
+
src: picThumb
|
|
19
|
+
};
|
|
20
|
+
const _hoisted_5 = { class: "title-span" };
|
|
21
|
+
const _hoisted_6 = { class: "title" };
|
|
22
|
+
const _hoisted_7 = { class: "title-span" };
|
|
23
|
+
const _hoisted_8 = { class: "title-span" };
|
|
24
|
+
const _hoisted_9 = { class: "bottom-view" };
|
|
25
|
+
const _hoisted_10 = { class: "left" };
|
|
17
26
|
const _sfc_main = vue.defineComponent({
|
|
18
27
|
...{ name: "ViewAllColumn" },
|
|
19
28
|
__name: "index",
|
|
@@ -56,18 +65,21 @@ const _sfc_main = vue.defineComponent({
|
|
|
56
65
|
});
|
|
57
66
|
const {
|
|
58
67
|
isItemChecked,
|
|
59
|
-
hoverBatchBox,
|
|
60
68
|
tableCellMouseEnter,
|
|
61
69
|
tableCellMouseLeave
|
|
62
70
|
} = batch();
|
|
63
|
-
const clickCheckbox = (e, record) => {
|
|
64
|
-
e.stopPropagation();
|
|
65
|
-
e.preventDefault();
|
|
66
|
-
selectData(record);
|
|
67
|
-
};
|
|
68
71
|
const selectTableCell = (record) => {
|
|
69
72
|
selectData(record);
|
|
70
73
|
};
|
|
74
|
+
const selectTableAll = (checked) => {
|
|
75
|
+
if (checked) {
|
|
76
|
+
selectedData.value = [];
|
|
77
|
+
mediaFileData.value.forEach((item) => selectData(item));
|
|
78
|
+
} else {
|
|
79
|
+
selectedData.value = [];
|
|
80
|
+
}
|
|
81
|
+
emitChange();
|
|
82
|
+
};
|
|
71
83
|
const selectData = (record) => {
|
|
72
84
|
if (importantBanner.value) {
|
|
73
85
|
const {
|
|
@@ -151,28 +163,45 @@ const _sfc_main = vue.defineComponent({
|
|
|
151
163
|
categoryCascaderData.value = arr;
|
|
152
164
|
}
|
|
153
165
|
};
|
|
154
|
-
const columns = [
|
|
166
|
+
const columns = vue.ref([
|
|
167
|
+
{
|
|
168
|
+
title: "\u52FE",
|
|
169
|
+
dataIndex: "select",
|
|
170
|
+
slotName: "select",
|
|
171
|
+
width: 40,
|
|
172
|
+
titleSlotName: "selectTitle"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
title: "\u5C01\u9762",
|
|
176
|
+
dataIndex: "cover",
|
|
177
|
+
slotName: "cover",
|
|
178
|
+
width: 92
|
|
179
|
+
},
|
|
155
180
|
{
|
|
156
181
|
title: "\u6807\u9898",
|
|
157
182
|
dataIndex: "title",
|
|
158
|
-
slotName: "title"
|
|
183
|
+
slotName: "title",
|
|
184
|
+
width: 428
|
|
159
185
|
},
|
|
160
186
|
{
|
|
161
187
|
title: "\u7C7B\u578B",
|
|
162
188
|
dataIndex: "series",
|
|
163
|
-
slotName: "series"
|
|
189
|
+
slotName: "series",
|
|
190
|
+
width: 170
|
|
164
191
|
},
|
|
165
192
|
{
|
|
166
193
|
title: "\u7F16\u8F91",
|
|
167
194
|
dataIndex: "duty_editor",
|
|
168
|
-
slotName: "duty_editor"
|
|
195
|
+
slotName: "duty_editor",
|
|
196
|
+
width: 100
|
|
169
197
|
},
|
|
170
198
|
{
|
|
171
199
|
title: "\u53D1\u5E03\u65F6\u95F4",
|
|
172
200
|
dataIndex: "pub_time",
|
|
173
|
-
slotName: "pub_time"
|
|
201
|
+
slotName: "pub_time",
|
|
202
|
+
width: 150
|
|
174
203
|
}
|
|
175
|
-
];
|
|
204
|
+
]);
|
|
176
205
|
const importantSeries = vue.computed(() => {
|
|
177
206
|
return props.series !== "all";
|
|
178
207
|
});
|
|
@@ -229,57 +258,75 @@ const _sfc_main = vue.defineComponent({
|
|
|
229
258
|
vue.createVNode(index, {
|
|
230
259
|
group_id: group_id.value,
|
|
231
260
|
"onUpdate:group_id": _cache[0] || (_cache[0] = ($event) => group_id.value = $event),
|
|
232
|
-
tree: categoryCascaderData.value,
|
|
233
|
-
series: props.series,
|
|
234
261
|
banner: _ctx.banner,
|
|
235
262
|
height: listMinHeight.value,
|
|
263
|
+
series: props.series,
|
|
264
|
+
tree: categoryCascaderData.value,
|
|
236
265
|
"user-info": props.userInfo,
|
|
237
266
|
onSearch: search
|
|
238
|
-
}, null, 8, ["group_id", "
|
|
267
|
+
}, null, 8, ["group_id", "banner", "height", "series", "tree", "user-info"]),
|
|
239
268
|
vue.createElementVNode("div", _hoisted_2, [
|
|
240
269
|
vue.createVNode(vue.unref(webVue.Table), {
|
|
241
|
-
columns,
|
|
242
|
-
scroll: scrollPercent,
|
|
243
|
-
pagination: false,
|
|
244
270
|
bordered: false,
|
|
271
|
+
columns: columns.value,
|
|
245
272
|
data: mediaFileData.value,
|
|
273
|
+
pagination: false,
|
|
274
|
+
scroll: scrollPercent,
|
|
246
275
|
onCellMouseEnter: vue.unref(tableCellMouseEnter),
|
|
247
276
|
onCellMouseLeave: vue.unref(tableCellMouseLeave),
|
|
248
277
|
onRowClick: selectTableCell
|
|
249
278
|
}, {
|
|
250
|
-
|
|
251
|
-
vue.
|
|
252
|
-
|
|
279
|
+
selectTitle: vue.withCtx(() => [
|
|
280
|
+
vue.createVNode(vue.unref(webVue.Checkbox), {
|
|
281
|
+
class: "icon",
|
|
282
|
+
onChange: selectTableAll
|
|
283
|
+
})
|
|
284
|
+
]),
|
|
285
|
+
select: vue.withCtx(({ record }) => [
|
|
286
|
+
vue.createVNode(vue.unref(webVue.Checkbox), {
|
|
287
|
+
"model-value": vue.unref(isItemChecked)(selectedData.value, record),
|
|
288
|
+
class: "icon"
|
|
289
|
+
}, null, 8, ["model-value"])
|
|
290
|
+
]),
|
|
291
|
+
cover: vue.withCtx(({ record }) => {
|
|
292
|
+
var _a, _b, _c, _d, _e, _f;
|
|
293
|
+
return [
|
|
294
|
+
((_c = (_b = (_a = record.cover) == null ? void 0 : _a.data) == null ? void 0 : _b[0]) == null ? void 0 : _c.thumb) ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
253
295
|
key: 0,
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
296
|
+
src: (_f = (_e = (_d = record.cover) == null ? void 0 : _d.data) == null ? void 0 : _e[0]) == null ? void 0 : _f.thumb,
|
|
297
|
+
alt: "",
|
|
298
|
+
class: "pic-thumb-img"
|
|
299
|
+
}, null, 8, _hoisted_3)) : (vue.openBlock(), vue.createElementBlock("img", _hoisted_4))
|
|
300
|
+
];
|
|
301
|
+
}),
|
|
302
|
+
title: vue.withCtx(({ record }) => [
|
|
303
|
+
vue.createElementVNode("span", _hoisted_5, [
|
|
304
|
+
vue.createVNode(component, {
|
|
305
|
+
type: record.series,
|
|
262
306
|
class: "icon",
|
|
263
|
-
doc: ""
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
vue.createElementVNode("span", _hoisted_5, vue.toDisplayString(record.title || record.alias || "--"), 1)
|
|
307
|
+
doc: ""
|
|
308
|
+
}, null, 8, ["type"]),
|
|
309
|
+
vue.createElementVNode("span", _hoisted_6, vue.toDisplayString(record.title || record.alias || "--"), 1)
|
|
267
310
|
])
|
|
268
311
|
]),
|
|
269
312
|
series: vue.withCtx(({ record }) => [
|
|
270
313
|
vue.createVNode(component$1, { item: record }, null, 8, ["item"])
|
|
271
314
|
]),
|
|
272
315
|
duty_editor: vue.withCtx(({ record }) => [
|
|
273
|
-
vue.createElementVNode("span",
|
|
316
|
+
vue.createElementVNode("span", _hoisted_7, [
|
|
317
|
+
vue.createElementVNode("span", null, vue.toDisplayString(record.duty_editor || "--"), 1)
|
|
318
|
+
])
|
|
274
319
|
]),
|
|
275
320
|
pub_time: vue.withCtx(({ record }) => [
|
|
276
|
-
vue.createElementVNode("span",
|
|
321
|
+
vue.createElementVNode("span", _hoisted_8, [
|
|
322
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(index$1.timeFormat)(record.pub_time)), 1)
|
|
323
|
+
])
|
|
277
324
|
]),
|
|
278
325
|
_: 1
|
|
279
|
-
}, 8, ["data", "onCellMouseEnter", "onCellMouseLeave"])
|
|
326
|
+
}, 8, ["columns", "data", "onCellMouseEnter", "onCellMouseLeave"])
|
|
280
327
|
]),
|
|
281
|
-
vue.createElementVNode("div",
|
|
282
|
-
vue.createElementVNode("div",
|
|
328
|
+
vue.createElementVNode("div", _hoisted_9, [
|
|
329
|
+
vue.createElementVNode("div", _hoisted_10, [
|
|
283
330
|
vue.renderSlot(_ctx.$slots, "store"),
|
|
284
331
|
vue.withDirectives(vue.createVNode(vue.unref(webVue.Pagination), {
|
|
285
332
|
current: page.value.index,
|
|
@@ -29,10 +29,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
29
29
|
return (_ctx, _cache) => {
|
|
30
30
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
31
31
|
vue.createVNode(vue.unref(webVue.Popover), {
|
|
32
|
-
position: "tl",
|
|
33
|
-
"content-class": "selected-store-box-popover-content",
|
|
34
|
-
"content-style": { width: "290px" },
|
|
35
32
|
"arrow-style": { display: "none" },
|
|
33
|
+
"content-style": { width: "420px" },
|
|
34
|
+
"content-class": "selected-store-box-popover-content",
|
|
35
|
+
position: "tl",
|
|
36
36
|
trigger: "click"
|
|
37
37
|
}, {
|
|
38
38
|
content: vue.withCtx(() => [
|
|
@@ -49,17 +49,17 @@ const _sfc_main = vue.defineComponent({
|
|
|
49
49
|
}, [
|
|
50
50
|
vue.createElementVNode("div", _hoisted_3, [
|
|
51
51
|
vue.createVNode(component, {
|
|
52
|
+
type: item.series,
|
|
52
53
|
class: "icon",
|
|
53
|
-
doc: ""
|
|
54
|
-
type: item.series
|
|
54
|
+
doc: ""
|
|
55
55
|
}, null, 8, ["type"]),
|
|
56
56
|
vue.createElementVNode("span", _hoisted_4, vue.toDisplayString(item.alias || item.title), 1)
|
|
57
57
|
]),
|
|
58
58
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
59
59
|
class: "close-btn",
|
|
60
|
-
type: "text",
|
|
61
60
|
shape: "circle",
|
|
62
61
|
size: "mini",
|
|
62
|
+
type: "text",
|
|
63
63
|
onClick: ($event) => remove(item, index)
|
|
64
64
|
}, {
|
|
65
65
|
icon: vue.withCtx(() => [
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABaCAIAAAD8YgW4AAAQ7ElEQVR4nO1daZfcuG69ACnV5h7bLy/5/38wyRtv3SWRuPlASqLWUrV7mXlpHB+fKokiwUsQxKYueXxq8EGvT/reDPx/oQ+g34g+gH4j+gD6jegD6DeiD6DfiPz7Dk8aSUASvS8zr0rvBjRpzfVKWn9FVAWiqqoK0X8z6N8N6Ob6RLK8QjMCZrG8KKLqnIqK/r2hfx+gYwwTlCeU7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RSNpxuAaCQpTgPk9D6qMnibEUo1N2aukOv5c8ZSNQREomKri+2LUd4ye7bI63p4s2XuDt9p7XSOSYe2QUZW7ygfejt7519/WSBfr2//O9O/8R2D/UvQB9BvRB9BvRB9AvxH9HwEk5FW+fR9mAAAAAElFTkSuQmCC";
|
|
3
|
+
module.exports = _imports_0;
|
|
@@ -1,8 +1,38 @@
|
|
|
1
1
|
.media-filter-container {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
padding: 10px 20px;
|
|
6
|
+
|
|
7
|
+
.filter-item {
|
|
8
|
+
width: auto;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// 重置
|
|
12
|
+
.reset-button {
|
|
13
|
+
width: 74px;
|
|
14
|
+
padding: 9px 12px;
|
|
15
|
+
font-size: 14px;
|
|
16
|
+
|
|
17
|
+
.reset-icon {
|
|
18
|
+
margin-right: 8px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
//排序
|
|
23
|
+
.sort-button {
|
|
24
|
+
color: #4e5969;
|
|
25
|
+
|
|
5
26
|
.filter-item {
|
|
6
|
-
|
|
27
|
+
width: 102px;
|
|
28
|
+
|
|
29
|
+
.arco-select-view-suffix {
|
|
30
|
+
padding-left: 0;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:hover {
|
|
35
|
+
cursor: pointer;
|
|
7
36
|
}
|
|
8
|
-
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
.column-selection-container {
|
|
2
|
-
|
|
2
|
+
padding: 0 15px;
|
|
3
3
|
}
|
|
4
|
+
|
|
4
5
|
.column-selection-popover-content {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
.search-column {
|
|
7
|
+
margin-bottom: 4px;
|
|
8
|
+
padding: 4px 8px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.last-search-key {
|
|
12
|
+
height: 32px;
|
|
13
|
+
margin-left: 22px;
|
|
14
|
+
padding-left: 4px;
|
|
15
|
+
color: #165dff;
|
|
16
|
+
line-height: 32px;
|
|
17
|
+
border-radius: var(--border-radius-small);
|
|
18
|
+
|
|
19
|
+
&:hover {
|
|
20
|
+
color: var(--color-text-1);
|
|
21
|
+
background-color: var(--color-fill-2);
|
|
22
|
+
cursor: pointer;
|
|
8
23
|
}
|
|
9
|
-
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.column-outer-scrollbar {
|
|
27
|
+
height: 100%;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -1,47 +1,82 @@
|
|
|
1
1
|
.column-selection-container {
|
|
2
|
-
padding:
|
|
3
|
-
}
|
|
4
|
-
.column-selection-popover-content {
|
|
5
|
-
|
|
2
|
+
padding: 0 15px;
|
|
3
|
+
}
|
|
4
|
+
.column-selection-popover-content .search-column {
|
|
5
|
+
margin-bottom: 4px;
|
|
6
|
+
padding: 4px 8px;
|
|
7
|
+
}
|
|
8
|
+
.column-selection-popover-content .last-search-key {
|
|
9
|
+
height: 32px;
|
|
10
|
+
margin-left: 22px;
|
|
11
|
+
padding-left: 4px;
|
|
12
|
+
color: #165dff;
|
|
13
|
+
line-height: 32px;
|
|
14
|
+
border-radius: var(--border-radius-small);
|
|
15
|
+
}
|
|
16
|
+
.column-selection-popover-content .last-search-key:hover {
|
|
17
|
+
color: var(--color-text-1);
|
|
18
|
+
background-color: var(--color-fill-2);
|
|
19
|
+
cursor: pointer;
|
|
6
20
|
}
|
|
7
21
|
.column-selection-popover-content .column-outer-scrollbar {
|
|
8
22
|
height: 100%;
|
|
9
23
|
}
|
|
10
24
|
.media-filter-container {
|
|
11
|
-
padding: 10px 15px;
|
|
12
25
|
display: flex;
|
|
13
26
|
align-items: center;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
padding: 10px 20px;
|
|
14
29
|
}
|
|
15
30
|
.media-filter-container .filter-item {
|
|
16
31
|
width: auto;
|
|
17
32
|
}
|
|
33
|
+
.media-filter-container .reset-button {
|
|
34
|
+
width: 74px;
|
|
35
|
+
padding: 9px 12px;
|
|
36
|
+
font-size: 14px;
|
|
37
|
+
}
|
|
38
|
+
.media-filter-container .reset-button .reset-icon {
|
|
39
|
+
margin-right: 8px;
|
|
40
|
+
}
|
|
41
|
+
.media-filter-container .sort-button {
|
|
42
|
+
color: #4e5969;
|
|
43
|
+
}
|
|
44
|
+
.media-filter-container .sort-button .filter-item {
|
|
45
|
+
width: 102px;
|
|
46
|
+
}
|
|
47
|
+
.media-filter-container .sort-button .filter-item .arco-select-view-suffix {
|
|
48
|
+
padding-left: 0;
|
|
49
|
+
}
|
|
50
|
+
.media-filter-container .sort-button:hover {
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
}
|
|
18
53
|
.selected-store-box-popover-content {
|
|
19
54
|
padding: 0;
|
|
20
55
|
}
|
|
21
56
|
.selected-store-box-popover-content .batch-section-popover-main .item {
|
|
22
|
-
height: 35px;
|
|
23
57
|
display: flex;
|
|
24
58
|
align-items: center;
|
|
25
59
|
justify-content: space-between;
|
|
26
|
-
padding: 5px 10px;
|
|
27
60
|
box-sizing: border-box;
|
|
61
|
+
height: 42px;
|
|
62
|
+
padding: 5px 10px;
|
|
28
63
|
}
|
|
29
64
|
.selected-store-box-popover-content .batch-section-popover-main .item .icon {
|
|
65
|
+
display: inline-block;
|
|
30
66
|
width: 20px;
|
|
31
67
|
height: 25px;
|
|
32
68
|
margin-right: 8px;
|
|
33
69
|
font-size: 18px;
|
|
34
|
-
vertical-align: middle;
|
|
35
|
-
display: inline-block;
|
|
36
70
|
text-align: center;
|
|
71
|
+
vertical-align: middle;
|
|
37
72
|
}
|
|
38
73
|
.selected-store-box-popover-content .batch-section-popover-main .item .left {
|
|
39
|
-
width: 90%;
|
|
40
74
|
display: inline-block;
|
|
41
75
|
align-items: center;
|
|
42
|
-
|
|
76
|
+
width: 90%;
|
|
43
77
|
overflow: hidden;
|
|
44
78
|
white-space: nowrap;
|
|
79
|
+
text-overflow: ellipsis;
|
|
45
80
|
}
|
|
46
81
|
.selected-store-box-popover-content .batch-section-popover-main .item .close-btn {
|
|
47
82
|
display: none;
|
|
@@ -58,12 +93,22 @@
|
|
|
58
93
|
display: flex;
|
|
59
94
|
align-items: center;
|
|
60
95
|
justify-content: flex-end;
|
|
96
|
+
height: 42px;
|
|
97
|
+
border-top: 1px solid #f2f3f5;
|
|
61
98
|
}
|
|
62
99
|
.view-all-column-container {
|
|
63
100
|
height: 100%;
|
|
64
101
|
}
|
|
65
102
|
.view-all-column-container .content-table-view {
|
|
66
103
|
height: calc(100% - 110px);
|
|
104
|
+
padding: 0 20px;
|
|
105
|
+
}
|
|
106
|
+
.view-all-column-container .content-table-view .arco-checkbox {
|
|
107
|
+
padding: 0;
|
|
108
|
+
}
|
|
109
|
+
.view-all-column-container .content-table-view .pic-thumb-img {
|
|
110
|
+
width: 60px;
|
|
111
|
+
height: 45px;
|
|
67
112
|
}
|
|
68
113
|
.view-all-column-container .content-table-view .title-span,
|
|
69
114
|
.view-all-column-container .content-table-view .mp_title-span {
|