@cmstops/pro-compo 0.1.19 → 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.
- package/dist/index.css +10 -11
- package/dist/index.min.css +1 -1
- package/es/contentDetailList/component.js +142 -51
- package/es/contentDetailList/components/Content/index.js +218 -239
- package/es/contentDetailList/components/Doc/index.js +24 -35
- package/es/contentDetailList/style/Content.less +1 -1
- package/es/contentDetailList/style/ContentListItem.less +1 -4
- package/es/contentDetailList/style/Doc.less +1 -5
- package/es/contentDetailList/style/DocItem.less +1 -0
- package/es/contentDetailList/style/index.css +10 -11
- package/es/index.css +10 -11
- package/lib/contentDetailList/component.js +145 -50
- package/lib/contentDetailList/components/Content/index.js +217 -242
- package/lib/contentDetailList/components/Doc/index.js +23 -34
- package/lib/contentDetailList/style/Content.less +1 -1
- package/lib/contentDetailList/style/ContentListItem.less +1 -4
- package/lib/contentDetailList/style/Doc.less +1 -5
- package/lib/contentDetailList/style/DocItem.less +1 -0
- package/lib/contentDetailList/style/index.css +10 -11
- package/lib/index.css +10 -11
- package/package.json +1 -1
|
@@ -1,304 +1,283 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock,
|
|
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: "
|
|
11
|
-
const _hoisted_2 = {
|
|
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
|
|
14
|
+
const _hoisted_3 = {
|
|
18
15
|
key: 1,
|
|
19
16
|
class: "d_time"
|
|
20
17
|
};
|
|
21
|
-
const
|
|
18
|
+
const _hoisted_4 = {
|
|
22
19
|
key: 2,
|
|
23
20
|
class: "fix_position"
|
|
24
21
|
};
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
const
|
|
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
|
|
29
|
+
const _hoisted_9 = {
|
|
33
30
|
key: 1,
|
|
34
31
|
class: "d_time"
|
|
35
32
|
};
|
|
36
|
-
const
|
|
33
|
+
const _hoisted_10 = {
|
|
37
34
|
key: 2,
|
|
38
35
|
class: "fix_position"
|
|
39
36
|
};
|
|
40
|
-
const
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
const
|
|
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
|
|
44
|
+
const _hoisted_15 = {
|
|
48
45
|
key: 1,
|
|
49
46
|
class: "d_time"
|
|
50
47
|
};
|
|
51
|
-
const
|
|
48
|
+
const _hoisted_16 = {
|
|
52
49
|
key: 2,
|
|
53
50
|
class: "fix_position"
|
|
54
51
|
};
|
|
55
|
-
const
|
|
56
|
-
const
|
|
57
|
-
const
|
|
58
|
-
const
|
|
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
|
|
59
|
+
const _hoisted_21 = {
|
|
63
60
|
key: 1,
|
|
64
61
|
class: "fix_position"
|
|
65
62
|
};
|
|
66
|
-
const
|
|
67
|
-
const
|
|
68
|
-
const
|
|
69
|
-
const
|
|
70
|
-
const
|
|
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
|
|
71
|
+
const _hoisted_27 = {
|
|
75
72
|
key: 1,
|
|
76
73
|
class: "fix_position"
|
|
77
74
|
};
|
|
78
|
-
const
|
|
79
|
-
const
|
|
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
|
-
|
|
84
|
-
|
|
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(
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
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
|
-
|
|
108
|
-
createElementVNode("
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
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
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
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
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
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,
|
|
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
|
-
|
|
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(),
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
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
|
});
|
|
@@ -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 {
|