@cmstops/pro-compo 0.1.61 → 0.1.63

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 (67) hide show
  1. package/dist/index.css +107 -0
  2. package/dist/index.min.css +1 -1
  3. package/dist/matrix/baijiahao.png +0 -0
  4. package/dist/matrix/bilibili.png +0 -0
  5. package/dist/matrix/channelsweixin.png +0 -0
  6. package/dist/matrix/douyin.png +0 -0
  7. package/dist/matrix/kuaishou.png +0 -0
  8. package/dist/matrix/qq.png +0 -0
  9. package/dist/matrix/toutiao.png +0 -0
  10. package/dist/matrix/weibo.png +0 -0
  11. package/dist/matrix/weixin.png +0 -0
  12. package/es/contentDetailList/__demo__/matrix/platform.d.ts +27 -0
  13. package/es/contentDetailList/component.js +79 -8
  14. package/es/contentDetailList/components/Content/CompoItem/index.js +32 -19
  15. package/es/contentDetailList/components/Content/ContentListItem/index.js +38 -25
  16. package/es/contentDetailList/components/Content/DocItem/index.js +2 -1
  17. package/es/contentDetailList/components/Content/DocMpItem/index.js +13 -4
  18. package/es/contentDetailList/components/Content/KongoNavItem/index.js +35 -22
  19. package/es/contentDetailList/components/Content/LiveItem/index.js +32 -19
  20. package/es/contentDetailList/components/Content/MaccountItem/index.js +31 -19
  21. package/es/contentDetailList/components/Content/courseItem/index.js +34 -21
  22. package/es/contentDetailList/components/Content/funhdItem/index.js +34 -21
  23. package/es/contentDetailList/components/Content/index.js +114 -22
  24. package/es/contentDetailList/components/Doc/index.js +3 -1
  25. package/es/contentDetailList/components/Records/MatrixItem/index.d.ts +0 -0
  26. package/es/contentDetailList/components/Records/MatrixItem/index.js +131 -0
  27. package/es/contentDetailList/components/Records/index.d.ts +0 -0
  28. package/es/contentDetailList/components/Records/index.js +63 -0
  29. package/es/contentDetailList/style/MatrixItem.less +127 -0
  30. package/es/contentDetailList/style/index.css +107 -0
  31. package/es/contentDetailList/style/index.less +1 -0
  32. package/es/index.css +107 -0
  33. package/es/matrix/baijiahao.png +0 -0
  34. package/es/matrix/bilibili.png +0 -0
  35. package/es/matrix/channelsweixin.png +0 -0
  36. package/es/matrix/douyin.png +0 -0
  37. package/es/matrix/kuaishou.png +0 -0
  38. package/es/matrix/qq.png +0 -0
  39. package/es/matrix/toutiao.png +0 -0
  40. package/es/matrix/weibo.png +0 -0
  41. package/es/matrix/weixin.png +0 -0
  42. package/es/selectThumb/component.js +0 -7
  43. package/es/utils/typeMap.d.ts +23 -0
  44. package/es/utils/typeMap.js +26 -2
  45. package/lib/contentDetailList/component.js +96 -25
  46. package/lib/contentDetailList/components/Content/CompoItem/index.js +32 -19
  47. package/lib/contentDetailList/components/Content/ContentListItem/index.js +38 -25
  48. package/lib/contentDetailList/components/Content/DocItem/index.js +2 -1
  49. package/lib/contentDetailList/components/Content/DocMpItem/index.js +13 -4
  50. package/lib/contentDetailList/components/Content/KongoNavItem/index.js +35 -22
  51. package/lib/contentDetailList/components/Content/LiveItem/index.js +32 -19
  52. package/lib/contentDetailList/components/Content/MaccountItem/index.js +31 -19
  53. package/lib/contentDetailList/components/Content/courseItem/index.js +34 -21
  54. package/lib/contentDetailList/components/Content/funhdItem/index.js +34 -21
  55. package/lib/contentDetailList/components/Content/index.js +113 -21
  56. package/lib/contentDetailList/components/Doc/index.js +3 -1
  57. package/lib/contentDetailList/components/Records/MatrixItem/index.js +132 -0
  58. package/lib/contentDetailList/components/Records/index.js +64 -0
  59. package/lib/contentDetailList/style/MatrixItem.less +127 -0
  60. package/lib/contentDetailList/style/index.css +107 -0
  61. package/lib/contentDetailList/style/index.less +1 -0
  62. package/lib/index.css +107 -0
  63. package/lib/selectThumb/component.js +0 -7
  64. package/lib/utils/typeMap.js +27 -1
  65. package/package.json +1 -1
  66. package/es/contentDetailList/components/Content/MaccountItem/temp/user.js +0 -2
  67. package/lib/contentDetailList/components/Content/MaccountItem/temp/user.js +0 -3
@@ -4,6 +4,7 @@ var webVue = require("@arco-design/web-vue");
4
4
  var draggable = require("vuedraggable");
5
5
  var index = require("./components/Content/index.js");
6
6
  var index$1 = require("./components/Doc/index.js");
7
+ var index$2 = require("./components/Records/index.js");
7
8
  function _interopDefaultLegacy(e) {
8
9
  return e && typeof e === "object" && "default" in e ? e : { "default": e };
9
10
  }
@@ -19,7 +20,8 @@ const _sfc_main = vue.defineComponent({
19
20
  data: {},
20
21
  parmas: {},
21
22
  dragalbe: { type: Boolean },
22
- abttrites: {}
23
+ abttrites: {},
24
+ extraAttrs: {}
23
25
  },
24
26
  emits: [
25
27
  "sortChange",
@@ -45,7 +47,6 @@ const _sfc_main = vue.defineComponent({
45
47
  });
46
48
  const dataList = vue.computed({
47
49
  get() {
48
- console.log("dataList", props.data);
49
50
  return props.data;
50
51
  },
51
52
  set(value) {
@@ -90,29 +91,64 @@ const _sfc_main = vue.defineComponent({
90
91
  onChange: sortChange,
91
92
  onStart: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("dragstart"))
92
93
  }, {
93
- item: vue.withCtx(({ element, index: index$2 }) => [
94
+ item: vue.withCtx(({ element, index: index$3 }) => [
94
95
  vue.createElementVNode("div", _hoisted_2, [
95
96
  props.type === "content" ? (vue.openBlock(), vue.createBlock(index, {
96
- key: index$2,
97
+ key: index$3,
97
98
  item: element,
98
- index: index$2,
99
+ index: index$3,
99
100
  parmas: vue.unref(parmasProps),
100
101
  abttrites: vue.unref(abttritesProps),
101
- onClickTitle: clickTitle
102
+ extraAttrs: _ctx.extraAttrs,
103
+ onClickTitle: clickTitle,
104
+ onCellMouseEnter: tableCellMouseEnter,
105
+ onCellMouseLeave: tableCellMouseLeave
102
106
  }, {
107
+ batch: vue.withCtx(() => [
108
+ vue.renderSlot(_ctx.$slots, "batch", {
109
+ row: element,
110
+ index: index$3
111
+ })
112
+ ]),
103
113
  option: vue.withCtx(() => [
104
114
  vue.renderSlot(_ctx.$slots, "option", {
105
115
  row: element,
106
- index: index$2
116
+ index: index$3
107
117
  })
108
118
  ]),
109
119
  _: 2
110
- }, 1032, ["item", "index", "parmas", "abttrites"])) : vue.createCommentVNode("v-if", true),
120
+ }, 1032, ["item", "index", "parmas", "abttrites", "extraAttrs"])) : vue.createCommentVNode("v-if", true),
111
121
  props.type === "doc" ? (vue.openBlock(), vue.createBlock(index$1, {
112
- key: index$2,
122
+ key: index$3,
123
+ item: element,
124
+ index: index$3,
125
+ abttrites: vue.unref(abttritesProps),
126
+ extraAttrs: _ctx.extraAttrs,
127
+ onClickTitle: clickTitle,
128
+ onCellMouseEnter: tableCellMouseEnter,
129
+ onCellMouseLeave: tableCellMouseLeave
130
+ }, {
131
+ batch: vue.withCtx(() => [
132
+ vue.renderSlot(_ctx.$slots, "batch", {
133
+ row: element,
134
+ index: index$3
135
+ })
136
+ ]),
137
+ option: vue.withCtx(() => [
138
+ vue.renderSlot(_ctx.$slots, "option", {
139
+ row: element,
140
+ index: index$3
141
+ })
142
+ ]),
143
+ _: 2
144
+ }, 1032, ["item", "index", "abttrites", "extraAttrs"])) : vue.createCommentVNode("v-if", true),
145
+ props.type === "record" ? (vue.openBlock(), vue.createBlock(index$2, {
146
+ key: index$3,
113
147
  item: element,
114
- index: index$2,
148
+ index: index$3,
149
+ parmas: vue.unref(parmasProps),
115
150
  abttrites: vue.unref(abttritesProps),
151
+ extraAttrs: _ctx.extraAttrs,
116
152
  onClickTitle: clickTitle,
117
153
  onCellMouseEnter: tableCellMouseEnter,
118
154
  onCellMouseLeave: tableCellMouseLeave
@@ -120,43 +156,78 @@ const _sfc_main = vue.defineComponent({
120
156
  batch: vue.withCtx(() => [
121
157
  vue.renderSlot(_ctx.$slots, "batch", {
122
158
  row: element,
123
- index: index$2
159
+ index: index$3
124
160
  })
125
161
  ]),
126
162
  option: vue.withCtx(() => [
127
163
  vue.renderSlot(_ctx.$slots, "option", {
128
164
  row: element,
129
- index: index$2
165
+ index: index$3
130
166
  })
131
167
  ]),
132
168
  _: 2
133
- }, 1032, ["item", "index", "abttrites"])) : vue.createCommentVNode("v-if", true)
169
+ }, 1032, ["item", "index", "parmas", "abttrites", "extraAttrs"])) : vue.createCommentVNode("v-if", true)
134
170
  ])
135
171
  ]),
136
172
  _: 3
137
- }, 8, ["modelValue", "sort"])) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(dataList.value, (item, index$2) => {
138
- return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index$2 }, [
173
+ }, 8, ["modelValue", "sort"])) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(dataList.value, (item, index$3) => {
174
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index$3 }, [
139
175
  props.type === "content" ? (vue.openBlock(), vue.createBlock(index, {
140
- key: index$2,
176
+ key: index$3,
141
177
  item,
142
- index: index$2,
178
+ index: index$3,
143
179
  parmas: vue.unref(parmasProps),
144
180
  abttrites: vue.unref(abttritesProps),
145
- onClickTitle: clickTitle
181
+ extraAttrs: _ctx.extraAttrs,
182
+ onClickTitle: clickTitle,
183
+ onCellMouseEnter: tableCellMouseEnter,
184
+ onCellMouseLeave: tableCellMouseLeave
146
185
  }, {
186
+ batch: vue.withCtx(() => [
187
+ vue.renderSlot(_ctx.$slots, "batch", {
188
+ row: item,
189
+ index: index$3
190
+ })
191
+ ]),
147
192
  option: vue.withCtx(() => [
148
193
  vue.renderSlot(_ctx.$slots, "option", {
149
194
  row: item,
150
- index: index$2
195
+ index: index$3
151
196
  })
152
197
  ]),
153
198
  _: 2
154
- }, 1032, ["item", "index", "parmas", "abttrites"])) : vue.createCommentVNode("v-if", true),
199
+ }, 1032, ["item", "index", "parmas", "abttrites", "extraAttrs"])) : vue.createCommentVNode("v-if", true),
155
200
  props.type === "doc" ? (vue.openBlock(), vue.createBlock(index$1, {
156
- key: index$2,
201
+ key: index$3,
202
+ item,
203
+ index: index$3,
204
+ abttrites: vue.unref(abttritesProps),
205
+ extraAttrs: _ctx.extraAttrs,
206
+ onClickTitle: clickTitle,
207
+ onCellMouseEnter: tableCellMouseEnter,
208
+ onCellMouseLeave: tableCellMouseLeave
209
+ }, {
210
+ batch: vue.withCtx(() => [
211
+ vue.renderSlot(_ctx.$slots, "batch", {
212
+ row: item,
213
+ index: index$3
214
+ })
215
+ ]),
216
+ option: vue.withCtx(() => [
217
+ vue.renderSlot(_ctx.$slots, "option", {
218
+ row: item,
219
+ index: index$3
220
+ })
221
+ ]),
222
+ _: 2
223
+ }, 1032, ["item", "index", "abttrites", "extraAttrs"])) : vue.createCommentVNode("v-if", true),
224
+ props.type === "record" ? (vue.openBlock(), vue.createBlock(index$2, {
225
+ key: index$3,
157
226
  item,
158
- index: index$2,
227
+ index: index$3,
228
+ parmas: vue.unref(parmasProps),
159
229
  abttrites: vue.unref(abttritesProps),
230
+ extraAttrs: _ctx.extraAttrs,
160
231
  onClickTitle: clickTitle,
161
232
  onCellMouseEnter: tableCellMouseEnter,
162
233
  onCellMouseLeave: tableCellMouseLeave
@@ -164,17 +235,17 @@ const _sfc_main = vue.defineComponent({
164
235
  batch: vue.withCtx(() => [
165
236
  vue.renderSlot(_ctx.$slots, "batch", {
166
237
  row: item,
167
- index: index$2
238
+ index: index$3
168
239
  })
169
240
  ]),
170
241
  option: vue.withCtx(() => [
171
242
  vue.renderSlot(_ctx.$slots, "option", {
172
243
  row: item,
173
- index: index$2
244
+ index: index$3
174
245
  })
175
246
  ]),
176
247
  _: 2
177
- }, 1032, ["item", "index", "abttrites"])) : vue.createCommentVNode("v-if", true)
248
+ }, 1032, ["item", "index", "parmas", "abttrites", "extraAttrs"])) : vue.createCommentVNode("v-if", true)
178
249
  ], 64);
179
250
  }), 128))
180
251
  ])
@@ -9,19 +9,21 @@ const _hoisted_2 = {
9
9
  key: 1,
10
10
  class: "no-img"
11
11
  };
12
- const _hoisted_3 = { class: "info-view" };
13
- const _hoisted_4 = { class: "title_i" };
14
- const _hoisted_5 = { class: "abttrite-v" };
15
- const _hoisted_6 = { class: "left" };
16
- const _hoisted_7 = { class: "abttr tags" };
17
- const _hoisted_8 = { class: "abttr time" };
18
- const _hoisted_9 = { class: "right" };
12
+ const _hoisted_3 = { class: "batch-select" };
13
+ const _hoisted_4 = { class: "info-view" };
14
+ const _hoisted_5 = { class: "title_i" };
15
+ const _hoisted_6 = { class: "abttrite-v" };
16
+ const _hoisted_7 = { class: "left" };
17
+ const _hoisted_8 = { class: "abttr tags" };
18
+ const _hoisted_9 = { class: "abttr time" };
19
+ const _hoisted_10 = { class: "right" };
19
20
  const _sfc_main = vue.defineComponent({
20
21
  __name: "index",
21
22
  props: {
22
- item: {}
23
+ item: {},
24
+ extraAttrs: {}
23
25
  },
24
- emits: ["clickTitle"],
26
+ emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
25
27
  setup(__props, { emit: __emit }) {
26
28
  const props = __props;
27
29
  const emit = __emit;
@@ -33,12 +35,20 @@ const _sfc_main = vue.defineComponent({
33
35
  const silent = vue.computed(() => {
34
36
  return props.item && props.item.mourn_style === 1;
35
37
  });
38
+ const mouseEnterFun = (event, row) => {
39
+ emit("cellMouseEnter", { row, event });
40
+ };
41
+ const mouseLeaveFun = (event, row) => {
42
+ emit("cellMouseLeave", { row, event });
43
+ };
36
44
  const clickTitle = () => {
37
45
  emit("clickTitle", props.item);
38
46
  };
39
47
  return (_ctx, _cache) => {
40
48
  return vue.openBlock(), vue.createElementBlock("div", {
41
- class: vue.normalizeClass(["medialist-component-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }])
49
+ class: vue.normalizeClass(["medialist-component-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }]),
50
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, _ctx.item)),
51
+ onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, _ctx.item))
42
52
  }, [
43
53
  vue.createElementVNode("div", _hoisted_1, [
44
54
  _ctx.item.cover && _ctx.item.cover.data && _ctx.item.cover.data[0] ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
@@ -47,35 +57,38 @@ const _sfc_main = vue.defineComponent({
47
57
  preview: false,
48
58
  fit: "cover",
49
59
  class: "image"
50
- }, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1))
60
+ }, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1)),
61
+ vue.createElementVNode("div", _hoisted_3, [
62
+ vue.renderSlot(_ctx.$slots, "batch", { row: _ctx.item })
63
+ ])
51
64
  ]),
52
- vue.createElementVNode("div", _hoisted_3, [
65
+ vue.createElementVNode("div", _hoisted_4, [
53
66
  vue.createElementVNode("div", {
54
67
  class: "title",
55
68
  onClick: clickTitle
56
69
  }, [
57
70
  vue.renderSlot(_ctx.$slots, "index"),
58
- vue.createElementVNode("span", _hoisted_4, vue.toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
71
+ vue.createElementVNode("span", _hoisted_5, vue.toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
59
72
  ]),
60
- vue.createElementVNode("div", _hoisted_5, [
61
- vue.createElementVNode("div", _hoisted_6, [
73
+ vue.createElementVNode("div", _hoisted_6, [
74
+ vue.createElementVNode("div", _hoisted_7, [
62
75
  vue.createVNode(component, {
63
76
  class: "icon",
64
77
  doc: true,
65
78
  type: _ctx.item.series
66
79
  }, null, 8, ["type"]),
67
- vue.createElementVNode("span", _hoisted_7, [
80
+ vue.createElementVNode("span", _hoisted_8, [
68
81
  vue.createTextVNode(vue.toDisplayString(comColumnsMap.value[_ctx.item.columns]) + "\u7EC4\u4EF6", 1),
69
82
  vue.renderSlot(_ctx.$slots, "tip")
70
83
  ]),
71
- vue.createElementVNode("span", _hoisted_8, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
84
+ vue.createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
72
85
  ]),
73
- vue.createElementVNode("div", _hoisted_9, [
86
+ vue.createElementVNode("div", _hoisted_10, [
74
87
  vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
75
88
  ])
76
89
  ])
77
90
  ])
78
- ], 2);
91
+ ], 34);
79
92
  };
80
93
  }
81
94
  });
@@ -10,26 +10,28 @@ const _hoisted_2 = {
10
10
  key: 1,
11
11
  class: "no-img"
12
12
  };
13
- const _hoisted_3 = { class: "info-view" };
14
- const _hoisted_4 = { class: "title_i" };
15
- const _hoisted_5 = { class: "title-tips" };
16
- const _hoisted_6 = {
13
+ const _hoisted_3 = { class: "batch-select" };
14
+ const _hoisted_4 = { class: "info-view" };
15
+ const _hoisted_5 = { class: "title_i" };
16
+ const _hoisted_6 = { class: "title-tips" };
17
+ const _hoisted_7 = {
17
18
  key: 0,
18
19
  class: "title-tips red"
19
20
  };
20
- const _hoisted_7 = { class: "abttrite-v" };
21
- const _hoisted_8 = { class: "left" };
22
- const _hoisted_9 = { class: "abttr tags" };
23
- const _hoisted_10 = { class: "abttr" };
24
- const _hoisted_11 = { class: "abttr time" };
25
- const _hoisted_12 = { class: "right" };
21
+ const _hoisted_8 = { class: "abttrite-v" };
22
+ const _hoisted_9 = { class: "left" };
23
+ const _hoisted_10 = { class: "abttr tags" };
24
+ const _hoisted_11 = { class: "abttr" };
25
+ const _hoisted_12 = { class: "abttr time" };
26
+ const _hoisted_13 = { class: "right" };
26
27
  const _sfc_main = vue.defineComponent({
27
28
  __name: "index",
28
29
  props: {
29
30
  item: {},
30
- parmas: {}
31
+ parmas: {},
32
+ extraAttrs: {}
31
33
  },
32
- emits: ["clickTitle"],
34
+ emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
33
35
  setup(__props, { emit: __emit }) {
34
36
  const props = __props;
35
37
  const emit = __emit;
@@ -40,12 +42,20 @@ const _sfc_main = vue.defineComponent({
40
42
  const silent = vue.computed(() => {
41
43
  return props.item && props.item.mourn_style === 1;
42
44
  });
45
+ const mouseEnterFun = (event, row) => {
46
+ emit("cellMouseEnter", { row, event });
47
+ };
48
+ const mouseLeaveFun = (event, row) => {
49
+ emit("cellMouseLeave", { row, event });
50
+ };
43
51
  const clickTitle = () => {
44
52
  emit("clickTitle", props.item);
45
53
  };
46
54
  return (_ctx, _cache) => {
47
55
  return vue.openBlock(), vue.createElementBlock("div", {
48
- class: vue.normalizeClass(["medialist-component-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }])
56
+ class: vue.normalizeClass(["medialist-component-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }]),
57
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, _ctx.item)),
58
+ onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, _ctx.item))
49
59
  }, [
50
60
  vue.createElementVNode("div", _hoisted_1, [
51
61
  _ctx.item.cover && _ctx.item.cover.data && _ctx.item.cover.data[0] ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
@@ -54,16 +64,19 @@ const _sfc_main = vue.defineComponent({
54
64
  preview: false,
55
65
  fit: "cover",
56
66
  class: "image"
57
- }, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1))
67
+ }, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1)),
68
+ vue.createElementVNode("div", _hoisted_3, [
69
+ vue.renderSlot(_ctx.$slots, "batch", { row: _ctx.item })
70
+ ])
58
71
  ]),
59
- vue.createElementVNode("div", _hoisted_3, [
72
+ vue.createElementVNode("div", _hoisted_4, [
60
73
  vue.createElementVNode("div", {
61
74
  class: "title",
62
75
  onClick: clickTitle
63
76
  }, [
64
77
  vue.renderSlot(_ctx.$slots, "index"),
65
- vue.createElementVNode("span", _hoisted_4, vue.toDisplayString(_ctx.item.alias || _ctx.item.title), 1),
66
- vue.createElementVNode("span", _hoisted_5, [
78
+ vue.createElementVNode("span", _hoisted_5, vue.toDisplayString(_ctx.item.alias || _ctx.item.title), 1),
79
+ vue.createElementVNode("span", _hoisted_6, [
67
80
  vue.renderSlot(_ctx.$slots, "tips")
68
81
  ]),
69
82
  vue.createVNode(vue.unref(webVue.Tooltip), {
@@ -74,7 +87,7 @@ const _sfc_main = vue.defineComponent({
74
87
  default: vue.withCtx(() => {
75
88
  var _a, _b, _c, _d;
76
89
  return [
77
- ((_b = (_a = _ctx.parmas) == null ? void 0 : _a.labelTip) == null ? void 0 : _b.info(_ctx.item)) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6, [
90
+ ((_b = (_a = _ctx.parmas) == null ? void 0 : _a.labelTip) == null ? void 0 : _b.info(_ctx.item)) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7, [
78
91
  vue.createVNode(vue.unref(icon.IconInfoCircle), {
79
92
  class: "icon",
80
93
  size: "16"
@@ -86,26 +99,26 @@ const _sfc_main = vue.defineComponent({
86
99
  _: 1
87
100
  })
88
101
  ]),
89
- vue.createElementVNode("div", _hoisted_7, [
90
- vue.createElementVNode("div", _hoisted_8, [
102
+ vue.createElementVNode("div", _hoisted_8, [
103
+ vue.createElementVNode("div", _hoisted_9, [
91
104
  vue.createVNode(component, {
92
105
  class: "icon",
93
106
  doc: true,
94
107
  type: _ctx.item.series
95
108
  }, null, 8, ["type"]),
96
- vue.createElementVNode("span", _hoisted_9, [
109
+ vue.createElementVNode("span", _hoisted_10, [
97
110
  vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.contentList_relation_type_map)[_ctx.item.relation_type]) + "\u9891\u9053", 1),
98
111
  vue.renderSlot(_ctx.$slots, "tip")
99
112
  ]),
100
- vue.createElementVNode("span", _hoisted_10, vue.toDisplayString(vue.unref(typeMap.contentList_layout_map)[_ctx.item.list_layout || "blank"]), 1),
101
- vue.createElementVNode("span", _hoisted_11, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
113
+ vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(vue.unref(typeMap.contentList_layout_map)[_ctx.item.list_layout || "blank"]), 1),
114
+ vue.createElementVNode("span", _hoisted_12, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
102
115
  ]),
103
- vue.createElementVNode("div", _hoisted_12, [
116
+ vue.createElementVNode("div", _hoisted_13, [
104
117
  vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
105
118
  ])
106
119
  ])
107
120
  ])
108
- ], 2);
121
+ ], 34);
109
122
  };
110
123
  }
111
124
  });
@@ -32,7 +32,8 @@ const _sfc_main = vue.defineComponent({
32
32
  __name: "index",
33
33
  props: {
34
34
  item: {},
35
- abttrites: {}
35
+ abttrites: {},
36
+ extraAttrs: {}
36
37
  },
37
38
  emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
38
39
  setup(__props, { emit: __emit }) {
@@ -21,9 +21,10 @@ const _sfc_main = vue.defineComponent({
21
21
  __name: "index",
22
22
  props: {
23
23
  item: {},
24
- abttrites: {}
24
+ abttrites: {},
25
+ extraAttrs: {}
25
26
  },
26
- emits: ["clickTitle"],
27
+ emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
27
28
  setup(__props, { emit: __emit }) {
28
29
  var _a, _b, _c;
29
30
  const props = __props;
@@ -52,12 +53,20 @@ const _sfc_main = vue.defineComponent({
52
53
  }
53
54
  return props.item.cover && props.item.cover.data && props.item.cover.data[0] && props.item.cover.data[0].thumb;
54
55
  });
56
+ const mouseEnterFun = (event, row) => {
57
+ emit("cellMouseEnter", { row, event });
58
+ };
59
+ const mouseLeaveFun = (event, row) => {
60
+ emit("cellMouseLeave", { row, event });
61
+ };
55
62
  const clickTitle = () => {
56
63
  emit("clickTitle", props.item);
57
64
  };
58
65
  return (_ctx, _cache) => {
59
66
  return vue.openBlock(), vue.createElementBlock("div", {
60
- class: vue.normalizeClass(["medialist-mpdoc-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }])
67
+ class: vue.normalizeClass(["medialist-mpdoc-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }]),
68
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, _ctx.item)),
69
+ onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, _ctx.item))
61
70
  }, [
62
71
  vue.createElementVNode("div", _hoisted_1, [
63
72
  thumb.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
@@ -118,7 +127,7 @@ const _sfc_main = vue.defineComponent({
118
127
  ])
119
128
  ])
120
129
  ])
121
- ], 2);
130
+ ], 34);
122
131
  };
123
132
  }
124
133
  });
@@ -9,21 +9,23 @@ const _hoisted_2 = {
9
9
  key: 1,
10
10
  class: "no-img"
11
11
  };
12
- const _hoisted_3 = { class: "info-view" };
13
- const _hoisted_4 = { class: "title_i" };
14
- const _hoisted_5 = { class: "abttrite-v" };
15
- const _hoisted_6 = { class: "left" };
16
- const _hoisted_7 = { class: "tags" };
17
- const _hoisted_8 = { class: "abttr value" };
18
- const _hoisted_9 = { class: "abttr time" };
12
+ const _hoisted_3 = { class: "batch-select" };
13
+ const _hoisted_4 = { class: "info-view" };
14
+ const _hoisted_5 = { class: "title_i" };
15
+ const _hoisted_6 = { class: "abttrite-v" };
16
+ const _hoisted_7 = { class: "left" };
17
+ const _hoisted_8 = { class: "tags" };
18
+ const _hoisted_9 = { class: "abttr value" };
19
19
  const _hoisted_10 = { class: "abttr time" };
20
- const _hoisted_11 = { class: "right" };
20
+ const _hoisted_11 = { class: "abttr time" };
21
+ const _hoisted_12 = { class: "right" };
21
22
  const _sfc_main = vue.defineComponent({
22
23
  __name: "index",
23
24
  props: {
24
- item: {}
25
+ item: {},
26
+ extraAttrs: {}
25
27
  },
26
- emits: ["clickTitle"],
28
+ emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
27
29
  setup(__props, { emit: __emit }) {
28
30
  const props = __props;
29
31
  const emit = __emit;
@@ -66,12 +68,20 @@ const _sfc_main = vue.defineComponent({
66
68
  return _payload.label;
67
69
  return "";
68
70
  });
71
+ const mouseEnterFun = (event, row) => {
72
+ emit("cellMouseEnter", { row, event });
73
+ };
74
+ const mouseLeaveFun = (event, row) => {
75
+ emit("cellMouseLeave", { row, event });
76
+ };
69
77
  const clickTitle = () => {
70
78
  emit("clickTitle", props.item);
71
79
  };
72
80
  return (_ctx, _cache) => {
73
81
  return vue.openBlock(), vue.createElementBlock("div", {
74
- class: vue.normalizeClass(["medialist-kongo-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }])
82
+ class: vue.normalizeClass(["medialist-kongo-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }]),
83
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, _ctx.item)),
84
+ onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, _ctx.item))
75
85
  }, [
76
86
  vue.createElementVNode("div", _hoisted_1, [
77
87
  thumb.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
@@ -81,29 +91,32 @@ const _sfc_main = vue.defineComponent({
81
91
  preview: false,
82
92
  class: "image",
83
93
  lazy: true
84
- }, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1))
94
+ }, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1)),
95
+ vue.createElementVNode("div", _hoisted_3, [
96
+ vue.renderSlot(_ctx.$slots, "batch", { row: _ctx.item })
97
+ ])
85
98
  ]),
86
- vue.createElementVNode("div", _hoisted_3, [
99
+ vue.createElementVNode("div", _hoisted_4, [
87
100
  vue.createElementVNode("div", {
88
101
  class: "title",
89
102
  onClick: clickTitle
90
103
  }, [
91
104
  vue.renderSlot(_ctx.$slots, "index"),
92
- vue.createElementVNode("span", _hoisted_4, vue.toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
105
+ vue.createElementVNode("span", _hoisted_5, vue.toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
93
106
  ]),
94
- vue.createElementVNode("div", _hoisted_5, [
95
- vue.createElementVNode("div", _hoisted_6, [
107
+ vue.createElementVNode("div", _hoisted_6, [
108
+ vue.createElementVNode("div", _hoisted_7, [
96
109
  vue.createVNode(component, {
97
110
  class: "icon",
98
111
  doc: _ctx.item.catalog === "doc",
99
112
  type: _ctx.item.series
100
113
  }, null, 8, ["doc", "type"]),
101
- vue.createElementVNode("span", _hoisted_7, [
114
+ vue.createElementVNode("span", _hoisted_8, [
102
115
  vue.createVNode(component$1, { item: _ctx.item }, null, 8, ["item"]),
103
116
  vue.renderSlot(_ctx.$slots, "tip")
104
117
  ]),
105
- vue.createElementVNode("span", _hoisted_8, vue.toDisplayString(`${showValue.value}`), 1),
106
- vue.createElementVNode("span", _hoisted_9, [
118
+ vue.createElementVNode("span", _hoisted_9, vue.toDisplayString(`${showValue.value}`), 1),
119
+ vue.createElementVNode("span", _hoisted_10, [
107
120
  vue.createVNode(vue.unref(webVue.Tooltip), {
108
121
  content: `\u521B\u5EFA\u65F6\u95F4: ${vue.unref(index.timeFormat)(_ctx.item.pub_time)}`,
109
122
  placement: "top"
@@ -114,7 +127,7 @@ const _sfc_main = vue.defineComponent({
114
127
  _: 1
115
128
  }, 8, ["content"])
116
129
  ]),
117
- vue.createElementVNode("span", _hoisted_10, [
130
+ vue.createElementVNode("span", _hoisted_11, [
118
131
  vue.createVNode(vue.unref(webVue.Tooltip), {
119
132
  content: `\u521B\u5EFA\u4EBA: ${_ctx.item.commit_user_name || "--"}`,
120
133
  placement: "top"
@@ -126,12 +139,12 @@ const _sfc_main = vue.defineComponent({
126
139
  }, 8, ["content"])
127
140
  ])
128
141
  ]),
129
- vue.createElementVNode("div", _hoisted_11, [
142
+ vue.createElementVNode("div", _hoisted_12, [
130
143
  vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
131
144
  ])
132
145
  ])
133
146
  ])
134
- ], 2);
147
+ ], 34);
135
148
  };
136
149
  }
137
150
  });