@cmstops/pro-compo 0.1.19 → 0.1.21

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 (73) hide show
  1. package/dist/index.css +65 -11
  2. package/dist/index.min.css +1 -1
  3. package/es/contentDetailList/component.js +142 -51
  4. package/es/contentDetailList/components/Content/index.js +218 -239
  5. package/es/contentDetailList/components/Doc/index.js +24 -35
  6. package/es/contentDetailList/style/Content.less +1 -1
  7. package/es/contentDetailList/style/ContentListItem.less +1 -4
  8. package/es/contentDetailList/style/Doc.less +1 -5
  9. package/es/contentDetailList/style/DocItem.less +1 -0
  10. package/es/contentDetailList/style/index.css +10 -11
  11. package/es/contentModal/component.js +0 -1
  12. package/es/contentModal/components/ViewAllColumn/index.js +1 -0
  13. package/es/editMetaInfo/component.d.ts +0 -0
  14. package/es/editMetaInfo/component.js +87 -0
  15. package/es/editMetaInfo/components/metaInfoForm.d.ts +0 -0
  16. package/es/editMetaInfo/components/metaInfoForm.js +621 -0
  17. package/es/editMetaInfo/index.d.ts +2 -0
  18. package/es/editMetaInfo/index.js +7 -0
  19. package/es/editMetaInfo/script/api.d.ts +6 -0
  20. package/es/editMetaInfo/script/api.js +17 -0
  21. package/es/editMetaInfo/script/restaurants.d.ts +4 -0
  22. package/es/editMetaInfo/script/restaurants.js +127 -0
  23. package/es/editMetaInfo/style/css.js +1 -0
  24. package/es/editMetaInfo/style/index.css +20 -0
  25. package/es/editMetaInfo/style/index.d.ts +1 -0
  26. package/es/editMetaInfo/style/index.js +1 -0
  27. package/es/editMetaInfo/style/index.less +30 -0
  28. package/es/hooks/dialogVisible.d.ts +8 -0
  29. package/es/hooks/dialogVisible.js +19 -0
  30. package/es/index.css +65 -11
  31. package/es/index.d.ts +1 -0
  32. package/es/index.js +1 -0
  33. package/es/index.less +1 -0
  34. package/es/selectThumb/component.js +3 -1
  35. package/es/selectThumb/components/colorPalette.js +32 -26
  36. package/es/selectThumb/components/colorPicker.d.ts +0 -0
  37. package/es/selectThumb/components/colorPicker.js +54 -0
  38. package/es/selectThumb/style/colorPalette.less +31 -0
  39. package/es/selectThumb/style/index.css +35 -0
  40. package/es/selectThumb/style/index.less +7 -0
  41. package/es/utils/index.d.ts +1 -0
  42. package/es/utils/index.js +16 -1
  43. package/lib/contentDetailList/component.js +145 -50
  44. package/lib/contentDetailList/components/Content/index.js +217 -242
  45. package/lib/contentDetailList/components/Doc/index.js +23 -34
  46. package/lib/contentDetailList/style/Content.less +1 -1
  47. package/lib/contentDetailList/style/ContentListItem.less +1 -4
  48. package/lib/contentDetailList/style/Doc.less +1 -5
  49. package/lib/contentDetailList/style/DocItem.less +1 -0
  50. package/lib/contentDetailList/style/index.css +10 -11
  51. package/lib/contentModal/component.js +0 -1
  52. package/lib/contentModal/components/ViewAllColumn/index.js +1 -0
  53. package/lib/editMetaInfo/component.js +88 -0
  54. package/lib/editMetaInfo/components/metaInfoForm.js +622 -0
  55. package/lib/editMetaInfo/index.js +8 -0
  56. package/lib/editMetaInfo/script/api.js +20 -0
  57. package/lib/editMetaInfo/script/restaurants.js +128 -0
  58. package/lib/editMetaInfo/style/css.js +2 -0
  59. package/lib/editMetaInfo/style/index.css +20 -0
  60. package/lib/editMetaInfo/style/index.js +2 -0
  61. package/lib/editMetaInfo/style/index.less +30 -0
  62. package/lib/hooks/dialogVisible.js +20 -0
  63. package/lib/index.css +65 -11
  64. package/lib/index.js +2 -0
  65. package/lib/index.less +1 -0
  66. package/lib/selectThumb/component.js +3 -1
  67. package/lib/selectThumb/components/colorPalette.js +32 -26
  68. package/lib/selectThumb/components/colorPicker.js +55 -0
  69. package/lib/selectThumb/style/colorPalette.less +31 -0
  70. package/lib/selectThumb/style/index.css +35 -0
  71. package/lib/selectThumb/style/index.less +7 -0
  72. package/lib/utils/index.js +16 -0
  73. package/package.json +1 -1
@@ -1,304 +1,283 @@
1
- import { defineComponent, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode, createCommentVNode, createBlock, toDisplayString, renderSlot, Fragment, 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
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: `doc-${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: `compo-${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: `contentlist-${element.post_id}`,
180
- item: { ...element, index },
181
- parmas: _ctx.parmas,
182
- onClickTitle: clickTitle
183
- }, {
184
- index: withCtx(() => [
185
- createElementVNode("span", _hoisted_15, toDisplayString(index + 1), 1)
186
- ]),
187
- tips: withCtx(() => {
188
- var _a, _b;
189
- return [
190
- createTextVNode(toDisplayString(((_b = (_a = _ctx.parmas) == null ? void 0 : _a.labelTip) == null ? void 0 : _b.tips(element, index)) || ""), 1)
191
- ];
192
- }),
193
- tip: withCtx(() => [
194
- createCommentVNode(" \u5148\u6DFB\u52A0\u6587\u4EF6\u8D44\u6E90\uFF0C\u672A\u53D1\u5E03 "),
195
- element._status ? (openBlock(), createElementBlock("i", _hoisted_16, [
196
- createVNode(unref(IconPenFill), { size: "16" })
197
- ])) : createCommentVNode("v-if", true),
198
- createCommentVNode(" \u5B9A\u65F6\u53D1\u5E03 "),
199
- element.status === 3 ? (openBlock(), createElementBlock("i", _hoisted_17, [
200
- createVNode(unref(IconClockCircle), { size: "16" })
201
- ])) : createCommentVNode("v-if", true),
202
- element.fix_position ? (openBlock(), createElementBlock("span", _hoisted_18, [
203
- createElementVNode("i", _hoisted_19, [
204
- createVNode(unref(IconPushpin), { size: "16" })
205
- ]),
206
- createElementVNode("span", _hoisted_20, toDisplayString(element.fix_position), 1)
207
- ])) : createCommentVNode("v-if", true)
208
- ]),
209
- option: withCtx(() => [
210
- renderSlot(_ctx.$slots, "option", {
211
- row: element,
212
- index
213
- })
214
- ]),
215
- _: 2
216
- }, 1032, ["item", "parmas"]))
217
- ], 2112)) : element.catalog === "mp_account" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
218
- createCommentVNode(" \u516C\u4F17\u53F7 "),
219
- (openBlock(), createBlock(_sfc_main$4, {
220
- key: `maccount-${element.post_id}`,
221
- item: { ...element, index },
222
- abttrites: _ctx.abttrites,
223
- onClickTitle: clickTitle
224
- }, {
225
- index: withCtx(() => [
226
- createElementVNode("span", _hoisted_21, toDisplayString(index + 1), 1)
227
- ]),
228
- tip: withCtx(() => [
229
- createCommentVNode(" \u5148\u6DFB\u52A0\u6587\u4EF6\u8D44\u6E90\uFF0C\u672A\u53D1\u5E03 "),
230
- element._status ? (openBlock(), createElementBlock("i", _hoisted_22, [
231
- createVNode(unref(IconPenFill), { size: "16" })
232
- ])) : createCommentVNode("v-if", true),
233
- element.fix_position ? (openBlock(), createElementBlock("span", _hoisted_23, [
234
- createElementVNode("i", _hoisted_24, [
235
- createVNode(unref(IconPushpin), { size: "16" })
236
- ]),
237
- createElementVNode("span", _hoisted_25, toDisplayString(element.fix_position), 1)
238
- ])) : createCommentVNode("v-if", true)
239
- ]),
240
- option: withCtx(() => [
241
- renderSlot(_ctx.$slots, "option", {
242
- row: element,
243
- index
244
- })
245
- ]),
246
- _: 2
247
- }, 1032, ["item", "abttrites"]))
248
- ], 2112)) : element.catalog === "ilive" ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
249
- createCommentVNode(" \u4E91\u76F4\u64AD "),
250
- (openBlock(), createBlock(_sfc_main$5, {
251
- key: `live-${element.post_id}`,
252
- item: { ...element, index },
253
- onClickTitle: clickTitle
254
- }, {
255
- index: withCtx(() => [
256
- createElementVNode("span", _hoisted_26, toDisplayString(index + 1), 1)
257
- ]),
258
- option: withCtx(() => [
259
- renderSlot(_ctx.$slots, "option", {
260
- row: element,
261
- index
262
- })
263
- ]),
264
- _: 2
265
- }, 1032, ["item"]))
266
- ], 2112)) : element.catalog === "kongo" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
267
- createCommentVNode(" \u529F\u80FD\u5BFC\u822A "),
268
- (openBlock(), createBlock(_sfc_main$6, {
269
- key: `kongo-${element.post_id}`,
270
- item: { ...element, index },
271
- onClickTitle: clickTitle
272
- }, {
273
- index: withCtx(() => [
274
- createElementVNode("span", _hoisted_27, toDisplayString(index + 1), 1)
275
- ]),
276
- tip: withCtx(() => [
277
- createCommentVNode(" \u5148\u6DFB\u52A0\u6587\u4EF6\u8D44\u6E90\uFF0C\u672A\u53D1\u5E03 "),
278
- element._status ? (openBlock(), createElementBlock("i", _hoisted_28, [
279
- createVNode(unref(IconPenFill), { size: "16" })
280
- ])) : createCommentVNode("v-if", true),
281
- element.fix_position ? (openBlock(), createElementBlock("span", _hoisted_29, [
282
- createElementVNode("i", _hoisted_30, [
283
- createVNode(unref(IconPushpin), { size: "16" })
284
- ]),
285
- createElementVNode("span", _hoisted_31, toDisplayString(element.fix_position), 1)
286
- ])) : createCommentVNode("v-if", true)
287
- ]),
288
- option: withCtx(() => [
289
- renderSlot(_ctx.$slots, "option", {
290
- row: element,
291
- index
292
- })
293
- ]),
294
- _: 2
295
- }, 1032, ["item"]))
296
- ], 2112)) : createCommentVNode("v-if", true)
297
- ])
298
- ]),
299
- _: 3
300
- }, 8, ["list", "sort"])
301
- ]);
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);
302
281
  };
303
282
  }
304
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
  });
@@ -1,4 +1,4 @@
1
- .content-common-detail-list-container {
1
+ .content-detail-list-container{
2
2
  * {
3
3
  &::selection {
4
4
  display: none;
@@ -41,6 +41,7 @@
41
41
  padding: 2px 0;
42
42
 
43
43
  .title {
44
+ width: calc(100% - 50px);
44
45
  display: flex;
45
46
  align-items: center;
46
47
  margin-bottom: 10px;
@@ -64,10 +65,6 @@
64
65
  .title_i {
65
66
  margin-right: 10px;
66
67
  }
67
- // .title_i:hover {
68
- // text-decoration: underline;
69
- // color: #4886ff;
70
- // }
71
68
  }
72
69
 
73
70
  .abttrite-v {
@@ -1,7 +1,3 @@
1
- .media-common-detail-list-container {
1
+ .content-detail-list-container {
2
2
  width: 100%;
3
-
4
- .data-ul {
5
- height: 100%;
6
- }
7
3
  }
@@ -53,6 +53,7 @@
53
53
  padding: 2px 0;
54
54
 
55
55
  .title {
56
+ width: calc(100% - 50px);
56
57
  display: flex;
57
58
  align-items: center;
58
59
  margin-bottom: 10px;