@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
@@ -0,0 +1,108 @@
1
+ .medialist-funhd-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
+ }
@@ -740,6 +740,190 @@
740
740
  .medialist-mpdoc-item-view .info-view .abttrite-v .right {
741
741
  margin-right: 20px;
742
742
  }
743
+ .medialist-course-item-view {
744
+ display: flex;
745
+ padding: 10px;
746
+ border-bottom: 1px solid #f0f0f0;
747
+ }
748
+ .medialist-course-item-view:hover {
749
+ background: #fafafa;
750
+ }
751
+ .medialist-course-item-view .cover-view {
752
+ position: relative;
753
+ flex-shrink: 0;
754
+ width: 110px;
755
+ height: 70px;
756
+ margin-right: 20px;
757
+ background: #edf3ff;
758
+ }
759
+ .medialist-course-item-view .cover-view .image {
760
+ width: 100%;
761
+ height: 100%;
762
+ border-radius: 4px;
763
+ }
764
+ .medialist-course-item-view .cover-view .image img {
765
+ width: 100%;
766
+ height: 100%;
767
+ }
768
+ .medialist-course-item-view .cover-view .no-img {
769
+ display: flex;
770
+ align-items: center;
771
+ justify-content: center;
772
+ width: 100%;
773
+ height: 100%;
774
+ color: white;
775
+ font-size: 30px;
776
+ }
777
+ .medialist-course-item-view .info-view {
778
+ display: flex;
779
+ flex: 1;
780
+ flex-direction: column;
781
+ justify-content: space-between;
782
+ padding: 2px 0;
783
+ }
784
+ .medialist-course-item-view .info-view .title {
785
+ display: flex;
786
+ align-items: center;
787
+ margin-bottom: 10px;
788
+ overflow: hidden;
789
+ color: #1d2129;
790
+ font-weight: 400;
791
+ font-size: 14px;
792
+ font-style: normal;
793
+ line-height: 22px;
794
+ cursor: pointer;
795
+ -webkit-line-clamp: 2;
796
+ -webkit-box-orient: vertical;
797
+ }
798
+ .medialist-course-item-view .info-view .abttrite-v {
799
+ display: flex;
800
+ align-items: center;
801
+ justify-content: space-between;
802
+ }
803
+ .medialist-course-item-view .info-view .abttrite-v .left {
804
+ display: flex;
805
+ flex: 1;
806
+ align-items: center;
807
+ color: #808692;
808
+ font-size: 12px;
809
+ }
810
+ .medialist-course-item-view .info-view .abttrite-v .left .icon {
811
+ margin-right: 8px;
812
+ }
813
+ .medialist-course-item-view .info-view .abttrite-v .left .abttr {
814
+ display: inline-block;
815
+ width: 20%;
816
+ overflow: hidden;
817
+ white-space: nowrap;
818
+ text-overflow: ellipsis;
819
+ }
820
+ .medialist-course-item-view .info-view .abttrite-v .left .abttr.time {
821
+ width: 250px;
822
+ }
823
+ .medialist-course-item-view .info-view .abttrite-v .left .abttr.tags {
824
+ display: flex;
825
+ align-items: center;
826
+ width: 190px;
827
+ }
828
+ .medialist-course-item-view .info-view .abttrite-v .left .abttr.type {
829
+ display: inline-block;
830
+ width: 160px;
831
+ }
832
+ .medialist-course-item-view .info-view .abttrite-v .right {
833
+ margin-right: 20px;
834
+ }
835
+ .medialist-funhd-item-view {
836
+ display: flex;
837
+ padding: 10px;
838
+ border-bottom: 1px solid #f0f0f0;
839
+ }
840
+ .medialist-funhd-item-view:hover {
841
+ background: #fafafa;
842
+ }
843
+ .medialist-funhd-item-view .cover-view {
844
+ position: relative;
845
+ flex-shrink: 0;
846
+ width: 110px;
847
+ height: 70px;
848
+ margin-right: 20px;
849
+ background: #edf3ff;
850
+ }
851
+ .medialist-funhd-item-view .cover-view .image {
852
+ width: 100%;
853
+ height: 100%;
854
+ border-radius: 4px;
855
+ }
856
+ .medialist-funhd-item-view .cover-view .image img {
857
+ width: 100%;
858
+ height: 100%;
859
+ }
860
+ .medialist-funhd-item-view .cover-view .no-img {
861
+ display: flex;
862
+ align-items: center;
863
+ justify-content: center;
864
+ width: 100%;
865
+ height: 100%;
866
+ color: white;
867
+ font-size: 30px;
868
+ }
869
+ .medialist-funhd-item-view .info-view {
870
+ display: flex;
871
+ flex: 1;
872
+ flex-direction: column;
873
+ justify-content: space-between;
874
+ padding: 2px 0;
875
+ }
876
+ .medialist-funhd-item-view .info-view .title {
877
+ display: flex;
878
+ align-items: center;
879
+ margin-bottom: 10px;
880
+ overflow: hidden;
881
+ color: #1d2129;
882
+ font-weight: 400;
883
+ font-size: 14px;
884
+ font-style: normal;
885
+ line-height: 22px;
886
+ cursor: pointer;
887
+ -webkit-line-clamp: 2;
888
+ -webkit-box-orient: vertical;
889
+ }
890
+ .medialist-funhd-item-view .info-view .abttrite-v {
891
+ display: flex;
892
+ align-items: center;
893
+ justify-content: space-between;
894
+ }
895
+ .medialist-funhd-item-view .info-view .abttrite-v .left {
896
+ display: flex;
897
+ flex: 1;
898
+ align-items: center;
899
+ color: #808692;
900
+ font-size: 12px;
901
+ }
902
+ .medialist-funhd-item-view .info-view .abttrite-v .left .icon {
903
+ margin-right: 8px;
904
+ }
905
+ .medialist-funhd-item-view .info-view .abttrite-v .left .abttr {
906
+ display: inline-block;
907
+ width: 20%;
908
+ overflow: hidden;
909
+ white-space: nowrap;
910
+ text-overflow: ellipsis;
911
+ }
912
+ .medialist-funhd-item-view .info-view .abttrite-v .left .abttr.time {
913
+ width: 250px;
914
+ }
915
+ .medialist-funhd-item-view .info-view .abttrite-v .left .abttr.tags {
916
+ display: flex;
917
+ align-items: center;
918
+ width: 190px;
919
+ }
920
+ .medialist-funhd-item-view .info-view .abttrite-v .left .abttr.type {
921
+ display: inline-block;
922
+ width: 160px;
923
+ }
924
+ .medialist-funhd-item-view .info-view .abttrite-v .right {
925
+ margin-right: 20px;
926
+ }
743
927
  .gray-for-state-hide {
744
928
  -webkit-filter: grayscale(100%);
745
929
  -moz-filter: grayscale(100%);
@@ -7,6 +7,8 @@
7
7
  @import './Doc.less';
8
8
  @import './DocItem.less';
9
9
  @import './DocMpItem.less';
10
+ @import './courseItem.less';
11
+ @import './funhdItem.less';
10
12
 
11
13
  .gray-for-state-hide {
12
14
  -webkit-filter: grayscale(100%);
@@ -103,6 +103,7 @@ const _sfc_main = vue.defineComponent({
103
103
  onTabClick: tabsChange
104
104
  }, {
105
105
  default: vue.withCtx(() => [
106
+ vue.createCommentVNode(" \u680F\u76EE\u7A3F\u4EF6 "),
106
107
  typeDataController.value.addDoc ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
107
108
  key: "1",
108
109
  title: "\u680F\u76EE"
@@ -141,6 +142,7 @@ const _sfc_main = vue.defineComponent({
141
142
  ]),
142
143
  _: 1
143
144
  })) : vue.createCommentVNode("v-if", true),
145
+ vue.createCommentVNode(" \u9891\u9053 "),
144
146
  typeDataController.value.addContentList ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
145
147
  key: "2",
146
148
  title: "\u9891\u9053"
@@ -179,6 +181,7 @@ const _sfc_main = vue.defineComponent({
179
181
  ]),
180
182
  _: 1
181
183
  })) : vue.createCommentVNode("v-if", true),
184
+ vue.createCommentVNode(" \u7EC4\u4EF6 "),
182
185
  typeDataController.value.addCompo ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
183
186
  key: "5",
184
187
  title: "\u7EC4\u4EF6"
@@ -218,14 +221,15 @@ const _sfc_main = vue.defineComponent({
218
221
  ]),
219
222
  _: 1
220
223
  })) : vue.createCommentVNode("v-if", true),
221
- typeDataController.value.addCompo ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
224
+ vue.createCommentVNode(" \u4E92\u52A8\u76F4\u64AD "),
225
+ typeDataController.value.addILive ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
222
226
  key: "6",
223
227
  title: "\u4E92\u52A8\u76F4\u64AD"
224
228
  }, {
225
229
  default: vue.withCtx(() => [
226
230
  vue.unref(userInfo) && vue.unref(userInfo).repository_id ? (vue.openBlock(), vue.createBlock(index$4, {
227
231
  key: 0,
228
- columns: typeDataController.value.compoType,
232
+ columns: typeDataController.value.iliveType,
229
233
  "default-selected-data": selectedData.value,
230
234
  "max-select": _ctx.maxSelect,
231
235
  "outside-select-data": _ctx.outsideSelectData || [],
@@ -256,6 +260,7 @@ const _sfc_main = vue.defineComponent({
256
260
  ]),
257
261
  _: 1
258
262
  })) : vue.createCommentVNode("v-if", true),
263
+ vue.createCommentVNode(" \u516C\u4F17\u53F7\u8D26\u53F7 "),
259
264
  typeDataController.value.addMpAccount ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
260
265
  key: "7",
261
266
  title: vue.unref(mpName)
@@ -294,6 +299,7 @@ const _sfc_main = vue.defineComponent({
294
299
  ]),
295
300
  _: 1
296
301
  }, 8, ["title"])) : vue.createCommentVNode("v-if", true),
302
+ vue.createCommentVNode(" \u516C\u4F17\u53F7\u5185\u5BB9 "),
297
303
  typeDataController.value.addMpContent ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
298
304
  key: "8",
299
305
  title: `${vue.unref(mpName)}\u5185\u5BB9`
@@ -332,14 +338,15 @@ const _sfc_main = vue.defineComponent({
332
338
  ]),
333
339
  _: 1
334
340
  }, 8, ["title"])) : vue.createCommentVNode("v-if", true),
335
- typeDataController.value.addEqxiu ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
341
+ vue.createCommentVNode(" \u4E92\u52A8\u8FD0\u8425 "),
342
+ typeDataController.value.addFunhd ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
336
343
  key: "9",
337
344
  title: "\u4E92\u52A8\u8FD0\u8425"
338
345
  }, {
339
346
  default: vue.withCtx(() => [
340
347
  vue.unref(userInfo) && vue.unref(userInfo).repository_id ? (vue.openBlock(), vue.createBlock(index$7, {
341
348
  key: 0,
342
- columns: typeDataController.value.compoType,
349
+ columns: typeDataController.value.funhdType,
343
350
  "default-selected-data": selectedData.value,
344
351
  "max-select": _ctx.maxSelect,
345
352
  "outside-select-data": _ctx.outsideSelectData || [],
@@ -90,15 +90,15 @@ const _sfc_main = vue.defineComponent({
90
90
  params.gid = gid;
91
91
  }
92
92
  dataLoading.value = true;
93
- const { code, message } = await api.getEqxiuList(props.userInfo.BASE_API, params);
93
+ const res = await api.getEqxiuList(props.userInfo.BASE_API, params);
94
94
  dataLoading.value = false;
95
- if (code === 0) {
96
- const { count, data } = message;
95
+ if ((res == null ? void 0 : res.code) === 0) {
96
+ const { count, data } = res.message;
97
97
  mediaFileData.value = data.map((v) => {
98
- v.catalog = "doc";
98
+ v.catalog = "funhd";
99
99
  v.id = v.ID || v.id;
100
100
  v.target_id = v.ID || v.id;
101
- v.target_type = 3;
101
+ v.target_type = 17;
102
102
  v.pub_time = v.updateTime;
103
103
  v.update_time = v.updateTime;
104
104
  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/lib/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%);
@@ -44,7 +44,7 @@ const _sfc_main = vue.defineComponent({
44
44
  vue.createCommentVNode(" h5 "),
45
45
  vue.createVNode(vue.unref(vueCmstopIcons.IconH5))
46
46
  ], 2112)) : props.doc && props.type === "live" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 10 }, [
47
- vue.createCommentVNode(" \u76F4\u64AD "),
47
+ vue.createCommentVNode(" \u672C\u5730\u76F4\u64AD "),
48
48
  vue.createVNode(vue.unref(vueCmstopIcons.IconZhibo))
49
49
  ], 2112)) : props.resource && props.type === "image" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 11 }, [
50
50
  vue.createCommentVNode("------------------------------- \u7D20\u6750\u7C7B\u578B --------------------------------------"),
@@ -54,7 +54,22 @@ const _sfc_main = vue.defineComponent({
54
54
  vue.createCommentVNode("------------------------------- \u5176\u4ED6\u7C7B\u578B --------------------------------------"),
55
55
  vue.createCommentVNode(" \u516C\u4F17\u53F7\u7A3F\u4EF6 "),
56
56
  vue.createVNode(vue.unref(vueCmstopIcons.IconGongzhonghao))
57
- ], 2112)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 13 }, [
57
+ ], 2112)) : props.type === "ilive" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 13 }, [
58
+ vue.createCommentVNode(" \u4E91\u76F4\u64AD "),
59
+ vue.createVNode(vue.unref(vueCmstopIcons.IconZhibo))
60
+ ], 2112)) : props.type === "group" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 14 }, [
61
+ vue.createCommentVNode(" \u9891\u9053/\u7EC4\u4EF6 "),
62
+ vue.createVNode(vue.unref(vueCmstopIcons.IconSelectGroupoverview))
63
+ ], 2112)) : props.type === "nav" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 15 }, [
64
+ vue.createCommentVNode(" \u529F\u80FD\u5BFC\u822A "),
65
+ vue.createVNode(vue.unref(vueCmstopIcons.IconSelectVersion))
66
+ ], 2112)) : props.type === "course" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 16 }, [
67
+ vue.createCommentVNode(" \u8BFE\u7A0B "),
68
+ vue.createVNode(vue.unref(vueCmstopIcons.IconBook))
69
+ ], 2112)) : props.type === "funhd" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 17 }, [
70
+ vue.createCommentVNode(" \u4E92\u52A8\u8FD0\u8425 "),
71
+ vue.createVNode(vue.unref(vueCmstopIcons.IconEvent))
72
+ ], 2112)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 18 }, [
58
73
  vue.createCommentVNode(" \u5FAE\u4FE1\u7A3F\u4EF6 "),
59
74
  vue.createCommentVNode(" <icon-weixingaojian /> "),
60
75
  vue.createCommentVNode(" \u8F6E\u535A\u56FE\u96C6 "),
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  var axios = require("axios");
3
+ var webVue = require("@arco-design/web-vue");
3
4
  var auth = require("./auth.js");
4
5
  function _interopDefaultLegacy(e) {
5
6
  return e && typeof e === "object" && "default" in e ? e : { "default": e };
@@ -25,7 +26,10 @@ function request(BASE_API, options) {
25
26
  service.interceptors.response.use(
26
27
  (response) => {
27
28
  const res = response.data;
28
- if (res.code !== 0) {
29
+ if ((res == null ? void 0 : res.code) !== 0) {
30
+ if (res == null ? void 0 : res.real_error) {
31
+ webVue.Message.warning({ content: res.real_error });
32
+ }
29
33
  return Promise.reject(new Error(res.message || "Error"));
30
34
  }
31
35
  return res;