@cmstops/pro-compo 0.1.46 → 0.1.48

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 (38) hide show
  1. package/dist/index.css +187 -0
  2. package/dist/index.min.css +1 -1
  3. package/es/contentDetailList/components/Content/LiveItem/index.js +1 -2
  4. package/es/contentDetailList/components/Content/courseItem/index.d.ts +0 -0
  5. package/es/contentDetailList/components/Content/courseItem/index.js +95 -0
  6. package/es/contentDetailList/components/Content/funhdItem/index.d.ts +0 -0
  7. package/es/contentDetailList/components/Content/funhdItem/index.js +95 -0
  8. package/es/contentDetailList/components/Content/index.js +41 -1
  9. package/es/contentDetailList/style/courseItem.less +108 -0
  10. package/es/contentDetailList/style/funhdItem.less +108 -0
  11. package/es/contentDetailList/style/index.css +184 -0
  12. package/es/contentDetailList/style/index.less +2 -0
  13. package/es/contentModal/component.js +11 -4
  14. package/es/contentModal/components/EqxiuList/index.js +5 -5
  15. package/es/contentModal/style/ViewAllColumn.less +3 -0
  16. package/es/contentModal/style/index.css +3 -0
  17. package/es/index.css +187 -0
  18. package/es/typeIcons/component.js +18 -3
  19. package/es/utils/request.js +5 -1
  20. package/es/utils/typeMap.d.ts +2 -0
  21. package/es/utils/typeMap.js +3 -1
  22. package/lib/contentDetailList/components/Content/LiveItem/index.js +1 -2
  23. package/lib/contentDetailList/components/Content/courseItem/index.js +96 -0
  24. package/lib/contentDetailList/components/Content/funhdItem/index.js +96 -0
  25. package/lib/contentDetailList/components/Content/index.js +41 -1
  26. package/lib/contentDetailList/style/courseItem.less +108 -0
  27. package/lib/contentDetailList/style/funhdItem.less +108 -0
  28. package/lib/contentDetailList/style/index.css +184 -0
  29. package/lib/contentDetailList/style/index.less +2 -0
  30. package/lib/contentModal/component.js +11 -4
  31. package/lib/contentModal/components/EqxiuList/index.js +5 -5
  32. package/lib/contentModal/style/ViewAllColumn.less +3 -0
  33. package/lib/contentModal/style/index.css +3 -0
  34. package/lib/index.css +187 -0
  35. package/lib/typeIcons/component.js +17 -2
  36. package/lib/utils/request.js +5 -1
  37. package/lib/utils/typeMap.js +3 -1
  38. package/package.json +3 -3
@@ -109,6 +109,8 @@
109
109
  .view-all-column-container .content-table-view .pic-thumb-img {
110
110
  width: 60px;
111
111
  height: 45px;
112
+ vertical-align: middle;
113
+ border-radius: 3px;
112
114
  }
113
115
  .view-all-column-container .content-table-view .title-span,
114
116
  .view-all-column-container .content-table-view .mp_title-span {
@@ -126,6 +128,7 @@
126
128
  margin-right: 8px;
127
129
  padding-left: 0;
128
130
  font-size: 18px;
131
+ line-height: 28px;
129
132
  text-align: center;
130
133
  vertical-align: middle;
131
134
  }
package/es/index.css CHANGED
@@ -436,6 +436,8 @@
436
436
  .view-all-column-container .content-table-view .pic-thumb-img {
437
437
  width: 60px;
438
438
  height: 45px;
439
+ vertical-align: middle;
440
+ border-radius: 3px;
439
441
  }
440
442
  .view-all-column-container .content-table-view .title-span,
441
443
  .view-all-column-container .content-table-view .mp_title-span {
@@ -453,6 +455,7 @@
453
455
  margin-right: 8px;
454
456
  padding-left: 0;
455
457
  font-size: 18px;
458
+ line-height: 28px;
456
459
  text-align: center;
457
460
  vertical-align: middle;
458
461
  }
@@ -2730,6 +2733,190 @@
2730
2733
  .medialist-mpdoc-item-view .info-view .abttrite-v .right {
2731
2734
  margin-right: 20px;
2732
2735
  }
2736
+ .medialist-course-item-view {
2737
+ display: flex;
2738
+ padding: 10px;
2739
+ border-bottom: 1px solid #f0f0f0;
2740
+ }
2741
+ .medialist-course-item-view:hover {
2742
+ background: #fafafa;
2743
+ }
2744
+ .medialist-course-item-view .cover-view {
2745
+ position: relative;
2746
+ flex-shrink: 0;
2747
+ width: 110px;
2748
+ height: 70px;
2749
+ margin-right: 20px;
2750
+ background: #edf3ff;
2751
+ }
2752
+ .medialist-course-item-view .cover-view .image {
2753
+ width: 100%;
2754
+ height: 100%;
2755
+ border-radius: 4px;
2756
+ }
2757
+ .medialist-course-item-view .cover-view .image img {
2758
+ width: 100%;
2759
+ height: 100%;
2760
+ }
2761
+ .medialist-course-item-view .cover-view .no-img {
2762
+ display: flex;
2763
+ align-items: center;
2764
+ justify-content: center;
2765
+ width: 100%;
2766
+ height: 100%;
2767
+ color: white;
2768
+ font-size: 30px;
2769
+ }
2770
+ .medialist-course-item-view .info-view {
2771
+ display: flex;
2772
+ flex: 1;
2773
+ flex-direction: column;
2774
+ justify-content: space-between;
2775
+ padding: 2px 0;
2776
+ }
2777
+ .medialist-course-item-view .info-view .title {
2778
+ display: flex;
2779
+ align-items: center;
2780
+ margin-bottom: 10px;
2781
+ overflow: hidden;
2782
+ color: #1d2129;
2783
+ font-weight: 400;
2784
+ font-size: 14px;
2785
+ font-style: normal;
2786
+ line-height: 22px;
2787
+ cursor: pointer;
2788
+ -webkit-line-clamp: 2;
2789
+ -webkit-box-orient: vertical;
2790
+ }
2791
+ .medialist-course-item-view .info-view .abttrite-v {
2792
+ display: flex;
2793
+ align-items: center;
2794
+ justify-content: space-between;
2795
+ }
2796
+ .medialist-course-item-view .info-view .abttrite-v .left {
2797
+ display: flex;
2798
+ flex: 1;
2799
+ align-items: center;
2800
+ color: #808692;
2801
+ font-size: 12px;
2802
+ }
2803
+ .medialist-course-item-view .info-view .abttrite-v .left .icon {
2804
+ margin-right: 8px;
2805
+ }
2806
+ .medialist-course-item-view .info-view .abttrite-v .left .abttr {
2807
+ display: inline-block;
2808
+ width: 20%;
2809
+ overflow: hidden;
2810
+ white-space: nowrap;
2811
+ text-overflow: ellipsis;
2812
+ }
2813
+ .medialist-course-item-view .info-view .abttrite-v .left .abttr.time {
2814
+ width: 250px;
2815
+ }
2816
+ .medialist-course-item-view .info-view .abttrite-v .left .abttr.tags {
2817
+ display: flex;
2818
+ align-items: center;
2819
+ width: 190px;
2820
+ }
2821
+ .medialist-course-item-view .info-view .abttrite-v .left .abttr.type {
2822
+ display: inline-block;
2823
+ width: 160px;
2824
+ }
2825
+ .medialist-course-item-view .info-view .abttrite-v .right {
2826
+ margin-right: 20px;
2827
+ }
2828
+ .medialist-funhd-item-view {
2829
+ display: flex;
2830
+ padding: 10px;
2831
+ border-bottom: 1px solid #f0f0f0;
2832
+ }
2833
+ .medialist-funhd-item-view:hover {
2834
+ background: #fafafa;
2835
+ }
2836
+ .medialist-funhd-item-view .cover-view {
2837
+ position: relative;
2838
+ flex-shrink: 0;
2839
+ width: 110px;
2840
+ height: 70px;
2841
+ margin-right: 20px;
2842
+ background: #edf3ff;
2843
+ }
2844
+ .medialist-funhd-item-view .cover-view .image {
2845
+ width: 100%;
2846
+ height: 100%;
2847
+ border-radius: 4px;
2848
+ }
2849
+ .medialist-funhd-item-view .cover-view .image img {
2850
+ width: 100%;
2851
+ height: 100%;
2852
+ }
2853
+ .medialist-funhd-item-view .cover-view .no-img {
2854
+ display: flex;
2855
+ align-items: center;
2856
+ justify-content: center;
2857
+ width: 100%;
2858
+ height: 100%;
2859
+ color: white;
2860
+ font-size: 30px;
2861
+ }
2862
+ .medialist-funhd-item-view .info-view {
2863
+ display: flex;
2864
+ flex: 1;
2865
+ flex-direction: column;
2866
+ justify-content: space-between;
2867
+ padding: 2px 0;
2868
+ }
2869
+ .medialist-funhd-item-view .info-view .title {
2870
+ display: flex;
2871
+ align-items: center;
2872
+ margin-bottom: 10px;
2873
+ overflow: hidden;
2874
+ color: #1d2129;
2875
+ font-weight: 400;
2876
+ font-size: 14px;
2877
+ font-style: normal;
2878
+ line-height: 22px;
2879
+ cursor: pointer;
2880
+ -webkit-line-clamp: 2;
2881
+ -webkit-box-orient: vertical;
2882
+ }
2883
+ .medialist-funhd-item-view .info-view .abttrite-v {
2884
+ display: flex;
2885
+ align-items: center;
2886
+ justify-content: space-between;
2887
+ }
2888
+ .medialist-funhd-item-view .info-view .abttrite-v .left {
2889
+ display: flex;
2890
+ flex: 1;
2891
+ align-items: center;
2892
+ color: #808692;
2893
+ font-size: 12px;
2894
+ }
2895
+ .medialist-funhd-item-view .info-view .abttrite-v .left .icon {
2896
+ margin-right: 8px;
2897
+ }
2898
+ .medialist-funhd-item-view .info-view .abttrite-v .left .abttr {
2899
+ display: inline-block;
2900
+ width: 20%;
2901
+ overflow: hidden;
2902
+ white-space: nowrap;
2903
+ text-overflow: ellipsis;
2904
+ }
2905
+ .medialist-funhd-item-view .info-view .abttrite-v .left .abttr.time {
2906
+ width: 250px;
2907
+ }
2908
+ .medialist-funhd-item-view .info-view .abttrite-v .left .abttr.tags {
2909
+ display: flex;
2910
+ align-items: center;
2911
+ width: 190px;
2912
+ }
2913
+ .medialist-funhd-item-view .info-view .abttrite-v .left .abttr.type {
2914
+ display: inline-block;
2915
+ width: 160px;
2916
+ }
2917
+ .medialist-funhd-item-view .info-view .abttrite-v .right {
2918
+ margin-right: 20px;
2919
+ }
2733
2920
  .gray-for-state-hide {
2734
2921
  -webkit-filter: grayscale(100%);
2735
2922
  -moz-filter: grayscale(100%);
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createElementBlock, createCommentVNode, createBlock, unref, Fragment, createVNode } from "vue";
2
- import { IconXinwen, IconShipin, IconYinyue, IconTuji, IconXiaoshipin, IconZhuanti, IconYinpinji, IconShipinji, IconMiniprogram, IconH5, IconZhibo, IconPicture, IconGongzhonghao, IconGaojian } from "@arco-iconbox/vue-cmstop-icons";
2
+ import { IconXinwen, IconShipin, IconYinyue, IconTuji, IconXiaoshipin, IconZhuanti, IconYinpinji, IconShipinji, IconMiniprogram, IconH5, IconZhibo, IconPicture, IconGongzhonghao, IconSelectGroupoverview, IconSelectVersion, IconBook, IconEvent, IconGaojian } from "@arco-iconbox/vue-cmstop-icons";
3
3
  const _hoisted_1 = { class: "type-icons-container" };
4
4
  const _sfc_main = defineComponent({
5
5
  ...{ name: "typeIcons" },
@@ -43,7 +43,7 @@ const _sfc_main = defineComponent({
43
43
  createCommentVNode(" h5 "),
44
44
  createVNode(unref(IconH5))
45
45
  ], 2112)) : props.doc && props.type === "live" ? (openBlock(), createElementBlock(Fragment, { key: 10 }, [
46
- createCommentVNode(" \u76F4\u64AD "),
46
+ createCommentVNode(" \u672C\u5730\u76F4\u64AD "),
47
47
  createVNode(unref(IconZhibo))
48
48
  ], 2112)) : props.resource && props.type === "image" ? (openBlock(), createElementBlock(Fragment, { key: 11 }, [
49
49
  createCommentVNode("------------------------------- \u7D20\u6750\u7C7B\u578B --------------------------------------"),
@@ -53,7 +53,22 @@ const _sfc_main = defineComponent({
53
53
  createCommentVNode("------------------------------- \u5176\u4ED6\u7C7B\u578B --------------------------------------"),
54
54
  createCommentVNode(" \u516C\u4F17\u53F7\u7A3F\u4EF6 "),
55
55
  createVNode(unref(IconGongzhonghao))
56
- ], 2112)) : (openBlock(), createElementBlock(Fragment, { key: 13 }, [
56
+ ], 2112)) : props.type === "ilive" ? (openBlock(), createElementBlock(Fragment, { key: 13 }, [
57
+ createCommentVNode(" \u4E91\u76F4\u64AD "),
58
+ createVNode(unref(IconZhibo))
59
+ ], 2112)) : props.type === "group" ? (openBlock(), createElementBlock(Fragment, { key: 14 }, [
60
+ createCommentVNode(" \u9891\u9053/\u7EC4\u4EF6 "),
61
+ createVNode(unref(IconSelectGroupoverview))
62
+ ], 2112)) : props.type === "nav" ? (openBlock(), createElementBlock(Fragment, { key: 15 }, [
63
+ createCommentVNode(" \u529F\u80FD\u5BFC\u822A "),
64
+ createVNode(unref(IconSelectVersion))
65
+ ], 2112)) : props.type === "course" ? (openBlock(), createElementBlock(Fragment, { key: 16 }, [
66
+ createCommentVNode(" \u8BFE\u7A0B "),
67
+ createVNode(unref(IconBook))
68
+ ], 2112)) : props.type === "funhd" ? (openBlock(), createElementBlock(Fragment, { key: 17 }, [
69
+ createCommentVNode(" \u4E92\u52A8\u8FD0\u8425 "),
70
+ createVNode(unref(IconEvent))
71
+ ], 2112)) : (openBlock(), createElementBlock(Fragment, { key: 18 }, [
57
72
  createCommentVNode(" \u5FAE\u4FE1\u7A3F\u4EF6 "),
58
73
  createCommentVNode(" <icon-weixingaojian /> "),
59
74
  createCommentVNode(" \u8F6E\u535A\u56FE\u96C6 "),
@@ -1,4 +1,5 @@
1
1
  import axios from "axios";
2
+ import { Message } from "@arco-design/web-vue";
2
3
  import { getToken } from "./auth.js";
3
4
  function request(BASE_API, options) {
4
5
  const service = axios.create({
@@ -20,7 +21,10 @@ function request(BASE_API, options) {
20
21
  service.interceptors.response.use(
21
22
  (response) => {
22
23
  const res = response.data;
23
- if (res.code !== 0) {
24
+ if ((res == null ? void 0 : res.code) !== 0) {
25
+ if (res == null ? void 0 : res.real_error) {
26
+ Message.warning({ content: res.real_error });
27
+ }
24
28
  return Promise.reject(new Error(res.message || "Error"));
25
29
  }
26
30
  return res;
@@ -59,6 +59,8 @@ export declare const target_type_map: {
59
59
  14: any;
60
60
  15: string;
61
61
  16: string;
62
+ 17: string;
63
+ 18: string;
62
64
  };
63
65
  export declare const key_target_type_map: any;
64
66
  export declare const approveFlowStatusMap: {
@@ -13,7 +13,9 @@ const key_target_type_map = {
13
13
  13: "ilive",
14
14
  14: "mp_account",
15
15
  15: "kongo",
16
- 16: "mp_content"
16
+ 16: "mp_content",
17
+ 17: "funhd",
18
+ 18: "course"
17
19
  };
18
20
  const approveFlowStatusMap = {
19
21
  1: "\u5BA1\u6838\u4E2D",
@@ -68,9 +68,8 @@ const _sfc_main = vue.defineComponent({
68
68
  vue.createElementVNode("div", _hoisted_6, [
69
69
  vue.createVNode(component, {
70
70
  class: "icon",
71
- doc: _ctx.item.catalog === "doc",
72
71
  type: _ctx.item.series
73
- }, null, 8, ["doc", "type"]),
72
+ }, null, 8, ["type"]),
74
73
  vue.renderSlot(_ctx.$slots, "tip"),
75
74
  _hoisted_7,
76
75
  vue.createElementVNode("span", _hoisted_8, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ var vue = require("vue");
3
+ var webVue = require("@arco-design/web-vue");
4
+ var component = require("../../../../typeIcons/component.js");
5
+ var index = require("../../../../utils/index.js");
6
+ const _hoisted_1 = { class: "cover-view" };
7
+ const _hoisted_2 = {
8
+ key: 1,
9
+ class: "no-img"
10
+ };
11
+ const _hoisted_3 = { class: "info-view" };
12
+ const _hoisted_4 = { class: "title_i" };
13
+ const _hoisted_5 = { class: "abttrite-v" };
14
+ const _hoisted_6 = { class: "left" };
15
+ const _hoisted_7 = /* @__PURE__ */ vue.createElementVNode("span", { class: "abttr tags" }, "\u8BFE\u7A0B", -1);
16
+ const _hoisted_8 = { class: "abttr tags" };
17
+ const _hoisted_9 = { class: "abttr time" };
18
+ const _hoisted_10 = { class: "right" };
19
+ const _sfc_main = vue.defineComponent({
20
+ __name: "index",
21
+ props: {
22
+ item: {}
23
+ },
24
+ emits: ["clickTitle"],
25
+ setup(__props, { emit: __emit }) {
26
+ const props = __props;
27
+ const emit = __emit;
28
+ const hide = vue.computed(() => {
29
+ const { hide: hide2 } = props.item;
30
+ return hide2 === 7 || hide2 === 6;
31
+ });
32
+ const silent = vue.computed(() => {
33
+ return props.item && props.item.mourn_style === 1;
34
+ });
35
+ const pc_banner = vue.computed(() => {
36
+ if (props.item.preview_url || props.item.cover || props.item.pc_cover)
37
+ return props.item.preview_url || props.item.cover || props.item.pc_cover;
38
+ if (!props.item.style)
39
+ return null;
40
+ const ret = JSON.parse(props.item.style);
41
+ if (!ret.pc_banner_url)
42
+ return null;
43
+ return ret.pc_banner_url;
44
+ });
45
+ const clickTitle = () => {
46
+ emit("clickTitle", props.item);
47
+ };
48
+ return (_ctx, _cache) => {
49
+ return vue.openBlock(), vue.createElementBlock("div", {
50
+ class: vue.normalizeClass(["medialist-course-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }])
51
+ }, [
52
+ vue.createElementVNode("div", _hoisted_1, [
53
+ pc_banner.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
54
+ key: 0,
55
+ src: pc_banner.value,
56
+ class: "image",
57
+ fit: "cover"
58
+ }, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1))
59
+ ]),
60
+ vue.createElementVNode("div", _hoisted_3, [
61
+ vue.createElementVNode("div", {
62
+ class: "title",
63
+ onClick: clickTitle
64
+ }, [
65
+ vue.renderSlot(_ctx.$slots, "index"),
66
+ vue.createElementVNode("span", _hoisted_4, vue.toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
67
+ ]),
68
+ vue.createElementVNode("div", _hoisted_5, [
69
+ vue.createElementVNode("div", _hoisted_6, [
70
+ vue.createVNode(component, {
71
+ class: "icon",
72
+ type: "course"
73
+ }),
74
+ vue.renderSlot(_ctx.$slots, "tip"),
75
+ _hoisted_7,
76
+ vue.createVNode(vue.unref(webVue.Tooltip), {
77
+ content: `\u8BFE\u7A0B\u521B\u5EFA\u4EBA: ${_ctx.item.pub_user_alias}`,
78
+ position: "top"
79
+ }, {
80
+ default: vue.withCtx(() => [
81
+ vue.createElementVNode("span", _hoisted_8, vue.toDisplayString(_ctx.item.pub_user_alias), 1)
82
+ ]),
83
+ _: 1
84
+ }, 8, ["content"]),
85
+ vue.createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
86
+ ]),
87
+ vue.createElementVNode("div", _hoisted_10, [
88
+ vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
89
+ ])
90
+ ])
91
+ ])
92
+ ], 2);
93
+ };
94
+ }
95
+ });
96
+ module.exports = _sfc_main;
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ var vue = require("vue");
3
+ var webVue = require("@arco-design/web-vue");
4
+ var component = require("../../../../typeIcons/component.js");
5
+ var index = require("../../../../utils/index.js");
6
+ const _hoisted_1 = { class: "cover-view" };
7
+ const _hoisted_2 = {
8
+ key: 1,
9
+ class: "no-img"
10
+ };
11
+ const _hoisted_3 = { class: "info-view" };
12
+ const _hoisted_4 = { class: "title_i" };
13
+ const _hoisted_5 = { class: "abttrite-v" };
14
+ const _hoisted_6 = { class: "left" };
15
+ const _hoisted_7 = /* @__PURE__ */ vue.createElementVNode("span", { class: "abttr tags" }, "\u6D3B\u52A8", -1);
16
+ const _hoisted_8 = { class: "abttr tags" };
17
+ const _hoisted_9 = { class: "abttr time" };
18
+ const _hoisted_10 = { class: "right" };
19
+ const _sfc_main = vue.defineComponent({
20
+ __name: "index",
21
+ props: {
22
+ item: {}
23
+ },
24
+ emits: ["clickTitle"],
25
+ setup(__props, { emit: __emit }) {
26
+ const props = __props;
27
+ const emit = __emit;
28
+ const hide = vue.computed(() => {
29
+ const { hide: hide2 } = props.item;
30
+ return hide2 === 7 || hide2 === 6;
31
+ });
32
+ const silent = vue.computed(() => {
33
+ return props.item && props.item.mourn_style === 1;
34
+ });
35
+ const pc_banner = vue.computed(() => {
36
+ if (props.item.preview_url || props.item.cover || props.item.pc_cover)
37
+ return props.item.preview_url || props.item.cover || props.item.pc_cover;
38
+ if (!props.item.style)
39
+ return null;
40
+ const ret = JSON.parse(props.item.style);
41
+ if (!ret.pc_banner_url)
42
+ return null;
43
+ return ret.pc_banner_url;
44
+ });
45
+ const clickTitle = () => {
46
+ emit("clickTitle", props.item);
47
+ };
48
+ return (_ctx, _cache) => {
49
+ return vue.openBlock(), vue.createElementBlock("div", {
50
+ class: vue.normalizeClass(["medialist-funhd-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }])
51
+ }, [
52
+ vue.createElementVNode("div", _hoisted_1, [
53
+ pc_banner.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
54
+ key: 0,
55
+ src: pc_banner.value,
56
+ class: "image",
57
+ fit: "cover"
58
+ }, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1))
59
+ ]),
60
+ vue.createElementVNode("div", _hoisted_3, [
61
+ vue.createElementVNode("div", {
62
+ class: "title",
63
+ onClick: clickTitle
64
+ }, [
65
+ vue.renderSlot(_ctx.$slots, "index"),
66
+ vue.createElementVNode("span", _hoisted_4, vue.toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
67
+ ]),
68
+ vue.createElementVNode("div", _hoisted_5, [
69
+ vue.createElementVNode("div", _hoisted_6, [
70
+ vue.createVNode(component, {
71
+ class: "icon",
72
+ type: "funhd"
73
+ }),
74
+ vue.renderSlot(_ctx.$slots, "tip"),
75
+ _hoisted_7,
76
+ vue.createVNode(vue.unref(webVue.Tooltip), {
77
+ content: `\u6D3B\u52A8\u521B\u5EFA\u4EBA: ${_ctx.item.pub_user_alias}`,
78
+ position: "top"
79
+ }, {
80
+ default: vue.withCtx(() => [
81
+ vue.createElementVNode("span", _hoisted_8, vue.toDisplayString(_ctx.item.pub_user_alias), 1)
82
+ ]),
83
+ _: 1
84
+ }, 8, ["content"]),
85
+ vue.createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
86
+ ]),
87
+ vue.createElementVNode("div", _hoisted_10, [
88
+ vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
89
+ ])
90
+ ])
91
+ ])
92
+ ], 2);
93
+ };
94
+ }
95
+ });
96
+ module.exports = _sfc_main;
@@ -8,6 +8,8 @@ var index$5 = require("./KongoNavItem/index.js");
8
8
  var index$4 = require("./LiveItem/index.js");
9
9
  var index$3 = require("./MaccountItem/index.js");
10
10
  var index$6 = require("./DocMpItem/index.js");
11
+ var index$8 = require("./courseItem/index.js");
12
+ var index$7 = require("./funhdItem/index.js");
11
13
  const _hoisted_1 = { class: "index" };
12
14
  const _hoisted_2 = {
13
15
  key: 0,
@@ -87,6 +89,8 @@ const _hoisted_32 = {
87
89
  };
88
90
  const _hoisted_33 = { class: "doc-fixed-icon" };
89
91
  const _hoisted_34 = { class: "doc-fixed-num" };
92
+ const _hoisted_35 = { class: "index" };
93
+ const _hoisted_36 = { class: "index" };
90
94
  const _sfc_main = vue.defineComponent({
91
95
  __name: "index",
92
96
  props: {
@@ -295,7 +299,7 @@ const _sfc_main = vue.defineComponent({
295
299
  _: 3
296
300
  }, 8, ["item"]))
297
301
  ], 2112)) : _ctx.item.catalog === "mp_content" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 6 }, [
298
- vue.createCommentVNode(" \u7A3F\u4EF6\uFF08\u516C\u4F17\u53F7\u7A3F\u4EF6\uFF09 "),
302
+ vue.createCommentVNode(" \u516C\u4F17\u53F7\u5185\u5BB9 "),
299
303
  (vue.openBlock(), vue.createBlock(index$6, {
300
304
  key: `doc-mp-${_ctx.item.post_id}`,
301
305
  abttrites: _ctx.abttrites,
@@ -325,6 +329,42 @@ const _sfc_main = vue.defineComponent({
325
329
  ]),
326
330
  _: 3
327
331
  }, 8, ["abttrites", "item"]))
332
+ ], 2112)) : _ctx.item.catalog === "funhd" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 7 }, [
333
+ vue.createCommentVNode(" \u4E92\u52A8\u8FD0\u8425\uFF08\u6613\u4F01\u79C0\uFF09 "),
334
+ (vue.openBlock(), vue.createBlock(index$7, {
335
+ key: `funhd-${_ctx.item.post_id}`,
336
+ item: { ..._ctx.item, index: _ctx.index },
337
+ onClickTitle: clickTitle
338
+ }, {
339
+ index: vue.withCtx(() => [
340
+ vue.createElementVNode("span", _hoisted_35, vue.toDisplayString(_ctx.index + 1), 1)
341
+ ]),
342
+ option: vue.withCtx(() => [
343
+ vue.renderSlot(_ctx.$slots, "option", {
344
+ row: _ctx.item,
345
+ index: _ctx.index
346
+ })
347
+ ]),
348
+ _: 3
349
+ }, 8, ["item"]))
350
+ ], 2112)) : _ctx.item.catalog === "course" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 8 }, [
351
+ vue.createCommentVNode(" \u8BFE\u7A0B "),
352
+ (vue.openBlock(), vue.createBlock(index$8, {
353
+ key: `course-${_ctx.item.post_id}`,
354
+ item: { ..._ctx.item, index: _ctx.index },
355
+ onClickTitle: clickTitle
356
+ }, {
357
+ index: vue.withCtx(() => [
358
+ vue.createElementVNode("span", _hoisted_36, vue.toDisplayString(_ctx.index + 1), 1)
359
+ ]),
360
+ option: vue.withCtx(() => [
361
+ vue.renderSlot(_ctx.$slots, "option", {
362
+ row: _ctx.item,
363
+ index: _ctx.index
364
+ })
365
+ ]),
366
+ _: 3
367
+ }, 8, ["item"]))
328
368
  ], 2112)) : vue.createCommentVNode("v-if", true)
329
369
  ], 2112);
330
370
  };
@@ -0,0 +1,108 @@
1
+ .medialist-course-item-view {
2
+ display: flex;
3
+ // width: 100%;
4
+ padding: 10px;
5
+ border-bottom: 1px solid #f0f0f0;
6
+
7
+ &:hover {
8
+ background: #fafafa;
9
+ }
10
+
11
+ .cover-view {
12
+ position: relative;
13
+ flex-shrink: 0;
14
+ width: 110px;
15
+ height: 70px;
16
+ margin-right: 20px;
17
+ background: #edf3ff;
18
+
19
+ .image {
20
+ width: 100%;
21
+ height: 100%;
22
+ border-radius: 4px;
23
+
24
+ img {
25
+ width: 100%;
26
+ height: 100%;
27
+ }
28
+ }
29
+
30
+ .no-img {
31
+ display: flex;
32
+ align-items: center;
33
+ justify-content: center;
34
+ width: 100%;
35
+ height: 100%;
36
+ color: white;
37
+ font-size: 30px;
38
+ }
39
+ }
40
+
41
+ .info-view {
42
+ display: flex;
43
+ flex: 1;
44
+ flex-direction: column;
45
+ justify-content: space-between;
46
+ padding: 2px 0;
47
+
48
+ .title {
49
+ display: flex;
50
+ align-items: center;
51
+ margin-bottom: 10px;
52
+ overflow: hidden;
53
+ color: #1d2129;
54
+ font-weight: 400;
55
+ font-size: 14px;
56
+ font-style: normal;
57
+ line-height: 22px;
58
+ cursor: pointer;
59
+ -webkit-line-clamp: 2;
60
+ -webkit-box-orient: vertical;
61
+ }
62
+
63
+ .abttrite-v {
64
+ display: flex;
65
+ align-items: center;
66
+ justify-content: space-between;
67
+
68
+ .left {
69
+ display: flex;
70
+ flex: 1;
71
+ align-items: center;
72
+ color: #808692;
73
+ font-size: 12px;
74
+
75
+ .icon {
76
+ margin-right: 8px;
77
+ }
78
+
79
+ .abttr {
80
+ display: inline-block;
81
+ width: 20%;
82
+ overflow: hidden;
83
+ white-space: nowrap;
84
+ text-overflow: ellipsis;
85
+
86
+ &.time {
87
+ width: 250px;
88
+ }
89
+
90
+ &.tags {
91
+ display: flex;
92
+ align-items: center;
93
+ width: 190px;
94
+ }
95
+
96
+ &.type {
97
+ display: inline-block;
98
+ width: 160px;
99
+ }
100
+ }
101
+ }
102
+
103
+ .right {
104
+ margin-right: 20px;
105
+ }
106
+ }
107
+ }
108
+ }