@cmstops/pro-compo 0.1.61 → 0.1.62

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
@@ -2,21 +2,22 @@ import { defineComponent, computed, openBlock, createElementBlock, normalizeClas
2
2
  import { Image, Tooltip } from "@arco-design/web-vue";
3
3
  import _sfc_main$1 from "../../../../typeIcons/component.js";
4
4
  import _sfc_main$2 from "../../../../dataTags/component.js";
5
- import defaultAvatar from "./temp/user.js";
6
5
  const _hoisted_1 = { class: "cover-view" };
7
- const _hoisted_2 = { class: "info-view" };
8
- const _hoisted_3 = { class: "abttrite-v" };
9
- const _hoisted_4 = { class: "left" };
10
- const _hoisted_5 = { class: "abttr" };
11
- const _hoisted_6 = { class: "abttr time" };
12
- const _hoisted_7 = { class: "right" };
6
+ const _hoisted_2 = { class: "batch-select" };
7
+ const _hoisted_3 = { class: "info-view" };
8
+ const _hoisted_4 = { class: "abttrite-v" };
9
+ const _hoisted_5 = { class: "left" };
10
+ const _hoisted_6 = { class: "abttr" };
11
+ const _hoisted_7 = { class: "abttr time" };
12
+ const _hoisted_8 = { class: "right" };
13
13
  const _sfc_main = defineComponent({
14
14
  __name: "index",
15
15
  props: {
16
16
  item: {},
17
- abttrites: {}
17
+ abttrites: {},
18
+ extraAttrs: {}
18
19
  },
19
- emits: ["clickTitle"],
20
+ emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
20
21
  setup(__props, { emit: __emit }) {
21
22
  const props = __props;
22
23
  const emit = __emit;
@@ -27,22 +28,33 @@ const _sfc_main = defineComponent({
27
28
  const silent = computed(() => {
28
29
  return props.item && props.item.mourn_style === 1;
29
30
  });
31
+ const mouseEnterFun = (event, row) => {
32
+ emit("cellMouseEnter", { row, event });
33
+ };
34
+ const mouseLeaveFun = (event, row) => {
35
+ emit("cellMouseLeave", { row, event });
36
+ };
30
37
  const clickTitle = () => {
31
38
  emit("clickTitle", props.item);
32
39
  };
33
40
  return (_ctx, _cache) => {
34
41
  return openBlock(), createElementBlock("div", {
35
- class: normalizeClass(["medialist-account-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }])
42
+ class: normalizeClass(["medialist-account-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }]),
43
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, _ctx.item)),
44
+ onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, _ctx.item))
36
45
  }, [
37
46
  createElementVNode("div", _hoisted_1, [
38
47
  createVNode(unref(Image), {
39
- src: _ctx.item.mp_logo || unref(defaultAvatar),
48
+ src: _ctx.item.mp_logo,
40
49
  class: "image",
41
50
  preview: false,
42
51
  fit: "cover"
43
- }, null, 8, ["src"])
52
+ }, null, 8, ["src"]),
53
+ createElementVNode("div", _hoisted_2, [
54
+ renderSlot(_ctx.$slots, "batch", { row: _ctx.item })
55
+ ])
44
56
  ]),
45
- createElementVNode("div", _hoisted_2, [
57
+ createElementVNode("div", _hoisted_3, [
46
58
  createElementVNode("div", {
47
59
  class: "title",
48
60
  onClick: clickTitle
@@ -50,8 +62,8 @@ const _sfc_main = defineComponent({
50
62
  renderSlot(_ctx.$slots, "index"),
51
63
  createTextVNode(" " + toDisplayString(_ctx.item.mp_name), 1)
52
64
  ]),
53
- createElementVNode("div", _hoisted_3, [
54
- createElementVNode("div", _hoisted_4, [
65
+ createElementVNode("div", _hoisted_4, [
66
+ createElementVNode("div", _hoisted_5, [
55
67
  createVNode(_sfc_main$1, {
56
68
  class: "icon",
57
69
  type: "mpdoc"
@@ -61,7 +73,7 @@ const _sfc_main = defineComponent({
61
73
  item: _ctx.item
62
74
  }, null, 8, ["item"]),
63
75
  renderSlot(_ctx.$slots, "tip"),
64
- createElementVNode("span", _hoisted_5, [
76
+ createElementVNode("span", _hoisted_6, [
65
77
  createVNode(unref(Tooltip), {
66
78
  content: `\u8FD0\u8425\u8005: ${_ctx.item.mp_user_name}`,
67
79
  placement: "top"
@@ -72,7 +84,7 @@ const _sfc_main = defineComponent({
72
84
  _: 1
73
85
  }, 8, ["content"])
74
86
  ]),
75
- createElementVNode("span", _hoisted_6, [
87
+ createElementVNode("span", _hoisted_7, [
76
88
  createVNode(unref(Tooltip), {
77
89
  content: `\u6240\u5C5E\u9886\u57DF: ${_ctx.item.catalog_alias}`,
78
90
  placement: "top"
@@ -84,12 +96,12 @@ const _sfc_main = defineComponent({
84
96
  }, 8, ["content"])
85
97
  ])
86
98
  ]),
87
- createElementVNode("div", _hoisted_7, [
99
+ createElementVNode("div", _hoisted_8, [
88
100
  renderSlot(_ctx.$slots, "option", { row: _ctx.item })
89
101
  ])
90
102
  ])
91
103
  ])
92
- ], 2);
104
+ ], 34);
93
105
  };
94
106
  }
95
107
  });
@@ -7,20 +7,22 @@ const _hoisted_2 = {
7
7
  key: 1,
8
8
  class: "no-img"
9
9
  };
10
- const _hoisted_3 = { class: "info-view" };
11
- const _hoisted_4 = { class: "title_i" };
12
- const _hoisted_5 = { class: "abttrite-v" };
13
- const _hoisted_6 = { class: "left" };
14
- const _hoisted_7 = /* @__PURE__ */ createElementVNode("span", { class: "abttr tags" }, "\u8BFE\u7A0B", -1);
15
- const _hoisted_8 = { class: "abttr tags" };
16
- const _hoisted_9 = { class: "abttr time" };
17
- const _hoisted_10 = { class: "right" };
10
+ const _hoisted_3 = { class: "batch-select" };
11
+ const _hoisted_4 = { class: "info-view" };
12
+ const _hoisted_5 = { class: "title_i" };
13
+ const _hoisted_6 = { class: "abttrite-v" };
14
+ const _hoisted_7 = { class: "left" };
15
+ const _hoisted_8 = /* @__PURE__ */ createElementVNode("span", { class: "abttr tags" }, "\u8BFE\u7A0B", -1);
16
+ const _hoisted_9 = { class: "abttr tags" };
17
+ const _hoisted_10 = { class: "abttr time" };
18
+ const _hoisted_11 = { class: "right" };
18
19
  const _sfc_main = defineComponent({
19
20
  __name: "index",
20
21
  props: {
21
- item: {}
22
+ item: {},
23
+ extraAttrs: {}
22
24
  },
23
- emits: ["clickTitle"],
25
+ emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
24
26
  setup(__props, { emit: __emit }) {
25
27
  const props = __props;
26
28
  const emit = __emit;
@@ -41,12 +43,20 @@ const _sfc_main = defineComponent({
41
43
  return null;
42
44
  return ret.pc_banner_url;
43
45
  });
46
+ const mouseEnterFun = (event, row) => {
47
+ emit("cellMouseEnter", { row, event });
48
+ };
49
+ const mouseLeaveFun = (event, row) => {
50
+ emit("cellMouseLeave", { row, event });
51
+ };
44
52
  const clickTitle = () => {
45
53
  emit("clickTitle", props.item);
46
54
  };
47
55
  return (_ctx, _cache) => {
48
56
  return openBlock(), createElementBlock("div", {
49
- class: normalizeClass(["medialist-course-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }])
57
+ class: normalizeClass(["medialist-course-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }]),
58
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, _ctx.item)),
59
+ onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, _ctx.item))
50
60
  }, [
51
61
  createElementVNode("div", _hoisted_1, [
52
62
  pc_banner.value ? (openBlock(), createBlock(unref(Image), {
@@ -55,41 +65,44 @@ const _sfc_main = defineComponent({
55
65
  class: "image",
56
66
  preview: false,
57
67
  fit: "cover"
58
- }, null, 8, ["src"])) : (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(noCoverText)(_ctx.item)), 1))
68
+ }, null, 8, ["src"])) : (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(noCoverText)(_ctx.item)), 1)),
69
+ createElementVNode("div", _hoisted_3, [
70
+ renderSlot(_ctx.$slots, "batch", { row: _ctx.item })
71
+ ])
59
72
  ]),
60
- createElementVNode("div", _hoisted_3, [
73
+ createElementVNode("div", _hoisted_4, [
61
74
  createElementVNode("div", {
62
75
  class: "title",
63
76
  onClick: clickTitle
64
77
  }, [
65
78
  renderSlot(_ctx.$slots, "index"),
66
- createElementVNode("span", _hoisted_4, toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
79
+ createElementVNode("span", _hoisted_5, toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
67
80
  ]),
68
- createElementVNode("div", _hoisted_5, [
69
- createElementVNode("div", _hoisted_6, [
81
+ createElementVNode("div", _hoisted_6, [
82
+ createElementVNode("div", _hoisted_7, [
70
83
  createVNode(_sfc_main$1, {
71
84
  class: "icon",
72
85
  type: "course"
73
86
  }),
74
87
  renderSlot(_ctx.$slots, "tip"),
75
- _hoisted_7,
88
+ _hoisted_8,
76
89
  createVNode(unref(Tooltip), {
77
90
  content: `\u8BFE\u7A0B\u521B\u5EFA\u4EBA: ${_ctx.item.pub_user_alias}`,
78
91
  position: "top"
79
92
  }, {
80
93
  default: withCtx(() => [
81
- createElementVNode("span", _hoisted_8, toDisplayString(_ctx.item.pub_user_alias), 1)
94
+ createElementVNode("span", _hoisted_9, toDisplayString(_ctx.item.pub_user_alias), 1)
82
95
  ]),
83
96
  _: 1
84
97
  }, 8, ["content"]),
85
- createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
98
+ createElementVNode("span", _hoisted_10, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
86
99
  ]),
87
- createElementVNode("div", _hoisted_10, [
100
+ createElementVNode("div", _hoisted_11, [
88
101
  renderSlot(_ctx.$slots, "option", { row: _ctx.item })
89
102
  ])
90
103
  ])
91
104
  ])
92
- ], 2);
105
+ ], 34);
93
106
  };
94
107
  }
95
108
  });
@@ -7,20 +7,22 @@ const _hoisted_2 = {
7
7
  key: 1,
8
8
  class: "no-img"
9
9
  };
10
- const _hoisted_3 = { class: "info-view" };
11
- const _hoisted_4 = { class: "title_i" };
12
- const _hoisted_5 = { class: "abttrite-v" };
13
- const _hoisted_6 = { class: "left" };
14
- const _hoisted_7 = /* @__PURE__ */ createElementVNode("span", { class: "abttr tags" }, "\u6D3B\u52A8", -1);
15
- const _hoisted_8 = { class: "abttr tags" };
16
- const _hoisted_9 = { class: "abttr time" };
17
- const _hoisted_10 = { class: "right" };
10
+ const _hoisted_3 = { class: "batch-select" };
11
+ const _hoisted_4 = { class: "info-view" };
12
+ const _hoisted_5 = { class: "title_i" };
13
+ const _hoisted_6 = { class: "abttrite-v" };
14
+ const _hoisted_7 = { class: "left" };
15
+ const _hoisted_8 = /* @__PURE__ */ createElementVNode("span", { class: "abttr tags" }, "\u6D3B\u52A8", -1);
16
+ const _hoisted_9 = { class: "abttr tags" };
17
+ const _hoisted_10 = { class: "abttr time" };
18
+ const _hoisted_11 = { class: "right" };
18
19
  const _sfc_main = defineComponent({
19
20
  __name: "index",
20
21
  props: {
21
- item: {}
22
+ item: {},
23
+ extraAttrs: {}
22
24
  },
23
- emits: ["clickTitle"],
25
+ emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
24
26
  setup(__props, { emit: __emit }) {
25
27
  const props = __props;
26
28
  const emit = __emit;
@@ -41,12 +43,20 @@ const _sfc_main = defineComponent({
41
43
  return null;
42
44
  return ret.pc_banner_url;
43
45
  });
46
+ const mouseEnterFun = (event, row) => {
47
+ emit("cellMouseEnter", { row, event });
48
+ };
49
+ const mouseLeaveFun = (event, row) => {
50
+ emit("cellMouseLeave", { row, event });
51
+ };
44
52
  const clickTitle = () => {
45
53
  emit("clickTitle", props.item);
46
54
  };
47
55
  return (_ctx, _cache) => {
48
56
  return openBlock(), createElementBlock("div", {
49
- class: normalizeClass(["medialist-funhd-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }])
57
+ class: normalizeClass(["medialist-funhd-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }]),
58
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, _ctx.item)),
59
+ onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, _ctx.item))
50
60
  }, [
51
61
  createElementVNode("div", _hoisted_1, [
52
62
  pc_banner.value ? (openBlock(), createBlock(unref(Image), {
@@ -55,41 +65,44 @@ const _sfc_main = defineComponent({
55
65
  preview: false,
56
66
  class: "image",
57
67
  fit: "cover"
58
- }, null, 8, ["src"])) : (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(noCoverText)(_ctx.item)), 1))
68
+ }, null, 8, ["src"])) : (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(noCoverText)(_ctx.item)), 1)),
69
+ createElementVNode("div", _hoisted_3, [
70
+ renderSlot(_ctx.$slots, "batch", { row: _ctx.item })
71
+ ])
59
72
  ]),
60
- createElementVNode("div", _hoisted_3, [
73
+ createElementVNode("div", _hoisted_4, [
61
74
  createElementVNode("div", {
62
75
  class: "title",
63
76
  onClick: clickTitle
64
77
  }, [
65
78
  renderSlot(_ctx.$slots, "index"),
66
- createElementVNode("span", _hoisted_4, toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
79
+ createElementVNode("span", _hoisted_5, toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
67
80
  ]),
68
- createElementVNode("div", _hoisted_5, [
69
- createElementVNode("div", _hoisted_6, [
81
+ createElementVNode("div", _hoisted_6, [
82
+ createElementVNode("div", _hoisted_7, [
70
83
  createVNode(_sfc_main$1, {
71
84
  class: "icon",
72
85
  type: "funhd"
73
86
  }),
74
87
  renderSlot(_ctx.$slots, "tip"),
75
- _hoisted_7,
88
+ _hoisted_8,
76
89
  createVNode(unref(Tooltip), {
77
90
  content: `\u6D3B\u52A8\u521B\u5EFA\u4EBA: ${_ctx.item.pub_user_alias}`,
78
91
  position: "top"
79
92
  }, {
80
93
  default: withCtx(() => [
81
- createElementVNode("span", _hoisted_8, toDisplayString(_ctx.item.pub_user_alias), 1)
94
+ createElementVNode("span", _hoisted_9, toDisplayString(_ctx.item.pub_user_alias), 1)
82
95
  ]),
83
96
  _: 1
84
97
  }, 8, ["content"]),
85
- createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
98
+ createElementVNode("span", _hoisted_10, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
86
99
  ]),
87
- createElementVNode("div", _hoisted_10, [
100
+ createElementVNode("div", _hoisted_11, [
88
101
  renderSlot(_ctx.$slots, "option", { row: _ctx.item })
89
102
  ])
90
103
  ])
91
104
  ])
92
- ], 2);
105
+ ], 34);
93
106
  };
94
107
  }
95
108
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent, onMounted, openBlock, createElementBlock, Fragment, createCommentVNode, createBlock, withCtx, createElementVNode, toDisplayString, createVNode, unref, renderSlot, createTextVNode } from "vue";
1
+ import { defineComponent, onMounted, openBlock, createElementBlock, Fragment, createCommentVNode, createBlock, withCtx, renderSlot, createElementVNode, toDisplayString, createVNode, unref, createTextVNode } from "vue";
2
2
  import { IconPenFill, IconClockCircle, IconPushpin } from "@arco-design/web-vue/es/icon";
3
3
  import _sfc_main$2 from "./CompoItem/index.js";
4
4
  import _sfc_main$3 from "./ContentListItem/index.js";
@@ -96,17 +96,28 @@ const _sfc_main = defineComponent({
96
96
  item: {},
97
97
  index: {},
98
98
  abttrites: {},
99
+ extraAttrs: {},
99
100
  parmas: {}
100
101
  },
101
- emits: ["sortChange", "clickTitle", "dragstart"],
102
+ emits: [
103
+ "cellMouseEnter",
104
+ "cellMouseLeave",
105
+ "sortChange",
106
+ "clickTitle",
107
+ "dragstart"
108
+ ],
102
109
  setup(__props, { emit: __emit }) {
103
- const props = __props;
104
110
  const emit = __emit;
111
+ const cellMouseEnter = (params) => {
112
+ emit("cellMouseEnter", params);
113
+ };
114
+ const cellMouseLeave = (params) => {
115
+ emit("cellMouseLeave", params);
116
+ };
105
117
  const clickTitle = (item) => {
106
118
  emit("clickTitle", item);
107
119
  };
108
120
  onMounted(() => {
109
- console.log("props", props.item);
110
121
  });
111
122
  return (_ctx, _cache) => {
112
123
  return openBlock(), createElementBlock(Fragment, null, [
@@ -115,8 +126,17 @@ const _sfc_main = defineComponent({
115
126
  key: `doc-${_ctx.item.post_id}`,
116
127
  item: { ..._ctx.item, index: _ctx.index },
117
128
  abttrites: _ctx.abttrites,
118
- onClickTitle: clickTitle
129
+ extraAttrs: _ctx.extraAttrs,
130
+ onClickTitle: clickTitle,
131
+ onCellMouseEnter: cellMouseEnter,
132
+ onCellMouseLeave: cellMouseLeave
119
133
  }, {
134
+ batch: withCtx(() => [
135
+ renderSlot(_ctx.$slots, "batch", {
136
+ row: _ctx.item,
137
+ index: _ctx.index
138
+ })
139
+ ]),
120
140
  index: withCtx(() => [
121
141
  createElementVNode("span", _hoisted_1, toDisplayString(_ctx.index + 1), 1)
122
142
  ]),
@@ -143,13 +163,22 @@ const _sfc_main = defineComponent({
143
163
  })
144
164
  ]),
145
165
  _: 3
146
- }, 8, ["item", "abttrites"])) : _ctx.item.catalog === "contentList" && _ctx.item.list_type === 7 && _ctx.item.target_type === 6 ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
166
+ }, 8, ["item", "abttrites", "extraAttrs"])) : _ctx.item.catalog === "contentList" && _ctx.item.list_type === 7 && _ctx.item.target_type === 6 ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
147
167
  createCommentVNode(" \u7EC4\u4EF6 "),
148
168
  (openBlock(), createBlock(_sfc_main$2, {
149
169
  key: `compo-${_ctx.item.post_id}`,
150
170
  item: { ..._ctx.item, index: _ctx.index },
151
- onClickTitle: clickTitle
171
+ extraAttrs: _ctx.extraAttrs,
172
+ onClickTitle: clickTitle,
173
+ onCellMouseEnter: cellMouseEnter,
174
+ onCellMouseLeave: cellMouseLeave
152
175
  }, {
176
+ batch: withCtx(() => [
177
+ renderSlot(_ctx.$slots, "batch", {
178
+ row: _ctx.item,
179
+ index: _ctx.index
180
+ })
181
+ ]),
153
182
  index: withCtx(() => [
154
183
  createElementVNode("span", _hoisted_7, toDisplayString(_ctx.index + 1), 1)
155
184
  ]),
@@ -176,15 +205,24 @@ const _sfc_main = defineComponent({
176
205
  })
177
206
  ]),
178
207
  _: 3
179
- }, 8, ["item"]))
208
+ }, 8, ["item", "extraAttrs"]))
180
209
  ], 2112)) : _ctx.item.catalog === "contentList" && _ctx.item.list_type === 4 && _ctx.item.target_type === 6 ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
181
210
  createCommentVNode(" \u9891\u9053 "),
182
211
  (openBlock(), createBlock(_sfc_main$3, {
183
212
  key: `contentlist-${_ctx.item.post_id}`,
184
213
  item: { ..._ctx.item, index: _ctx.index },
185
214
  parmas: _ctx.parmas,
186
- onClickTitle: clickTitle
215
+ extraAttrs: _ctx.extraAttrs,
216
+ onClickTitle: clickTitle,
217
+ onCellMouseEnter: cellMouseEnter,
218
+ onCellMouseLeave: cellMouseLeave
187
219
  }, {
220
+ batch: withCtx(() => [
221
+ renderSlot(_ctx.$slots, "batch", {
222
+ row: _ctx.item,
223
+ index: _ctx.index
224
+ })
225
+ ]),
188
226
  index: withCtx(() => [
189
227
  createElementVNode("span", _hoisted_13, toDisplayString(_ctx.index + 1), 1)
190
228
  ]),
@@ -217,15 +255,24 @@ const _sfc_main = defineComponent({
217
255
  })
218
256
  ]),
219
257
  _: 3
220
- }, 8, ["item", "parmas"]))
258
+ }, 8, ["item", "parmas", "extraAttrs"]))
221
259
  ], 2112)) : _ctx.item.catalog === "mp_account" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
222
260
  createCommentVNode(" \u516C\u4F17\u53F7 "),
223
261
  (openBlock(), createBlock(_sfc_main$4, {
224
262
  key: `maccount-${_ctx.item.post_id}`,
225
263
  item: { ..._ctx.item, index: _ctx.index },
226
264
  abttrites: _ctx.abttrites,
227
- onClickTitle: clickTitle
265
+ extraAttrs: _ctx.extraAttrs,
266
+ onClickTitle: clickTitle,
267
+ onCellMouseEnter: cellMouseEnter,
268
+ onCellMouseLeave: cellMouseLeave
228
269
  }, {
270
+ batch: withCtx(() => [
271
+ renderSlot(_ctx.$slots, "batch", {
272
+ row: _ctx.item,
273
+ index: _ctx.index
274
+ })
275
+ ]),
229
276
  index: withCtx(() => [
230
277
  createElementVNode("span", _hoisted_19, toDisplayString(_ctx.index + 1), 1)
231
278
  ]),
@@ -248,14 +295,23 @@ const _sfc_main = defineComponent({
248
295
  })
249
296
  ]),
250
297
  _: 3
251
- }, 8, ["item", "abttrites"]))
298
+ }, 8, ["item", "abttrites", "extraAttrs"]))
252
299
  ], 2112)) : _ctx.item.catalog === "ilive" ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
253
300
  createCommentVNode(" \u4E91\u76F4\u64AD "),
254
301
  (openBlock(), createBlock(_sfc_main$5, {
255
302
  key: `live-${_ctx.item.post_id}`,
256
303
  item: { ..._ctx.item, index: _ctx.index },
257
- onClickTitle: clickTitle
304
+ extraAttrs: _ctx.extraAttrs,
305
+ onClickTitle: clickTitle,
306
+ onCellMouseEnter: cellMouseEnter,
307
+ onCellMouseLeave: cellMouseLeave
258
308
  }, {
309
+ batch: withCtx(() => [
310
+ renderSlot(_ctx.$slots, "batch", {
311
+ row: _ctx.item,
312
+ index: _ctx.index
313
+ })
314
+ ]),
259
315
  index: withCtx(() => [
260
316
  createElementVNode("span", _hoisted_24, toDisplayString(_ctx.index + 1), 1)
261
317
  ]),
@@ -266,14 +322,23 @@ const _sfc_main = defineComponent({
266
322
  })
267
323
  ]),
268
324
  _: 3
269
- }, 8, ["item"]))
325
+ }, 8, ["item", "extraAttrs"]))
270
326
  ], 2112)) : _ctx.item.catalog === "kongo" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
271
327
  createCommentVNode(" \u529F\u80FD\u5BFC\u822A "),
272
328
  (openBlock(), createBlock(_sfc_main$6, {
273
329
  key: `kongo-${_ctx.item.post_id}`,
274
330
  item: { ..._ctx.item, index: _ctx.index },
275
- onClickTitle: clickTitle
331
+ extraAttrs: _ctx.extraAttrs,
332
+ onClickTitle: clickTitle,
333
+ onCellMouseEnter: cellMouseEnter,
334
+ onCellMouseLeave: cellMouseLeave
276
335
  }, {
336
+ batch: withCtx(() => [
337
+ renderSlot(_ctx.$slots, "batch", {
338
+ row: _ctx.item,
339
+ index: _ctx.index
340
+ })
341
+ ]),
277
342
  index: withCtx(() => [
278
343
  createElementVNode("span", _hoisted_25, toDisplayString(_ctx.index + 1), 1)
279
344
  ]),
@@ -296,15 +361,24 @@ const _sfc_main = defineComponent({
296
361
  })
297
362
  ]),
298
363
  _: 3
299
- }, 8, ["item"]))
364
+ }, 8, ["item", "extraAttrs"]))
300
365
  ], 2112)) : _ctx.item.catalog === "mp_content" ? (openBlock(), createElementBlock(Fragment, { key: 6 }, [
301
366
  createCommentVNode(" \u516C\u4F17\u53F7\u5185\u5BB9 "),
302
367
  (openBlock(), createBlock(_sfc_main$7, {
303
368
  key: `doc-mp-${_ctx.item.post_id}`,
304
369
  abttrites: _ctx.abttrites,
370
+ extraAttrs: _ctx.extraAttrs,
305
371
  item: { ..._ctx.item, index: _ctx.index },
306
- onClickTitle: clickTitle
372
+ onClickTitle: clickTitle,
373
+ onCellMouseEnter: cellMouseEnter,
374
+ onCellMouseLeave: cellMouseLeave
307
375
  }, {
376
+ batch: withCtx(() => [
377
+ renderSlot(_ctx.$slots, "batch", {
378
+ row: _ctx.item,
379
+ index: _ctx.index
380
+ })
381
+ ]),
308
382
  index: withCtx(() => [
309
383
  createElementVNode("span", _hoisted_30, toDisplayString(_ctx.index + 1), 1)
310
384
  ]),
@@ -327,14 +401,23 @@ const _sfc_main = defineComponent({
327
401
  })
328
402
  ]),
329
403
  _: 3
330
- }, 8, ["abttrites", "item"]))
404
+ }, 8, ["abttrites", "extraAttrs", "item"]))
331
405
  ], 2112)) : _ctx.item.catalog === "funhd" ? (openBlock(), createElementBlock(Fragment, { key: 7 }, [
332
406
  createCommentVNode(" \u4E92\u52A8\u8FD0\u8425\uFF08\u6613\u4F01\u79C0\uFF09 "),
333
407
  (openBlock(), createBlock(_sfc_main$8, {
334
408
  key: `funhd-${_ctx.item.post_id}`,
335
409
  item: { ..._ctx.item, index: _ctx.index },
336
- onClickTitle: clickTitle
410
+ extraAttrs: _ctx.extraAttrs,
411
+ onClickTitle: clickTitle,
412
+ onCellMouseEnter: cellMouseEnter,
413
+ onCellMouseLeave: cellMouseLeave
337
414
  }, {
415
+ batch: withCtx(() => [
416
+ renderSlot(_ctx.$slots, "batch", {
417
+ row: _ctx.item,
418
+ index: _ctx.index
419
+ })
420
+ ]),
338
421
  index: withCtx(() => [
339
422
  createElementVNode("span", _hoisted_35, toDisplayString(_ctx.index + 1), 1)
340
423
  ]),
@@ -345,14 +428,23 @@ const _sfc_main = defineComponent({
345
428
  })
346
429
  ]),
347
430
  _: 3
348
- }, 8, ["item"]))
431
+ }, 8, ["item", "extraAttrs"]))
349
432
  ], 2112)) : _ctx.item.catalog === "course" ? (openBlock(), createElementBlock(Fragment, { key: 8 }, [
350
433
  createCommentVNode(" \u8BFE\u7A0B "),
351
434
  (openBlock(), createBlock(_sfc_main$9, {
352
435
  key: `course-${_ctx.item.post_id}`,
353
436
  item: { ..._ctx.item, index: _ctx.index },
354
- onClickTitle: clickTitle
437
+ extraAttrs: _ctx.extraAttrs,
438
+ onClickTitle: clickTitle,
439
+ onCellMouseEnter: cellMouseEnter,
440
+ onCellMouseLeave: cellMouseLeave
355
441
  }, {
442
+ batch: withCtx(() => [
443
+ renderSlot(_ctx.$slots, "batch", {
444
+ row: _ctx.item,
445
+ index: _ctx.index
446
+ })
447
+ ]),
356
448
  index: withCtx(() => [
357
449
  createElementVNode("span", _hoisted_36, toDisplayString(_ctx.index + 1), 1)
358
450
  ]),
@@ -363,7 +455,7 @@ const _sfc_main = defineComponent({
363
455
  })
364
456
  ]),
365
457
  _: 3
366
- }, 8, ["item"]))
458
+ }, 8, ["item", "extraAttrs"]))
367
459
  ], 2112)) : createCommentVNode("v-if", true)
368
460
  ], 2112);
369
461
  };
@@ -4,6 +4,7 @@ const _sfc_main = defineComponent({
4
4
  __name: "index",
5
5
  props: {
6
6
  abttrites: {},
7
+ extraAttrs: {},
7
8
  item: {},
8
9
  index: {}
9
10
  },
@@ -23,6 +24,7 @@ const _sfc_main = defineComponent({
23
24
  return openBlock(), createBlock(_sfc_main$1, {
24
25
  item: _ctx.item,
25
26
  abttrites: _ctx.abttrites,
27
+ extraAttrs: _ctx.extraAttrs,
26
28
  onClickTitle: clickTitle,
27
29
  onCellMouseEnter: cellMouseEnter,
28
30
  onCellMouseLeave: cellMouseLeave
@@ -40,7 +42,7 @@ const _sfc_main = defineComponent({
40
42
  })
41
43
  ]),
42
44
  _: 3
43
- }, 8, ["item", "abttrites"]);
45
+ }, 8, ["item", "abttrites", "extraAttrs"]);
44
46
  };
45
47
  }
46
48
  });