@cmstops/pro-compo 0.1.21 → 0.1.23

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 (56) hide show
  1. package/dist/index.css +127 -3
  2. package/dist/index.min.css +1 -1
  3. package/es/baseFilter/component.js +188 -0
  4. package/es/baseFilter/index.d.ts +2 -0
  5. package/es/baseFilter/index.js +7 -0
  6. package/es/baseFilter/style/css.js +1 -0
  7. package/es/baseFilter/style/index.css +9 -0
  8. package/es/baseFilter/style/index.d.ts +1 -0
  9. package/es/baseFilter/style/index.js +1 -0
  10. package/es/baseFilter/style/index.less +10 -0
  11. package/es/contentDetailList/components/Content/DocItem/index.js +1 -1
  12. package/es/contentDetailList/components/Content/DocMpItem/index.d.ts +0 -0
  13. package/es/contentDetailList/components/Content/DocMpItem/index.js +117 -0
  14. package/es/contentDetailList/components/Content/KongoNavItem/index.js +2 -2
  15. package/es/contentDetailList/components/Content/MaccountItem/index.js +1 -1
  16. package/es/contentDetailList/components/Content/index.js +43 -0
  17. package/es/contentDetailList/components/DocTags/index.d.ts +0 -0
  18. package/es/contentDetailList/components/{Content/KongoNavItem/DocTags → DocTags}/index.js +9 -4
  19. package/es/contentDetailList/style/ComoItem.less +1 -1
  20. package/es/contentDetailList/style/DocItem.less +1 -1
  21. package/es/contentDetailList/style/DocMpItem.less +136 -0
  22. package/es/contentDetailList/style/LiveItem.less +1 -1
  23. package/es/contentDetailList/style/index.css +118 -3
  24. package/es/contentDetailList/style/index.less +1 -0
  25. package/es/index.css +127 -3
  26. package/es/index.d.ts +1 -0
  27. package/es/index.js +1 -0
  28. package/es/index.less +1 -0
  29. package/es/typeIcons/component.js +5 -2
  30. package/es/utils/typeMap.d.ts +17 -13
  31. package/es/utils/typeMap.js +18 -2
  32. package/lib/baseFilter/component.js +189 -0
  33. package/lib/baseFilter/index.js +8 -0
  34. package/lib/baseFilter/style/css.js +2 -0
  35. package/lib/baseFilter/style/index.css +9 -0
  36. package/lib/baseFilter/style/index.js +2 -0
  37. package/lib/baseFilter/style/index.less +10 -0
  38. package/lib/contentDetailList/components/Content/DocItem/index.js +1 -1
  39. package/lib/contentDetailList/components/Content/DocMpItem/index.js +118 -0
  40. package/lib/contentDetailList/components/Content/KongoNavItem/index.js +2 -2
  41. package/lib/contentDetailList/components/Content/MaccountItem/index.js +1 -1
  42. package/lib/contentDetailList/components/Content/index.js +43 -0
  43. package/lib/contentDetailList/components/{Content/KongoNavItem/DocTags → DocTags}/index.js +9 -4
  44. package/lib/contentDetailList/style/ComoItem.less +1 -1
  45. package/lib/contentDetailList/style/DocItem.less +1 -1
  46. package/lib/contentDetailList/style/DocMpItem.less +136 -0
  47. package/lib/contentDetailList/style/LiveItem.less +1 -1
  48. package/lib/contentDetailList/style/index.css +118 -3
  49. package/lib/contentDetailList/style/index.less +1 -0
  50. package/lib/index.css +127 -3
  51. package/lib/index.js +2 -0
  52. package/lib/index.less +1 -0
  53. package/lib/typeIcons/component.js +4 -1
  54. package/lib/utils/typeMap.js +19 -1
  55. package/package.json +9 -9
  56. /package/es/{contentDetailList/components/Content/KongoNavItem/DocTags/index.d.ts → baseFilter/component.d.ts} +0 -0
@@ -2,7 +2,7 @@
2
2
  var vue = require("vue");
3
3
  var webVue = require("@arco-design/web-vue");
4
4
  var component = require("../../../../typeIcons/component.js");
5
- var index = require("../KongoNavItem/DocTags/index.js");
5
+ var index = require("../../DocTags/index.js");
6
6
  var user = require("./temp/user.js");
7
7
  const _hoisted_1 = { class: "cover-view" };
8
8
  const _hoisted_2 = { class: "info-view" };
@@ -7,6 +7,7 @@ var index = require("./DocItem/index.js");
7
7
  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
+ var index$6 = require("./DocMpItem/index.js");
10
11
  const _hoisted_1 = { class: "index" };
11
12
  const _hoisted_2 = {
12
13
  key: 0,
@@ -75,6 +76,17 @@ const _hoisted_27 = {
75
76
  };
76
77
  const _hoisted_28 = { class: "doc-fixed-icon" };
77
78
  const _hoisted_29 = { class: "doc-fixed-num" };
79
+ const _hoisted_30 = { class: "index" };
80
+ const _hoisted_31 = {
81
+ key: 0,
82
+ class: "add_new"
83
+ };
84
+ const _hoisted_32 = {
85
+ key: 1,
86
+ class: "fix_position"
87
+ };
88
+ const _hoisted_33 = { class: "doc-fixed-icon" };
89
+ const _hoisted_34 = { class: "doc-fixed-num" };
78
90
  const _sfc_main = vue.defineComponent({
79
91
  __name: "index",
80
92
  props: {
@@ -277,6 +289,37 @@ const _sfc_main = vue.defineComponent({
277
289
  ]),
278
290
  _: 3
279
291
  }, 8, ["item"]))
292
+ ], 2112)) : _ctx.item.catalog === "mp_content" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 6 }, [
293
+ vue.createCommentVNode(" \u7A3F\u4EF6\uFF08\u516C\u4F17\u53F7\u7A3F\u4EF6\uFF09 "),
294
+ (vue.openBlock(), vue.createBlock(index$6, {
295
+ key: `doc-mp-${_ctx.item.post_id}`,
296
+ abttrites: _ctx.abttrites,
297
+ item: { ..._ctx.item, index: _ctx.index },
298
+ onClickTitle: clickTitle
299
+ }, {
300
+ index: vue.withCtx(() => [
301
+ vue.createElementVNode("span", _hoisted_30, vue.toDisplayString(_ctx.index + 1), 1)
302
+ ]),
303
+ tip: vue.withCtx(() => [
304
+ vue.createCommentVNode(" \u5148\u6DFB\u52A0\u6587\u4EF6\u8D44\u6E90\uFF0C\u672A\u53D1\u5E03 "),
305
+ _ctx.item._status ? (vue.openBlock(), vue.createElementBlock("i", _hoisted_31, [
306
+ vue.createVNode(vue.unref(icon.IconPenFill), { size: "16" })
307
+ ])) : vue.createCommentVNode("v-if", true),
308
+ _ctx.item.fix_position ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_32, [
309
+ vue.createElementVNode("i", _hoisted_33, [
310
+ vue.createVNode(vue.unref(icon.IconPushpin), { size: "16" })
311
+ ]),
312
+ vue.createElementVNode("span", _hoisted_34, vue.toDisplayString(_ctx.item.fix_position), 1)
313
+ ])) : vue.createCommentVNode("v-if", true)
314
+ ]),
315
+ option: vue.withCtx(() => [
316
+ vue.renderSlot(_ctx.$slots, "option", {
317
+ row: _ctx.item,
318
+ index: _ctx.index
319
+ })
320
+ ]),
321
+ _: 3
322
+ }, 8, ["abttrites", "item"]))
280
323
  ], 2112)) : vue.createCommentVNode("v-if", true)
281
324
  ], 2112);
282
325
  };
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  var vue = require("vue");
3
3
  var webVue = require("@arco-design/web-vue");
4
- var typeMap = require("../../../../../utils/typeMap.js");
5
- var doc = require("../../../../../utils/doc.js");
4
+ var typeMap = require("../../../utils/typeMap.js");
5
+ var doc = require("../../../utils/doc.js");
6
+ var component = require("../../../typeIcons/component.js");
6
7
  const _hoisted_1 = { class: "doc-tags-container" };
7
8
  const _hoisted_2 = { class: "doc-tags-thumb-ul" };
8
9
  const _hoisted_3 = ["src"];
@@ -143,7 +144,7 @@ const _sfc_main = vue.defineComponent({
143
144
  })) : vue.createCommentVNode("v-if", true),
144
145
  _ctx.item.sensitives ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tooltip), {
145
146
  key: 4,
146
- content: _ctx.item.sensitives,
147
+ content: `\u5305\u542B\u654F\u611F\u8BCD\uFF1A${_ctx.item.sensitives}`,
147
148
  position: "top"
148
149
  }, {
149
150
  default: vue.withCtx(() => [
@@ -175,7 +176,11 @@ const _sfc_main = vue.defineComponent({
175
176
  vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.contentList_list_type_map)[_ctx.item.mp_type]), 1)
176
177
  ]),
177
178
  _: 1
178
- })) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [
179
+ })) : _ctx.item.catalog === "mp_content" ? (vue.openBlock(), vue.createBlock(component, {
180
+ key: 3,
181
+ class: "icon",
182
+ type: "mpdoc"
183
+ })) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 4 }, [
179
184
  _ctx.item.list_type ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4, vue.toDisplayString(vue.unref(typeMap.contentList_list_type_map)[_ctx.item.list_type]), 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_5, "--"))
180
185
  ], 64))
181
186
  ])
@@ -81,7 +81,7 @@
81
81
  &.tags {
82
82
  display: flex;
83
83
  align-items: center;
84
- width: 175px;
84
+ width: 190px;
85
85
  }
86
86
  }
87
87
  }
@@ -95,7 +95,7 @@
95
95
 
96
96
  .tags {
97
97
  display: inline-block;
98
- width: 160px;
98
+ width: 190px;
99
99
  }
100
100
 
101
101
  .abttr {
@@ -0,0 +1,136 @@
1
+ .medialist-mpdoc-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
+
25
+ .batch-select {
26
+ position: absolute;
27
+ top: 3px;
28
+ left: 5px;
29
+ }
30
+
31
+ .arco-image-img {
32
+ width: 100%;
33
+ height: 100%;
34
+ border-radius: 4px;
35
+ }
36
+
37
+ .no-img {
38
+ display: flex;
39
+ align-items: center;
40
+ justify-content: center;
41
+ width: 100%;
42
+ height: 100%;
43
+ color: white;
44
+ font-size: 30px;
45
+ }
46
+ }
47
+
48
+ .info-view {
49
+ display: flex;
50
+ flex: 1;
51
+ flex-direction: column;
52
+ justify-content: space-between;
53
+ padding: 2px 0;
54
+
55
+ .title {
56
+ width: calc(100% - 50px);
57
+ display: flex;
58
+ align-items: center;
59
+ margin-bottom: 10px;
60
+ overflow: hidden;
61
+ color: #1d2129;
62
+ font-size: 14px;
63
+ font-style: normal;
64
+ font-weight: 400;
65
+ line-height: 22px;
66
+ cursor: pointer;
67
+ -webkit-line-clamp: 2;
68
+ -webkit-box-orient: vertical;
69
+
70
+ &:hover {
71
+ color: #4886ff;
72
+ text-decoration: underline;
73
+
74
+ .index {
75
+ text-decoration: unset;
76
+ }
77
+ }
78
+ }
79
+
80
+ .abttrite-v {
81
+ display: flex;
82
+ align-items: center;
83
+ justify-content: space-between;
84
+
85
+ .left {
86
+ display: flex;
87
+ flex: 1;
88
+ align-items: center;
89
+ color: #4e5969;
90
+ font-size: 12px;
91
+
92
+ .icon {
93
+ margin-right: 8px;
94
+ }
95
+
96
+ .tags {
97
+ display: inline-block;
98
+ width: 190px;
99
+ }
100
+
101
+ .abttr {
102
+ display: inline-block;
103
+ width: 20%;
104
+ margin-right: 10px;
105
+ overflow: hidden;
106
+ white-space: nowrap;
107
+ text-overflow: ellipsis;
108
+ cursor: pointer;
109
+
110
+ &.btn {
111
+ padding: 0;
112
+ text-align: left;
113
+
114
+ &:hover,
115
+ &:active {
116
+ background: transparent;
117
+ }
118
+ }
119
+
120
+ .btn {
121
+ padding: 0;
122
+ text-align: left;
123
+ }
124
+
125
+ &.time {
126
+ width: 30%;
127
+ }
128
+ }
129
+ }
130
+
131
+ .right {
132
+ margin-right: 20px;
133
+ }
134
+ }
135
+ }
136
+ }
@@ -85,7 +85,7 @@
85
85
  &.tags {
86
86
  display: flex;
87
87
  align-items: center;
88
- width: 160px;
88
+ width: 190px;
89
89
  }
90
90
 
91
91
  &.type {
@@ -114,7 +114,7 @@
114
114
  .medialist-component-item-view .info-view .abttrite-v .left .abttr.tags {
115
115
  display: flex;
116
116
  align-items: center;
117
- width: 175px;
117
+ width: 190px;
118
118
  }
119
119
  .medialist-component-item-view .info-view .abttrite-v .right {
120
120
  margin-right: 20px;
@@ -435,7 +435,7 @@
435
435
  .medialist-ilive-item-view .info-view .abttrite-v .left .abttr.tags {
436
436
  display: flex;
437
437
  align-items: center;
438
- width: 160px;
438
+ width: 190px;
439
439
  }
440
440
  .medialist-ilive-item-view .info-view .abttrite-v .left .abttr.type {
441
441
  display: inline-block;
@@ -624,7 +624,7 @@
624
624
  }
625
625
  .medialist-doc-item-view .info-view .abttrite-v .left .tags {
626
626
  display: inline-block;
627
- width: 160px;
627
+ width: 190px;
628
628
  }
629
629
  .medialist-doc-item-view .info-view .abttrite-v .left .abttr {
630
630
  display: inline-block;
@@ -656,6 +656,121 @@
656
656
  .popper-categories {
657
657
  max-width: 600px;
658
658
  }
659
+ .medialist-mpdoc-item-view {
660
+ display: flex;
661
+ padding: 10px;
662
+ border-bottom: 1px solid #f0f0f0;
663
+ }
664
+ .medialist-mpdoc-item-view:hover {
665
+ background: #fafafa;
666
+ }
667
+ .medialist-mpdoc-item-view .cover-view {
668
+ position: relative;
669
+ flex-shrink: 0;
670
+ width: 110px;
671
+ height: 70px;
672
+ margin-right: 20px;
673
+ background: #edf3ff;
674
+ }
675
+ .medialist-mpdoc-item-view .cover-view .image {
676
+ width: 100%;
677
+ height: 100%;
678
+ border-radius: 4px;
679
+ }
680
+ .medialist-mpdoc-item-view .cover-view .batch-select {
681
+ position: absolute;
682
+ top: 3px;
683
+ left: 5px;
684
+ }
685
+ .medialist-mpdoc-item-view .cover-view .arco-image-img {
686
+ width: 100%;
687
+ height: 100%;
688
+ border-radius: 4px;
689
+ }
690
+ .medialist-mpdoc-item-view .cover-view .no-img {
691
+ display: flex;
692
+ align-items: center;
693
+ justify-content: center;
694
+ width: 100%;
695
+ height: 100%;
696
+ color: white;
697
+ font-size: 30px;
698
+ }
699
+ .medialist-mpdoc-item-view .info-view {
700
+ display: flex;
701
+ flex: 1;
702
+ flex-direction: column;
703
+ justify-content: space-between;
704
+ padding: 2px 0;
705
+ }
706
+ .medialist-mpdoc-item-view .info-view .title {
707
+ width: calc(100% - 50px);
708
+ display: flex;
709
+ align-items: center;
710
+ margin-bottom: 10px;
711
+ overflow: hidden;
712
+ color: #1d2129;
713
+ font-size: 14px;
714
+ font-style: normal;
715
+ font-weight: 400;
716
+ line-height: 22px;
717
+ cursor: pointer;
718
+ -webkit-line-clamp: 2;
719
+ -webkit-box-orient: vertical;
720
+ }
721
+ .medialist-mpdoc-item-view .info-view .title:hover {
722
+ color: #4886ff;
723
+ text-decoration: underline;
724
+ }
725
+ .medialist-mpdoc-item-view .info-view .title:hover .index {
726
+ text-decoration: unset;
727
+ }
728
+ .medialist-mpdoc-item-view .info-view .abttrite-v {
729
+ display: flex;
730
+ align-items: center;
731
+ justify-content: space-between;
732
+ }
733
+ .medialist-mpdoc-item-view .info-view .abttrite-v .left {
734
+ display: flex;
735
+ flex: 1;
736
+ align-items: center;
737
+ color: #4e5969;
738
+ font-size: 12px;
739
+ }
740
+ .medialist-mpdoc-item-view .info-view .abttrite-v .left .icon {
741
+ margin-right: 8px;
742
+ }
743
+ .medialist-mpdoc-item-view .info-view .abttrite-v .left .tags {
744
+ display: inline-block;
745
+ width: 190px;
746
+ }
747
+ .medialist-mpdoc-item-view .info-view .abttrite-v .left .abttr {
748
+ display: inline-block;
749
+ width: 20%;
750
+ margin-right: 10px;
751
+ overflow: hidden;
752
+ white-space: nowrap;
753
+ text-overflow: ellipsis;
754
+ cursor: pointer;
755
+ }
756
+ .medialist-mpdoc-item-view .info-view .abttrite-v .left .abttr.btn {
757
+ padding: 0;
758
+ text-align: left;
759
+ }
760
+ .medialist-mpdoc-item-view .info-view .abttrite-v .left .abttr.btn:hover,
761
+ .medialist-mpdoc-item-view .info-view .abttrite-v .left .abttr.btn:active {
762
+ background: transparent;
763
+ }
764
+ .medialist-mpdoc-item-view .info-view .abttrite-v .left .abttr .btn {
765
+ padding: 0;
766
+ text-align: left;
767
+ }
768
+ .medialist-mpdoc-item-view .info-view .abttrite-v .left .abttr.time {
769
+ width: 30%;
770
+ }
771
+ .medialist-mpdoc-item-view .info-view .abttrite-v .right {
772
+ margin-right: 20px;
773
+ }
659
774
  .gray-for-state-hide {
660
775
  -webkit-filter: grayscale(100%);
661
776
  -moz-filter: grayscale(100%);
@@ -7,6 +7,7 @@
7
7
  @import './MaccountItem.less';
8
8
  @import './Doc.less';
9
9
  @import './DocItem.less';
10
+ @import './DocMpItem.less';
10
11
 
11
12
  .gray-for-state-hide {
12
13
  -webkit-filter: grayscale(100%);
package/lib/index.css CHANGED
@@ -1887,7 +1887,7 @@
1887
1887
  .medialist-component-item-view .info-view .abttrite-v .left .abttr.tags {
1888
1888
  display: flex;
1889
1889
  align-items: center;
1890
- width: 175px;
1890
+ width: 190px;
1891
1891
  }
1892
1892
  .medialist-component-item-view .info-view .abttrite-v .right {
1893
1893
  margin-right: 20px;
@@ -2208,7 +2208,7 @@
2208
2208
  .medialist-ilive-item-view .info-view .abttrite-v .left .abttr.tags {
2209
2209
  display: flex;
2210
2210
  align-items: center;
2211
- width: 160px;
2211
+ width: 190px;
2212
2212
  }
2213
2213
  .medialist-ilive-item-view .info-view .abttrite-v .left .abttr.type {
2214
2214
  display: inline-block;
@@ -2397,7 +2397,7 @@
2397
2397
  }
2398
2398
  .medialist-doc-item-view .info-view .abttrite-v .left .tags {
2399
2399
  display: inline-block;
2400
- width: 160px;
2400
+ width: 190px;
2401
2401
  }
2402
2402
  .medialist-doc-item-view .info-view .abttrite-v .left .abttr {
2403
2403
  display: inline-block;
@@ -2429,6 +2429,121 @@
2429
2429
  .popper-categories {
2430
2430
  max-width: 600px;
2431
2431
  }
2432
+ .medialist-mpdoc-item-view {
2433
+ display: flex;
2434
+ padding: 10px;
2435
+ border-bottom: 1px solid #f0f0f0;
2436
+ }
2437
+ .medialist-mpdoc-item-view:hover {
2438
+ background: #fafafa;
2439
+ }
2440
+ .medialist-mpdoc-item-view .cover-view {
2441
+ position: relative;
2442
+ flex-shrink: 0;
2443
+ width: 110px;
2444
+ height: 70px;
2445
+ margin-right: 20px;
2446
+ background: #edf3ff;
2447
+ }
2448
+ .medialist-mpdoc-item-view .cover-view .image {
2449
+ width: 100%;
2450
+ height: 100%;
2451
+ border-radius: 4px;
2452
+ }
2453
+ .medialist-mpdoc-item-view .cover-view .batch-select {
2454
+ position: absolute;
2455
+ top: 3px;
2456
+ left: 5px;
2457
+ }
2458
+ .medialist-mpdoc-item-view .cover-view .arco-image-img {
2459
+ width: 100%;
2460
+ height: 100%;
2461
+ border-radius: 4px;
2462
+ }
2463
+ .medialist-mpdoc-item-view .cover-view .no-img {
2464
+ display: flex;
2465
+ align-items: center;
2466
+ justify-content: center;
2467
+ width: 100%;
2468
+ height: 100%;
2469
+ color: white;
2470
+ font-size: 30px;
2471
+ }
2472
+ .medialist-mpdoc-item-view .info-view {
2473
+ display: flex;
2474
+ flex: 1;
2475
+ flex-direction: column;
2476
+ justify-content: space-between;
2477
+ padding: 2px 0;
2478
+ }
2479
+ .medialist-mpdoc-item-view .info-view .title {
2480
+ width: calc(100% - 50px);
2481
+ display: flex;
2482
+ align-items: center;
2483
+ margin-bottom: 10px;
2484
+ overflow: hidden;
2485
+ color: #1d2129;
2486
+ font-size: 14px;
2487
+ font-style: normal;
2488
+ font-weight: 400;
2489
+ line-height: 22px;
2490
+ cursor: pointer;
2491
+ -webkit-line-clamp: 2;
2492
+ -webkit-box-orient: vertical;
2493
+ }
2494
+ .medialist-mpdoc-item-view .info-view .title:hover {
2495
+ color: #4886ff;
2496
+ text-decoration: underline;
2497
+ }
2498
+ .medialist-mpdoc-item-view .info-view .title:hover .index {
2499
+ text-decoration: unset;
2500
+ }
2501
+ .medialist-mpdoc-item-view .info-view .abttrite-v {
2502
+ display: flex;
2503
+ align-items: center;
2504
+ justify-content: space-between;
2505
+ }
2506
+ .medialist-mpdoc-item-view .info-view .abttrite-v .left {
2507
+ display: flex;
2508
+ flex: 1;
2509
+ align-items: center;
2510
+ color: #4e5969;
2511
+ font-size: 12px;
2512
+ }
2513
+ .medialist-mpdoc-item-view .info-view .abttrite-v .left .icon {
2514
+ margin-right: 8px;
2515
+ }
2516
+ .medialist-mpdoc-item-view .info-view .abttrite-v .left .tags {
2517
+ display: inline-block;
2518
+ width: 190px;
2519
+ }
2520
+ .medialist-mpdoc-item-view .info-view .abttrite-v .left .abttr {
2521
+ display: inline-block;
2522
+ width: 20%;
2523
+ margin-right: 10px;
2524
+ overflow: hidden;
2525
+ white-space: nowrap;
2526
+ text-overflow: ellipsis;
2527
+ cursor: pointer;
2528
+ }
2529
+ .medialist-mpdoc-item-view .info-view .abttrite-v .left .abttr.btn {
2530
+ padding: 0;
2531
+ text-align: left;
2532
+ }
2533
+ .medialist-mpdoc-item-view .info-view .abttrite-v .left .abttr.btn:hover,
2534
+ .medialist-mpdoc-item-view .info-view .abttrite-v .left .abttr.btn:active {
2535
+ background: transparent;
2536
+ }
2537
+ .medialist-mpdoc-item-view .info-view .abttrite-v .left .abttr .btn {
2538
+ padding: 0;
2539
+ text-align: left;
2540
+ }
2541
+ .medialist-mpdoc-item-view .info-view .abttrite-v .left .abttr.time {
2542
+ width: 30%;
2543
+ }
2544
+ .medialist-mpdoc-item-view .info-view .abttrite-v .right {
2545
+ margin-right: 20px;
2546
+ }
2432
2547
  .gray-for-state-hide {
2433
2548
  -webkit-filter: grayscale(100%);
2434
2549
  -moz-filter: grayscale(100%);
@@ -2790,3 +2905,12 @@
2790
2905
  .edit-meta-info-dialog-body .input-w {
2791
2906
  width: 450px;
2792
2907
  }
2908
+ .base-filter-container {
2909
+ display: flex;
2910
+ align-items: center;
2911
+ justify-content: space-between;
2912
+ }
2913
+ .base-filter-container .left {
2914
+ display: flex;
2915
+ align-items: center;
2916
+ }
package/lib/index.js CHANGED
@@ -19,6 +19,7 @@ var index$e = require("./selectAvatarList/index.js");
19
19
  var index$f = require("./userDirector/index.js");
20
20
  var index$g = require("./selectThumb/index.js");
21
21
  var index$h = require("./editMetaInfo/index.js");
22
+ var index$i = require("./baseFilter/index.js");
22
23
  exports["default"] = components;
23
24
  exports.appCenter = index;
24
25
  exports.messageBox = index$1;
@@ -38,3 +39,4 @@ exports.selectAvatarList = index$e;
38
39
  exports.userDirector = index$f;
39
40
  exports.selectThumb = index$g;
40
41
  exports.editMetaInfo = index$h;
42
+ exports.baseFilter = index$i;
package/lib/index.less CHANGED
@@ -17,3 +17,4 @@
17
17
  @import './userDirector/style/index.less';
18
18
  @import './selectThumb/style/index.less';
19
19
  @import './editMetaInfo/style/index.less';
20
+ @import './baseFilter/style/index.less';
@@ -47,8 +47,11 @@ const _sfc_main = vue.defineComponent({
47
47
  vue.createCommentVNode("------------------------------- \u7D20\u6750\u7C7B\u578B --------------------------------------"),
48
48
  vue.createCommentVNode(" \u56FE\u7247 "),
49
49
  vue.createVNode(vue.unref(vueCmstopIcons.IconTupian))
50
- ], 2112)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 11 }, [
50
+ ], 2112)) : props.type === "mpdoc" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 11 }, [
51
51
  vue.createCommentVNode("------------------------------- \u5176\u4ED6\u7C7B\u578B --------------------------------------"),
52
+ vue.createCommentVNode(" \u516C\u4F17\u53F7\u7A3F\u4EF6 "),
53
+ vue.createVNode(vue.unref(vueCmstopIcons.IconGongzhonghao))
54
+ ], 2112)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 12 }, [
52
55
  vue.createCommentVNode(" \u5FAE\u4FE1\u7A3F\u4EF6 "),
53
56
  vue.createCommentVNode(" <icon-weixingaojian /> "),
54
57
  vue.createCommentVNode(" \u8F6E\u535A\u56FE\u96C6 "),
@@ -22,7 +22,10 @@ const componentsColumns = {
22
22
  tv: { value: "tv", label: "\u7535\u89C6\u7EC4\u4EF6", simple: true },
23
23
  mp_account: { value: "mp_account", label: "\u516C\u4F17\u53F7\u7EC4\u4EF6" },
24
24
  column: { value: "column", label: "\u5206\u680F\u7EC4\u4EF6" },
25
- kongo: { value: "kongo", label: "\u529F\u80FD\u5BFC\u822A\u7EC4\u4EF6" }
25
+ kongo: { value: "kongo", label: "\u529F\u80FD\u5BFC\u822A\u7EC4\u4EF6" },
26
+ picture: { value: "picture", label: "\u56FE\u7247\u7EC4\u4EF6", simple: true },
27
+ timeline: { value: "timeline", label: "\u65F6\u95F4\u94FE\u7EC4\u4EF6" },
28
+ rank: { value: "rank", label: "\u699C\u5355\u7EC4\u4EF6" }
26
29
  };
27
30
  const compoColumnsMap = () => {
28
31
  const obj = {};
@@ -58,6 +61,19 @@ const contentList_layout_map = {
58
61
  timeline: "\u65F6\u95F4\u94FE",
59
62
  lbs: "LBS\u9891\u9053"
60
63
  };
64
+ const mp_type_map = {
65
+ 1: "\u4E2A\u4EBA\u53F7",
66
+ 2: "\u7EC4\u7EC7\u53F7"
67
+ };
68
+ const mpTypeOptions = () => {
69
+ const arr = Object.keys(mp_type_map).map((key) => {
70
+ return {
71
+ value: key,
72
+ label: mp_type_map[key]
73
+ };
74
+ });
75
+ return [{ value: "", label: "\u5168\u90E8" }, ...arr];
76
+ };
61
77
  const kongo_source_map = {
62
78
  app: "\u5E94\u7528",
63
79
  url: "\u94FE\u63A5",
@@ -95,3 +111,5 @@ exports.contentList_layout_map = contentList_layout_map;
95
111
  exports.contentList_list_type_map = contentList_list_type_map;
96
112
  exports.contentList_relation_type_map = contentList_relation_type_map;
97
113
  exports.kongo_source_map = kongo_source_map;
114
+ exports.mpTypeOptions = mpTypeOptions;
115
+ exports.mp_type_map = mp_type_map;