@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
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var restaurants = [
|
|
3
|
+
{ value: "\u4EBA\u6C11\u89C6\u9891\u5BA2\u6237\u7AEF" },
|
|
4
|
+
{ value: "\u4E2D\u56FD\u9752\u5E74\u62A5\u5BA2\u6237\u7AEF" },
|
|
5
|
+
{ value: "\u592E\u89C6\u65B0\u95FB\u5BA2\u6237\u7AEF" },
|
|
6
|
+
{ value: "\u592E\u89C6\u7F51" },
|
|
7
|
+
{ value: "\u65B0\u534E\u793E" },
|
|
8
|
+
{ value: "\u65B0\u534E\u7F51" },
|
|
9
|
+
{ value: "\u4EBA\u6C11\u7F51" },
|
|
10
|
+
{ value: "\u68A8\u89C6\u9891" },
|
|
11
|
+
{ value: "\u5317\u9752\u7F51" },
|
|
12
|
+
{ value: "21\u4E16\u7EAA\u7ECF\u6D4E\u62A5\u9053" },
|
|
13
|
+
{ value: "\u4E0A\u89C2\u65B0\u95FB" },
|
|
14
|
+
{ value: "\u4E1C\u5317\u65B0\u95FB\u7F51" },
|
|
15
|
+
{ value: "\u4E1C\u5317\u7F51" },
|
|
16
|
+
{ value: "\u4E1C\u5357\u7F51" },
|
|
17
|
+
{ value: "\u4E1C\u65B9\u7F51" },
|
|
18
|
+
{ value: "\u4E2D\u534E\u5973\u6027\u7F51" },
|
|
19
|
+
{ value: "\u4E2D\u56FD\u53F0\u6E7E\u7F51" },
|
|
20
|
+
{ value: "\u4E2D\u56FD\u5409\u6797\u7F51" },
|
|
21
|
+
{ value: "\u4E2D\u56FD\u5546\u52A1\u65B0\u95FB\u7F51" },
|
|
22
|
+
{ value: "\u4E2D\u56FD\u5C71\u4E1C\u7F51" },
|
|
23
|
+
{ value: "\u4E2D\u56FD\u6444\u5F71\u62A5" },
|
|
24
|
+
{ value: "\u4E2D\u56FD\u6559\u80B2\u5728\u7EBF" },
|
|
25
|
+
{ value: "\u4E2D\u56FD\u6559\u80B2\u65B0\u95FB\u7F51" },
|
|
26
|
+
{ value: "\u4E2D\u56FD\u65E5\u62A5\u7F51" },
|
|
27
|
+
{ value: "\u4E2D\u56FD\u6C5F\u82CF\u7F51" },
|
|
28
|
+
{ value: "\u4E2D\u56FD\u6C5F\u897F\u7F51" },
|
|
29
|
+
{ value: "\u4E2D\u56FD\u7518\u8083\u7F51" },
|
|
30
|
+
{ value: "\u4E2D\u56FD\u7ECF\u8425\u7F51" },
|
|
31
|
+
{ value: "\u4E2D\u56FD\u7F51" },
|
|
32
|
+
{ value: "\u4E2D\u56FD\u822A\u5929\u79D1\u6280\u96C6\u56E2\u6709\u9650\u516C\u53F8\u7F51\u7AD9" },
|
|
33
|
+
{ value: "\u4E2D\u56FD\u897F\u85CF\u7F51" },
|
|
34
|
+
{ value: "\u4E2D\u56FD\u8B66\u5BDF\u7F51" },
|
|
35
|
+
{ value: "\u4E2D\u56FD\u8D28\u91CF\u65B0\u95FB\u7F51" },
|
|
36
|
+
{ value: "\u4E2D\u592E\u53A8\u623F" },
|
|
37
|
+
{ value: "\u4E2D\u5DE5\u7F51" },
|
|
38
|
+
{ value: "\u4E2D\u65B0\u7ECF\u7EAC" },
|
|
39
|
+
{ value: "\u4E2D\u65B0\u7F51" },
|
|
40
|
+
{ value: "\u4E2D\u7ECF\u7F51" },
|
|
41
|
+
{ value: "\u4E91\u5357\u7F51" },
|
|
42
|
+
{ value: "\u4EA4\u6C47\u70B9" },
|
|
43
|
+
{ value: "\u5149\u660E\u7F51" },
|
|
44
|
+
{ value: "\u5317\u4EAC\u5546\u62A5" },
|
|
45
|
+
{ value: "\u5317\u4EAC\u65F6\u95F4" },
|
|
46
|
+
{ value: "\u5317\u4EAC\u6668\u62A5\u7F51" },
|
|
47
|
+
{ value: "\u5317\u56FD\u7F51" },
|
|
48
|
+
{ value: "\u5317\u65B9\u7F51" },
|
|
49
|
+
{ value: "\u5343\u9F99\u65B0\u95FB\u7F51" },
|
|
50
|
+
{ value: "\u534E\u58F0\u5728\u7EBF" },
|
|
51
|
+
{ value: "\u534E\u9F99\u7F51" },
|
|
52
|
+
{ value: "\u5357\u4EAC\u6668\u62A5\u7F51" },
|
|
53
|
+
{ value: "\u5357\u65B9\u65E5\u62A5" },
|
|
54
|
+
{ value: "\u5357\u6D77\u7F51" },
|
|
55
|
+
{ value: "\u53F0\u6D77\u7F51" },
|
|
56
|
+
{ value: "\u56DB\u5DDD\u65B0\u95FB\u7F51" },
|
|
57
|
+
{ value: "\u56FD\u9645\u5728\u7EBF" },
|
|
58
|
+
{ value: "\u591A\u5F69\u8D35\u5DDE\u7F51" },
|
|
59
|
+
{ value: "\u5927\u4F17\u7F51" },
|
|
60
|
+
{ value: "\u5927\u516C\u7F51" },
|
|
61
|
+
{ value: "\u5927\u6CB3\u7F51" },
|
|
62
|
+
{ value: "\u5B81\u590F\u65B0\u95FB\u7F51" },
|
|
63
|
+
{ value: "\u5BA2\u5BB6\u65B0\u95FB\u7F51" },
|
|
64
|
+
{ value: "\u5C01\u9762\u65B0\u95FB\u7F51" },
|
|
65
|
+
{ value: "\u5E02\u573A\u77AD\u671B" },
|
|
66
|
+
{ value: "\u5E02\u573A\u89C2\u5BDF\u7F51" },
|
|
67
|
+
{ value: "\u5E7F\u897F\u65B0\u95FB\u7F51" },
|
|
68
|
+
{ value: "\u626C\u5B50\u665A\u62A5\u7F51" },
|
|
69
|
+
{ value: "\u6536\u85CF\u5FEB\u62A5" },
|
|
70
|
+
{ value: "\u6587\u6C47\u62A5" },
|
|
71
|
+
{ value: "\u65B0\u534E\u62A5\u4E1A\u7F51" },
|
|
72
|
+
{ value: "\u65B0\u534E\u65E5\u62A5\u8D22\u7ECF\u7F51" },
|
|
73
|
+
{ value: "\u65B0\u6C11\u665A\u62A5/\u65B0\u6C11\u7F51" },
|
|
74
|
+
{ value: "\u65B0\u6D6A\u4E50\u5C45" },
|
|
75
|
+
{ value: "\u65B0\u7586\u5929\u5C71\u7F51" },
|
|
76
|
+
{ value: "\u664B\u6C5F\u7ECF\u6D4E\u62A5" },
|
|
77
|
+
{ value: "\u6B63\u4E49\u7F51" },
|
|
78
|
+
{ value: "\u6BCF\u5468\u6587\u6458" },
|
|
79
|
+
{ value: "\u6C5F\u5357\u65F6\u62A5\u7F51" },
|
|
80
|
+
{ value: "\u6C5F\u82CF\u7ECF\u6D4E\u7F51" },
|
|
81
|
+
{ value: "\u6C5F\u82CF\u8206\u60C5\u89C2\u5BDF" },
|
|
82
|
+
{ value: "\u6CB3\u5317\u5171\u4EA7\u515A\u5458\u7F51" },
|
|
83
|
+
{ value: "\u6CB3\u5317\u65B0\u95FB\u7F51" },
|
|
84
|
+
{ value: "\u6CB3\u5317\u7ECF\u6D4E\u7F51" },
|
|
85
|
+
{ value: "\u6CB3\u9752\u7F51" },
|
|
86
|
+
{ value: "\u6CD5\u5236\u7F51" },
|
|
87
|
+
{ value: "\u6D59\u6C5F\u5728\u7EBF" },
|
|
88
|
+
{ value: "\u6D77\u4E1D\u5546\u62A5" },
|
|
89
|
+
{ value: "\u6D77\u5916\u7F51" },
|
|
90
|
+
{ value: "\u6D77\u5CE1\u5BFC\u62A5" },
|
|
91
|
+
{ value: "\u6D77\u5CE1\u6559\u80B2\u62A5" },
|
|
92
|
+
{ value: "\u6D77\u5CE1\u6CD5\u6CBB\u5728\u7EBF" },
|
|
93
|
+
{ value: "\u6D77\u5CE1\u6D88\u8D39\u62A5" },
|
|
94
|
+
{ value: "\u6D77\u5CE1\u7F51" },
|
|
95
|
+
{ value: "\u6D77\u5CE1\u90FD\u5E02\u62A5" },
|
|
96
|
+
{ value: "\u6DF1\u5733\u65B0\u95FB\u7F51" },
|
|
97
|
+
{ value: "\u6DF1\u5733\u65E5\u62A5" },
|
|
98
|
+
{ value: "\u6F8E\u6E43\u65B0\u95FB" },
|
|
99
|
+
{ value: "\u73AF\u7403\u7F51" },
|
|
100
|
+
{ value: "\u7709\u5C71\u7F51" },
|
|
101
|
+
{ value: "\u77F3\u5BB6\u5E84\u65B0\u95FB\u7F51" },
|
|
102
|
+
{ value: "\u77F3\u72EE\u65E5\u62A5" },
|
|
103
|
+
{ value: "\u798F\u5EFA\u65E5\u62A5" },
|
|
104
|
+
{ value: "\u798F\u5EFA\u6CD5\u6CBB\u62A5" },
|
|
105
|
+
{ value: "\u79D1\u6280\u65E5\u62A5" },
|
|
106
|
+
{ value: "\u79D1\u666E\u4E2D\u56FD" },
|
|
107
|
+
{ value: "\u79E6\u7687\u5C9B\u65B0\u95FB\u7F51" },
|
|
108
|
+
{ value: "\u7B2C\u4E00\u751F\u6D3B\u7F51\uFF08\u77E5\u97F3\uFF09" },
|
|
109
|
+
{ value: "\u7EA2\u7F51" },
|
|
110
|
+
{ value: "\u7ECF\u6D4E\u89C2\u5BDF\u62A5" },
|
|
111
|
+
{ value: "\u897F\u90E8\u7F51" },
|
|
112
|
+
{ value: "\u89C2\u5BDF\u8005\u7F51" },
|
|
113
|
+
{ value: "\u8D22\u7ECF\u7F51" },
|
|
114
|
+
{ value: "\u90D1\u5DDE\u665A\u62A5" },
|
|
115
|
+
{ value: "\u91CD\u5E86\u534E\u9F99\u7F51" },
|
|
116
|
+
{ value: "\u91D1\u7F8A\u7F51" },
|
|
117
|
+
{ value: "\u91D1\u878D\u754C" },
|
|
118
|
+
{ value: "\u957F\u57CE\u7F51" },
|
|
119
|
+
{ value: "\u957F\u6C5F\u4E91" },
|
|
120
|
+
{ value: "\u957F\u6C5F\u7F51" },
|
|
121
|
+
{ value: "\u95FD\u5357\u7F51" },
|
|
122
|
+
{ value: "\u9655\u897F\u5934\u6761" },
|
|
123
|
+
{ value: "\u9C81\u7F51" },
|
|
124
|
+
{ value: "\u9EC4\u6CB3\u65B0\u95FB\u7F51" },
|
|
125
|
+
{ value: "\u9F50\u9C81\u665A\u62A5" },
|
|
126
|
+
{ value: "\u9F50\u9C81\u7F51" }
|
|
127
|
+
];
|
|
128
|
+
module.exports = restaurants;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.edit-meta-info-dialog-body {
|
|
2
|
+
padding: 0;
|
|
3
|
+
}
|
|
4
|
+
.edit-meta-info-dialog-body .style-form-item {
|
|
5
|
+
position: relative;
|
|
6
|
+
top: -10px;
|
|
7
|
+
}
|
|
8
|
+
.edit-meta-info-dialog-body .style-form-item .title {
|
|
9
|
+
max-width: 100%;
|
|
10
|
+
color: var(--color-text-2);
|
|
11
|
+
font-size: 14px;
|
|
12
|
+
font-weight: 400;
|
|
13
|
+
white-space: normal;
|
|
14
|
+
}
|
|
15
|
+
.edit-meta-info-dialog-body .select-thumb-wrap {
|
|
16
|
+
margin-left: 20.8%;
|
|
17
|
+
}
|
|
18
|
+
.edit-meta-info-dialog-body .input-w {
|
|
19
|
+
width: 450px;
|
|
20
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.edit-meta-info-dialog-body {
|
|
2
|
+
padding: 0;
|
|
3
|
+
.style-form-item {
|
|
4
|
+
position: relative;
|
|
5
|
+
top: -10px;
|
|
6
|
+
.title {
|
|
7
|
+
max-width: 100%;
|
|
8
|
+
color: var(--color-text-2);
|
|
9
|
+
font-size: 14px;
|
|
10
|
+
font-weight: 400;
|
|
11
|
+
white-space: normal;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.select-thumb-wrap {
|
|
15
|
+
margin-left: 20.8%;
|
|
16
|
+
}
|
|
17
|
+
.horizontal {
|
|
18
|
+
// display: flex;
|
|
19
|
+
// align-items: center;
|
|
20
|
+
// flex-direction: row !important;
|
|
21
|
+
// .arco-form-item-label-col {
|
|
22
|
+
// margin-bottom: 0;
|
|
23
|
+
// padding-right: 16px;
|
|
24
|
+
// text-align: right;
|
|
25
|
+
// }
|
|
26
|
+
}
|
|
27
|
+
.input-w {
|
|
28
|
+
width: 450px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
function useDialogVisible(props, emit) {
|
|
4
|
+
const setVisible = (bool) => {
|
|
5
|
+
emit("update:visible", bool);
|
|
6
|
+
};
|
|
7
|
+
const visible = vue.computed({
|
|
8
|
+
get() {
|
|
9
|
+
return props.visible;
|
|
10
|
+
},
|
|
11
|
+
set(value) {
|
|
12
|
+
setVisible(value);
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
return {
|
|
16
|
+
visible,
|
|
17
|
+
setVisible
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
module.exports = useDialogVisible;
|
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:
|
|
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:
|
|
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:
|
|
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%);
|
|
@@ -2712,6 +2827,35 @@
|
|
|
2712
2827
|
.select-thumb-container .thumb-card-container .img-v:hover .mask {
|
|
2713
2828
|
display: flex;
|
|
2714
2829
|
}
|
|
2830
|
+
.select-thumb-container .color-radio-group {
|
|
2831
|
+
overflow: hidden;
|
|
2832
|
+
}
|
|
2833
|
+
.select-thumb-container .color-radio-group .arco-radio-button {
|
|
2834
|
+
width: 32px;
|
|
2835
|
+
height: 32px;
|
|
2836
|
+
padding: 0;
|
|
2837
|
+
font-size: 0 !important;
|
|
2838
|
+
overflow: hidden !important;
|
|
2839
|
+
background: transparent !important;
|
|
2840
|
+
border-width: 0 !important;
|
|
2841
|
+
box-shadow: none !important;
|
|
2842
|
+
position: relative;
|
|
2843
|
+
}
|
|
2844
|
+
.select-thumb-container .color-radio-group .arco-radio-button.arco-radio-checked::after {
|
|
2845
|
+
box-sizing: content-box;
|
|
2846
|
+
content: '';
|
|
2847
|
+
border: 2px solid #fff;
|
|
2848
|
+
border-left: 0;
|
|
2849
|
+
border-top: 0;
|
|
2850
|
+
height: 11px;
|
|
2851
|
+
left: 12px;
|
|
2852
|
+
position: absolute;
|
|
2853
|
+
top: 7px;
|
|
2854
|
+
transform: rotate(45deg) scaleY(1);
|
|
2855
|
+
width: 5px;
|
|
2856
|
+
transition: transform 0.15s ease-in 0.05s;
|
|
2857
|
+
transform-origin: center;
|
|
2858
|
+
}
|
|
2715
2859
|
.select-thumb-container .title {
|
|
2716
2860
|
font-size: 14px;
|
|
2717
2861
|
color: #4e5969;
|
|
@@ -2735,3 +2879,38 @@
|
|
|
2735
2879
|
color: red;
|
|
2736
2880
|
margin-right: 2px !important;
|
|
2737
2881
|
}
|
|
2882
|
+
.select-thumb-container .color-picker-input {
|
|
2883
|
+
width: 32px;
|
|
2884
|
+
height: 32px;
|
|
2885
|
+
border: none;
|
|
2886
|
+
padding: 0px 2px;
|
|
2887
|
+
}
|
|
2888
|
+
.edit-meta-info-dialog-body {
|
|
2889
|
+
padding: 0;
|
|
2890
|
+
}
|
|
2891
|
+
.edit-meta-info-dialog-body .style-form-item {
|
|
2892
|
+
position: relative;
|
|
2893
|
+
top: -10px;
|
|
2894
|
+
}
|
|
2895
|
+
.edit-meta-info-dialog-body .style-form-item .title {
|
|
2896
|
+
max-width: 100%;
|
|
2897
|
+
color: var(--color-text-2);
|
|
2898
|
+
font-size: 14px;
|
|
2899
|
+
font-weight: 400;
|
|
2900
|
+
white-space: normal;
|
|
2901
|
+
}
|
|
2902
|
+
.edit-meta-info-dialog-body .select-thumb-wrap {
|
|
2903
|
+
margin-left: 20.8%;
|
|
2904
|
+
}
|
|
2905
|
+
.edit-meta-info-dialog-body .input-w {
|
|
2906
|
+
width: 450px;
|
|
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
|
@@ -18,6 +18,8 @@ var index$d = require("./mediaFilter/index.js");
|
|
|
18
18
|
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
|
+
var index$h = require("./editMetaInfo/index.js");
|
|
22
|
+
var index$i = require("./baseFilter/index.js");
|
|
21
23
|
exports["default"] = components;
|
|
22
24
|
exports.appCenter = index;
|
|
23
25
|
exports.messageBox = index$1;
|
|
@@ -36,3 +38,5 @@ exports.mediaFilter = index$d;
|
|
|
36
38
|
exports.selectAvatarList = index$e;
|
|
37
39
|
exports.userDirector = index$f;
|
|
38
40
|
exports.selectThumb = index$g;
|
|
41
|
+
exports.editMetaInfo = index$h;
|
|
42
|
+
exports.baseFilter = index$i;
|
package/lib/index.less
CHANGED
|
@@ -36,7 +36,7 @@ const _hoisted_15 = /* @__PURE__ */ vue.createElementVNode("span", { class: "sta
|
|
|
36
36
|
const _hoisted_16 = { key: 2 };
|
|
37
37
|
const _hoisted_17 = /* @__PURE__ */ vue.createElementVNode("span", { class: "tip" }, "(\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px)", -1);
|
|
38
38
|
const _hoisted_18 = { class: "title" };
|
|
39
|
-
const _hoisted_19 = /* @__PURE__ */ vue.createElementVNode("span", null, "\
|
|
39
|
+
const _hoisted_19 = /* @__PURE__ */ vue.createElementVNode("span", null, "\u5934\u56FE\u80CC\u666F\u989C\u8272", -1);
|
|
40
40
|
const _hoisted_20 = [
|
|
41
41
|
_hoisted_19
|
|
42
42
|
];
|
|
@@ -230,6 +230,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
230
230
|
};
|
|
231
231
|
const cropConfirm = (data) => {
|
|
232
232
|
dialogMediaSelectionShow.value = false;
|
|
233
|
+
if (!styleData.value)
|
|
234
|
+
return;
|
|
233
235
|
if (thumbBannerModel.value === "banner") {
|
|
234
236
|
styleData.value.banner_url = data[0].url;
|
|
235
237
|
styleData.value.banner_colorList = JSON.parse(
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var vue = require("vue");
|
|
3
3
|
var webVue = require("@arco-design/web-vue");
|
|
4
|
+
var colorPicker = require("./colorPicker.js");
|
|
4
5
|
const _hoisted_1 = {
|
|
5
6
|
key: 0,
|
|
6
7
|
class: "color-palette-container"
|
|
@@ -16,44 +17,44 @@ const _sfc_main = vue.defineComponent({
|
|
|
16
17
|
const props = __props;
|
|
17
18
|
const color = vue.ref("rgb(101,121,109)");
|
|
18
19
|
const colorList = vue.ref([]);
|
|
20
|
+
const colorChange = (_color) => {
|
|
21
|
+
if (_color) {
|
|
22
|
+
color.value = _color.replace(/\s+/g, "");
|
|
23
|
+
const styleData = JSON.parse(JSON.stringify(props.styleData));
|
|
24
|
+
styleData[`${props.model}_theme_color`] = color.value;
|
|
25
|
+
emit("change", styleData);
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
const colorRgb = (_color) => {
|
|
29
|
+
if (_color.includes("rgb")) {
|
|
30
|
+
return _color;
|
|
31
|
+
}
|
|
32
|
+
const red = parseInt(_color.slice(1, 3), 16);
|
|
33
|
+
const green = parseInt(_color.slice(3, 5), 16);
|
|
34
|
+
const blue = parseInt(_color.slice(5, 7), 16);
|
|
35
|
+
return `rgb(${red},${green},${blue})`;
|
|
36
|
+
};
|
|
19
37
|
vue.watch(
|
|
20
38
|
() => props.styleData,
|
|
21
39
|
() => {
|
|
22
40
|
if (props.styleData) {
|
|
23
41
|
const _color = props.styleData[`${props.model}_theme_color`] || "";
|
|
24
42
|
color.value = colorRgb(_color);
|
|
25
|
-
const
|
|
26
|
-
if (
|
|
27
|
-
|
|
43
|
+
const _colorList = props.styleData[`${props.model}_colorList`];
|
|
44
|
+
if (_colorList == null ? void 0 : _colorList.length) {
|
|
45
|
+
colorList.value = _colorList.map((color2) => `rgb(${color2})`);
|
|
28
46
|
} else if (color.value) {
|
|
29
|
-
|
|
47
|
+
colorList.value = [color.value];
|
|
30
48
|
}
|
|
31
49
|
}
|
|
32
|
-
}
|
|
50
|
+
},
|
|
51
|
+
{ immediate: true }
|
|
33
52
|
);
|
|
34
|
-
const colorChange = (color2) => {
|
|
35
|
-
if (color2) {
|
|
36
|
-
color2.value = color2.replace(/\s+/g, "");
|
|
37
|
-
const styleData = JSON.parse(JSON.stringify(props.styleData));
|
|
38
|
-
styleData[`${props.model}_theme_color`] = color2.value;
|
|
39
|
-
emit("change", styleData);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
const colorRgb = (_color) => {
|
|
43
|
-
if (_color.includes("rgb")) {
|
|
44
|
-
return _color;
|
|
45
|
-
}
|
|
46
|
-
const colorChange2 = [];
|
|
47
|
-
for (let i = 1; i < 7; i += 2) {
|
|
48
|
-
colorChange2.push(parseInt(`0x${_color.slice(i, i + 2)}`, 10) || 0);
|
|
49
|
-
}
|
|
50
|
-
return `rgb(${colorChange2.join(",")})`;
|
|
51
|
-
};
|
|
52
53
|
return (_ctx, _cache) => {
|
|
53
54
|
return colorList.value && colorList.value.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
54
55
|
vue.createVNode(vue.unref(webVue.RadioGroup), {
|
|
55
56
|
modelValue: color.value,
|
|
56
|
-
"onUpdate:modelValue": _cache[
|
|
57
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => color.value = $event),
|
|
57
58
|
class: "color-radio-group",
|
|
58
59
|
type: "button",
|
|
59
60
|
onChange: colorChange
|
|
@@ -62,10 +63,15 @@ const _sfc_main = vue.defineComponent({
|
|
|
62
63
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(colorList.value, (colr, index) => {
|
|
63
64
|
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Radio), {
|
|
64
65
|
key: index,
|
|
65
|
-
style: vue.normalizeStyle({ background: `${colr}` }),
|
|
66
|
+
style: vue.normalizeStyle({ background: `${colr} !important` }),
|
|
66
67
|
value: colr
|
|
67
68
|
}, null, 8, ["style", "value"]);
|
|
68
|
-
}), 128))
|
|
69
|
+
}), 128)),
|
|
70
|
+
vue.createVNode(colorPicker, {
|
|
71
|
+
modelValue: color.value,
|
|
72
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => color.value = $event),
|
|
73
|
+
onChange: colorChange
|
|
74
|
+
}, null, 8, ["modelValue"])
|
|
69
75
|
]),
|
|
70
76
|
_: 1
|
|
71
77
|
}, 8, ["modelValue"])
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
const _hoisted_1 = ["value"];
|
|
4
|
+
const _sfc_main = vue.defineComponent({
|
|
5
|
+
__name: "colorPicker",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: String
|
|
8
|
+
},
|
|
9
|
+
emits: ["update:modelValue", "change"],
|
|
10
|
+
setup(__props, { emit }) {
|
|
11
|
+
const props = __props;
|
|
12
|
+
const color = vue.ref(props.modelValue || "#ffffff");
|
|
13
|
+
vue.watch(
|
|
14
|
+
() => props.modelValue,
|
|
15
|
+
() => {
|
|
16
|
+
if (props.modelValue) {
|
|
17
|
+
color.value = rgbToHex(props.modelValue);
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{ immediate: true }
|
|
21
|
+
);
|
|
22
|
+
vue.watch(color, (newColor) => {
|
|
23
|
+
emit("update:modelValue", newColor);
|
|
24
|
+
emit("change", newColor);
|
|
25
|
+
});
|
|
26
|
+
const updateColor = (event) => {
|
|
27
|
+
const hexColor = event.target.value;
|
|
28
|
+
const rgbColor = hexToRgb(hexColor);
|
|
29
|
+
color.value = rgbColor;
|
|
30
|
+
};
|
|
31
|
+
function hexToRgb(hex) {
|
|
32
|
+
const red = parseInt(hex.slice(1, 3), 16);
|
|
33
|
+
const green = parseInt(hex.slice(3, 5), 16);
|
|
34
|
+
const blue = parseInt(hex.slice(5, 7), 16);
|
|
35
|
+
return `rgb(${red}, ${green}, ${blue})`;
|
|
36
|
+
}
|
|
37
|
+
function rgbToHex(rgb) {
|
|
38
|
+
if (rgb.includes("NaN"))
|
|
39
|
+
return "";
|
|
40
|
+
if (rgb.includes("#"))
|
|
41
|
+
return rgb;
|
|
42
|
+
const [red, green, blue] = rgb.match(/\d+/g).map(Number);
|
|
43
|
+
return `#${((1 << 24) + (red << 16) + (green << 8) + blue).toString(16).slice(1).toUpperCase()}`;
|
|
44
|
+
}
|
|
45
|
+
return (_ctx, _cache) => {
|
|
46
|
+
return vue.openBlock(), vue.createElementBlock("input", {
|
|
47
|
+
class: "color-picker-input",
|
|
48
|
+
type: "color",
|
|
49
|
+
value: color.value,
|
|
50
|
+
onInput: updateColor
|
|
51
|
+
}, null, 40, _hoisted_1);
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.color-radio-group {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
.arco-radio-button {
|
|
4
|
+
width: @radio-button-size;
|
|
5
|
+
height: @radio-button-size;
|
|
6
|
+
padding: 0;
|
|
7
|
+
font-size: 0 !important;
|
|
8
|
+
overflow: hidden !important;
|
|
9
|
+
background: transparent !important;
|
|
10
|
+
border-width: 0 !important;
|
|
11
|
+
box-shadow: none !important;
|
|
12
|
+
position: relative;
|
|
13
|
+
&.arco-radio-checked {
|
|
14
|
+
&::after {
|
|
15
|
+
box-sizing: content-box;
|
|
16
|
+
content: '';
|
|
17
|
+
border: 2px solid #fff;
|
|
18
|
+
border-left: 0;
|
|
19
|
+
border-top: 0;
|
|
20
|
+
height: 11px;
|
|
21
|
+
left: 12px;
|
|
22
|
+
position: absolute;
|
|
23
|
+
top: 7px;
|
|
24
|
+
transform: rotate(45deg) scaleY(1);
|
|
25
|
+
width: 5px;
|
|
26
|
+
transition: transform 0.15s ease-in 0.05s;
|
|
27
|
+
transform-origin: center;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|