@dckj-npm/dc-material 0.1.126 → 0.1.128
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/build/index.js +1 -1
- package/build/lowcode/assets-daily.json +13 -13
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +13 -13
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.design.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +6 -6
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +6 -6
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +2 -2
- package/dist/BizComps.js.map +1 -1
- package/es/components/message-list/message-list-item.scss +1 -1
- package/es/components/notice-bar/index.scss +6 -6
- package/es/components/stream-list/index.d.ts +6 -0
- package/es/components/stream-list/index.js +6 -0
- package/es/components/stream-list/index.scss +26 -0
- package/es/components/stream-list/stream-list.d.ts +54 -0
- package/es/components/stream-list/stream-list.js +159 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +4 -0
- package/lib/components/message-list/message-list-item.scss +1 -1
- package/lib/components/notice-bar/index.scss +6 -6
- package/lib/components/stream-list/index.d.ts +6 -0
- package/lib/components/stream-list/index.js +6 -0
- package/lib/components/stream-list/index.scss +26 -0
- package/lib/components/stream-list/stream-list.d.ts +54 -0
- package/lib/components/stream-list/stream-list.js +166 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +5 -1
- package/lowcode/button2/meta.ts +59 -58
- package/lowcode/custom-radio-group/meta.ts +3 -1
- package/lowcode/custom-radio-group-item/meta.ts +185 -184
- package/lowcode/d-c-slider/meta.design.ts +3 -2
- package/lowcode/d-c-slider/meta.ts +16 -15
- package/lowcode/goods-card-list/meta.ts +3 -1
- package/lowcode/goods-card-list-common/meta.ts +3 -1
- package/lowcode/grid-nav/meta.ts +144 -129
- package/lowcode/integral-task/meta.ts +141 -140
- package/lowcode/menu-list/meta.ts +114 -107
- package/lowcode/message-list/meta.ts +105 -98
- package/lowcode/navigation/meta.ts +139 -127
- package/lowcode/notice-bar/meta.ts +6 -4
- package/lowcode/position/meta.ts +111 -110
- package/lowcode/rich-text/meta.ts +49 -50
- package/lowcode/search-bar/meta.ts +38 -35
- package/lowcode/stream-list/meta.ts +209 -0
- package/lowcode/swiper/meta.ts +102 -1
- package/lowcode/tab-container/meta.ts +45 -44
- package/lowcode/tab-message/meta.ts +84 -80
- package/lowcode/tag-c/meta.ts +59 -58
- package/lowcode/teletext-list/meta.ts +11 -17
- package/lowcode/title1/meta.ts +47 -46
- package/lowcode/title2/meta.ts +73 -72
- package/lowcode_es/button2/meta.js +48 -46
- package/lowcode_es/custom-radio-group/meta.js +3 -1
- package/lowcode_es/custom-radio-group-item/meta.js +152 -150
- package/lowcode_es/d-c-slider/meta.d.ts +3 -1
- package/lowcode_es/d-c-slider/meta.design.d.ts +1 -0
- package/lowcode_es/d-c-slider/meta.design.js +2 -1
- package/lowcode_es/d-c-slider/meta.js +8 -7
- package/lowcode_es/goods-card-list/meta.js +3 -1
- package/lowcode_es/goods-card-list-common/meta.js +3 -1
- package/lowcode_es/grid-nav/meta.js +109 -108
- package/lowcode_es/integral-task/meta.js +101 -99
- package/lowcode_es/menu-list/meta.js +79 -77
- package/lowcode_es/message-list/meta.js +65 -63
- package/lowcode_es/meta.js +3 -2
- package/lowcode_es/navigation/meta.js +98 -96
- package/lowcode_es/notice-bar/meta.js +3 -1
- package/lowcode_es/position/meta.js +77 -75
- package/lowcode_es/rich-text/meta.js +34 -32
- package/lowcode_es/search-bar/meta.js +23 -21
- package/lowcode_es/stream-list/meta.d.ts +22 -0
- package/lowcode_es/stream-list/meta.js +196 -0
- package/lowcode_es/swiper/meta.js +91 -1
- package/lowcode_es/tab-container/meta.d.ts +1 -1
- package/lowcode_es/tab-container/meta.js +27 -26
- package/lowcode_es/tab-message/meta.js +66 -64
- package/lowcode_es/tag-c/meta.js +48 -46
- package/lowcode_es/teletext-list/meta.js +4 -9
- package/lowcode_es/title1/meta.js +37 -35
- package/lowcode_es/title2/meta.js +61 -59
- package/lowcode_lib/button2/meta.js +48 -46
- package/lowcode_lib/custom-radio-group/meta.js +3 -1
- package/lowcode_lib/custom-radio-group-item/meta.js +152 -150
- package/lowcode_lib/d-c-slider/meta.d.ts +3 -1
- package/lowcode_lib/d-c-slider/meta.design.d.ts +1 -0
- package/lowcode_lib/d-c-slider/meta.design.js +2 -1
- package/lowcode_lib/d-c-slider/meta.js +8 -7
- package/lowcode_lib/goods-card-list/meta.js +3 -1
- package/lowcode_lib/goods-card-list-common/meta.js +3 -1
- package/lowcode_lib/grid-nav/meta.js +109 -108
- package/lowcode_lib/integral-task/meta.js +101 -99
- package/lowcode_lib/menu-list/meta.js +79 -77
- package/lowcode_lib/message-list/meta.js +65 -63
- package/lowcode_lib/meta.js +11 -10
- package/lowcode_lib/navigation/meta.js +98 -96
- package/lowcode_lib/notice-bar/meta.js +3 -1
- package/lowcode_lib/position/meta.js +77 -75
- package/lowcode_lib/rich-text/meta.js +34 -32
- package/lowcode_lib/search-bar/meta.js +23 -21
- package/lowcode_lib/stream-list/meta.d.ts +22 -0
- package/lowcode_lib/stream-list/meta.js +201 -0
- package/lowcode_lib/swiper/meta.js +91 -1
- package/lowcode_lib/tab-container/meta.d.ts +1 -1
- package/lowcode_lib/tab-container/meta.js +27 -26
- package/lowcode_lib/tab-message/meta.js +66 -64
- package/lowcode_lib/tag-c/meta.js +48 -46
- package/lowcode_lib/teletext-list/meta.js +4 -9
- package/lowcode_lib/title1/meta.js +37 -35
- package/lowcode_lib/title2/meta.js +61 -59
- package/package.json +3 -3
|
@@ -1,32 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
1
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
|
|
3
2
|
|
|
4
3
|
const MessageListMeta: IPublicTypeComponentMetadata = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
4
|
+
componentName: 'MessageList',
|
|
5
|
+
title: '消息列表',
|
|
6
|
+
docUrl: '',
|
|
7
|
+
screenshot: '',
|
|
8
|
+
devMode: 'proCode',
|
|
9
|
+
npm: {
|
|
10
|
+
package: '@dckj-npm/dc-material',
|
|
11
|
+
version: '0.1.13',
|
|
12
|
+
exportName: 'MessageList',
|
|
13
|
+
main: 'src\\index.tsx',
|
|
14
|
+
destructuring: true,
|
|
15
|
+
subName: '',
|
|
17
16
|
},
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
configure: {
|
|
18
|
+
props: [
|
|
20
19
|
{
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
}
|
|
20
|
+
title: '图片',
|
|
21
|
+
name: 'images',
|
|
22
|
+
description: '图片',
|
|
23
|
+
setter: {
|
|
24
|
+
componentName: 'ArraySetter',
|
|
25
|
+
props: {
|
|
26
|
+
itemSetter: 'StringSetter',
|
|
27
|
+
},
|
|
28
|
+
},
|
|
30
29
|
},
|
|
31
30
|
{
|
|
32
31
|
name: '数据源绑定',
|
|
@@ -40,103 +39,111 @@ const MessageListMeta: IPublicTypeComponentMetadata = {
|
|
|
40
39
|
children: [
|
|
41
40
|
{ label: '标题', value: 'title' },
|
|
42
41
|
{ label: '说明', value: 'description' },
|
|
43
|
-
{ label: '发布时间', value: 'gmtCreate' }
|
|
42
|
+
{ label: '发布时间', value: 'gmtCreate' },
|
|
44
43
|
],
|
|
45
44
|
// 发送不同参数的请求
|
|
46
45
|
mapping: [
|
|
47
46
|
{
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
label: '全部数据',
|
|
48
|
+
name: 'dataList',
|
|
50
49
|
},
|
|
51
50
|
{
|
|
52
51
|
value: '已读数据',
|
|
53
|
-
name: 'readDataList'
|
|
52
|
+
name: 'readDataList',
|
|
54
53
|
},
|
|
55
54
|
{
|
|
56
55
|
value: '未读数据',
|
|
57
|
-
name: 'unReadDataList'
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
}
|
|
56
|
+
name: 'unReadDataList',
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
},
|
|
62
|
+
},
|
|
64
63
|
},
|
|
65
64
|
{
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
65
|
+
title: {
|
|
66
|
+
label: {
|
|
67
|
+
type: 'i18n',
|
|
68
|
+
'en-US': 'onClick',
|
|
69
|
+
'zh-CN': '点击事件',
|
|
71
70
|
},
|
|
72
|
-
|
|
71
|
+
tip: 'onClick | 点击事件',
|
|
72
|
+
},
|
|
73
|
+
name: 'onClick',
|
|
74
|
+
description: '点击事件',
|
|
75
|
+
setter: {
|
|
76
|
+
componentName: 'FunctionSetter',
|
|
73
77
|
},
|
|
74
|
-
|
|
75
|
-
"description": "点击事件",
|
|
76
|
-
"setter": {
|
|
77
|
-
"componentName": "FunctionSetter"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
78
|
+
},
|
|
80
79
|
],
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
supports: {
|
|
81
|
+
style: true,
|
|
82
|
+
},
|
|
83
|
+
component: {
|
|
84
|
+
disableBehaviors: ['copy'],
|
|
83
85
|
},
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
};
|
|
86
|
+
},
|
|
87
|
+
}
|
|
87
88
|
const snippets: IPublicTypeSnippet[] = [
|
|
88
89
|
{
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
90
|
+
title: '消息列表',
|
|
91
|
+
screenshot: '',
|
|
92
|
+
schema: {
|
|
93
|
+
componentName: 'MessageList',
|
|
94
|
+
props: {
|
|
94
95
|
images: [
|
|
95
96
|
'https://52pupu.com/source/api/upload/1036284777780613120/2024/202409/20240930/1038087407058161664.png',
|
|
96
|
-
'https://52pupu.com/source/api/upload/1036284777780613120/2024/202409/20240930/1038087477308559360.png'
|
|
97
|
+
'https://52pupu.com/source/api/upload/1036284777780613120/2024/202409/20240930/1038087477308559360.png',
|
|
97
98
|
],
|
|
98
99
|
dataList: [
|
|
99
100
|
{
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
title: '权益信息',
|
|
102
|
+
description:
|
|
103
|
+
'这里是消息 为小官时皆尝有之。” 金·元好问《为橄子醵金》诗之一:“明珠评价敌连城,弃掷泥涂意未平。” 清黄六鸿《福惠全',
|
|
104
|
+
gmtCreate: '2024-05-24 09:24',
|
|
103
105
|
},
|
|
104
106
|
{
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
107
|
+
title: '审核信息',
|
|
108
|
+
description:
|
|
109
|
+
'这里是消息 为小官时皆尝有之。” 金·元好问《为橄子醵金》诗之一:“明珠评价敌连城,弃掷泥涂意未平。” 清黄六鸿《福惠全',
|
|
110
|
+
gmtCreate: '2024-05-24 09:24',
|
|
108
111
|
},
|
|
109
112
|
{
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
113
|
+
title: '权益信息',
|
|
114
|
+
description:
|
|
115
|
+
'这里是消息 为小官时皆尝有之。” 金·元好问《为橄子醵金》诗之一:“明珠评价敌连城,弃掷泥涂意未平。” 清黄六鸿《福惠全',
|
|
116
|
+
gmtCreate: '2024-05-24 09:24',
|
|
117
|
+
},
|
|
114
118
|
],
|
|
115
119
|
readDataList: [
|
|
116
120
|
{
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
121
|
+
title: '已读标题名称',
|
|
122
|
+
description:
|
|
123
|
+
'已读说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字',
|
|
124
|
+
gmtCreate: '2024-05-24 09:24',
|
|
120
125
|
},
|
|
121
126
|
{
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
127
|
+
title: '已读标题名称',
|
|
128
|
+
description:
|
|
129
|
+
'已读说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字',
|
|
130
|
+
gmtCreate: '2024-05-24 09:24',
|
|
131
|
+
},
|
|
126
132
|
],
|
|
127
133
|
unReadDataList: [
|
|
128
134
|
{
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
135
|
+
title: '未读标题名称',
|
|
136
|
+
description:
|
|
137
|
+
'未读说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字',
|
|
138
|
+
gmtCreate: '2024-05-24 09:24',
|
|
132
139
|
},
|
|
133
140
|
{
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
141
|
+
title: '未读标题名称',
|
|
142
|
+
description:
|
|
143
|
+
'未读说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字',
|
|
144
|
+
gmtCreate: '2024-05-24 09:24',
|
|
145
|
+
},
|
|
138
146
|
],
|
|
139
|
-
|
|
140
147
|
},
|
|
141
148
|
children: [
|
|
142
149
|
{
|
|
@@ -146,8 +153,8 @@ const snippets: IPublicTypeSnippet[] = [
|
|
|
146
153
|
width: 44,
|
|
147
154
|
height: 44,
|
|
148
155
|
style: {
|
|
149
|
-
borderRadius: '50%'
|
|
150
|
-
}
|
|
156
|
+
borderRadius: '50%',
|
|
157
|
+
},
|
|
151
158
|
},
|
|
152
159
|
},
|
|
153
160
|
{
|
|
@@ -155,10 +162,10 @@ const snippets: IPublicTypeSnippet[] = [
|
|
|
155
162
|
props: {
|
|
156
163
|
type: 'h5',
|
|
157
164
|
key: 'title',
|
|
158
|
-
|
|
165
|
+
style: {
|
|
159
166
|
fontSize: '15px',
|
|
160
167
|
color: '#333',
|
|
161
|
-
fontWeght: 'bold'
|
|
168
|
+
fontWeght: 'bold',
|
|
162
169
|
},
|
|
163
170
|
},
|
|
164
171
|
},
|
|
@@ -167,7 +174,7 @@ const snippets: IPublicTypeSnippet[] = [
|
|
|
167
174
|
props: {
|
|
168
175
|
type: 'inherit',
|
|
169
176
|
key: 'content',
|
|
170
|
-
|
|
177
|
+
style: {
|
|
171
178
|
fontSize: '13px',
|
|
172
179
|
color: '#333',
|
|
173
180
|
},
|
|
@@ -178,10 +185,10 @@ const snippets: IPublicTypeSnippet[] = [
|
|
|
178
185
|
props: {
|
|
179
186
|
type: 'inherit',
|
|
180
187
|
key: 'gmtCreate',
|
|
181
|
-
|
|
188
|
+
style: {
|
|
182
189
|
fontSize: '10px',
|
|
183
190
|
color: '#999',
|
|
184
|
-
marginBottom: '5px'
|
|
191
|
+
marginBottom: '5px',
|
|
185
192
|
},
|
|
186
193
|
},
|
|
187
194
|
},
|
|
@@ -190,13 +197,13 @@ const snippets: IPublicTypeSnippet[] = [
|
|
|
190
197
|
props: {
|
|
191
198
|
key: 'tabMessage',
|
|
192
199
|
},
|
|
193
|
-
}
|
|
194
|
-
]
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
]
|
|
200
|
+
},
|
|
201
|
+
],
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
]
|
|
198
205
|
|
|
199
206
|
export default {
|
|
200
207
|
...MessageListMeta,
|
|
201
|
-
snippets
|
|
202
|
-
}
|
|
208
|
+
snippets,
|
|
209
|
+
}
|
|
@@ -1,165 +1,177 @@
|
|
|
1
|
-
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
|
|
1
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
|
|
2
2
|
|
|
3
3
|
const NavigationMeta: IPublicTypeComponentMetadata = {
|
|
4
4
|
group: '低代码组件',
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
componentName: 'Navigation',
|
|
6
|
+
title: '底部导航',
|
|
7
|
+
docUrl: '',
|
|
8
|
+
screenshot: '',
|
|
9
|
+
devMode: 'proCode',
|
|
10
|
+
npm: {
|
|
11
|
+
package: '@dckj-npm/dc-material',
|
|
12
|
+
version: '0.1.8',
|
|
13
|
+
exportName: 'Navigation',
|
|
14
|
+
main: 'src\\index.tsx',
|
|
15
|
+
destructuring: true,
|
|
16
|
+
subName: '',
|
|
17
17
|
},
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
configure: {
|
|
19
|
+
props: [
|
|
20
20
|
{
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
21
|
+
title: {
|
|
22
|
+
label: {
|
|
23
|
+
type: 'i18n',
|
|
24
|
+
'en-US': 'itemArray',
|
|
25
|
+
'zh-CN': '导航项',
|
|
26
|
+
},
|
|
27
27
|
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
name: 'itemArray',
|
|
29
|
+
setter: {
|
|
30
|
+
componentName: 'ArraySetter',
|
|
31
|
+
props: {
|
|
32
|
+
itemSetter: {
|
|
33
|
+
componentName: 'ObjectSetter',
|
|
34
|
+
props: {
|
|
35
|
+
config: {
|
|
36
|
+
items: [
|
|
37
37
|
{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
38
|
+
title: {
|
|
39
|
+
label: {
|
|
40
|
+
type: 'i18n',
|
|
41
|
+
'en-US': 'text',
|
|
42
|
+
'zh-CN': '名称',
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
name: 'text',
|
|
46
|
+
setter: {
|
|
47
|
+
componentName: 'StringSetter',
|
|
48
|
+
isRequired: true,
|
|
49
|
+
initialValue: '',
|
|
44
50
|
},
|
|
45
|
-
"name": "text",
|
|
46
|
-
"setter": {
|
|
47
|
-
"componentName": "StringSetter",
|
|
48
|
-
"isRequired": true,
|
|
49
|
-
"initialValue": ""
|
|
50
|
-
}
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
53
|
+
title: {
|
|
54
|
+
label: {
|
|
55
|
+
type: 'i18n',
|
|
56
|
+
'en-US': 'icon',
|
|
57
|
+
'zh-CN': '图标',
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
name: 'icon',
|
|
61
|
+
setter: {
|
|
62
|
+
componentName: 'StringSetter',
|
|
63
|
+
isRequired: true,
|
|
64
|
+
initialValue: '',
|
|
59
65
|
},
|
|
60
|
-
"name": "icon",
|
|
61
|
-
"setter": {
|
|
62
|
-
"componentName": "StringSetter",
|
|
63
|
-
"isRequired": true,
|
|
64
|
-
"initialValue": ""
|
|
65
|
-
}
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
68
|
+
title: {
|
|
69
|
+
label: {
|
|
70
|
+
type: 'i18n',
|
|
71
|
+
'en-US': 'selectedIcon',
|
|
72
|
+
'zh-CN': '选中图标',
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
name: 'selectedIcon',
|
|
76
|
+
setter: {
|
|
77
|
+
componentName: 'StringSetter',
|
|
78
|
+
isRequired: true,
|
|
79
|
+
initialValue: '',
|
|
74
80
|
},
|
|
75
|
-
"name": "selectedIcon",
|
|
76
|
-
"setter": {
|
|
77
|
-
"componentName": "StringSetter",
|
|
78
|
-
"isRequired": true,
|
|
79
|
-
"initialValue": ""
|
|
80
|
-
}
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
}
|
|
83
|
+
title: '跳转页面',
|
|
84
|
+
name: 'pageId',
|
|
85
|
+
setter: {
|
|
86
|
+
componentName: 'StringSetter',
|
|
87
|
+
isRequired: true,
|
|
88
|
+
initialValue: '',
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
91
|
],
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
92
|
+
extraSetter: {
|
|
93
|
+
componentName: 'MixedSetter',
|
|
94
|
+
isRequired: false,
|
|
95
|
+
props: {},
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
100
|
},
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
101
|
+
isRequired: true,
|
|
102
|
+
initialValue: [],
|
|
103
|
+
},
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
106
|
+
title: {
|
|
107
|
+
label: {
|
|
108
|
+
type: 'i18n',
|
|
109
|
+
'en-US': 'selectedColor',
|
|
110
|
+
'zh-CN': '选中颜色',
|
|
111
|
+
},
|
|
112
112
|
},
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}
|
|
113
|
+
name: 'selectedColor',
|
|
114
|
+
setter: 'ColorSetter',
|
|
115
|
+
},
|
|
116
116
|
],
|
|
117
117
|
supports: {
|
|
118
118
|
style: true,
|
|
119
|
-
events: [
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
119
|
+
events: [
|
|
120
|
+
{
|
|
121
|
+
name: 'onClick',
|
|
122
|
+
// template: "onSearch(params,${extParams}){\n window.location.href=`http://localhost:4500/preview.html?pathId=${params.pathId}`;\n console.log(params.pathId) \n}"
|
|
123
|
+
},
|
|
124
|
+
],
|
|
123
125
|
},
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
}
|
|
126
|
+
component: {
|
|
127
|
+
disableBehaviors: ['copy'],
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
}
|
|
127
131
|
const snippets: IPublicTypeSnippet[] = [
|
|
128
132
|
{
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
133
|
+
title: '底部导航',
|
|
134
|
+
screenshot: '',
|
|
135
|
+
schema: {
|
|
136
|
+
componentName: 'Navigation',
|
|
137
|
+
props: {
|
|
134
138
|
selectedColor: '#EB7244',
|
|
135
|
-
|
|
139
|
+
itemArray: [
|
|
136
140
|
{
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
141
|
+
text: '首页',
|
|
142
|
+
icon:
|
|
143
|
+
'https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048652967890259968.png',
|
|
144
|
+
selectedIcon:
|
|
145
|
+
'https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048653089051119616.png',
|
|
140
146
|
},
|
|
141
147
|
{
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
148
|
+
text: '消息',
|
|
149
|
+
icon:
|
|
150
|
+
'https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048653230705348608.png',
|
|
151
|
+
selectedIcon:
|
|
152
|
+
'https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048653358677757952.png',
|
|
145
153
|
},
|
|
146
154
|
{
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
155
|
+
text: '礼品',
|
|
156
|
+
icon:
|
|
157
|
+
'https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048649679614644224.png',
|
|
158
|
+
selectedIcon:
|
|
159
|
+
'https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048650840912564224.png',
|
|
150
160
|
},
|
|
151
161
|
{
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
162
|
+
text: '我的',
|
|
163
|
+
icon:
|
|
164
|
+
'https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048650981727932416.png',
|
|
165
|
+
selectedIcon:
|
|
166
|
+
'https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048652834045825024.png',
|
|
167
|
+
},
|
|
168
|
+
],
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
]
|
|
161
173
|
|
|
162
174
|
export default {
|
|
163
175
|
...NavigationMeta,
|
|
164
|
-
snippets
|
|
165
|
-
}
|
|
176
|
+
snippets,
|
|
177
|
+
}
|
|
@@ -155,9 +155,11 @@ const NoticeBarMeta: IPublicTypeComponentMetadata = {
|
|
|
155
155
|
},
|
|
156
156
|
],
|
|
157
157
|
},
|
|
158
|
-
component: {
|
|
159
|
-
|
|
160
|
-
}
|
|
158
|
+
"component": {
|
|
159
|
+
disableBehaviors: ['copy'],
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
};
|
|
161
163
|
const snippets: IPublicTypeSnippet[] = [
|
|
162
164
|
{
|
|
163
165
|
title: '公告栏',
|
|
@@ -214,7 +216,7 @@ const snippets: IPublicTypeSnippet[] = [
|
|
|
214
216
|
props: {
|
|
215
217
|
name: '报名火热',
|
|
216
218
|
color: 'green',
|
|
217
|
-
key: 'teletext-tagc-2'
|
|
219
|
+
key: 'teletext-tagc-2'
|
|
218
220
|
},
|
|
219
221
|
},
|
|
220
222
|
],
|