@cmstops/pro-compo 0.1.17 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +70 -82
- package/dist/index.min.css +1 -1
- package/es/contentDetailList/component.js +7 -7
- package/es/contentDetailList/components/Content/CompoItem/index.js +3 -2
- package/es/contentDetailList/components/Content/ContentListItem/index.js +21 -13
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +2 -3
- package/es/contentDetailList/components/Content/DocItem/index.js +4 -2
- package/es/contentDetailList/components/Content/KongoNavItem/DocTags/index.js +9 -8
- package/es/contentDetailList/components/Content/KongoNavItem/index.js +3 -2
- package/es/contentDetailList/components/Content/LiveItem/index.js +3 -2
- package/es/contentDetailList/components/Content/MaccountItem/index.js +2 -1
- package/es/contentDetailList/components/Content/index.js +17 -19
- package/es/contentDetailList/scripts/index.d.ts +0 -10
- package/es/contentDetailList/style/ComoItem.less +7 -19
- package/es/contentDetailList/style/ContentListItem.less +28 -28
- package/es/contentDetailList/style/DocItem.less +10 -16
- package/es/contentDetailList/style/DocTags.less +2 -1
- package/es/contentDetailList/style/KongoNavItem.less +6 -19
- package/es/contentDetailList/style/LiveItem.less +8 -20
- package/es/contentDetailList/style/MaccountItem.less +8 -16
- package/es/contentDetailList/style/index.css +68 -82
- package/es/contentDetailList/style/index.less +10 -0
- package/es/emptyData/component.js +55 -11
- package/es/emptyData/svg/acount.js +19 -0
- package/es/emptyData/svg/add.d.ts +0 -0
- package/es/emptyData/svg/add.js +22 -0
- package/es/emptyData/svg/analize.js +19 -0
- package/es/emptyData/svg/analize_fail.js +19 -0
- package/es/emptyData/svg/empty.js +19 -0
- package/es/emptyData/svg/file.js +19 -0
- package/es/emptyData/svg/manager.js +19 -0
- package/es/emptyData/svg/message.js +31 -0
- package/es/emptyData/svg/noanalize.js +19 -0
- package/es/emptyData/svg/null.js +19 -0
- package/es/emptyData/svg/search.js +19 -0
- package/es/emptyData/svg/star.js +19 -0
- package/es/emptyData/svg/trash.js +19 -0
- package/es/emptyData/svg/user.js +19 -0
- package/es/index.css +70 -82
- package/es/mediaFilter/style/index.css +1 -0
- package/es/mediaFilter/style/index.less +1 -0
- package/es/style.css +1 -0
- package/es/typeIcons/style/index.css +1 -0
- package/es/typeIcons/style/index.less +1 -0
- package/es/utils/doc.d.ts +1 -0
- package/es/utils/doc.js +27 -1
- package/es/utils/index.d.ts +2 -0
- package/es/utils/index.js +16 -1
- package/es/utils/typeMap.d.ts +19 -0
- package/es/utils/typeMap.js +65 -1
- package/lib/contentDetailList/component.js +7 -7
- package/lib/contentDetailList/components/Content/CompoItem/index.js +4 -3
- package/lib/contentDetailList/components/Content/ContentListItem/index.js +22 -14
- package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +8 -9
- package/lib/contentDetailList/components/Content/DocItem/index.js +8 -6
- package/lib/contentDetailList/components/Content/KongoNavItem/DocTags/index.js +16 -15
- package/lib/contentDetailList/components/Content/KongoNavItem/index.js +3 -2
- package/lib/contentDetailList/components/Content/LiveItem/index.js +3 -2
- package/lib/contentDetailList/components/Content/MaccountItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/index.js +16 -18
- package/lib/contentDetailList/style/ComoItem.less +7 -19
- package/lib/contentDetailList/style/ContentListItem.less +28 -28
- package/lib/contentDetailList/style/DocItem.less +10 -16
- package/lib/contentDetailList/style/DocTags.less +2 -1
- package/lib/contentDetailList/style/KongoNavItem.less +6 -19
- package/lib/contentDetailList/style/LiveItem.less +8 -20
- package/lib/contentDetailList/style/MaccountItem.less +8 -16
- package/lib/contentDetailList/style/index.css +68 -82
- package/lib/contentDetailList/style/index.less +10 -0
- package/lib/emptyData/component.js +85 -10
- package/lib/emptyData/svg/acount.js +20 -0
- package/lib/emptyData/svg/add.js +23 -0
- package/lib/emptyData/svg/analize.js +20 -0
- package/lib/emptyData/svg/analize_fail.js +20 -0
- package/lib/emptyData/svg/empty.js +20 -0
- package/lib/emptyData/svg/file.js +20 -0
- package/lib/emptyData/svg/manager.js +20 -0
- package/lib/emptyData/svg/message.js +32 -0
- package/lib/emptyData/svg/noanalize.js +20 -0
- package/lib/emptyData/svg/null.js +20 -0
- package/lib/emptyData/svg/search.js +20 -0
- package/lib/emptyData/svg/star.js +20 -0
- package/lib/emptyData/svg/trash.js +20 -0
- package/lib/emptyData/svg/user.js +20 -0
- package/lib/index.css +70 -82
- package/lib/mediaFilter/style/index.css +1 -0
- package/lib/mediaFilter/style/index.less +1 -0
- package/lib/typeIcons/style/index.css +1 -0
- package/lib/typeIcons/style/index.less +1 -0
- package/lib/utils/doc.js +29 -0
- package/lib/utils/index.js +17 -0
- package/lib/utils/typeMap.js +71 -0
- package/package.json +1 -1
- package/es/contentDetailList/scripts/data.d.ts +0 -254
- package/es/contentDetailList/scripts/index.js +0 -137
- package/lib/contentDetailList/scripts/index.js +0 -153
|
@@ -3,7 +3,8 @@ var vue = require("vue");
|
|
|
3
3
|
var webVue = require("@arco-design/web-vue");
|
|
4
4
|
var icon = require("@arco-design/web-vue/es/icon");
|
|
5
5
|
var component = require("../../../../typeIcons/component.js");
|
|
6
|
-
var index = require("
|
|
6
|
+
var index = require("../../../../utils/index.js");
|
|
7
|
+
var typeMap = require("../../../../utils/typeMap.js");
|
|
7
8
|
const _hoisted_1 = { class: "cover-view" };
|
|
8
9
|
const _hoisted_2 = {
|
|
9
10
|
key: 1,
|
|
@@ -11,10 +12,10 @@ const _hoisted_2 = {
|
|
|
11
12
|
};
|
|
12
13
|
const _hoisted_3 = { class: "info-view" };
|
|
13
14
|
const _hoisted_4 = { class: "title_i" };
|
|
14
|
-
const _hoisted_5 = { class: "
|
|
15
|
+
const _hoisted_5 = { class: "title-tips" };
|
|
15
16
|
const _hoisted_6 = {
|
|
16
17
|
key: 0,
|
|
17
|
-
class: "
|
|
18
|
+
class: "title-tips red"
|
|
18
19
|
};
|
|
19
20
|
const _hoisted_7 = { class: "abttrite-v" };
|
|
20
21
|
const _hoisted_8 = { class: "left" };
|
|
@@ -26,7 +27,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
26
27
|
__name: "index",
|
|
27
28
|
props: {
|
|
28
29
|
item: {},
|
|
29
|
-
|
|
30
|
+
parmas: {}
|
|
30
31
|
},
|
|
31
32
|
emits: ["clickTitle"],
|
|
32
33
|
setup(__props, { emit }) {
|
|
@@ -40,13 +41,14 @@ const _sfc_main = vue.defineComponent({
|
|
|
40
41
|
};
|
|
41
42
|
return (_ctx, _cache) => {
|
|
42
43
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
43
|
-
class: vue.normalizeClass(["medialist-component-item-view", {
|
|
44
|
+
class: vue.normalizeClass(["medialist-component-item-view", { "gray-for-state-hide": hide.value }])
|
|
44
45
|
}, [
|
|
45
46
|
vue.createElementVNode("div", _hoisted_1, [
|
|
46
47
|
_ctx.item.cover && _ctx.item.cover.data && _ctx.item.cover.data[0] ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
|
|
47
48
|
key: 0,
|
|
48
49
|
src: _ctx.item.cover.data[0].thumb,
|
|
49
|
-
fit: "cover"
|
|
50
|
+
fit: "cover",
|
|
51
|
+
class: "image"
|
|
50
52
|
}, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1))
|
|
51
53
|
]),
|
|
52
54
|
vue.createElementVNode("div", _hoisted_3, [
|
|
@@ -64,12 +66,18 @@ const _sfc_main = vue.defineComponent({
|
|
|
64
66
|
position: "top",
|
|
65
67
|
trigger: "hover"
|
|
66
68
|
}, {
|
|
67
|
-
default: vue.withCtx(() =>
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
vue.
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
default: vue.withCtx(() => {
|
|
70
|
+
var _a, _b, _c, _d;
|
|
71
|
+
return [
|
|
72
|
+
((_b = (_a = _ctx.parmas) == null ? void 0 : _a.labelTip) == null ? void 0 : _b.info(_ctx.item)) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6, [
|
|
73
|
+
vue.createVNode(vue.unref(icon.IconInfoCircle), {
|
|
74
|
+
class: "icon",
|
|
75
|
+
size: "16"
|
|
76
|
+
}),
|
|
77
|
+
vue.createElementVNode("span", null, vue.toDisplayString(((_d = (_c = _ctx.parmas) == null ? void 0 : _c.labelTip) == null ? void 0 : _d.info(_ctx.item)) || ""), 1)
|
|
78
|
+
])) : vue.createCommentVNode("v-if", true)
|
|
79
|
+
];
|
|
80
|
+
}),
|
|
73
81
|
_: 1
|
|
74
82
|
})
|
|
75
83
|
]),
|
|
@@ -81,10 +89,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
81
89
|
type: _ctx.item.series
|
|
82
90
|
}, null, 8, ["type"]),
|
|
83
91
|
vue.createElementVNode("span", _hoisted_9, [
|
|
84
|
-
vue.createTextVNode(vue.toDisplayString(vue.unref(
|
|
92
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.contentList_relation_type_map)[_ctx.item.relation_type]) + "\u9891\u9053", 1),
|
|
85
93
|
vue.renderSlot(_ctx.$slots, "tip")
|
|
86
94
|
]),
|
|
87
|
-
vue.createElementVNode("span", _hoisted_10, vue.toDisplayString(vue.unref(
|
|
95
|
+
vue.createElementVNode("span", _hoisted_10, vue.toDisplayString(vue.unref(typeMap.contentList_layout_map)[_ctx.item.list_layout || "blank"]), 1),
|
|
88
96
|
vue.createElementVNode("span", _hoisted_11, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
|
|
89
97
|
]),
|
|
90
98
|
vue.createElementVNode("div", _hoisted_12, [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var vue = require("vue");
|
|
3
|
-
var
|
|
3
|
+
var typeMap = require("../../../../../utils/typeMap.js");
|
|
4
4
|
const _hoisted_1 = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "approval-state-view"
|
|
@@ -40,12 +40,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
40
40
|
}),
|
|
41
41
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => showUserInfo(_ctx.item), ["stop"]))
|
|
42
42
|
}, [
|
|
43
|
-
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(
|
|
43
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(typeMap.calcApprovingUser)(_ctx.item)), 1),
|
|
44
44
|
vue.createElementVNode("span", null, [
|
|
45
|
-
vue.createTextVNode(vue.toDisplayString(vue.unref(
|
|
46
|
-
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(
|
|
47
|
-
])
|
|
48
|
-
vue.createCommentVNode(' <img\n v-show="calcIsRobot(item)"\n class="ai-iconfont"\n src="static/images/icon-ai.png"\n /> ')
|
|
45
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.approveFlowStatusMap)[_ctx.item.status]) + " ", 1),
|
|
46
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(typeMap.calcApprovingDependent)(_ctx.item)), 1)
|
|
47
|
+
])
|
|
49
48
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
50
49
|
])) : [2, 3].includes(_ctx.item.status) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
51
50
|
key: 1,
|
|
@@ -54,8 +53,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
54
53
|
pass: _ctx.item.status === 3
|
|
55
54
|
})
|
|
56
55
|
}, [
|
|
57
|
-
vue.createTextVNode(vue.toDisplayString(vue.unref(
|
|
58
|
-
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(
|
|
56
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.approveFlowStatusMap)[_ctx.item.status]) + " ", 1),
|
|
57
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(typeMap.calcApprovingDependent)(_ctx.item)), 1)
|
|
59
58
|
], 2)) : (vue.openBlock(), vue.createElementBlock("span", {
|
|
60
59
|
key: 2,
|
|
61
60
|
class: vue.normalizeClass({
|
|
@@ -63,7 +62,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
63
62
|
pass: _ctx.item.status === 5,
|
|
64
63
|
checking: [6, 7].includes(_ctx.item.status)
|
|
65
64
|
})
|
|
66
|
-
}, vue.toDisplayString(vue.unref(
|
|
65
|
+
}, vue.toDisplayString(vue.unref(typeMap.approveFlowStatusMap)[_ctx.item.status]), 3))
|
|
67
66
|
])) : vue.createCommentVNode("v-if", true);
|
|
68
67
|
};
|
|
69
68
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var vue = require("vue");
|
|
3
3
|
var webVue = require("@arco-design/web-vue");
|
|
4
|
-
var index = require("
|
|
4
|
+
var index = require("../../../../utils/index.js");
|
|
5
|
+
var doc = require("../../../../utils/doc.js");
|
|
5
6
|
var component = require("../../../../typeIcons/component.js");
|
|
6
7
|
var index$1 = require("../KongoNavItem/DocTags/index.js");
|
|
7
8
|
var index$2 = require("./ApprovalStateMap/index.js");
|
|
@@ -66,7 +67,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
66
67
|
};
|
|
67
68
|
return (_ctx, _cache) => {
|
|
68
69
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
69
|
-
class: vue.normalizeClass(["medialist-doc-item-view", {
|
|
70
|
+
class: vue.normalizeClass(["medialist-doc-item-view", { "gray-for-state-hide": hide.value }]),
|
|
70
71
|
onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, _ctx.item)),
|
|
71
72
|
onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, _ctx.item))
|
|
72
73
|
}, [
|
|
@@ -74,6 +75,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
74
75
|
thumb.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
|
|
75
76
|
key: 0,
|
|
76
77
|
src: thumb.value,
|
|
78
|
+
class: "image",
|
|
77
79
|
fit: "cover"
|
|
78
80
|
}, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1)),
|
|
79
81
|
vue.createElementVNode("div", _hoisted_3, [
|
|
@@ -104,19 +106,19 @@ const _sfc_main = vue.defineComponent({
|
|
|
104
106
|
vue.createCommentVNode(" \u5BA1\u6838\u72B6\u6001 "),
|
|
105
107
|
column.key === "approval_status" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8, [
|
|
106
108
|
_hoisted_9,
|
|
107
|
-
vue.unref(
|
|
109
|
+
vue.unref(doc.approvalItem)(_ctx.item) ? (vue.openBlock(), vue.createBlock(index$2, {
|
|
108
110
|
key: 0,
|
|
109
|
-
item: vue.unref(
|
|
111
|
+
item: vue.unref(doc.approvalItem)(_ctx.item)
|
|
110
112
|
}, null, 8, ["item"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_10, "--"))
|
|
111
113
|
])) : column.key === "state" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
112
114
|
vue.createCommentVNode(" \u72B6\u6001 "),
|
|
113
115
|
vue.createElementVNode("span", _hoisted_11, [
|
|
114
116
|
vue.createVNode(vue.unref(webVue.Tooltip), {
|
|
115
|
-
content: `\u72B6\u6001: ${vue.unref(
|
|
117
|
+
content: `\u72B6\u6001: ${vue.unref(doc.docStateMap)[_ctx.item.state]}`,
|
|
116
118
|
position: "top"
|
|
117
119
|
}, {
|
|
118
120
|
default: vue.withCtx(() => [
|
|
119
|
-
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(
|
|
121
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(doc.docStateMap)[_ctx.item.state]), 1)
|
|
120
122
|
]),
|
|
121
123
|
_: 1
|
|
122
124
|
}, 8, ["content"])
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var vue = require("vue");
|
|
3
3
|
var webVue = require("@arco-design/web-vue");
|
|
4
|
-
var
|
|
4
|
+
var typeMap = require("../../../../../utils/typeMap.js");
|
|
5
|
+
var doc = require("../../../../../utils/doc.js");
|
|
5
6
|
const _hoisted_1 = { class: "doc-tags-container" };
|
|
6
7
|
const _hoisted_2 = { class: "doc-tags-thumb-ul" };
|
|
7
8
|
const _hoisted_3 = ["src"];
|
|
@@ -22,12 +23,12 @@ const _sfc_main = vue.defineComponent({
|
|
|
22
23
|
const style = JSON.parse(props.item.style);
|
|
23
24
|
if (style.model === 0)
|
|
24
25
|
return "\u65E0\u56FE";
|
|
25
|
-
return
|
|
26
|
+
return doc.docThumbMap()[style.model];
|
|
26
27
|
}
|
|
27
28
|
if (props.item.cover) {
|
|
28
29
|
if (props.item.cover.model === 0)
|
|
29
30
|
return "\u65E0\u56FE";
|
|
30
|
-
return
|
|
31
|
+
return doc.docThumbMap()[props.item.cover.model];
|
|
31
32
|
}
|
|
32
33
|
return "\u65E0\u56FE";
|
|
33
34
|
});
|
|
@@ -62,9 +63,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
62
63
|
}, {
|
|
63
64
|
content: vue.withCtx(() => [
|
|
64
65
|
vue.createElementVNode("div", _hoisted_2, [
|
|
65
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(thumbs.value, (thumb,
|
|
66
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(thumbs.value, (thumb, index) => {
|
|
66
67
|
return vue.openBlock(), vue.createElementBlock("img", {
|
|
67
|
-
key:
|
|
68
|
+
key: index,
|
|
68
69
|
src: thumb.thumb || thumb.url,
|
|
69
70
|
fit: "cover",
|
|
70
71
|
lazy: true
|
|
@@ -75,7 +76,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
75
76
|
default: vue.withCtx(() => [
|
|
76
77
|
vue.createVNode(vue.unref(webVue.Tag), {
|
|
77
78
|
class: vue.normalizeClass({ disabled: _ctx.disabled }),
|
|
78
|
-
size: "
|
|
79
|
+
size: "small"
|
|
79
80
|
}, {
|
|
80
81
|
default: vue.withCtx(() => [
|
|
81
82
|
vue.createTextVNode(vue.toDisplayString(thumbType.value), 1)
|
|
@@ -92,7 +93,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
92
93
|
}, {
|
|
93
94
|
default: vue.withCtx(() => [
|
|
94
95
|
vue.createVNode(vue.unref(webVue.Tag), {
|
|
95
|
-
size: "
|
|
96
|
+
size: "small",
|
|
96
97
|
class: vue.normalizeClass([{ disabled: _ctx.disabled }, "thumb"])
|
|
97
98
|
}, {
|
|
98
99
|
default: vue.withCtx(() => [
|
|
@@ -111,7 +112,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
111
112
|
}, {
|
|
112
113
|
default: vue.withCtx(() => [
|
|
113
114
|
vue.createVNode(vue.unref(webVue.Tag), {
|
|
114
|
-
size: "
|
|
115
|
+
size: "small",
|
|
115
116
|
class: vue.normalizeClass([{ disabled: _ctx.disabled }, "yuanchuang"])
|
|
116
117
|
}, {
|
|
117
118
|
default: vue.withCtx(() => [
|
|
@@ -129,7 +130,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
129
130
|
}, {
|
|
130
131
|
default: vue.withCtx(() => [
|
|
131
132
|
vue.createVNode(vue.unref(webVue.Tag), {
|
|
132
|
-
size: "
|
|
133
|
+
size: "small",
|
|
133
134
|
class: vue.normalizeClass([{ disabled: _ctx.disabled }, "star"])
|
|
134
135
|
}, {
|
|
135
136
|
default: vue.withCtx(() => [
|
|
@@ -147,7 +148,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
147
148
|
}, {
|
|
148
149
|
default: vue.withCtx(() => [
|
|
149
150
|
vue.createVNode(vue.unref(webVue.Tag), {
|
|
150
|
-
size: "
|
|
151
|
+
size: "small",
|
|
151
152
|
class: vue.normalizeClass([{ disabled: _ctx.disabled }, "waring"])
|
|
152
153
|
}, {
|
|
153
154
|
default: vue.withCtx(() => [
|
|
@@ -160,22 +161,22 @@ const _sfc_main = vue.defineComponent({
|
|
|
160
161
|
}, 8, ["content"])) : vue.createCommentVNode("v-if", true)
|
|
161
162
|
], 64)) : _ctx.item.catalog === "kongo" ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tag), {
|
|
162
163
|
key: 1,
|
|
163
|
-
size: "
|
|
164
|
+
size: "small"
|
|
164
165
|
}, {
|
|
165
166
|
default: vue.withCtx(() => [
|
|
166
|
-
vue.createTextVNode(vue.toDisplayString(vue.unref(
|
|
167
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.kongo_source_map)[_ctx.item.series]), 1)
|
|
167
168
|
]),
|
|
168
169
|
_: 1
|
|
169
170
|
})) : _ctx.item.catalog === "mp_account" ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tag), {
|
|
170
171
|
key: 2,
|
|
171
|
-
size: "
|
|
172
|
+
size: "small"
|
|
172
173
|
}, {
|
|
173
174
|
default: vue.withCtx(() => [
|
|
174
|
-
vue.createTextVNode(vue.toDisplayString(vue.unref(
|
|
175
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.contentList_list_type_map)[_ctx.item.mp_type]), 1)
|
|
175
176
|
]),
|
|
176
177
|
_: 1
|
|
177
178
|
})) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [
|
|
178
|
-
_ctx.item.list_type ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4, vue.toDisplayString(vue.unref(
|
|
179
|
+
_ctx.item.list_type ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4, vue.toDisplayString(vue.unref(typeMap.contentList_list_type_map)[_ctx.item.list_type]), 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_5, "--"))
|
|
179
180
|
], 64))
|
|
180
181
|
])
|
|
181
182
|
], 2112);
|
|
@@ -3,7 +3,7 @@ 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$1 = require("./DocTags/index.js");
|
|
6
|
-
var index = require("
|
|
6
|
+
var index = require("../../../../utils/index.js");
|
|
7
7
|
const _hoisted_1 = { class: "cover-view" };
|
|
8
8
|
const _hoisted_2 = {
|
|
9
9
|
key: 1,
|
|
@@ -66,13 +66,14 @@ const _sfc_main = vue.defineComponent({
|
|
|
66
66
|
};
|
|
67
67
|
return (_ctx, _cache) => {
|
|
68
68
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
69
|
-
class: vue.normalizeClass(["medialist-kongo-item-view", {
|
|
69
|
+
class: vue.normalizeClass(["medialist-kongo-item-view", { "gray-for-state-hide": hide.value }])
|
|
70
70
|
}, [
|
|
71
71
|
vue.createElementVNode("div", _hoisted_1, [
|
|
72
72
|
thumb.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
|
|
73
73
|
key: 0,
|
|
74
74
|
src: thumb.value,
|
|
75
75
|
fit: "cover",
|
|
76
|
+
class: "image",
|
|
76
77
|
lazy: true
|
|
77
78
|
}, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1))
|
|
78
79
|
]),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
var vue = require("vue");
|
|
3
3
|
var webVue = require("@arco-design/web-vue");
|
|
4
4
|
var component = require("../../../../typeIcons/component.js");
|
|
5
|
-
var index = require("
|
|
5
|
+
var index = require("../../../../utils/index.js");
|
|
6
6
|
const _hoisted_1 = { class: "cover-view" };
|
|
7
7
|
const _hoisted_2 = {
|
|
8
8
|
key: 1,
|
|
@@ -42,12 +42,13 @@ const _sfc_main = vue.defineComponent({
|
|
|
42
42
|
};
|
|
43
43
|
return (_ctx, _cache) => {
|
|
44
44
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
45
|
-
class: vue.normalizeClass(["medialist-ilive-item-view", {
|
|
45
|
+
class: vue.normalizeClass(["medialist-ilive-item-view", { "gray-for-state-hide": hide.value }])
|
|
46
46
|
}, [
|
|
47
47
|
vue.createElementVNode("div", _hoisted_1, [
|
|
48
48
|
pc_banner.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
|
|
49
49
|
key: 0,
|
|
50
50
|
src: pc_banner.value,
|
|
51
|
+
class: "image",
|
|
51
52
|
fit: "cover"
|
|
52
53
|
}, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1))
|
|
53
54
|
]),
|
|
@@ -27,11 +27,12 @@ const _sfc_main = vue.defineComponent({
|
|
|
27
27
|
};
|
|
28
28
|
return (_ctx, _cache) => {
|
|
29
29
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
30
|
-
class: vue.normalizeClass(["medialist-account-item-view", {
|
|
30
|
+
class: vue.normalizeClass(["medialist-account-item-view", { "gray-for-state-hide": hide.value }])
|
|
31
31
|
}, [
|
|
32
32
|
vue.createElementVNode("div", _hoisted_1, [
|
|
33
33
|
vue.createVNode(vue.unref(webVue.Image), {
|
|
34
34
|
src: _ctx.item.mp_logo || vue.unref(user),
|
|
35
|
+
class: "image",
|
|
35
36
|
fit: "cover"
|
|
36
37
|
}, null, 8, ["src"])
|
|
37
38
|
]),
|
|
@@ -88,7 +88,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
88
88
|
mediaFileData: {},
|
|
89
89
|
disdragalbe: { type: Boolean },
|
|
90
90
|
abttrites: {},
|
|
91
|
-
|
|
91
|
+
parmas: {}
|
|
92
92
|
},
|
|
93
93
|
emits: ["sortChange", "clickTitle", "dragstart"],
|
|
94
94
|
setup(__props, { emit }) {
|
|
@@ -113,7 +113,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
113
113
|
vue.createElementVNode("div", _hoisted_2, [
|
|
114
114
|
vue.createCommentVNode(" \u7A3F\u4EF6 "),
|
|
115
115
|
element.catalog === "doc" ? (vue.openBlock(), vue.createBlock(index, {
|
|
116
|
-
key: element.post_id
|
|
116
|
+
key: `doc-${element.post_id}`,
|
|
117
117
|
item: { ...element, index: index$6 },
|
|
118
118
|
abttrites: _ctx.abttrites,
|
|
119
119
|
onClickTitle: clickTitle
|
|
@@ -147,7 +147,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
147
147
|
}, 1032, ["item", "abttrites"])) : element.catalog === "contentList" && element.list_type === 7 && element.target_type === 6 ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
148
148
|
vue.createCommentVNode(" \u7EC4\u4EF6 "),
|
|
149
149
|
(vue.openBlock(), vue.createBlock(index$1, {
|
|
150
|
-
key: element.post_id
|
|
150
|
+
key: `compo-${element.post_id}`,
|
|
151
151
|
item: { ...element, index: index$6 },
|
|
152
152
|
onClickTitle: clickTitle
|
|
153
153
|
}, {
|
|
@@ -181,14 +181,20 @@ const _sfc_main = vue.defineComponent({
|
|
|
181
181
|
], 2112)) : element.catalog === "contentList" && element.list_type === 4 && element.target_type === 6 ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
|
|
182
182
|
vue.createCommentVNode(" \u9891\u9053 "),
|
|
183
183
|
(vue.openBlock(), vue.createBlock(index$2, {
|
|
184
|
-
key: element.post_id
|
|
184
|
+
key: `contentlist-${element.post_id}`,
|
|
185
185
|
item: { ...element, index: index$6 },
|
|
186
|
-
|
|
186
|
+
parmas: _ctx.parmas,
|
|
187
187
|
onClickTitle: clickTitle
|
|
188
|
-
},
|
|
188
|
+
}, {
|
|
189
189
|
index: vue.withCtx(() => [
|
|
190
190
|
vue.createElementVNode("span", _hoisted_15, vue.toDisplayString(index$6 + 1), 1)
|
|
191
191
|
]),
|
|
192
|
+
tips: vue.withCtx(() => {
|
|
193
|
+
var _a, _b;
|
|
194
|
+
return [
|
|
195
|
+
vue.createTextVNode(vue.toDisplayString(((_b = (_a = _ctx.parmas) == null ? void 0 : _a.labelTip) == null ? void 0 : _b.tips(element, index$6)) || ""), 1)
|
|
196
|
+
];
|
|
197
|
+
}),
|
|
192
198
|
tip: vue.withCtx(() => [
|
|
193
199
|
vue.createCommentVNode(" \u5148\u6DFB\u52A0\u6587\u4EF6\u8D44\u6E90\uFF0C\u672A\u53D1\u5E03 "),
|
|
194
200
|
element._status ? (vue.openBlock(), vue.createElementBlock("i", _hoisted_16, [
|
|
@@ -212,19 +218,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
212
218
|
})
|
|
213
219
|
]),
|
|
214
220
|
_: 2
|
|
215
|
-
}, [
|
|
216
|
-
index$6 === 0 && _ctx.query === "lbs" ? {
|
|
217
|
-
name: "tips",
|
|
218
|
-
fn: vue.withCtx(() => [
|
|
219
|
-
vue.createTextVNode(" \u9ED8\u8BA4 ")
|
|
220
|
-
]),
|
|
221
|
-
key: "0"
|
|
222
|
-
} : void 0
|
|
223
|
-
]), 1032, ["item", "query"]))
|
|
221
|
+
}, 1032, ["item", "parmas"]))
|
|
224
222
|
], 2112)) : element.catalog === "mp_account" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [
|
|
225
223
|
vue.createCommentVNode(" \u516C\u4F17\u53F7 "),
|
|
226
224
|
(vue.openBlock(), vue.createBlock(index$3, {
|
|
227
|
-
key: element.post_id
|
|
225
|
+
key: `maccount-${element.post_id}`,
|
|
228
226
|
item: { ...element, index: index$6 },
|
|
229
227
|
abttrites: _ctx.abttrites,
|
|
230
228
|
onClickTitle: clickTitle
|
|
@@ -255,7 +253,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
255
253
|
], 2112)) : element.catalog === "ilive" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 4 }, [
|
|
256
254
|
vue.createCommentVNode(" \u4E91\u76F4\u64AD "),
|
|
257
255
|
(vue.openBlock(), vue.createBlock(index$4, {
|
|
258
|
-
key: element.post_id
|
|
256
|
+
key: `live-${element.post_id}`,
|
|
259
257
|
item: { ...element, index: index$6 },
|
|
260
258
|
onClickTitle: clickTitle
|
|
261
259
|
}, {
|
|
@@ -273,7 +271,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
273
271
|
], 2112)) : element.catalog === "kongo" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 5 }, [
|
|
274
272
|
vue.createCommentVNode(" \u529F\u80FD\u5BFC\u822A "),
|
|
275
273
|
(vue.openBlock(), vue.createBlock(index$5, {
|
|
276
|
-
key: element.post_id
|
|
274
|
+
key: `kongo-${element.post_id}`,
|
|
277
275
|
item: { ...element, index: index$6 },
|
|
278
276
|
onClickTitle: clickTitle
|
|
279
277
|
}, {
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
.gray_for_hide {
|
|
2
|
-
-webkit-filter: grayscale(100%);
|
|
3
|
-
-moz-filter: grayscale(100%);
|
|
4
|
-
-ms-filter: grayscale(100%);
|
|
5
|
-
-o-filter: grayscale(100%);
|
|
6
|
-
filter: grayscale(100%);
|
|
7
|
-
filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale");
|
|
8
|
-
filter: progid:dximagetransform.microsoft.basicimage(grayscale=1);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
1
|
.medialist-component-item-view {
|
|
12
2
|
display: flex;
|
|
13
3
|
// width: 100%;
|
|
@@ -51,21 +41,18 @@
|
|
|
51
41
|
padding: 2px 0;
|
|
52
42
|
|
|
53
43
|
.title {
|
|
54
|
-
display:
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: center;
|
|
55
46
|
margin-bottom: 10px;
|
|
56
47
|
overflow: hidden;
|
|
57
48
|
color: #1d2129;
|
|
58
|
-
// width: calc(100vw - 500px);
|
|
59
|
-
// display: flex;
|
|
60
49
|
font-size: 14px;
|
|
61
|
-
|
|
50
|
+
font-style: normal;
|
|
51
|
+
font-weight: 400;
|
|
52
|
+
line-height: 22px;
|
|
62
53
|
cursor: pointer;
|
|
63
54
|
-webkit-line-clamp: 2;
|
|
64
55
|
-webkit-box-orient: vertical;
|
|
65
|
-
// &:hover {
|
|
66
|
-
// text-decoration: underline;
|
|
67
|
-
// color: #4886ff;
|
|
68
|
-
// }
|
|
69
56
|
}
|
|
70
57
|
|
|
71
58
|
.abttrite-v {
|
|
@@ -92,7 +79,8 @@
|
|
|
92
79
|
}
|
|
93
80
|
|
|
94
81
|
&.tags {
|
|
95
|
-
display:
|
|
82
|
+
display: flex;
|
|
83
|
+
align-items: center;
|
|
96
84
|
width: 175px;
|
|
97
85
|
}
|
|
98
86
|
}
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
.gray_for_hide {
|
|
2
|
-
-webkit-filter: grayscale(100%);
|
|
3
|
-
-moz-filter: grayscale(100%);
|
|
4
|
-
-ms-filter: grayscale(100%);
|
|
5
|
-
-o-filter: grayscale(100%);
|
|
6
|
-
filter: grayscale(100%);
|
|
7
|
-
filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale");
|
|
8
|
-
filter: progid:dximagetransform.microsoft.basicimage(grayscale=1);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
1
|
.medialist-component-item-view {
|
|
12
2
|
display: flex;
|
|
13
3
|
// width: 100%;
|
|
@@ -26,7 +16,7 @@
|
|
|
26
16
|
margin-right: 20px;
|
|
27
17
|
background: #edf3ff;
|
|
28
18
|
|
|
29
|
-
.
|
|
19
|
+
.image {
|
|
30
20
|
width: 100%;
|
|
31
21
|
height: 100%;
|
|
32
22
|
border-radius: 4px;
|
|
@@ -51,14 +41,15 @@
|
|
|
51
41
|
padding: 2px 0;
|
|
52
42
|
|
|
53
43
|
.title {
|
|
54
|
-
display:
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: center;
|
|
55
46
|
margin-bottom: 10px;
|
|
56
47
|
overflow: hidden;
|
|
57
48
|
color: #1d2129;
|
|
58
|
-
// width: calc(100vw - 500px);
|
|
59
|
-
// display: flex;
|
|
60
49
|
font-size: 14px;
|
|
61
|
-
|
|
50
|
+
font-style: normal;
|
|
51
|
+
font-weight: 400;
|
|
52
|
+
line-height: 22px;
|
|
62
53
|
cursor: pointer;
|
|
63
54
|
-webkit-line-clamp: 2;
|
|
64
55
|
-webkit-box-orient: vertical;
|
|
@@ -103,10 +94,15 @@
|
|
|
103
94
|
}
|
|
104
95
|
|
|
105
96
|
&.tags {
|
|
106
|
-
display:
|
|
97
|
+
display: flex;
|
|
98
|
+
align-items: center;
|
|
107
99
|
width: 175px;
|
|
108
100
|
}
|
|
109
101
|
}
|
|
102
|
+
|
|
103
|
+
.icon {
|
|
104
|
+
margin-right: 10px;
|
|
105
|
+
}
|
|
110
106
|
}
|
|
111
107
|
|
|
112
108
|
.right {
|
|
@@ -114,18 +110,22 @@
|
|
|
114
110
|
}
|
|
115
111
|
}
|
|
116
112
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
font-size: 8px;
|
|
122
|
-
|
|
123
|
-
.icon-xiangqing1 {
|
|
124
|
-
margin-right: 3px;
|
|
113
|
+
.title-tips {
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
color: #a3a3a3;
|
|
125
117
|
font-size: 10px;
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
118
|
+
margin-left: 10px;
|
|
119
|
+
|
|
120
|
+
.icon {
|
|
121
|
+
margin-right: 5px;
|
|
122
|
+
font-size: 10px;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&.red {
|
|
126
|
+
color: red;
|
|
127
|
+
}
|
|
130
128
|
}
|
|
131
129
|
}
|
|
130
|
+
|
|
131
|
+
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
.gray_for_hide {
|
|
2
|
-
-webkit-filter: grayscale(100%);
|
|
3
|
-
-moz-filter: grayscale(100%);
|
|
4
|
-
-ms-filter: grayscale(100%);
|
|
5
|
-
-o-filter: grayscale(100%);
|
|
6
|
-
filter: grayscale(100%);
|
|
7
|
-
filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale");
|
|
8
|
-
filter: progid:dximagetransform.microsoft.basicimage(grayscale=1);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
1
|
.medialist-doc-item-view {
|
|
12
2
|
display: flex;
|
|
13
3
|
// width: 100%;
|
|
@@ -26,6 +16,12 @@
|
|
|
26
16
|
margin-right: 20px;
|
|
27
17
|
background: #edf3ff;
|
|
28
18
|
|
|
19
|
+
.image {
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
border-radius: 4px;
|
|
23
|
+
}
|
|
24
|
+
|
|
29
25
|
.batch-select {
|
|
30
26
|
position: absolute;
|
|
31
27
|
top: 3px;
|
|
@@ -57,17 +53,15 @@
|
|
|
57
53
|
padding: 2px 0;
|
|
58
54
|
|
|
59
55
|
.title {
|
|
60
|
-
display: -webkit-box;
|
|
61
56
|
display: flex;
|
|
62
57
|
align-items: center;
|
|
63
58
|
margin-bottom: 10px;
|
|
64
59
|
overflow: hidden;
|
|
65
60
|
color: #1d2129;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
font-
|
|
69
|
-
line-height:
|
|
70
|
-
word-break: break-all;
|
|
61
|
+
font-size: 14px;
|
|
62
|
+
font-style: normal;
|
|
63
|
+
font-weight: 400;
|
|
64
|
+
line-height: 22px;
|
|
71
65
|
cursor: pointer;
|
|
72
66
|
-webkit-line-clamp: 2;
|
|
73
67
|
-webkit-box-orient: vertical;
|