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