@cmstops/pro-compo 0.1.26 → 0.1.29
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 +100 -65
- package/dist/index.min.css +1 -1
- package/es/contentDetailList/components/Content/DocItem/index.js +1 -1
- package/es/contentDetailList/components/Content/DocMpItem/index.js +1 -1
- package/es/contentDetailList/components/Content/KongoNavItem/index.js +3 -3
- package/es/contentDetailList/components/Content/MaccountItem/index.js +30 -23
- package/es/contentDetailList/style/ComoItem.less +4 -0
- package/es/contentDetailList/style/ContentListItem.less +4 -0
- package/es/contentDetailList/style/DocItem.less +4 -6
- package/es/contentDetailList/style/DocMpItem.less +4 -6
- package/es/contentDetailList/style/KongoNavItem.less +4 -0
- package/es/contentDetailList/style/LiveItem.less +4 -0
- package/es/contentDetailList/style/MaccountItem.less +4 -0
- package/es/contentDetailList/style/index.css +28 -58
- package/es/contentDetailList/style/index.less +0 -1
- package/es/contentModal/component.js +165 -5
- package/es/contentModal/components/CompoList/index.js +13 -6
- package/es/contentModal/components/ContentList/MediaFilter/index.js +112 -0
- package/es/contentModal/components/ContentList/index.d.ts +0 -0
- package/es/contentModal/components/ContentList/index.js +269 -0
- package/es/contentModal/components/LiveList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/LiveList/MediaFilter/index.js +74 -0
- package/es/contentModal/components/LiveList/index.d.ts +0 -0
- package/es/contentModal/components/LiveList/index.js +227 -0
- package/es/contentModal/components/MpAccountList/MpAccountFilter/index.d.ts +0 -0
- package/es/contentModal/components/MpAccountList/MpAccountFilter/index.js +62 -0
- package/es/contentModal/components/MpAccountList/index.d.ts +0 -0
- package/es/contentModal/components/MpAccountList/index.js +222 -0
- package/es/contentModal/components/MpContentList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/MpContentList/MediaFilter/index.js +85 -0
- package/es/contentModal/components/MpContentList/index.d.ts +0 -0
- package/es/contentModal/components/MpContentList/index.js +214 -0
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +176 -12
- package/es/contentModal/components/ViewAllColumn/index.js +33 -14
- package/es/contentModal/images/user.js +2 -0
- package/es/contentModal/script/api.d.ts +3 -0
- package/es/contentModal/script/api.js +22 -1
- package/es/contentModal/style/ViewAllColumn.less +51 -31
- package/es/contentModal/style/index.css +21 -7
- package/es/dataTags/component.d.ts +0 -0
- package/es/{contentDetailList/components/DocTags/index.js → dataTags/component.js} +10 -8
- package/es/dataTags/index.d.ts +2 -0
- package/es/dataTags/index.js +7 -0
- package/es/dataTags/style/css.js +1 -0
- package/es/dataTags/style/index.css +51 -0
- package/es/dataTags/style/index.d.ts +1 -0
- package/es/dataTags/style/index.js +1 -0
- package/{lib/contentDetailList/style/DocTags.less → es/dataTags/style/index.less} +12 -8
- package/es/emptyData/component.js +5 -5
- package/es/index.css +100 -65
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/index.less +1 -0
- package/es/utils/typeMap.d.ts +6 -15
- package/es/utils/typeMap.js +21 -1
- package/lib/contentDetailList/components/Content/DocItem/index.js +4 -4
- package/lib/contentDetailList/components/Content/DocMpItem/index.js +2 -2
- package/lib/contentDetailList/components/Content/KongoNavItem/index.js +4 -4
- package/lib/contentDetailList/components/Content/MaccountItem/index.js +30 -23
- package/lib/contentDetailList/style/ComoItem.less +4 -0
- package/lib/contentDetailList/style/ContentListItem.less +4 -0
- package/lib/contentDetailList/style/DocItem.less +4 -6
- package/lib/contentDetailList/style/DocMpItem.less +4 -6
- package/lib/contentDetailList/style/KongoNavItem.less +4 -0
- package/lib/contentDetailList/style/LiveItem.less +4 -0
- package/lib/contentDetailList/style/MaccountItem.less +4 -0
- package/lib/contentDetailList/style/index.css +28 -58
- package/lib/contentDetailList/style/index.less +0 -1
- package/lib/contentModal/component.js +165 -5
- package/lib/contentModal/components/CompoList/index.js +15 -8
- package/lib/contentModal/components/ContentList/MediaFilter/index.js +113 -0
- package/lib/contentModal/components/ContentList/index.js +270 -0
- package/lib/contentModal/components/LiveList/MediaFilter/index.js +75 -0
- package/lib/contentModal/components/LiveList/index.js +228 -0
- package/lib/contentModal/components/MpAccountList/MpAccountFilter/index.js +63 -0
- package/lib/contentModal/components/MpAccountList/index.js +223 -0
- package/lib/contentModal/components/MpContentList/MediaFilter/index.js +86 -0
- package/lib/contentModal/components/MpContentList/index.js +215 -0
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +175 -11
- package/lib/contentModal/components/ViewAllColumn/index.js +33 -14
- package/lib/contentModal/images/user.js +3 -0
- package/lib/contentModal/script/api.js +24 -0
- package/lib/contentModal/style/ViewAllColumn.less +51 -31
- package/lib/contentModal/style/index.css +21 -7
- package/lib/{contentDetailList/components/DocTags/index.js → dataTags/component.js} +10 -8
- package/lib/dataTags/index.js +8 -0
- package/lib/dataTags/style/css.js +2 -0
- package/lib/dataTags/style/index.css +51 -0
- package/lib/dataTags/style/index.js +2 -0
- package/{es/contentDetailList/style/DocTags.less → lib/dataTags/style/index.less} +12 -8
- package/lib/emptyData/component.js +4 -4
- package/lib/index.css +100 -65
- package/lib/index.js +2 -0
- package/lib/index.less +1 -0
- package/lib/utils/typeMap.js +22 -0
- package/package.json +1 -1
- /package/es/{contentDetailList/components/DocTags → contentModal/components/ContentList/MediaFilter}/index.d.ts +0 -0
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var vue = require("vue");
|
|
3
|
+
var webVue = require("@arco-design/web-vue");
|
|
4
|
+
var doc = require("../../../../utils/doc.js");
|
|
3
5
|
var index = require("../columnTree/index.js");
|
|
4
6
|
const _hoisted_1 = { class: "media-filter-container" };
|
|
5
7
|
const _sfc_main = vue.defineComponent({
|
|
@@ -7,16 +9,102 @@ const _sfc_main = vue.defineComponent({
|
|
|
7
9
|
__name: "index",
|
|
8
10
|
props: {
|
|
9
11
|
group_id: {},
|
|
10
|
-
tree: {},
|
|
11
|
-
series: {},
|
|
12
|
-
banner: {},
|
|
12
|
+
tree: { default: () => [] },
|
|
13
|
+
series: { default: "all" },
|
|
14
|
+
banner: { default: "all" },
|
|
13
15
|
height: {},
|
|
14
16
|
userInfo: {}
|
|
15
17
|
},
|
|
16
|
-
emits: ["update:group_id"],
|
|
18
|
+
emits: ["update:group_id", "search"],
|
|
17
19
|
setup(__props, { emit }) {
|
|
18
20
|
const props = __props;
|
|
19
21
|
const column_id = vue.ref(0);
|
|
22
|
+
const filter = vue.ref({
|
|
23
|
+
keywords: "",
|
|
24
|
+
type: "",
|
|
25
|
+
cover_type: "",
|
|
26
|
+
banner: "",
|
|
27
|
+
sort: -1,
|
|
28
|
+
order: "create_time"
|
|
29
|
+
});
|
|
30
|
+
const bannerOptions = [
|
|
31
|
+
{
|
|
32
|
+
value: "",
|
|
33
|
+
key: "all",
|
|
34
|
+
label: "\u5168\u90E8\u8F6E\u64AD\u7C7B\u578B"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
value: "0",
|
|
38
|
+
label: "\u65E0\u72EC\u7ACB\u8F6E\u64AD"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
value: "1",
|
|
42
|
+
label: "\u6709\u72EC\u7ACB\u8F6E\u64AD"
|
|
43
|
+
}
|
|
44
|
+
];
|
|
45
|
+
const typeOptions = vue.computed(() => {
|
|
46
|
+
const arr = Object.keys(doc.docSeries).map((key) => {
|
|
47
|
+
return {
|
|
48
|
+
value: key,
|
|
49
|
+
label: doc.docSeries[key].replace("\u7A3F\u4EF6", "")
|
|
50
|
+
};
|
|
51
|
+
});
|
|
52
|
+
const filterArr = arr.filter((item) => {
|
|
53
|
+
if (props.series === "all") {
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
return props.series.split(",").includes(item.value);
|
|
57
|
+
});
|
|
58
|
+
return [{ value: "", label: "\u5168\u90E8\u7A3F\u4EF6\u7C7B\u578B" }, ...filterArr];
|
|
59
|
+
});
|
|
60
|
+
const thumbOptions = vue.computed(() => {
|
|
61
|
+
const arr = Object.keys(doc.docThumbMap()).map((key) => {
|
|
62
|
+
return {
|
|
63
|
+
value: key,
|
|
64
|
+
label: doc.docThumbMap()[key]
|
|
65
|
+
};
|
|
66
|
+
});
|
|
67
|
+
return [{ value: "", label: "\u5168\u90E8\u5C01\u9762\u7C7B\u578B" }, ...arr];
|
|
68
|
+
});
|
|
69
|
+
const showReset = vue.computed(() => {
|
|
70
|
+
let { banner } = filter.value;
|
|
71
|
+
if (props.banner !== "all") {
|
|
72
|
+
banner = "";
|
|
73
|
+
}
|
|
74
|
+
let series = filter.value.type;
|
|
75
|
+
if (props.series !== "all") {
|
|
76
|
+
series = "";
|
|
77
|
+
}
|
|
78
|
+
return filter.value.keywords || series || filter.value.cover_type || banner;
|
|
79
|
+
});
|
|
80
|
+
const reset = () => {
|
|
81
|
+
filter.value = {
|
|
82
|
+
keywords: "",
|
|
83
|
+
cover_type: "",
|
|
84
|
+
sort: -1,
|
|
85
|
+
order: "create_time"
|
|
86
|
+
};
|
|
87
|
+
if (props.banner !== "all") {
|
|
88
|
+
filter.value.banner = props.banner;
|
|
89
|
+
} else {
|
|
90
|
+
filter.value.banner = "";
|
|
91
|
+
}
|
|
92
|
+
if (props.series !== "all") {
|
|
93
|
+
filter.value.type = props.series;
|
|
94
|
+
} else {
|
|
95
|
+
filter.value.type = "";
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
const handleSearch = () => {
|
|
99
|
+
emit("search", filter.value);
|
|
100
|
+
};
|
|
101
|
+
vue.watch(
|
|
102
|
+
() => filter.value,
|
|
103
|
+
(val) => {
|
|
104
|
+
handleSearch();
|
|
105
|
+
},
|
|
106
|
+
{ deep: true }
|
|
107
|
+
);
|
|
20
108
|
vue.watch(
|
|
21
109
|
() => props.group_id,
|
|
22
110
|
(val) => {
|
|
@@ -31,13 +119,89 @@ const _sfc_main = vue.defineComponent({
|
|
|
31
119
|
);
|
|
32
120
|
return (_ctx, _cache) => {
|
|
33
121
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
34
|
-
vue.createVNode(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
122
|
+
vue.createVNode(vue.unref(webVue.Space), { size: "large" }, {
|
|
123
|
+
default: vue.withCtx(() => [
|
|
124
|
+
vue.createVNode(index, {
|
|
125
|
+
column_id: column_id.value,
|
|
126
|
+
"onUpdate:column_id": _cache[0] || (_cache[0] = ($event) => column_id.value = $event),
|
|
127
|
+
height: props.height,
|
|
128
|
+
tree: props.tree,
|
|
129
|
+
"user-info": props.userInfo
|
|
130
|
+
}, null, 8, ["column_id", "height", "tree", "user-info"]),
|
|
131
|
+
vue.createVNode(vue.unref(webVue.Select), {
|
|
132
|
+
modelValue: filter.value.type,
|
|
133
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => filter.value.type = $event),
|
|
134
|
+
class: "filter-item",
|
|
135
|
+
placeholder: "\u7C7B\u578B"
|
|
136
|
+
}, {
|
|
137
|
+
default: vue.withCtx(() => [
|
|
138
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(typeOptions.value, (item) => {
|
|
139
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
140
|
+
key: item.value,
|
|
141
|
+
label: item.label,
|
|
142
|
+
value: item.value
|
|
143
|
+
}, null, 8, ["label", "value"]);
|
|
144
|
+
}), 128))
|
|
145
|
+
]),
|
|
146
|
+
_: 1
|
|
147
|
+
}, 8, ["modelValue"]),
|
|
148
|
+
vue.createVNode(vue.unref(webVue.Select), {
|
|
149
|
+
modelValue: filter.value.cover_type,
|
|
150
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => filter.value.cover_type = $event),
|
|
151
|
+
class: "filter-item",
|
|
152
|
+
placeholder: "\u5C01\u9762"
|
|
153
|
+
}, {
|
|
154
|
+
default: vue.withCtx(() => [
|
|
155
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(thumbOptions.value, (item) => {
|
|
156
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
157
|
+
key: item.value,
|
|
158
|
+
label: item.label,
|
|
159
|
+
value: item.value
|
|
160
|
+
}, null, 8, ["label", "value"]);
|
|
161
|
+
}), 128))
|
|
162
|
+
]),
|
|
163
|
+
_: 1
|
|
164
|
+
}, 8, ["modelValue"]),
|
|
165
|
+
vue.createVNode(vue.unref(webVue.Select), {
|
|
166
|
+
modelValue: filter.value.banner,
|
|
167
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => filter.value.banner = $event),
|
|
168
|
+
class: "filter-item",
|
|
169
|
+
placeholder: "\u72EC\u7ACB\u8F6E\u64AD"
|
|
170
|
+
}, {
|
|
171
|
+
default: vue.withCtx(() => [
|
|
172
|
+
(vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(bannerOptions, (item) => {
|
|
173
|
+
return vue.createVNode(vue.unref(webVue.Option), {
|
|
174
|
+
key: item.value,
|
|
175
|
+
label: item.label,
|
|
176
|
+
value: item.value
|
|
177
|
+
}, null, 8, ["label", "value"]);
|
|
178
|
+
}), 64))
|
|
179
|
+
]),
|
|
180
|
+
_: 1
|
|
181
|
+
}, 8, ["modelValue"]),
|
|
182
|
+
vue.createVNode(vue.unref(webVue.Input), {
|
|
183
|
+
modelValue: filter.value.keywords,
|
|
184
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => filter.value.keywords = $event),
|
|
185
|
+
class: "filter-item",
|
|
186
|
+
"allow-clear": "",
|
|
187
|
+
placeholder: "\u8BF7\u8F93\u5165\u5185\u5BB9\u6807\u9898",
|
|
188
|
+
onPressEnter: handleSearch
|
|
189
|
+
}, null, 8, ["modelValue"]),
|
|
190
|
+
vue.withDirectives(vue.createVNode(vue.unref(webVue.Button), {
|
|
191
|
+
type: "text",
|
|
192
|
+
size: "small",
|
|
193
|
+
onClick: reset
|
|
194
|
+
}, {
|
|
195
|
+
default: vue.withCtx(() => [
|
|
196
|
+
vue.createTextVNode("\u91CD\u7F6E")
|
|
197
|
+
]),
|
|
198
|
+
_: 1
|
|
199
|
+
}, 512), [
|
|
200
|
+
[vue.vShow, showReset.value]
|
|
201
|
+
])
|
|
202
|
+
]),
|
|
203
|
+
_: 1
|
|
204
|
+
})
|
|
41
205
|
]);
|
|
42
206
|
};
|
|
43
207
|
}
|
|
@@ -3,7 +3,9 @@ var vue = require("vue");
|
|
|
3
3
|
var webVue = require("@arco-design/web-vue");
|
|
4
4
|
var component = require("../../../typeIcons/component.js");
|
|
5
5
|
var index = require("./MediaFilter/index.js");
|
|
6
|
+
var component$1 = require("../../../dataTags/component.js");
|
|
6
7
|
var batch = require("../../../hooks/batch.js");
|
|
8
|
+
var index$1 = require("../../../utils/index.js");
|
|
7
9
|
var api = require("../../script/api.js");
|
|
8
10
|
const _hoisted_1 = { class: "view-all-column-container" };
|
|
9
11
|
const _hoisted_2 = { class: "content-table-view" };
|
|
@@ -28,6 +30,15 @@ const _sfc_main = vue.defineComponent({
|
|
|
28
30
|
const props = __props;
|
|
29
31
|
const _maxSelect = props.maxSelect || 100;
|
|
30
32
|
const selectedData = vue.ref([]);
|
|
33
|
+
const categoryCascaderData = vue.ref([]);
|
|
34
|
+
const listMinHeight = vue.ref(0);
|
|
35
|
+
const mediaFileData = vue.ref([]);
|
|
36
|
+
const filter = vue.ref(null);
|
|
37
|
+
const page = vue.ref({
|
|
38
|
+
index: 1,
|
|
39
|
+
size: 30,
|
|
40
|
+
total: 0
|
|
41
|
+
});
|
|
31
42
|
const tempSelectedData = vue.computed(() => {
|
|
32
43
|
return props.defaultSelectedData || [];
|
|
33
44
|
});
|
|
@@ -38,7 +49,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
38
49
|
}
|
|
39
50
|
);
|
|
40
51
|
const importantBanner = vue.computed(() => {
|
|
41
|
-
|
|
52
|
+
if (!props.banner || props.banner === "all")
|
|
53
|
+
return false;
|
|
54
|
+
return !!props.banner;
|
|
42
55
|
});
|
|
43
56
|
const {
|
|
44
57
|
isItemChecked,
|
|
@@ -91,10 +104,23 @@ const _sfc_main = vue.defineComponent({
|
|
|
91
104
|
emit("change", selectedData.value);
|
|
92
105
|
};
|
|
93
106
|
const group_id = vue.ref(0);
|
|
94
|
-
const categoryCascaderData = vue.ref([]);
|
|
95
|
-
const listMinHeight = vue.ref(0);
|
|
96
107
|
const scrollPercent = { y: "100%" };
|
|
97
|
-
const search = () => {
|
|
108
|
+
const search = (_filter) => {
|
|
109
|
+
_filter = { ..._filter };
|
|
110
|
+
const where = [];
|
|
111
|
+
_filter.keywords && where.push(`kw:${_filter.keywords}`);
|
|
112
|
+
_filter.type && where.push(`series:${_filter.type}`);
|
|
113
|
+
_filter.state && where.push(`state:${_filter.state}`);
|
|
114
|
+
_filter.cover_type && where.push(`cover_type:${_filter.cover_type}`);
|
|
115
|
+
_filter.banner && where.push(`banner:${_filter.banner}`);
|
|
116
|
+
if (_filter.publish_date && Array.isArray(_filter.publish_date) && _filter.publish_date.length > 0) {
|
|
117
|
+
where.push(`publish_from:${_filter.publish_date[0] / 1e3}`);
|
|
118
|
+
where.push(`publish_to:${_filter.publish_date[1] / 1e3}`);
|
|
119
|
+
}
|
|
120
|
+
_filter.where = where;
|
|
121
|
+
filter.value = { ..._filter };
|
|
122
|
+
page.value.index = 1;
|
|
123
|
+
loadData();
|
|
98
124
|
};
|
|
99
125
|
const pageChangeHandle = (index2) => {
|
|
100
126
|
page.value.index = index2;
|
|
@@ -124,11 +150,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
124
150
|
categoryCascaderData.value = arr;
|
|
125
151
|
}
|
|
126
152
|
};
|
|
127
|
-
const page = vue.ref({
|
|
128
|
-
index: 1,
|
|
129
|
-
size: 30,
|
|
130
|
-
total: 0
|
|
131
|
-
});
|
|
132
153
|
const columns = [
|
|
133
154
|
{
|
|
134
155
|
title: "\u6807\u9898",
|
|
@@ -151,8 +172,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
151
172
|
slotName: "pub_time"
|
|
152
173
|
}
|
|
153
174
|
];
|
|
154
|
-
const mediaFileData = vue.ref([]);
|
|
155
|
-
const filter = vue.ref(null);
|
|
156
175
|
const importantSeries = vue.computed(() => {
|
|
157
176
|
return props.series !== "all";
|
|
158
177
|
});
|
|
@@ -192,7 +211,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
192
211
|
v.catalog = "doc";
|
|
193
212
|
v.target_id = v.id;
|
|
194
213
|
v.target_type = 3;
|
|
195
|
-
v.pub_time = v.created_at;
|
|
214
|
+
v.pub_time = v.pub_time || v.created_at;
|
|
196
215
|
v.update_time = v.updated_at;
|
|
197
216
|
v.pub_user_alias = v.author_alias;
|
|
198
217
|
return v;
|
|
@@ -247,13 +266,13 @@ const _sfc_main = vue.defineComponent({
|
|
|
247
266
|
])
|
|
248
267
|
]),
|
|
249
268
|
series: vue.withCtx(({ record }) => [
|
|
250
|
-
vue.
|
|
269
|
+
vue.createVNode(component$1, { item: record }, null, 8, ["item"])
|
|
251
270
|
]),
|
|
252
271
|
duty_editor: vue.withCtx(({ record }) => [
|
|
253
272
|
vue.createElementVNode("span", null, vue.toDisplayString(record.duty_editor || "--"), 1)
|
|
254
273
|
]),
|
|
255
274
|
pub_time: vue.withCtx(({ record }) => [
|
|
256
|
-
vue.createElementVNode("span", null, vue.toDisplayString(record.pub_time), 1)
|
|
275
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(index$1.timeFormat)(record.pub_time)), 1)
|
|
257
276
|
]),
|
|
258
277
|
_: 1
|
|
259
278
|
}, 8, ["data", "onCellMouseEnter", "onCellMouseLeave"])
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJAAAACQCAMAAADQmBKKAAABFFBMVEUAAADDw8Pp6enCwsLDw8PDw8PDw8PJycnb29vDw8PDw8PDw8PDw8PCwsLExMTExMTExM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XIe/y5A6ZsMNHFZRqeo5PyrQLCBJv0uSjIKQa6kUYTKCxuK4yRcEZEanGRorNnYIJetDSfDwy0RKDzt2GAlJ/ZCDS+cZbT7YqOnXLTW/3Ju7rgRwzAUbHOF9ClyhRQELf9rAZJg6/73iEVnQwVU9i00+4HKAXcBwwZnHJSG3vL6P/oNLedipvGHoXyadtOrPssnWl/GrG5sM6ijPnUFfOAFb8RSLhSYFcvIgjdegcc+RM5tv4xtHPjVwAo8iASUyUe6ECHRcreVK1+qtzkiaIQjAXwHQsycSJSU7bar/IoPnXlBdxp9oYkyey5kNVK2+kSFwCGqEgpNcIpjIb45SI1akBD5IpAqoRQHx0p2PGokOHooWJ8zsBBoB7FSZ85FXOGpwslLnO6jcPCDcO4g5+oI3nQ81ugeioiUk/qoUt5h8IaTwPZ41Mjg5C2c4lOTV5wE4mhSx2M5Mv1LDmyJs4kmO7NS4jaJ2pzqb5RQVorDWx2PJSSgY0gzCG9xmkz8jODjX5t0sNJWkjS5k/cvz5DDpxQvkveBMd/tzrsNAjEMAFArM1g6yVGKNCnyvz+CwvtvxQJIwNl3DbwJ3o1AIC2sbEkgYiqrqgakyLEaR6Bgb5ZV2LaDjuRZgU+gpzsWch1UmTuyAD4MqOsTHzR1OAcVPqAQnGcIyF/BMMDJYh35Q2ONcIkYfOY3sg8RrhTbipZfsrg2QUYiUdh8mdFla7PDufgtUIK/n/IE5EjtwZHeFSUAAAAASUVORK5CYII=";
|
|
3
|
+
module.exports = _imports_0;
|
|
@@ -44,9 +44,33 @@ async function getCategorylistsGroups(BASE_API, params) {
|
|
|
44
44
|
params
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
|
+
function searchMpaccount(BASE_API, params) {
|
|
48
|
+
return request(BASE_API, {
|
|
49
|
+
url: `/poplar/v3/poppy/mp_account/search`,
|
|
50
|
+
method: "get",
|
|
51
|
+
params
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
function getBroadcastList(BASE_API, params) {
|
|
55
|
+
return request(BASE_API, {
|
|
56
|
+
url: "/poplar/v3/ilives",
|
|
57
|
+
method: "get",
|
|
58
|
+
params
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
function getMpContentList(BASE_API, params) {
|
|
62
|
+
return request(BASE_API, {
|
|
63
|
+
url: "/poplar/v3/mp/media/list",
|
|
64
|
+
method: "get",
|
|
65
|
+
params
|
|
66
|
+
});
|
|
67
|
+
}
|
|
47
68
|
exports.checkCommitFulfillment = checkCommitFulfillment;
|
|
69
|
+
exports.getBroadcastList = getBroadcastList;
|
|
48
70
|
exports.getCategoryCategoriesTree = getCategoryCategoriesTree;
|
|
49
71
|
exports.getCategoryMediaNew = getCategoryMediaNew;
|
|
50
72
|
exports.getCategoryPath = getCategoryPath;
|
|
51
73
|
exports.getCategorylistsGroups = getCategorylistsGroups;
|
|
74
|
+
exports.getMpContentList = getMpContentList;
|
|
52
75
|
exports.searchMlists = searchMlists;
|
|
76
|
+
exports.searchMpaccount = searchMpaccount;
|
|
@@ -1,34 +1,54 @@
|
|
|
1
1
|
.view-all-column-container {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
2
|
+
height: 100%;
|
|
3
|
+
|
|
4
|
+
.content-table-view {
|
|
5
|
+
height: calc(100% - 110px);
|
|
6
|
+
|
|
7
|
+
.title-span,
|
|
8
|
+
.mp_title-span {
|
|
9
|
+
display: block;
|
|
10
|
+
width: 100%;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
text-overflow: ellipsis;
|
|
14
|
+
|
|
15
|
+
.icon {
|
|
16
|
+
display: inline-block;
|
|
17
|
+
width: 20px;
|
|
18
|
+
height: 25px;
|
|
19
|
+
margin-right: 8px;
|
|
20
|
+
padding-left: 0;
|
|
21
|
+
font-size: 18px;
|
|
22
|
+
text-align: center;
|
|
23
|
+
vertical-align: middle;
|
|
24
|
+
}
|
|
22
25
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
justify-content: space-between;
|
|
29
|
-
.left {
|
|
30
|
-
display: flex;
|
|
31
|
-
align-items: center;
|
|
32
|
-
}
|
|
26
|
+
|
|
27
|
+
.mp_title-span {
|
|
28
|
+
margin-left: 10px;
|
|
33
29
|
}
|
|
34
|
-
|
|
30
|
+
|
|
31
|
+
.user-avatar {
|
|
32
|
+
display: inline-block;
|
|
33
|
+
width: 25px;
|
|
34
|
+
height: 25px;
|
|
35
|
+
margin-right: 12px;
|
|
36
|
+
vertical-align: middle;
|
|
37
|
+
border-radius: 50%;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.bottom-view {
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
justify-content: space-between;
|
|
46
|
+
height: 60px;
|
|
47
|
+
margin: 0 15px;
|
|
48
|
+
|
|
49
|
+
.left {
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -65,29 +65,43 @@
|
|
|
65
65
|
.view-all-column-container .content-table-view {
|
|
66
66
|
height: calc(100% - 110px);
|
|
67
67
|
}
|
|
68
|
-
.view-all-column-container .content-table-view .title-span
|
|
69
|
-
|
|
68
|
+
.view-all-column-container .content-table-view .title-span,
|
|
69
|
+
.view-all-column-container .content-table-view .mp_title-span {
|
|
70
70
|
display: block;
|
|
71
|
-
|
|
71
|
+
width: 100%;
|
|
72
72
|
overflow: hidden;
|
|
73
73
|
white-space: nowrap;
|
|
74
|
+
text-overflow: ellipsis;
|
|
74
75
|
}
|
|
75
|
-
.view-all-column-container .content-table-view .title-span .icon
|
|
76
|
+
.view-all-column-container .content-table-view .title-span .icon,
|
|
77
|
+
.view-all-column-container .content-table-view .mp_title-span .icon {
|
|
78
|
+
display: inline-block;
|
|
76
79
|
width: 20px;
|
|
77
80
|
height: 25px;
|
|
78
81
|
margin-right: 8px;
|
|
79
82
|
padding-left: 0;
|
|
80
83
|
font-size: 18px;
|
|
84
|
+
text-align: center;
|
|
81
85
|
vertical-align: middle;
|
|
86
|
+
}
|
|
87
|
+
.view-all-column-container .content-table-view .mp_title-span {
|
|
88
|
+
margin-left: 10px;
|
|
89
|
+
}
|
|
90
|
+
.view-all-column-container .content-table-view .user-avatar {
|
|
82
91
|
display: inline-block;
|
|
83
|
-
|
|
92
|
+
width: 25px;
|
|
93
|
+
height: 25px;
|
|
94
|
+
margin-right: 12px;
|
|
95
|
+
vertical-align: middle;
|
|
96
|
+
border-radius: 50%;
|
|
97
|
+
cursor: pointer;
|
|
84
98
|
}
|
|
85
99
|
.view-all-column-container .bottom-view {
|
|
86
|
-
height: 60px;
|
|
87
|
-
margin: 0px 15px;
|
|
88
100
|
display: flex;
|
|
89
101
|
align-items: center;
|
|
90
102
|
justify-content: space-between;
|
|
103
|
+
height: 60px;
|
|
104
|
+
margin: 0 15px;
|
|
91
105
|
}
|
|
92
106
|
.view-all-column-container .bottom-view .left {
|
|
93
107
|
display: flex;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var vue = require("vue");
|
|
3
3
|
var webVue = require("@arco-design/web-vue");
|
|
4
|
-
var typeMap = require("
|
|
5
|
-
var doc = require("
|
|
6
|
-
var component = require("
|
|
4
|
+
var typeMap = require("../utils/typeMap.js");
|
|
5
|
+
var doc = require("../utils/doc.js");
|
|
6
|
+
var component = require("../typeIcons/component.js");
|
|
7
7
|
const _hoisted_1 = { class: "doc-tags-container" };
|
|
8
8
|
const _hoisted_2 = { class: "doc-tags-thumb-ul" };
|
|
9
9
|
const _hoisted_3 = ["src"];
|
|
10
10
|
const _hoisted_4 = { key: 0 };
|
|
11
11
|
const _hoisted_5 = { key: 1 };
|
|
12
12
|
const _sfc_main = vue.defineComponent({
|
|
13
|
-
|
|
13
|
+
...{ name: "dataTags" },
|
|
14
|
+
__name: "component",
|
|
14
15
|
props: {
|
|
15
16
|
item: {},
|
|
16
|
-
popverThumb: { type: Boolean },
|
|
17
|
+
popverThumb: { type: Boolean, default: true },
|
|
17
18
|
disabled: { type: Boolean }
|
|
18
19
|
},
|
|
19
20
|
setup(__props) {
|
|
@@ -56,6 +57,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
56
57
|
_ctx.popverThumb && thumbList.value.length ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Popover), {
|
|
57
58
|
key: 0,
|
|
58
59
|
"content-class": "doc-tags-thumb-popver",
|
|
60
|
+
"arrow-class": "doc-tags-popver-arrow",
|
|
59
61
|
duration: 500,
|
|
60
62
|
position: "top",
|
|
61
63
|
class: "no-margin",
|
|
@@ -76,8 +78,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
76
78
|
]),
|
|
77
79
|
default: vue.withCtx(() => [
|
|
78
80
|
vue.createVNode(vue.unref(webVue.Tag), {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
+
size: "small",
|
|
82
|
+
class: vue.normalizeClass([{ disabled: _ctx.disabled }, "thumb"])
|
|
81
83
|
}, {
|
|
82
84
|
default: vue.withCtx(() => [
|
|
83
85
|
vue.createTextVNode(vue.toDisplayString(thumbType.value), 1)
|
|
@@ -173,7 +175,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
173
175
|
size: "small"
|
|
174
176
|
}, {
|
|
175
177
|
default: vue.withCtx(() => [
|
|
176
|
-
vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.
|
|
178
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.mp_type_map)[_ctx.item.mp_type]), 1)
|
|
177
179
|
]),
|
|
178
180
|
_: 1
|
|
179
181
|
})) : _ctx.item.catalog === "mp_content" ? (vue.openBlock(), vue.createBlock(component, {
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
.doc-tags-container .arco-tag {
|
|
2
|
+
font-weight: 600;
|
|
3
|
+
border: none;
|
|
4
|
+
margin-right: 5px;
|
|
5
|
+
}
|
|
6
|
+
.doc-tags-container .yuanchuang {
|
|
7
|
+
color: #4886ff;
|
|
8
|
+
background: #edf3ff;
|
|
9
|
+
}
|
|
10
|
+
.doc-tags-container .star {
|
|
11
|
+
color: #4a8457;
|
|
12
|
+
background: #e6f8ea;
|
|
13
|
+
}
|
|
14
|
+
.doc-tags-container .waring {
|
|
15
|
+
color: #ff7d00;
|
|
16
|
+
background: #fff2e6;
|
|
17
|
+
}
|
|
18
|
+
.doc-tags-container .thumb {
|
|
19
|
+
color: #86909c;
|
|
20
|
+
background: #f3f4f5;
|
|
21
|
+
}
|
|
22
|
+
.doc-tags-container .disabled {
|
|
23
|
+
color: #bababa !important;
|
|
24
|
+
background: #ecebeb !important;
|
|
25
|
+
}
|
|
26
|
+
.doc-tags-popver-arrow {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
.no-margin span {
|
|
30
|
+
margin-right: 0 !important;
|
|
31
|
+
}
|
|
32
|
+
.doc-tags-thumb-popver {
|
|
33
|
+
min-width: unset;
|
|
34
|
+
padding: 0;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
line-height: unset;
|
|
37
|
+
border: none;
|
|
38
|
+
border-radius: 8px;
|
|
39
|
+
}
|
|
40
|
+
.doc-tags-thumb-popver .arco-popover-content {
|
|
41
|
+
margin-top: 0;
|
|
42
|
+
}
|
|
43
|
+
.doc-tags-thumb-popver .doc-tags-thumb-ul {
|
|
44
|
+
height: 110px;
|
|
45
|
+
}
|
|
46
|
+
.doc-tags-thumb-popver .doc-tags-thumb-ul img {
|
|
47
|
+
height: 100%;
|
|
48
|
+
}
|
|
49
|
+
.doc-tags-thumb-popver .doc-tags-thumb-ul img + img {
|
|
50
|
+
margin-left: 2px;
|
|
51
|
+
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
.no-margin {
|
|
2
|
-
span {
|
|
3
|
-
margin-right: 0 !important;
|
|
4
|
-
}
|
|
5
|
-
}
|
|
6
|
-
|
|
7
1
|
.doc-tags-container {
|
|
8
2
|
.arco-tag {
|
|
9
3
|
font-weight: 600;
|
|
@@ -37,6 +31,16 @@
|
|
|
37
31
|
}
|
|
38
32
|
}
|
|
39
33
|
|
|
34
|
+
.doc-tags-popver-arrow {
|
|
35
|
+
display: none;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.no-margin {
|
|
39
|
+
span {
|
|
40
|
+
margin-right: 0 !important;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
40
44
|
.doc-tags-thumb-popver {
|
|
41
45
|
min-width: unset;
|
|
42
46
|
padding: 0;
|
|
@@ -45,8 +49,8 @@
|
|
|
45
49
|
border: none;
|
|
46
50
|
border-radius: 8px;
|
|
47
51
|
|
|
48
|
-
.
|
|
49
|
-
|
|
52
|
+
.arco-popover-content {
|
|
53
|
+
margin-top: 0;
|
|
50
54
|
}
|
|
51
55
|
|
|
52
56
|
.doc-tags-thumb-ul {
|