@cmstops/pro-compo 0.3.12 → 0.3.13

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.
@@ -639,6 +639,99 @@
639
639
  .popper-categories {
640
640
  max-width: 600px;
641
641
  }
642
+ .medialist-group-piece-item-view {
643
+ display: flex;
644
+ padding: 10px;
645
+ border-bottom: 1px solid #f0f0f0;
646
+ }
647
+ .medialist-group-piece-item-view:hover {
648
+ background: #fafafa;
649
+ }
650
+ .medialist-group-piece-item-view .cover-view {
651
+ position: relative;
652
+ flex-shrink: 0;
653
+ width: 110px;
654
+ height: 70px;
655
+ margin-right: 20px;
656
+ background: transparent;
657
+ }
658
+ .medialist-group-piece-item-view .cover-view .image {
659
+ width: 100%;
660
+ height: 100%;
661
+ border-radius: 4px;
662
+ }
663
+ .medialist-group-piece-item-view .cover-view .image img {
664
+ width: 100%;
665
+ height: 100%;
666
+ }
667
+ .medialist-group-piece-item-view .cover-view .no-img {
668
+ display: flex;
669
+ align-items: center;
670
+ justify-content: center;
671
+ width: 100%;
672
+ height: 100%;
673
+ color: white;
674
+ font-size: 30px;
675
+ }
676
+ .medialist-group-piece-item-view .info-view {
677
+ display: flex;
678
+ flex-direction: column;
679
+ justify-content: space-between;
680
+ width: calc(100% - 130px);
681
+ padding: 2px 0;
682
+ }
683
+ .medialist-group-piece-item-view .info-view .title {
684
+ display: flex;
685
+ align-items: center;
686
+ margin-bottom: 10px;
687
+ overflow: hidden;
688
+ color: #1d2129;
689
+ font-weight: 400;
690
+ font-size: 16px;
691
+ font-style: normal;
692
+ line-height: 22px;
693
+ cursor: pointer;
694
+ -webkit-line-clamp: 2;
695
+ -webkit-box-orient: vertical;
696
+ }
697
+ .medialist-group-piece-item-view .info-view .abttrite-v {
698
+ display: flex;
699
+ align-items: center;
700
+ justify-content: space-between;
701
+ }
702
+ .medialist-group-piece-item-view .info-view .abttrite-v .left {
703
+ display: flex;
704
+ flex: 1;
705
+ align-items: center;
706
+ min-width: 510px;
707
+ color: #808692;
708
+ font-size: 12px;
709
+ }
710
+ .medialist-group-piece-item-view .info-view .abttrite-v .left .icon {
711
+ margin-right: 8px;
712
+ }
713
+ .medialist-group-piece-item-view .info-view .abttrite-v .left .tags {
714
+ display: inline-block;
715
+ width: 200px;
716
+ overflow: hidden;
717
+ white-space: nowrap;
718
+ text-overflow: ellipsis;
719
+ cursor: pointer;
720
+ }
721
+ .medialist-group-piece-item-view .info-view .abttrite-v .left .abttr {
722
+ width: 35%;
723
+ overflow: hidden;
724
+ white-space: nowrap;
725
+ text-overflow: ellipsis;
726
+ cursor: pointer;
727
+ }
728
+ .medialist-group-piece-item-view .info-view .abttrite-v .left .abttr.value {
729
+ margin-left: 10px;
730
+ }
731
+ .medialist-group-piece-item-view .info-view .abttrite-v .right {
732
+ flex-shrink: 0;
733
+ margin-right: 20px;
734
+ }
642
735
  .medialist-mpdoc-item-view {
643
736
  display: flex;
644
737
  padding: 10px;
@@ -6,6 +6,7 @@
6
6
  @import './MaccountItem.less';
7
7
  @import './Doc.less';
8
8
  @import './DocItem.less';
9
+ @import './GroupPieceItem.less';
9
10
  @import './DocMpItem.less';
10
11
  @import './courseItem.less';
11
12
  @import './funhdItem.less';
package/lib/index.css CHANGED
@@ -2666,6 +2666,99 @@
2666
2666
  .popper-categories {
2667
2667
  max-width: 600px;
2668
2668
  }
2669
+ .medialist-group-piece-item-view {
2670
+ display: flex;
2671
+ padding: 10px;
2672
+ border-bottom: 1px solid #f0f0f0;
2673
+ }
2674
+ .medialist-group-piece-item-view:hover {
2675
+ background: #fafafa;
2676
+ }
2677
+ .medialist-group-piece-item-view .cover-view {
2678
+ position: relative;
2679
+ flex-shrink: 0;
2680
+ width: 110px;
2681
+ height: 70px;
2682
+ margin-right: 20px;
2683
+ background: transparent;
2684
+ }
2685
+ .medialist-group-piece-item-view .cover-view .image {
2686
+ width: 100%;
2687
+ height: 100%;
2688
+ border-radius: 4px;
2689
+ }
2690
+ .medialist-group-piece-item-view .cover-view .image img {
2691
+ width: 100%;
2692
+ height: 100%;
2693
+ }
2694
+ .medialist-group-piece-item-view .cover-view .no-img {
2695
+ display: flex;
2696
+ align-items: center;
2697
+ justify-content: center;
2698
+ width: 100%;
2699
+ height: 100%;
2700
+ color: white;
2701
+ font-size: 30px;
2702
+ }
2703
+ .medialist-group-piece-item-view .info-view {
2704
+ display: flex;
2705
+ flex-direction: column;
2706
+ justify-content: space-between;
2707
+ width: calc(100% - 130px);
2708
+ padding: 2px 0;
2709
+ }
2710
+ .medialist-group-piece-item-view .info-view .title {
2711
+ display: flex;
2712
+ align-items: center;
2713
+ margin-bottom: 10px;
2714
+ overflow: hidden;
2715
+ color: #1d2129;
2716
+ font-weight: 400;
2717
+ font-size: 16px;
2718
+ font-style: normal;
2719
+ line-height: 22px;
2720
+ cursor: pointer;
2721
+ -webkit-line-clamp: 2;
2722
+ -webkit-box-orient: vertical;
2723
+ }
2724
+ .medialist-group-piece-item-view .info-view .abttrite-v {
2725
+ display: flex;
2726
+ align-items: center;
2727
+ justify-content: space-between;
2728
+ }
2729
+ .medialist-group-piece-item-view .info-view .abttrite-v .left {
2730
+ display: flex;
2731
+ flex: 1;
2732
+ align-items: center;
2733
+ min-width: 510px;
2734
+ color: #808692;
2735
+ font-size: 12px;
2736
+ }
2737
+ .medialist-group-piece-item-view .info-view .abttrite-v .left .icon {
2738
+ margin-right: 8px;
2739
+ }
2740
+ .medialist-group-piece-item-view .info-view .abttrite-v .left .tags {
2741
+ display: inline-block;
2742
+ width: 200px;
2743
+ overflow: hidden;
2744
+ white-space: nowrap;
2745
+ text-overflow: ellipsis;
2746
+ cursor: pointer;
2747
+ }
2748
+ .medialist-group-piece-item-view .info-view .abttrite-v .left .abttr {
2749
+ width: 35%;
2750
+ overflow: hidden;
2751
+ white-space: nowrap;
2752
+ text-overflow: ellipsis;
2753
+ cursor: pointer;
2754
+ }
2755
+ .medialist-group-piece-item-view .info-view .abttrite-v .left .abttr.value {
2756
+ margin-left: 10px;
2757
+ }
2758
+ .medialist-group-piece-item-view .info-view .abttrite-v .right {
2759
+ flex-shrink: 0;
2760
+ margin-right: 20px;
2761
+ }
2669
2762
  .medialist-mpdoc-item-view {
2670
2763
  display: flex;
2671
2764
  padding: 10px;
@@ -111,7 +111,8 @@ const _sfc_main = vue.defineComponent({
111
111
  ])) : (vue.openBlock(), vue.createElementBlock("div", {
112
112
  key: 1,
113
113
  class: "item add-thumb",
114
- style: vue.normalizeStyle({ backgroundImage: `url(${waterBg})` })
114
+ style: vue.normalizeStyle({ backgroundImage: `url(${waterBg})` }),
115
+ onClick: openDialogMediaSelection
115
116
  }, [
116
117
  vue.createVNode(vue.unref(icon.IconPlus))
117
118
  ], 4))
@@ -18,7 +18,7 @@ const key_target_type_map = {
18
18
  16: "mp_content",
19
19
  17: "funhd",
20
20
  18: "course",
21
- 19: "matrix"
21
+ 19: "group_piece"
22
22
  };
23
23
  const approveFlowStatusMap = {
24
24
  1: "\u5BA1\u6838\u4E2D",
@@ -30,6 +30,11 @@ const approveFlowStatusMap = {
30
30
  7: "\u91CD\u65B0\u53D1\u8D77",
31
31
  8: "\u5DF2\u7ED3\u675F"
32
32
  };
33
+ const groupPieceType = {
34
+ category_list: "\u7ED1\u5B9A\u9891\u9053",
35
+ component: "\u7ED1\u5B9A\u7EC4\u4EF6",
36
+ special: "\u7ED1\u5B9A\u4E13\u9898"
37
+ };
33
38
  const componentsColumns = {
34
39
  banner: { value: "banner", label: "\u8F6E\u64AD\u7EC4\u4EF6" },
35
40
  top: { value: "top", label: "\u7F6E\u9876\u7EC4\u4EF6" },
@@ -45,7 +50,8 @@ const componentsColumns = {
45
50
  kongo: { value: "kongo", label: "\u529F\u80FD\u5BFC\u822A\u7EC4\u4EF6" },
46
51
  picture: { value: "picture", label: "\u56FE\u7247\u7EC4\u4EF6", simple: true },
47
52
  timeline: { value: "timeline", label: "\u65F6\u95F4\u94FE\u7EC4\u4EF6" },
48
- rank: { value: "rank", label: "\u699C\u5355\u7EC4\u4EF6" }
53
+ rank: { value: "rank", label: "\u699C\u5355\u7EC4\u4EF6" },
54
+ group_piece: { value: "group_piece", label: "\u5206\u7EC4\u7EC4\u4EF6" }
49
55
  };
50
56
  const compoColumnsMap = () => {
51
57
  const obj = {};
@@ -162,6 +168,7 @@ exports.componentsColumns = componentsColumns;
162
168
  exports.contentList_layout_map = contentList_layout_map;
163
169
  exports.contentList_list_type_map = contentList_list_type_map;
164
170
  exports.contentList_relation_type_map = contentList_relation_type_map;
171
+ exports.groupPieceType = groupPieceType;
165
172
  exports.ilive_type_map = ilive_type_map;
166
173
  exports.key_target_type_map = key_target_type_map;
167
174
  exports.kongo_source_map = kongo_source_map;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmstops/pro-compo",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vue",