@cmstops/pro-compo 0.1.18 → 0.1.20

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.
Files changed (71) hide show
  1. package/dist/index.css +80 -93
  2. package/dist/index.min.css +1 -1
  3. package/es/contentDetailList/component.js +145 -54
  4. package/es/contentDetailList/components/Content/CompoItem/index.js +3 -2
  5. package/es/contentDetailList/components/Content/ContentListItem/index.js +21 -13
  6. package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +2 -3
  7. package/es/contentDetailList/components/Content/DocItem/index.js +4 -2
  8. package/es/contentDetailList/components/Content/KongoNavItem/DocTags/index.js +9 -8
  9. package/es/contentDetailList/components/Content/KongoNavItem/index.js +3 -2
  10. package/es/contentDetailList/components/Content/LiveItem/index.js +3 -2
  11. package/es/contentDetailList/components/Content/MaccountItem/index.js +2 -1
  12. package/es/contentDetailList/components/Content/index.js +219 -242
  13. package/es/contentDetailList/components/Doc/index.js +24 -35
  14. package/es/contentDetailList/scripts/index.d.ts +0 -10
  15. package/es/contentDetailList/style/ComoItem.less +7 -19
  16. package/es/contentDetailList/style/Content.less +1 -1
  17. package/es/contentDetailList/style/ContentListItem.less +29 -32
  18. package/es/contentDetailList/style/Doc.less +1 -5
  19. package/es/contentDetailList/style/DocItem.less +11 -16
  20. package/es/contentDetailList/style/DocTags.less +2 -1
  21. package/es/contentDetailList/style/KongoNavItem.less +6 -19
  22. package/es/contentDetailList/style/LiveItem.less +8 -20
  23. package/es/contentDetailList/style/MaccountItem.less +8 -16
  24. package/es/contentDetailList/style/index.css +78 -93
  25. package/es/contentDetailList/style/index.less +10 -0
  26. package/es/index.css +80 -93
  27. package/es/mediaFilter/style/index.css +1 -0
  28. package/es/mediaFilter/style/index.less +1 -0
  29. package/es/style.css +1 -0
  30. package/es/typeIcons/style/index.css +1 -0
  31. package/es/typeIcons/style/index.less +1 -0
  32. package/es/utils/doc.d.ts +1 -0
  33. package/es/utils/doc.js +27 -1
  34. package/es/utils/index.d.ts +2 -0
  35. package/es/utils/index.js +16 -1
  36. package/es/utils/typeMap.d.ts +19 -0
  37. package/es/utils/typeMap.js +65 -1
  38. package/lib/contentDetailList/component.js +148 -53
  39. package/lib/contentDetailList/components/Content/CompoItem/index.js +4 -3
  40. package/lib/contentDetailList/components/Content/ContentListItem/index.js +22 -14
  41. package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +8 -9
  42. package/lib/contentDetailList/components/Content/DocItem/index.js +8 -6
  43. package/lib/contentDetailList/components/Content/KongoNavItem/DocTags/index.js +16 -15
  44. package/lib/contentDetailList/components/Content/KongoNavItem/index.js +3 -2
  45. package/lib/contentDetailList/components/Content/LiveItem/index.js +3 -2
  46. package/lib/contentDetailList/components/Content/MaccountItem/index.js +2 -1
  47. package/lib/contentDetailList/components/Content/index.js +218 -245
  48. package/lib/contentDetailList/components/Doc/index.js +23 -34
  49. package/lib/contentDetailList/style/ComoItem.less +7 -19
  50. package/lib/contentDetailList/style/Content.less +1 -1
  51. package/lib/contentDetailList/style/ContentListItem.less +29 -32
  52. package/lib/contentDetailList/style/Doc.less +1 -5
  53. package/lib/contentDetailList/style/DocItem.less +11 -16
  54. package/lib/contentDetailList/style/DocTags.less +2 -1
  55. package/lib/contentDetailList/style/KongoNavItem.less +6 -19
  56. package/lib/contentDetailList/style/LiveItem.less +8 -20
  57. package/lib/contentDetailList/style/MaccountItem.less +8 -16
  58. package/lib/contentDetailList/style/index.css +78 -93
  59. package/lib/contentDetailList/style/index.less +10 -0
  60. package/lib/index.css +80 -93
  61. package/lib/mediaFilter/style/index.css +1 -0
  62. package/lib/mediaFilter/style/index.less +1 -0
  63. package/lib/typeIcons/style/index.css +1 -0
  64. package/lib/typeIcons/style/index.less +1 -0
  65. package/lib/utils/doc.js +29 -0
  66. package/lib/utils/index.js +17 -0
  67. package/lib/utils/typeMap.js +71 -0
  68. package/package.json +1 -1
  69. package/es/contentDetailList/scripts/data.d.ts +0 -254
  70. package/es/contentDetailList/scripts/index.js +0 -137
  71. package/lib/contentDetailList/scripts/index.js +0 -153
@@ -1,306 +1,283 @@
1
- import { defineComponent, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode, createCommentVNode, createBlock, toDisplayString, renderSlot, Fragment, createSlots, createTextVNode } from "vue";
1
+ import { defineComponent, openBlock, createElementBlock, Fragment, createCommentVNode, createBlock, withCtx, createElementVNode, toDisplayString, createVNode, unref, renderSlot, createTextVNode } from "vue";
2
2
  import { IconPenFill, IconClockCircle, IconPushpin } from "@arco-design/web-vue/es/icon";
3
- import draggable from "vuedraggable";
4
3
  import _sfc_main$2 from "./CompoItem/index.js";
5
4
  import _sfc_main$3 from "./ContentListItem/index.js";
6
5
  import _sfc_main$1 from "./DocItem/index.js";
7
6
  import _sfc_main$6 from "./KongoNavItem/index.js";
8
7
  import _sfc_main$5 from "./LiveItem/index.js";
9
8
  import _sfc_main$4 from "./MaccountItem/index.js";
10
- const _hoisted_1 = { class: "content-common-detail-list-container" };
11
- const _hoisted_2 = { class: "item" };
12
- const _hoisted_3 = { class: "index" };
13
- const _hoisted_4 = {
9
+ const _hoisted_1 = { class: "index" };
10
+ const _hoisted_2 = {
14
11
  key: 0,
15
12
  class: "add_new"
16
13
  };
17
- const _hoisted_5 = {
14
+ const _hoisted_3 = {
18
15
  key: 1,
19
16
  class: "d_time"
20
17
  };
21
- const _hoisted_6 = {
18
+ const _hoisted_4 = {
22
19
  key: 2,
23
20
  class: "fix_position"
24
21
  };
25
- const _hoisted_7 = { class: "doc-fixed-icon" };
26
- const _hoisted_8 = { class: "doc-fixed-num" };
27
- const _hoisted_9 = { class: "index" };
28
- const _hoisted_10 = {
22
+ const _hoisted_5 = { class: "doc-fixed-icon" };
23
+ const _hoisted_6 = { class: "doc-fixed-num" };
24
+ const _hoisted_7 = { class: "index" };
25
+ const _hoisted_8 = {
29
26
  key: 0,
30
27
  class: "add_new"
31
28
  };
32
- const _hoisted_11 = {
29
+ const _hoisted_9 = {
33
30
  key: 1,
34
31
  class: "d_time"
35
32
  };
36
- const _hoisted_12 = {
33
+ const _hoisted_10 = {
37
34
  key: 2,
38
35
  class: "fix_position"
39
36
  };
40
- const _hoisted_13 = { class: "doc-fixed-icon" };
41
- const _hoisted_14 = { class: "doc-fixed-num" };
42
- const _hoisted_15 = { class: "index" };
43
- const _hoisted_16 = {
37
+ const _hoisted_11 = { class: "doc-fixed-icon" };
38
+ const _hoisted_12 = { class: "doc-fixed-num" };
39
+ const _hoisted_13 = { class: "index" };
40
+ const _hoisted_14 = {
44
41
  key: 0,
45
42
  class: "add_new"
46
43
  };
47
- const _hoisted_17 = {
44
+ const _hoisted_15 = {
48
45
  key: 1,
49
46
  class: "d_time"
50
47
  };
51
- const _hoisted_18 = {
48
+ const _hoisted_16 = {
52
49
  key: 2,
53
50
  class: "fix_position"
54
51
  };
55
- const _hoisted_19 = { class: "doc-fixed-icon" };
56
- const _hoisted_20 = { class: "doc-fixed-num" };
57
- const _hoisted_21 = { class: "index" };
58
- const _hoisted_22 = {
52
+ const _hoisted_17 = { class: "doc-fixed-icon" };
53
+ const _hoisted_18 = { class: "doc-fixed-num" };
54
+ const _hoisted_19 = { class: "index" };
55
+ const _hoisted_20 = {
59
56
  key: 0,
60
57
  class: "add_new"
61
58
  };
62
- const _hoisted_23 = {
59
+ const _hoisted_21 = {
63
60
  key: 1,
64
61
  class: "fix_position"
65
62
  };
66
- const _hoisted_24 = { class: "doc-fixed-icon" };
67
- const _hoisted_25 = { class: "doc-fixed-num" };
68
- const _hoisted_26 = { class: "index" };
69
- const _hoisted_27 = { class: "index" };
70
- const _hoisted_28 = {
63
+ const _hoisted_22 = { class: "doc-fixed-icon" };
64
+ const _hoisted_23 = { class: "doc-fixed-num" };
65
+ const _hoisted_24 = { class: "index" };
66
+ const _hoisted_25 = { class: "index" };
67
+ const _hoisted_26 = {
71
68
  key: 0,
72
69
  class: "add_new"
73
70
  };
74
- const _hoisted_29 = {
71
+ const _hoisted_27 = {
75
72
  key: 1,
76
73
  class: "fix_position"
77
74
  };
78
- const _hoisted_30 = { class: "doc-fixed-icon" };
79
- const _hoisted_31 = { class: "doc-fixed-num" };
75
+ const _hoisted_28 = { class: "doc-fixed-icon" };
76
+ const _hoisted_29 = { class: "doc-fixed-num" };
80
77
  const _sfc_main = defineComponent({
81
78
  __name: "index",
82
79
  props: {
83
- mediaFileData: {},
84
- disdragalbe: { type: Boolean },
80
+ item: {},
81
+ index: {},
85
82
  abttrites: {},
86
- query: {}
83
+ parmas: {}
87
84
  },
88
85
  emits: ["sortChange", "clickTitle", "dragstart"],
89
86
  setup(__props, { emit }) {
90
- const sortChange = (e) => {
91
- emit("sortChange", e);
92
- };
93
87
  const clickTitle = (item) => {
94
88
  emit("clickTitle", item);
95
89
  };
96
90
  return (_ctx, _cache) => {
97
- return openBlock(), createElementBlock("div", _hoisted_1, [
98
- createVNode(unref(draggable), {
99
- list: _ctx.mediaFileData,
100
- group: "people_contents",
101
- "item-key": "id",
102
- animation: 150,
103
- sort: _ctx.disdragalbe,
104
- onChange: sortChange,
105
- onStart: _cache[0] || (_cache[0] = ($event) => emit("dragstart"))
91
+ return openBlock(), createElementBlock(Fragment, null, [
92
+ createCommentVNode(" \u7A3F\u4EF6 "),
93
+ _ctx.item.catalog === "doc" ? (openBlock(), createBlock(_sfc_main$1, {
94
+ key: `doc-${_ctx.item.post_id}`,
95
+ item: { ..._ctx.item, index: _ctx.index },
96
+ abttrites: _ctx.abttrites,
97
+ onClickTitle: clickTitle
106
98
  }, {
107
- item: withCtx(({ element, index }) => [
108
- createElementVNode("div", _hoisted_2, [
109
- createCommentVNode(" \u7A3F\u4EF6 "),
110
- element.catalog === "doc" ? (openBlock(), createBlock(_sfc_main$1, {
111
- key: element.post_id,
112
- item: { ...element, index },
113
- abttrites: _ctx.abttrites,
114
- onClickTitle: clickTitle
115
- }, {
116
- index: withCtx(() => [
117
- createElementVNode("span", _hoisted_3, toDisplayString(index + 1), 1)
99
+ index: withCtx(() => [
100
+ createElementVNode("span", _hoisted_1, toDisplayString(_ctx.index + 1), 1)
101
+ ]),
102
+ tip: withCtx(() => [
103
+ createCommentVNode(" \u5148\u6DFB\u52A0\u6587\u4EF6\u8D44\u6E90\uFF0C\u672A\u53D1\u5E03 "),
104
+ _ctx.item._status ? (openBlock(), createElementBlock("i", _hoisted_2, [
105
+ createVNode(unref(IconPenFill), { size: "16" })
106
+ ])) : createCommentVNode("v-if", true),
107
+ createCommentVNode(" \u5B9A\u65F6\u53D1\u5E03 "),
108
+ _ctx.item.status === 3 ? (openBlock(), createElementBlock("i", _hoisted_3, [
109
+ createVNode(unref(IconClockCircle), { size: "16" })
110
+ ])) : createCommentVNode("v-if", true),
111
+ _ctx.item.fix_position ? (openBlock(), createElementBlock("span", _hoisted_4, [
112
+ createElementVNode("i", _hoisted_5, [
113
+ createVNode(unref(IconPushpin), { size: "16" })
114
+ ]),
115
+ createElementVNode("span", _hoisted_6, toDisplayString(_ctx.item.fix_position), 1)
116
+ ])) : createCommentVNode("v-if", true)
117
+ ]),
118
+ option: withCtx(() => [
119
+ renderSlot(_ctx.$slots, "option", {
120
+ row: _ctx.item,
121
+ index: _ctx.index
122
+ })
123
+ ]),
124
+ _: 3
125
+ }, 8, ["item", "abttrites"])) : _ctx.item.catalog === "contentList" && _ctx.item.list_type === 7 && _ctx.item.target_type === 6 ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
126
+ createCommentVNode(" \u7EC4\u4EF6 "),
127
+ (openBlock(), createBlock(_sfc_main$2, {
128
+ key: `compo-${_ctx.item.post_id}`,
129
+ item: { ..._ctx.item, index: _ctx.index },
130
+ onClickTitle: clickTitle
131
+ }, {
132
+ index: withCtx(() => [
133
+ createElementVNode("span", _hoisted_7, toDisplayString(_ctx.index + 1), 1)
134
+ ]),
135
+ tip: withCtx(() => [
136
+ createCommentVNode(" \u5148\u6DFB\u52A0\u6587\u4EF6\u8D44\u6E90\uFF0C\u672A\u53D1\u5E03 "),
137
+ _ctx.item._status ? (openBlock(), createElementBlock("i", _hoisted_8, [
138
+ createVNode(unref(IconPenFill), { size: "16" })
139
+ ])) : createCommentVNode("v-if", true),
140
+ createCommentVNode(" \u5B9A\u65F6\u53D1\u5E03 "),
141
+ _ctx.item.status === 3 ? (openBlock(), createElementBlock("i", _hoisted_9, [
142
+ createVNode(unref(IconClockCircle), { size: "16" })
143
+ ])) : createCommentVNode("v-if", true),
144
+ _ctx.item.fix_position ? (openBlock(), createElementBlock("span", _hoisted_10, [
145
+ createElementVNode("i", _hoisted_11, [
146
+ createVNode(unref(IconPushpin), { size: "16" })
118
147
  ]),
119
- tip: withCtx(() => [
120
- createCommentVNode(" \u5148\u6DFB\u52A0\u6587\u4EF6\u8D44\u6E90\uFF0C\u672A\u53D1\u5E03 "),
121
- element._status ? (openBlock(), createElementBlock("i", _hoisted_4, [
122
- createVNode(unref(IconPenFill), { size: "16" })
123
- ])) : createCommentVNode("v-if", true),
124
- createCommentVNode(" \u5B9A\u65F6\u53D1\u5E03 "),
125
- element.status === 3 ? (openBlock(), createElementBlock("i", _hoisted_5, [
126
- createVNode(unref(IconClockCircle), { size: "16" })
127
- ])) : createCommentVNode("v-if", true),
128
- element.fix_position ? (openBlock(), createElementBlock("span", _hoisted_6, [
129
- createElementVNode("i", _hoisted_7, [
130
- createVNode(unref(IconPushpin), { size: "16" })
131
- ]),
132
- createElementVNode("span", _hoisted_8, toDisplayString(element.fix_position), 1)
133
- ])) : createCommentVNode("v-if", true)
148
+ createElementVNode("span", _hoisted_12, toDisplayString(_ctx.item.fix_position), 1)
149
+ ])) : createCommentVNode("v-if", true)
150
+ ]),
151
+ option: withCtx(() => [
152
+ renderSlot(_ctx.$slots, "option", {
153
+ row: _ctx.item,
154
+ index: _ctx.index
155
+ })
156
+ ]),
157
+ _: 3
158
+ }, 8, ["item"]))
159
+ ], 2112)) : _ctx.item.catalog === "contentList" && _ctx.item.list_type === 4 && _ctx.item.target_type === 6 ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
160
+ createCommentVNode(" \u9891\u9053 "),
161
+ (openBlock(), createBlock(_sfc_main$3, {
162
+ key: `contentlist-${_ctx.item.post_id}`,
163
+ item: { ..._ctx.item, index: _ctx.index },
164
+ parmas: _ctx.parmas,
165
+ onClickTitle: clickTitle
166
+ }, {
167
+ index: withCtx(() => [
168
+ createElementVNode("span", _hoisted_13, toDisplayString(_ctx.index + 1), 1)
169
+ ]),
170
+ tips: withCtx(() => {
171
+ var _a, _b;
172
+ return [
173
+ createTextVNode(toDisplayString(((_b = (_a = _ctx.parmas) == null ? void 0 : _a.labelTip) == null ? void 0 : _b.tips(_ctx.item, _ctx.index)) || ""), 1)
174
+ ];
175
+ }),
176
+ tip: withCtx(() => [
177
+ createCommentVNode(" \u5148\u6DFB\u52A0\u6587\u4EF6\u8D44\u6E90\uFF0C\u672A\u53D1\u5E03 "),
178
+ _ctx.item._status ? (openBlock(), createElementBlock("i", _hoisted_14, [
179
+ createVNode(unref(IconPenFill), { size: "16" })
180
+ ])) : createCommentVNode("v-if", true),
181
+ createCommentVNode(" \u5B9A\u65F6\u53D1\u5E03 "),
182
+ _ctx.item.status === 3 ? (openBlock(), createElementBlock("i", _hoisted_15, [
183
+ createVNode(unref(IconClockCircle), { size: "16" })
184
+ ])) : createCommentVNode("v-if", true),
185
+ _ctx.item.fix_position ? (openBlock(), createElementBlock("span", _hoisted_16, [
186
+ createElementVNode("i", _hoisted_17, [
187
+ createVNode(unref(IconPushpin), { size: "16" })
134
188
  ]),
135
- option: withCtx(() => [
136
- renderSlot(_ctx.$slots, "option", {
137
- row: element,
138
- index
139
- })
189
+ createElementVNode("span", _hoisted_18, toDisplayString(_ctx.item.fix_position), 1)
190
+ ])) : createCommentVNode("v-if", true)
191
+ ]),
192
+ option: withCtx(() => [
193
+ renderSlot(_ctx.$slots, "option", {
194
+ row: _ctx.item,
195
+ index: _ctx.index
196
+ })
197
+ ]),
198
+ _: 3
199
+ }, 8, ["item", "parmas"]))
200
+ ], 2112)) : _ctx.item.catalog === "mp_account" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
201
+ createCommentVNode(" \u516C\u4F17\u53F7 "),
202
+ (openBlock(), createBlock(_sfc_main$4, {
203
+ key: `maccount-${_ctx.item.post_id}`,
204
+ item: { ..._ctx.item, index: _ctx.index },
205
+ abttrites: _ctx.abttrites,
206
+ onClickTitle: clickTitle
207
+ }, {
208
+ index: withCtx(() => [
209
+ createElementVNode("span", _hoisted_19, toDisplayString(_ctx.index + 1), 1)
210
+ ]),
211
+ tip: withCtx(() => [
212
+ createCommentVNode(" \u5148\u6DFB\u52A0\u6587\u4EF6\u8D44\u6E90\uFF0C\u672A\u53D1\u5E03 "),
213
+ _ctx.item._status ? (openBlock(), createElementBlock("i", _hoisted_20, [
214
+ createVNode(unref(IconPenFill), { size: "16" })
215
+ ])) : createCommentVNode("v-if", true),
216
+ _ctx.item.fix_position ? (openBlock(), createElementBlock("span", _hoisted_21, [
217
+ createElementVNode("i", _hoisted_22, [
218
+ createVNode(unref(IconPushpin), { size: "16" })
140
219
  ]),
141
- _: 2
142
- }, 1032, ["item", "abttrites"])) : element.catalog === "contentList" && element.list_type === 7 && element.target_type === 6 ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
143
- createCommentVNode(" \u7EC4\u4EF6 "),
144
- (openBlock(), createBlock(_sfc_main$2, {
145
- key: element.post_id,
146
- item: { ...element, index },
147
- onClickTitle: clickTitle
148
- }, {
149
- index: withCtx(() => [
150
- createElementVNode("span", _hoisted_9, toDisplayString(index + 1), 1)
151
- ]),
152
- tip: withCtx(() => [
153
- createCommentVNode(" \u5148\u6DFB\u52A0\u6587\u4EF6\u8D44\u6E90\uFF0C\u672A\u53D1\u5E03 "),
154
- element._status ? (openBlock(), createElementBlock("i", _hoisted_10, [
155
- createVNode(unref(IconPenFill), { size: "16" })
156
- ])) : createCommentVNode("v-if", true),
157
- createCommentVNode(" \u5B9A\u65F6\u53D1\u5E03 "),
158
- element.status === 3 ? (openBlock(), createElementBlock("i", _hoisted_11, [
159
- createVNode(unref(IconClockCircle), { size: "16" })
160
- ])) : createCommentVNode("v-if", true),
161
- element.fix_position ? (openBlock(), createElementBlock("span", _hoisted_12, [
162
- createElementVNode("i", _hoisted_13, [
163
- createVNode(unref(IconPushpin), { size: "16" })
164
- ]),
165
- createElementVNode("span", _hoisted_14, toDisplayString(element.fix_position), 1)
166
- ])) : createCommentVNode("v-if", true)
167
- ]),
168
- option: withCtx(() => [
169
- renderSlot(_ctx.$slots, "option", {
170
- row: element,
171
- index
172
- })
173
- ]),
174
- _: 2
175
- }, 1032, ["item"]))
176
- ], 2112)) : element.catalog === "contentList" && element.list_type === 4 && element.target_type === 6 ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
177
- createCommentVNode(" \u9891\u9053 "),
178
- (openBlock(), createBlock(_sfc_main$3, {
179
- key: element.post_id,
180
- item: { ...element, index },
181
- query: _ctx.query,
182
- onClickTitle: clickTitle
183
- }, createSlots({
184
- index: withCtx(() => [
185
- createElementVNode("span", _hoisted_15, toDisplayString(index + 1), 1)
186
- ]),
187
- tip: withCtx(() => [
188
- createCommentVNode(" \u5148\u6DFB\u52A0\u6587\u4EF6\u8D44\u6E90\uFF0C\u672A\u53D1\u5E03 "),
189
- element._status ? (openBlock(), createElementBlock("i", _hoisted_16, [
190
- createVNode(unref(IconPenFill), { size: "16" })
191
- ])) : createCommentVNode("v-if", true),
192
- createCommentVNode(" \u5B9A\u65F6\u53D1\u5E03 "),
193
- element.status === 3 ? (openBlock(), createElementBlock("i", _hoisted_17, [
194
- createVNode(unref(IconClockCircle), { size: "16" })
195
- ])) : createCommentVNode("v-if", true),
196
- element.fix_position ? (openBlock(), createElementBlock("span", _hoisted_18, [
197
- createElementVNode("i", _hoisted_19, [
198
- createVNode(unref(IconPushpin), { size: "16" })
199
- ]),
200
- createElementVNode("span", _hoisted_20, toDisplayString(element.fix_position), 1)
201
- ])) : createCommentVNode("v-if", true)
202
- ]),
203
- option: withCtx(() => [
204
- renderSlot(_ctx.$slots, "option", {
205
- row: element,
206
- index
207
- })
208
- ]),
209
- _: 2
210
- }, [
211
- index === 0 && _ctx.query === "lbs" ? {
212
- name: "tips",
213
- fn: withCtx(() => [
214
- createTextVNode(" \u9ED8\u8BA4 ")
215
- ]),
216
- key: "0"
217
- } : void 0
218
- ]), 1032, ["item", "query"]))
219
- ], 2112)) : element.catalog === "mp_account" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
220
- createCommentVNode(" \u516C\u4F17\u53F7 "),
221
- (openBlock(), createBlock(_sfc_main$4, {
222
- key: element.post_id,
223
- item: { ...element, index },
224
- abttrites: _ctx.abttrites,
225
- onClickTitle: clickTitle
226
- }, {
227
- index: withCtx(() => [
228
- createElementVNode("span", _hoisted_21, toDisplayString(index + 1), 1)
229
- ]),
230
- tip: withCtx(() => [
231
- createCommentVNode(" \u5148\u6DFB\u52A0\u6587\u4EF6\u8D44\u6E90\uFF0C\u672A\u53D1\u5E03 "),
232
- element._status ? (openBlock(), createElementBlock("i", _hoisted_22, [
233
- createVNode(unref(IconPenFill), { size: "16" })
234
- ])) : createCommentVNode("v-if", true),
235
- element.fix_position ? (openBlock(), createElementBlock("span", _hoisted_23, [
236
- createElementVNode("i", _hoisted_24, [
237
- createVNode(unref(IconPushpin), { size: "16" })
238
- ]),
239
- createElementVNode("span", _hoisted_25, toDisplayString(element.fix_position), 1)
240
- ])) : createCommentVNode("v-if", true)
241
- ]),
242
- option: withCtx(() => [
243
- renderSlot(_ctx.$slots, "option", {
244
- row: element,
245
- index
246
- })
247
- ]),
248
- _: 2
249
- }, 1032, ["item", "abttrites"]))
250
- ], 2112)) : element.catalog === "ilive" ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
251
- createCommentVNode(" \u4E91\u76F4\u64AD "),
252
- (openBlock(), createBlock(_sfc_main$5, {
253
- key: element.post_id,
254
- item: { ...element, index },
255
- onClickTitle: clickTitle
256
- }, {
257
- index: withCtx(() => [
258
- createElementVNode("span", _hoisted_26, toDisplayString(index + 1), 1)
259
- ]),
260
- option: withCtx(() => [
261
- renderSlot(_ctx.$slots, "option", {
262
- row: element,
263
- index
264
- })
265
- ]),
266
- _: 2
267
- }, 1032, ["item"]))
268
- ], 2112)) : element.catalog === "kongo" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
269
- createCommentVNode(" \u529F\u80FD\u5BFC\u822A "),
270
- (openBlock(), createBlock(_sfc_main$6, {
271
- key: element.post_id,
272
- item: { ...element, index },
273
- onClickTitle: clickTitle
274
- }, {
275
- index: withCtx(() => [
276
- createElementVNode("span", _hoisted_27, toDisplayString(index + 1), 1)
277
- ]),
278
- tip: withCtx(() => [
279
- createCommentVNode(" \u5148\u6DFB\u52A0\u6587\u4EF6\u8D44\u6E90\uFF0C\u672A\u53D1\u5E03 "),
280
- element._status ? (openBlock(), createElementBlock("i", _hoisted_28, [
281
- createVNode(unref(IconPenFill), { size: "16" })
282
- ])) : createCommentVNode("v-if", true),
283
- element.fix_position ? (openBlock(), createElementBlock("span", _hoisted_29, [
284
- createElementVNode("i", _hoisted_30, [
285
- createVNode(unref(IconPushpin), { size: "16" })
286
- ]),
287
- createElementVNode("span", _hoisted_31, toDisplayString(element.fix_position), 1)
288
- ])) : createCommentVNode("v-if", true)
289
- ]),
290
- option: withCtx(() => [
291
- renderSlot(_ctx.$slots, "option", {
292
- row: element,
293
- index
294
- })
295
- ]),
296
- _: 2
297
- }, 1032, ["item"]))
298
- ], 2112)) : createCommentVNode("v-if", true)
299
- ])
300
- ]),
301
- _: 3
302
- }, 8, ["list", "sort"])
303
- ]);
220
+ createElementVNode("span", _hoisted_23, toDisplayString(_ctx.item.fix_position), 1)
221
+ ])) : createCommentVNode("v-if", true)
222
+ ]),
223
+ option: withCtx(() => [
224
+ renderSlot(_ctx.$slots, "option", {
225
+ row: _ctx.item,
226
+ index: _ctx.index
227
+ })
228
+ ]),
229
+ _: 3
230
+ }, 8, ["item", "abttrites"]))
231
+ ], 2112)) : _ctx.item.catalog === "ilive" ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
232
+ createCommentVNode(" \u4E91\u76F4\u64AD "),
233
+ (openBlock(), createBlock(_sfc_main$5, {
234
+ key: `live-${_ctx.item.post_id}`,
235
+ item: { ..._ctx.item, index: _ctx.index },
236
+ onClickTitle: clickTitle
237
+ }, {
238
+ index: withCtx(() => [
239
+ createElementVNode("span", _hoisted_24, toDisplayString(_ctx.index + 1), 1)
240
+ ]),
241
+ option: withCtx(() => [
242
+ renderSlot(_ctx.$slots, "option", {
243
+ row: _ctx.item,
244
+ index: _ctx.index
245
+ })
246
+ ]),
247
+ _: 3
248
+ }, 8, ["item"]))
249
+ ], 2112)) : _ctx.item.catalog === "kongo" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
250
+ createCommentVNode(" \u529F\u80FD\u5BFC\u822A "),
251
+ (openBlock(), createBlock(_sfc_main$6, {
252
+ key: `kongo-${_ctx.item.post_id}`,
253
+ item: { ..._ctx.item, index: _ctx.index },
254
+ onClickTitle: clickTitle
255
+ }, {
256
+ index: withCtx(() => [
257
+ createElementVNode("span", _hoisted_25, toDisplayString(_ctx.index + 1), 1)
258
+ ]),
259
+ tip: withCtx(() => [
260
+ createCommentVNode(" \u5148\u6DFB\u52A0\u6587\u4EF6\u8D44\u6E90\uFF0C\u672A\u53D1\u5E03 "),
261
+ _ctx.item._status ? (openBlock(), createElementBlock("i", _hoisted_26, [
262
+ createVNode(unref(IconPenFill), { size: "16" })
263
+ ])) : createCommentVNode("v-if", true),
264
+ _ctx.item.fix_position ? (openBlock(), createElementBlock("span", _hoisted_27, [
265
+ createElementVNode("i", _hoisted_28, [
266
+ createVNode(unref(IconPushpin), { size: "16" })
267
+ ]),
268
+ createElementVNode("span", _hoisted_29, toDisplayString(_ctx.item.fix_position), 1)
269
+ ])) : createCommentVNode("v-if", true)
270
+ ]),
271
+ option: withCtx(() => [
272
+ renderSlot(_ctx.$slots, "option", {
273
+ row: _ctx.item,
274
+ index: _ctx.index
275
+ })
276
+ ]),
277
+ _: 3
278
+ }, 8, ["item"]))
279
+ ], 2112)) : createCommentVNode("v-if", true)
280
+ ], 2112);
304
281
  };
305
282
  }
306
283
  });
@@ -1,12 +1,11 @@
1
- import { defineComponent, openBlock, createElementBlock, createVNode, unref, withCtx, Fragment, renderList, createBlock, renderSlot } from "vue";
2
- import { Scrollbar } from "@arco-design/web-vue";
1
+ import { defineComponent, openBlock, createBlock, withCtx, renderSlot } from "vue";
3
2
  import _sfc_main$1 from "../Content/DocItem/index.js";
4
- const _hoisted_1 = { class: "media-common-detail-list-container" };
5
3
  const _sfc_main = defineComponent({
6
4
  __name: "index",
7
5
  props: {
8
6
  abttrites: {},
9
- getData: {}
7
+ item: {},
8
+ index: {}
10
9
  },
11
10
  emits: ["cellMouseEnter", "cellMouseLeave", "clickTitle"],
12
11
  setup(__props, { emit }) {
@@ -20,37 +19,27 @@ const _sfc_main = defineComponent({
20
19
  emit("clickTitle", item);
21
20
  };
22
21
  return (_ctx, _cache) => {
23
- return openBlock(), createElementBlock("div", _hoisted_1, [
24
- createVNode(unref(Scrollbar), { class: "data-ul" }, {
25
- default: withCtx(() => [
26
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.getData, (item, index) => {
27
- return openBlock(), createBlock(_sfc_main$1, {
28
- key: index,
29
- item,
30
- abttrites: _ctx.abttrites,
31
- onClickTitle: clickTitle,
32
- onCellMouseEnter: cellMouseEnter,
33
- onCellMouseLeave: cellMouseLeave
34
- }, {
35
- batch: withCtx(() => [
36
- renderSlot(_ctx.$slots, "batch", {
37
- row: item,
38
- index
39
- })
40
- ]),
41
- option: withCtx(() => [
42
- renderSlot(_ctx.$slots, "option", {
43
- row: item,
44
- index
45
- })
46
- ]),
47
- _: 2
48
- }, 1032, ["item", "abttrites"]);
49
- }), 128))
50
- ]),
51
- _: 3
52
- })
53
- ]);
22
+ return openBlock(), createBlock(_sfc_main$1, {
23
+ item: _ctx.item,
24
+ abttrites: _ctx.abttrites,
25
+ onClickTitle: clickTitle,
26
+ onCellMouseEnter: cellMouseEnter,
27
+ onCellMouseLeave: cellMouseLeave
28
+ }, {
29
+ batch: withCtx(() => [
30
+ renderSlot(_ctx.$slots, "batch", {
31
+ row: _ctx.item,
32
+ index: _ctx.index
33
+ })
34
+ ]),
35
+ option: withCtx(() => [
36
+ renderSlot(_ctx.$slots, "option", {
37
+ row: _ctx.item,
38
+ index: _ctx.index
39
+ })
40
+ ]),
41
+ _: 3
42
+ }, 8, ["item", "abttrites"]);
54
43
  };
55
44
  }
56
45
  });
@@ -39,16 +39,6 @@ export declare const docStateMap: {
39
39
  19: string;
40
40
  22: string;
41
41
  };
42
- export declare const approveFlowStatusMap: {
43
- 1: string;
44
- 2: string;
45
- 3: string;
46
- 4: string;
47
- 5: string;
48
- 6: string;
49
- 7: string;
50
- 8: string;
51
- };
52
42
  export declare const compoColumnsMap: () => any;
53
43
  export declare const docThumbMap: () => any;
54
44
  export declare const noCoverText: (item: any) => any;