@cmstops/pro-compo 0.1.20 → 0.1.22
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.
- package/dist/index.css +182 -3
- package/dist/index.min.css +1 -1
- package/es/baseFilter/component.js +187 -0
- package/es/baseFilter/index.d.ts +2 -0
- package/es/baseFilter/index.js +7 -0
- package/es/baseFilter/style/css.js +1 -0
- package/es/baseFilter/style/index.css +9 -0
- package/es/baseFilter/style/index.d.ts +1 -0
- package/es/baseFilter/style/index.js +1 -0
- package/es/baseFilter/style/index.less +10 -0
- package/es/contentDetailList/components/Content/DocItem/index.js +1 -1
- package/es/contentDetailList/components/Content/DocMpItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocMpItem/index.js +117 -0
- package/es/contentDetailList/components/Content/KongoNavItem/index.js +2 -2
- package/es/contentDetailList/components/Content/MaccountItem/index.js +1 -1
- package/es/contentDetailList/components/Content/index.js +43 -0
- package/es/contentDetailList/components/DocTags/index.d.ts +0 -0
- package/es/contentDetailList/components/{Content/KongoNavItem/DocTags → DocTags}/index.js +9 -4
- package/es/contentDetailList/style/ComoItem.less +1 -1
- package/es/contentDetailList/style/DocItem.less +1 -1
- package/es/contentDetailList/style/DocMpItem.less +136 -0
- package/es/contentDetailList/style/LiveItem.less +1 -1
- package/es/contentDetailList/style/index.css +118 -3
- package/es/contentDetailList/style/index.less +1 -0
- package/es/contentModal/component.js +0 -1
- package/es/contentModal/components/ViewAllColumn/index.js +1 -0
- package/es/editMetaInfo/component.d.ts +0 -0
- package/es/editMetaInfo/component.js +87 -0
- package/es/editMetaInfo/components/metaInfoForm.d.ts +0 -0
- package/es/editMetaInfo/components/metaInfoForm.js +621 -0
- package/es/editMetaInfo/index.d.ts +2 -0
- package/es/editMetaInfo/index.js +7 -0
- package/es/editMetaInfo/script/api.d.ts +6 -0
- package/es/editMetaInfo/script/api.js +17 -0
- package/es/editMetaInfo/script/restaurants.d.ts +4 -0
- package/es/editMetaInfo/script/restaurants.js +127 -0
- package/es/editMetaInfo/style/css.js +1 -0
- package/es/editMetaInfo/style/index.css +20 -0
- package/es/editMetaInfo/style/index.d.ts +1 -0
- package/es/editMetaInfo/style/index.js +1 -0
- package/es/editMetaInfo/style/index.less +30 -0
- package/es/hooks/dialogVisible.d.ts +8 -0
- package/es/hooks/dialogVisible.js +19 -0
- package/es/index.css +182 -3
- package/es/index.d.ts +2 -0
- package/es/index.js +2 -0
- package/es/index.less +2 -0
- package/es/selectThumb/component.js +3 -1
- package/es/selectThumb/components/colorPalette.js +32 -26
- package/es/selectThumb/components/colorPicker.d.ts +0 -0
- package/es/selectThumb/components/colorPicker.js +54 -0
- package/es/selectThumb/style/colorPalette.less +31 -0
- package/es/selectThumb/style/index.css +35 -0
- package/es/selectThumb/style/index.less +7 -0
- package/es/typeIcons/component.js +5 -2
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.js +16 -1
- package/es/utils/typeMap.d.ts +17 -13
- package/es/utils/typeMap.js +18 -2
- package/lib/baseFilter/component.js +188 -0
- package/lib/baseFilter/index.js +8 -0
- package/lib/baseFilter/style/css.js +2 -0
- package/lib/baseFilter/style/index.css +9 -0
- package/lib/baseFilter/style/index.js +2 -0
- package/lib/baseFilter/style/index.less +10 -0
- package/lib/contentDetailList/components/Content/DocItem/index.js +1 -1
- package/lib/contentDetailList/components/Content/DocMpItem/index.js +118 -0
- package/lib/contentDetailList/components/Content/KongoNavItem/index.js +2 -2
- package/lib/contentDetailList/components/Content/MaccountItem/index.js +1 -1
- package/lib/contentDetailList/components/Content/index.js +43 -0
- package/lib/contentDetailList/components/{Content/KongoNavItem/DocTags → DocTags}/index.js +9 -4
- package/lib/contentDetailList/style/ComoItem.less +1 -1
- package/lib/contentDetailList/style/DocItem.less +1 -1
- package/lib/contentDetailList/style/DocMpItem.less +136 -0
- package/lib/contentDetailList/style/LiveItem.less +1 -1
- package/lib/contentDetailList/style/index.css +118 -3
- package/lib/contentDetailList/style/index.less +1 -0
- package/lib/contentModal/component.js +0 -1
- package/lib/contentModal/components/ViewAllColumn/index.js +1 -0
- package/lib/editMetaInfo/component.js +88 -0
- package/lib/editMetaInfo/components/metaInfoForm.js +622 -0
- package/lib/editMetaInfo/index.js +8 -0
- package/lib/editMetaInfo/script/api.js +20 -0
- package/lib/editMetaInfo/script/restaurants.js +128 -0
- package/lib/editMetaInfo/style/css.js +2 -0
- package/lib/editMetaInfo/style/index.css +20 -0
- package/lib/editMetaInfo/style/index.js +2 -0
- package/lib/editMetaInfo/style/index.less +30 -0
- package/lib/hooks/dialogVisible.js +20 -0
- package/lib/index.css +182 -3
- package/lib/index.js +4 -0
- package/lib/index.less +2 -0
- package/lib/selectThumb/component.js +3 -1
- package/lib/selectThumb/components/colorPalette.js +32 -26
- package/lib/selectThumb/components/colorPicker.js +55 -0
- package/lib/selectThumb/style/colorPalette.less +31 -0
- package/lib/selectThumb/style/index.css +35 -0
- package/lib/selectThumb/style/index.less +7 -0
- package/lib/typeIcons/component.js +4 -1
- package/lib/utils/index.js +16 -0
- package/lib/utils/typeMap.js +19 -1
- package/package.json +9 -9
- /package/es/{contentDetailList/components/Content/KongoNavItem/DocTags/index.d.ts → baseFilter/component.d.ts} +0 -0
|
@@ -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("
|
|
5
|
-
var doc = require("
|
|
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.
|
|
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
|
])
|
|
@@ -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
|
+
}
|
|
@@ -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:
|
|
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:
|
|
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:
|
|
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%);
|
|
@@ -54,7 +54,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
54
54
|
};
|
|
55
55
|
const { userInfo, getUserInfoHandle } = user["default"](BASE_API);
|
|
56
56
|
const HandleOpen = () => {
|
|
57
|
-
console.log(props.outsideSelectData);
|
|
58
57
|
selectedData.value = props.defaultSelectedData || [];
|
|
59
58
|
};
|
|
60
59
|
const HandleClose = () => {
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
var webVue = require("@arco-design/web-vue");
|
|
4
|
+
var api = require("./script/api.js");
|
|
5
|
+
var metaInfoForm = require("./components/metaInfoForm.js");
|
|
6
|
+
var dialogVisible = require("../hooks/dialogVisible.js");
|
|
7
|
+
var config = require("../config.js");
|
|
8
|
+
const _hoisted_1 = { class: "edit-meta-info-container" };
|
|
9
|
+
const _hoisted_2 = { style: { "padding": "20px" } };
|
|
10
|
+
const _sfc_main = vue.defineComponent({
|
|
11
|
+
...{ name: "editMetaInfo" },
|
|
12
|
+
__name: "component",
|
|
13
|
+
props: {
|
|
14
|
+
BASE_API: {},
|
|
15
|
+
visible: { type: Boolean },
|
|
16
|
+
hashId: {}
|
|
17
|
+
},
|
|
18
|
+
emits: ["update:visible", "submit"],
|
|
19
|
+
setup(__props, { emit }) {
|
|
20
|
+
const props = __props;
|
|
21
|
+
const metaInfoFormRef = vue.ref();
|
|
22
|
+
const editorDataPubInfo = vue.ref(null);
|
|
23
|
+
const BASE_API = props.BASE_API || config.DEFAULT_BASE_API;
|
|
24
|
+
const handleOpen = async () => {
|
|
25
|
+
if (props.hashId) {
|
|
26
|
+
const { code, message } = await api.getDocDetailsNew(BASE_API, {
|
|
27
|
+
hashid: props.hashId
|
|
28
|
+
});
|
|
29
|
+
if (code === 0) {
|
|
30
|
+
editorDataPubInfo.value = {
|
|
31
|
+
id: message.id,
|
|
32
|
+
title: message.title,
|
|
33
|
+
series: message.series,
|
|
34
|
+
...message.meta
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
const { visible, setVisible } = dialogVisible(props, emit);
|
|
40
|
+
const handleOk = async () => {
|
|
41
|
+
const meta = await metaInfoFormRef.value.getFormData("valid");
|
|
42
|
+
if (meta) {
|
|
43
|
+
const data = { id: editorDataPubInfo.value.id, meta };
|
|
44
|
+
emit("submit", data);
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
const handleCancel = () => {
|
|
48
|
+
setVisible(false);
|
|
49
|
+
};
|
|
50
|
+
return (_ctx, _cache) => {
|
|
51
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
52
|
+
vue.createVNode(vue.unref(webVue.Modal), {
|
|
53
|
+
visible: vue.unref(visible),
|
|
54
|
+
width: "800px",
|
|
55
|
+
"mask-closable": false,
|
|
56
|
+
"title-align": "start",
|
|
57
|
+
"body-class": "edit-meta-info-dialog-body",
|
|
58
|
+
"unmount-on-close": "",
|
|
59
|
+
title: "\u7F16\u8F91\u7A3F\u7B7E",
|
|
60
|
+
onOpen: handleOpen,
|
|
61
|
+
onOk: handleOk,
|
|
62
|
+
onCancel: handleCancel
|
|
63
|
+
}, {
|
|
64
|
+
default: vue.withCtx(() => [
|
|
65
|
+
vue.createVNode(vue.unref(webVue.Scrollbar), {
|
|
66
|
+
"outer-style": "height: 60vh; overflow: auto",
|
|
67
|
+
style: { "height": "100%", "overflow": "auto" }
|
|
68
|
+
}, {
|
|
69
|
+
default: vue.withCtx(() => [
|
|
70
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
71
|
+
vue.createVNode(metaInfoForm, {
|
|
72
|
+
ref_key: "metaInfoFormRef",
|
|
73
|
+
ref: metaInfoFormRef,
|
|
74
|
+
BASE_API: vue.unref(BASE_API),
|
|
75
|
+
"init-data": editorDataPubInfo.value
|
|
76
|
+
}, null, 8, ["BASE_API", "init-data"])
|
|
77
|
+
])
|
|
78
|
+
]),
|
|
79
|
+
_: 1
|
|
80
|
+
})
|
|
81
|
+
]),
|
|
82
|
+
_: 1
|
|
83
|
+
}, 8, ["visible"])
|
|
84
|
+
]);
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
module.exports = _sfc_main;
|