@cmstops/pro-compo 0.1.46 → 0.1.49

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 (50) hide show
  1. package/dist/index.css +187 -0
  2. package/dist/index.min.css +1 -1
  3. package/es/contentDetailList/components/Content/CompoItem/index.js +1 -0
  4. package/es/contentDetailList/components/Content/ContentListItem/index.js +1 -0
  5. package/es/contentDetailList/components/Content/DocItem/index.js +1 -0
  6. package/es/contentDetailList/components/Content/DocMpItem/index.js +1 -0
  7. package/es/contentDetailList/components/Content/KongoNavItem/index.js +1 -0
  8. package/es/contentDetailList/components/Content/LiveItem/index.js +2 -2
  9. package/es/contentDetailList/components/Content/MaccountItem/index.js +1 -0
  10. package/es/contentDetailList/components/Content/courseItem/index.d.ts +0 -0
  11. package/es/contentDetailList/components/Content/courseItem/index.js +96 -0
  12. package/es/contentDetailList/components/Content/funhdItem/index.d.ts +0 -0
  13. package/es/contentDetailList/components/Content/funhdItem/index.js +96 -0
  14. package/es/contentDetailList/components/Content/index.js +41 -1
  15. package/es/contentDetailList/style/courseItem.less +108 -0
  16. package/es/contentDetailList/style/funhdItem.less +108 -0
  17. package/es/contentDetailList/style/index.css +184 -0
  18. package/es/contentDetailList/style/index.less +2 -0
  19. package/es/contentModal/component.js +11 -4
  20. package/es/contentModal/components/EqxiuList/index.js +5 -5
  21. package/es/contentModal/style/ViewAllColumn.less +3 -0
  22. package/es/contentModal/style/index.css +3 -0
  23. package/es/index.css +187 -0
  24. package/es/typeIcons/component.js +18 -3
  25. package/es/utils/request.js +5 -1
  26. package/es/utils/typeMap.d.ts +2 -0
  27. package/es/utils/typeMap.js +3 -1
  28. package/lib/contentDetailList/components/Content/CompoItem/index.js +1 -0
  29. package/lib/contentDetailList/components/Content/ContentListItem/index.js +1 -0
  30. package/lib/contentDetailList/components/Content/DocItem/index.js +1 -0
  31. package/lib/contentDetailList/components/Content/DocMpItem/index.js +1 -0
  32. package/lib/contentDetailList/components/Content/KongoNavItem/index.js +1 -0
  33. package/lib/contentDetailList/components/Content/LiveItem/index.js +2 -2
  34. package/lib/contentDetailList/components/Content/MaccountItem/index.js +1 -0
  35. package/lib/contentDetailList/components/Content/courseItem/index.js +97 -0
  36. package/lib/contentDetailList/components/Content/funhdItem/index.js +97 -0
  37. package/lib/contentDetailList/components/Content/index.js +41 -1
  38. package/lib/contentDetailList/style/courseItem.less +108 -0
  39. package/lib/contentDetailList/style/funhdItem.less +108 -0
  40. package/lib/contentDetailList/style/index.css +184 -0
  41. package/lib/contentDetailList/style/index.less +2 -0
  42. package/lib/contentModal/component.js +11 -4
  43. package/lib/contentModal/components/EqxiuList/index.js +5 -5
  44. package/lib/contentModal/style/ViewAllColumn.less +3 -0
  45. package/lib/contentModal/style/index.css +3 -0
  46. package/lib/index.css +187 -0
  47. package/lib/typeIcons/component.js +17 -2
  48. package/lib/utils/request.js +5 -1
  49. package/lib/utils/typeMap.js +3 -1
  50. package/package.json +3 -3
@@ -102,6 +102,7 @@ const _sfc_main = defineComponent({
102
102
  onTabClick: tabsChange
103
103
  }, {
104
104
  default: withCtx(() => [
105
+ createCommentVNode(" \u680F\u76EE\u7A3F\u4EF6 "),
105
106
  typeDataController.value.addDoc ? (openBlock(), createBlock(unref(TabPane), {
106
107
  key: "1",
107
108
  title: "\u680F\u76EE"
@@ -140,6 +141,7 @@ const _sfc_main = defineComponent({
140
141
  ]),
141
142
  _: 1
142
143
  })) : createCommentVNode("v-if", true),
144
+ createCommentVNode(" \u9891\u9053 "),
143
145
  typeDataController.value.addContentList ? (openBlock(), createBlock(unref(TabPane), {
144
146
  key: "2",
145
147
  title: "\u9891\u9053"
@@ -178,6 +180,7 @@ const _sfc_main = defineComponent({
178
180
  ]),
179
181
  _: 1
180
182
  })) : createCommentVNode("v-if", true),
183
+ createCommentVNode(" \u7EC4\u4EF6 "),
181
184
  typeDataController.value.addCompo ? (openBlock(), createBlock(unref(TabPane), {
182
185
  key: "5",
183
186
  title: "\u7EC4\u4EF6"
@@ -217,14 +220,15 @@ const _sfc_main = defineComponent({
217
220
  ]),
218
221
  _: 1
219
222
  })) : createCommentVNode("v-if", true),
220
- typeDataController.value.addCompo ? (openBlock(), createBlock(unref(TabPane), {
223
+ createCommentVNode(" \u4E92\u52A8\u76F4\u64AD "),
224
+ typeDataController.value.addILive ? (openBlock(), createBlock(unref(TabPane), {
221
225
  key: "6",
222
226
  title: "\u4E92\u52A8\u76F4\u64AD"
223
227
  }, {
224
228
  default: withCtx(() => [
225
229
  unref(userInfo) && unref(userInfo).repository_id ? (openBlock(), createBlock(_sfc_main$5, {
226
230
  key: 0,
227
- columns: typeDataController.value.compoType,
231
+ columns: typeDataController.value.iliveType,
228
232
  "default-selected-data": selectedData.value,
229
233
  "max-select": _ctx.maxSelect,
230
234
  "outside-select-data": _ctx.outsideSelectData || [],
@@ -255,6 +259,7 @@ const _sfc_main = defineComponent({
255
259
  ]),
256
260
  _: 1
257
261
  })) : createCommentVNode("v-if", true),
262
+ createCommentVNode(" \u516C\u4F17\u53F7\u8D26\u53F7 "),
258
263
  typeDataController.value.addMpAccount ? (openBlock(), createBlock(unref(TabPane), {
259
264
  key: "7",
260
265
  title: unref(mpName)
@@ -293,6 +298,7 @@ const _sfc_main = defineComponent({
293
298
  ]),
294
299
  _: 1
295
300
  }, 8, ["title"])) : createCommentVNode("v-if", true),
301
+ createCommentVNode(" \u516C\u4F17\u53F7\u5185\u5BB9 "),
296
302
  typeDataController.value.addMpContent ? (openBlock(), createBlock(unref(TabPane), {
297
303
  key: "8",
298
304
  title: `${unref(mpName)}\u5185\u5BB9`
@@ -331,14 +337,15 @@ const _sfc_main = defineComponent({
331
337
  ]),
332
338
  _: 1
333
339
  }, 8, ["title"])) : createCommentVNode("v-if", true),
334
- typeDataController.value.addEqxiu ? (openBlock(), createBlock(unref(TabPane), {
340
+ createCommentVNode(" \u4E92\u52A8\u8FD0\u8425 "),
341
+ typeDataController.value.addFunhd ? (openBlock(), createBlock(unref(TabPane), {
335
342
  key: "9",
336
343
  title: "\u4E92\u52A8\u8FD0\u8425"
337
344
  }, {
338
345
  default: withCtx(() => [
339
346
  unref(userInfo) && unref(userInfo).repository_id ? (openBlock(), createBlock(_sfc_main$8, {
340
347
  key: 0,
341
- columns: typeDataController.value.compoType,
348
+ columns: typeDataController.value.funhdType,
342
349
  "default-selected-data": selectedData.value,
343
350
  "max-select": _ctx.maxSelect,
344
351
  "outside-select-data": _ctx.outsideSelectData || [],
@@ -89,15 +89,15 @@ const _sfc_main = defineComponent({
89
89
  params.gid = gid;
90
90
  }
91
91
  dataLoading.value = true;
92
- const { code, message } = await getEqxiuList(props.userInfo.BASE_API, params);
92
+ const res = await getEqxiuList(props.userInfo.BASE_API, params);
93
93
  dataLoading.value = false;
94
- if (code === 0) {
95
- const { count, data } = message;
94
+ if ((res == null ? void 0 : res.code) === 0) {
95
+ const { count, data } = res.message;
96
96
  mediaFileData.value = data.map((v) => {
97
- v.catalog = "doc";
97
+ v.catalog = "funhd";
98
98
  v.id = v.ID || v.id;
99
99
  v.target_id = v.ID || v.id;
100
- v.target_type = 3;
100
+ v.target_type = 17;
101
101
  v.pub_time = v.updateTime;
102
102
  v.update_time = v.updateTime;
103
103
  return v;
@@ -13,6 +13,8 @@
13
13
  .pic-thumb-img {
14
14
  width: 60px;
15
15
  height: 45px;
16
+ vertical-align: middle;
17
+ border-radius: 3px;
16
18
  }
17
19
 
18
20
  .title-span,
@@ -30,6 +32,7 @@
30
32
  margin-right: 8px;
31
33
  padding-left: 0;
32
34
  font-size: 18px;
35
+ line-height: 28px;
33
36
  text-align: center;
34
37
  vertical-align: middle;
35
38
  }
@@ -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",
@@ -44,6 +44,7 @@ const _sfc_main = vue.defineComponent({
44
44
  _ctx.item.cover && _ctx.item.cover.data && _ctx.item.cover.data[0] ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
45
45
  key: 0,
46
46
  src: _ctx.item.cover.data[0].thumb,
47
+ preview: false,
47
48
  fit: "cover",
48
49
  class: "image"
49
50
  }, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1))
@@ -51,6 +51,7 @@ const _sfc_main = vue.defineComponent({
51
51
  _ctx.item.cover && _ctx.item.cover.data && _ctx.item.cover.data[0] ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
52
52
  key: 0,
53
53
  src: _ctx.item.cover.data[0].thumb,
54
+ preview: false,
54
55
  fit: "cover",
55
56
  class: "image"
56
57
  }, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1))
@@ -78,6 +78,7 @@ const _sfc_main = vue.defineComponent({
78
78
  vue.createElementVNode("div", _hoisted_1, [
79
79
  thumb.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
80
80
  key: 0,
81
+ preview: false,
81
82
  src: thumb.value,
82
83
  class: "image",
83
84
  fit: "cover"
@@ -62,6 +62,7 @@ const _sfc_main = vue.defineComponent({
62
62
  vue.createElementVNode("div", _hoisted_1, [
63
63
  thumb.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
64
64
  key: 0,
65
+ preview: false,
65
66
  src: thumb.value,
66
67
  class: "image",
67
68
  fit: "cover"
@@ -78,6 +78,7 @@ const _sfc_main = vue.defineComponent({
78
78
  key: 0,
79
79
  src: thumb.value,
80
80
  fit: "cover",
81
+ preview: false,
81
82
  class: "image",
82
83
  lazy: true
83
84
  }, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1))
@@ -52,6 +52,7 @@ const _sfc_main = vue.defineComponent({
52
52
  pc_banner.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
53
53
  key: 0,
54
54
  src: pc_banner.value,
55
+ preview: false,
55
56
  class: "image",
56
57
  fit: "cover"
57
58
  }, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1))
@@ -68,9 +69,8 @@ const _sfc_main = vue.defineComponent({
68
69
  vue.createElementVNode("div", _hoisted_6, [
69
70
  vue.createVNode(component, {
70
71
  class: "icon",
71
- doc: _ctx.item.catalog === "doc",
72
72
  type: _ctx.item.series
73
- }, null, 8, ["doc", "type"]),
73
+ }, null, 8, ["type"]),
74
74
  vue.renderSlot(_ctx.$slots, "tip"),
75
75
  _hoisted_7,
76
76
  vue.createElementVNode("span", _hoisted_8, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
@@ -39,6 +39,7 @@ const _sfc_main = vue.defineComponent({
39
39
  vue.createVNode(vue.unref(webVue.Image), {
40
40
  src: _ctx.item.mp_logo || vue.unref(user),
41
41
  class: "image",
42
+ preview: false,
42
43
  fit: "cover"
43
44
  }, null, 8, ["src"])
44
45
  ]),
@@ -0,0 +1,97 @@
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
+ preview: false,
58
+ fit: "cover"
59
+ }, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1))
60
+ ]),
61
+ vue.createElementVNode("div", _hoisted_3, [
62
+ vue.createElementVNode("div", {
63
+ class: "title",
64
+ onClick: clickTitle
65
+ }, [
66
+ vue.renderSlot(_ctx.$slots, "index"),
67
+ vue.createElementVNode("span", _hoisted_4, vue.toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
68
+ ]),
69
+ vue.createElementVNode("div", _hoisted_5, [
70
+ vue.createElementVNode("div", _hoisted_6, [
71
+ vue.createVNode(component, {
72
+ class: "icon",
73
+ type: "course"
74
+ }),
75
+ vue.renderSlot(_ctx.$slots, "tip"),
76
+ _hoisted_7,
77
+ vue.createVNode(vue.unref(webVue.Tooltip), {
78
+ content: `\u8BFE\u7A0B\u521B\u5EFA\u4EBA: ${_ctx.item.pub_user_alias}`,
79
+ position: "top"
80
+ }, {
81
+ default: vue.withCtx(() => [
82
+ vue.createElementVNode("span", _hoisted_8, vue.toDisplayString(_ctx.item.pub_user_alias), 1)
83
+ ]),
84
+ _: 1
85
+ }, 8, ["content"]),
86
+ vue.createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
87
+ ]),
88
+ vue.createElementVNode("div", _hoisted_10, [
89
+ vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
90
+ ])
91
+ ])
92
+ ])
93
+ ], 2);
94
+ };
95
+ }
96
+ });
97
+ module.exports = _sfc_main;