@cloudbase/weda-ui 0.2.17 → 1.0.21
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/README.md +3 -0
- package/package.json +6 -3
- package/src/configs/components/calendar.json +4 -1
- package/src/configs/components/chart/bar.json +19 -6
- package/src/configs/components/chart/line.json +19 -6
- package/src/configs/components/chart/pie.json +14 -4
- package/src/configs/components/chart/statisticsCard.json +61 -13
- package/src/configs/components/container.json +7 -2
- package/src/configs/components/dataView.json +21 -6
- package/src/configs/components/form/checkbox.json +97 -5
- package/src/configs/components/form/radio.json +96 -4
- package/src/configs/components/form/select.json +245 -11
- package/src/configs/components/graphicCard.json +84 -73
- package/src/configs/components/image.json +7 -2
- package/src/configs/components/link.json +19 -3
- package/src/configs/components/listView.json +63 -17
- package/src/configs/components/modal.json +37 -5
- package/src/configs/components/navLayout.json +87 -75
- package/src/configs/components/navigationBar.json +59 -0
- package/src/configs/components/richtextview.json +4 -1
- package/src/configs/components/scrollVeiw.json +74 -22
- package/src/configs/components/swiper.json +4 -1
- package/src/configs/components/tabs.json +51 -8
- package/src/configs/components/text.json +33 -25
- package/src/configs/components/wxOpenApi/phone.json +141 -0
- package/src/configs/components/wxOpenApi/phoneCode.json +121 -0
- package/src/configs/components/wxOpenApi/share.json +167 -0
- package/src/configs/components/wxOpenApi/userInfo.json +174 -0
- package/src/configs/index.js +11 -0
- package/src/mp/components/chart/bar/index.js +6 -2
- package/src/mp/components/chart/common/core/eChartBar.js +9 -8
- package/src/mp/components/chart/common/core/eChartBase.js +20 -16
- package/src/mp/components/chart/common/core/eChartLine.js +6 -5
- package/src/mp/components/chart/line/index.js +10 -6
- package/src/mp/components/chart/pie/index.js +6 -2
- package/src/mp/components/chart/statisticsCard/index.js +33 -6
- package/src/mp/components/dataView/index.json +1 -1
- package/src/mp/components/form/checkbox/index.js +41 -2
- package/src/mp/components/form/checkbox/index.wxml +1 -1
- package/src/mp/components/form/input/index.js +1 -1
- package/src/mp/components/form/location/index.js +43 -2
- package/src/mp/components/form/radio/index.js +34 -1
- package/src/mp/components/form/select/index.js +360 -40
- package/src/mp/components/form/select/index.wxml +17 -2
- package/src/mp/components/form/select/region/index.js +98 -0
- package/src/mp/components/form/uploader/index.js +39 -27
- package/src/mp/components/form/uploaderFile/index.js +10 -6
- package/src/mp/components/listView/index.js +33 -27
- package/src/mp/components/listView/index.wxml +1 -1
- package/src/mp/components/listView/index.wxss +5 -0
- package/src/mp/components/navigationBar/index.js +193 -0
- package/src/mp/components/navigationBar/index.json +6 -0
- package/src/mp/components/navigationBar/index.wxml +88 -0
- package/src/mp/components/navigationBar/index.wxss +1257 -0
- package/src/mp/components/tabs/index.js +7 -2
- package/src/mp/components/tabs/index.wxml +2 -1
- package/src/mp/components/text/index.js +0 -25
- package/src/mp/components/text/index.wxml +3 -3
- package/src/mp/components/wxOpenApi/phone/index.js +117 -0
- package/src/mp/components/{internals/listView → wxOpenApi/phone}/index.json +0 -0
- package/src/mp/components/wxOpenApi/phone/index.wxml +15 -0
- package/src/mp/components/wxOpenApi/phone/index.wxss +22 -0
- package/src/mp/components/wxOpenApi/phoneCode/index.js +89 -0
- package/src/mp/components/wxOpenApi/phoneCode/index.json +4 -0
- package/src/mp/components/wxOpenApi/phoneCode/index.wxml +15 -0
- package/src/mp/components/wxOpenApi/phoneCode/index.wxss +22 -0
- package/src/mp/components/wxOpenApi/share/index.js +117 -0
- package/src/mp/components/wxOpenApi/share/index.json +4 -0
- package/src/mp/components/wxOpenApi/share/index.wxml +15 -0
- package/src/mp/components/wxOpenApi/share/index.wxss +22 -0
- package/src/mp/components/wxOpenApi/userInfo/index.js +88 -0
- package/src/mp/components/wxOpenApi/userInfo/index.json +4 -0
- package/src/mp/components/wxOpenApi/userInfo/index.wxml +14 -0
- package/src/mp/components/wxOpenApi/userInfo/index.wxss +22 -0
- package/src/mp/index.json +7 -2
- package/src/mp/style/weda-ui.wxss +2 -0
- package/src/mp/utils/destr.js +48 -0
- package/src/mp/utils/platform.js +10 -0
- package/src/mp/utils/tcb.js +44 -0
- package/src/web/components/button/index.css +8 -1
- package/src/web/components/button/index.tsx +3 -2
- package/src/web/components/chart/bar/index.tsx +40 -39
- package/src/web/components/chart/common/core/eChartBar.js +7 -6
- package/src/web/components/chart/common/core/eChartBase.ts +20 -16
- package/src/web/components/chart/common/core/eChartLine.js +8 -6
- package/src/web/components/chart/line/index.tsx +40 -39
- package/src/web/components/chart/statisticsCard/index.tsx +29 -8
- package/src/web/components/form/checkbox/index.tsx +55 -23
- package/src/web/components/form/radio/index.tsx +84 -53
- package/src/web/components/form/select/h5.tsx +388 -72
- package/src/web/components/form/select/index.css +10 -0
- package/src/web/components/form/select/index.tsx +404 -144
- package/src/web/components/form/select/region/index.ts +122 -31
- package/src/web/components/form/select/time.jsx +89 -0
- package/src/web/components/form/select/year.tsx +170 -0
- package/src/web/components/form/uploader/uploader.h5.tsx +9 -2
- package/src/web/components/form/uploader/uploader.pc.tsx +4 -4
- package/src/web/components/form/uploaderFile/uploadFile.h5.tsx +13 -7
- package/src/web/components/form/uploaderFile/uploadFile.pc.tsx +13 -5
- package/src/web/components/image/image.tsx +1 -1
- package/src/web/components/image/index.tsx +1 -1
- package/src/web/components/index.js +7 -0
- package/src/web/components/link/index.tsx +6 -3
- package/src/web/components/listView/index.css +4 -0
- package/src/web/components/listView/index.tsx +6 -1
- package/src/web/components/modal/index.tsx +3 -1
- package/src/web/components/navigationBar/chevron-right--double.svg +3 -0
- package/src/web/components/navigationBar/common.tsx +198 -0
- package/src/web/components/navigationBar/h5Menu.tsx +179 -0
- package/src/web/components/navigationBar/horizontalMenu.tsx +200 -0
- package/src/web/components/navigationBar/index.css +762 -0
- package/src/web/components/navigationBar/index.tsx +231 -0
- package/src/web/components/navigationBar/type.d.ts +111 -0
- package/src/web/components/navigationBar/verticalMenu.tsx +81 -0
- package/src/web/components/phone/index.css +0 -0
- package/src/web/components/phone/index.tsx +22 -0
- package/src/web/components/phoneCode/index.css +0 -0
- package/src/web/components/phoneCode/index.tsx +22 -0
- package/src/web/components/richTextView/index.tsx +3 -5
- package/src/web/components/share/index.css +0 -0
- package/src/web/components/share/index.tsx +38 -0
- package/src/web/components/tabs/index.tsx +2 -0
- package/src/web/components/tabs/tabs.h5.tsx +43 -33
- package/src/web/components/tabs/tabs.pc.tsx +23 -10
- package/src/web/components/text/index.tsx +6 -14
- package/src/web/components/userInfo/index.css +0 -0
- package/src/web/components/userInfo/index.tsx +30 -0
- package/src/web/utils/platform.js +9 -0
- package/src/web/utils/tcb.js +26 -0
- package/src/web/weda-ui.css +2 -0
- package/src/mp/components/internals/listView/arrow-right-line.svg +0 -3
- package/src/mp/components/internals/listView/index.js +0 -286
- package/src/mp/components/internals/listView/index.wxml +0 -40
- package/src/mp/components/internals/listView/index.wxss +0 -150
- package/src/mp/components/internals/listView/more-line.svg +0 -3
- package/src/web/components/form/select/region/cities.ts +0 -2410
- package/src/web/components/form/select/region/provinces.ts +0 -240
- package/src/web/components/form/select/region/regions.ts +0 -20645
|
@@ -26,7 +26,13 @@
|
|
|
26
26
|
"type": "string",
|
|
27
27
|
"default": "selector",
|
|
28
28
|
"title": "类型",
|
|
29
|
-
"enum": [
|
|
29
|
+
"enum": [
|
|
30
|
+
"selector",
|
|
31
|
+
"date",
|
|
32
|
+
"time",
|
|
33
|
+
"region",
|
|
34
|
+
"mutiRegion"
|
|
35
|
+
],
|
|
30
36
|
"x-linkages": [
|
|
31
37
|
{
|
|
32
38
|
"type": "value:visible",
|
|
@@ -45,8 +51,13 @@
|
|
|
45
51
|
},
|
|
46
52
|
{
|
|
47
53
|
"type": "value:visible",
|
|
48
|
-
"target": "*(separator,
|
|
54
|
+
"target": "*(separator,defaultRegion)",
|
|
49
55
|
"condition": "{{ $self.value === 'region' }}"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "value:visible",
|
|
59
|
+
"target": "*(regionType,defaultMutiRegion)",
|
|
60
|
+
"condition": "{{ $self.value === 'mutiRegion'}}"
|
|
50
61
|
}
|
|
51
62
|
]
|
|
52
63
|
},
|
|
@@ -72,7 +83,9 @@
|
|
|
72
83
|
"value": "full"
|
|
73
84
|
}
|
|
74
85
|
],
|
|
75
|
-
"x-platforms": [
|
|
86
|
+
"x-platforms": [
|
|
87
|
+
"PCWEB"
|
|
88
|
+
]
|
|
76
89
|
},
|
|
77
90
|
"startTime": {
|
|
78
91
|
"type": "string",
|
|
@@ -115,40 +128,261 @@
|
|
|
115
128
|
"title": "分隔符",
|
|
116
129
|
"default": ","
|
|
117
130
|
},
|
|
131
|
+
"defaultMutiRegion": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"title": "默认地区",
|
|
134
|
+
"default": null,
|
|
135
|
+
"description": "省市区之间请用,分隔"
|
|
136
|
+
},
|
|
118
137
|
"defaultRegion": {
|
|
119
138
|
"type": "array",
|
|
120
139
|
"title": "默认地区",
|
|
121
140
|
"items": {
|
|
122
141
|
"type": "string"
|
|
123
142
|
},
|
|
124
|
-
"default": [
|
|
143
|
+
"default": [
|
|
144
|
+
"北京市",
|
|
145
|
+
"北京市",
|
|
146
|
+
"东城区"
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
"regionType": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"title": "地域类型",
|
|
152
|
+
"enum": [
|
|
153
|
+
{
|
|
154
|
+
"label": "省-市-区",
|
|
155
|
+
"value": "levelThree"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"label": "省-市",
|
|
159
|
+
"value": "levelTwo"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"label": "省",
|
|
163
|
+
"value": "levelOne"
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"default": "levelThree"
|
|
167
|
+
},
|
|
168
|
+
"format": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"default": "",
|
|
171
|
+
"title": "字段类型",
|
|
172
|
+
"x-linkages": [
|
|
173
|
+
{
|
|
174
|
+
"type": "value:visible",
|
|
175
|
+
"target": "range",
|
|
176
|
+
"condition": "{{$self.value!='father-son'&&$self.value!='related'&&$self.value!='x-enum'}}"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"type": "value:visible",
|
|
180
|
+
"target": "format",
|
|
181
|
+
"condition": false
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"type": "value:visible",
|
|
185
|
+
"target": "tipBlock",
|
|
186
|
+
"condition": "{{$self.value=='father-son'||$self.value=='related'||$self.value=='x-enum'}}"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"type": "value:visible",
|
|
190
|
+
"target": "where",
|
|
191
|
+
"condition": "{{$self.value=='father-son'||$self.value=='related'}}"
|
|
192
|
+
}
|
|
193
|
+
]
|
|
194
|
+
},
|
|
195
|
+
"tipBlock": {
|
|
196
|
+
"title": "选项",
|
|
197
|
+
"type": "string",
|
|
198
|
+
"x-component": "selection-tip",
|
|
199
|
+
"x-props": {
|
|
200
|
+
"data-hidebind": true
|
|
201
|
+
},
|
|
202
|
+
"default": ""
|
|
203
|
+
},
|
|
204
|
+
"dataSourceName": {
|
|
205
|
+
"title": "父数据源名称",
|
|
206
|
+
"type": "string",
|
|
207
|
+
"default": "",
|
|
208
|
+
"x-linkages": [
|
|
209
|
+
{
|
|
210
|
+
"type": "value:visible",
|
|
211
|
+
"target": "dataSourceName",
|
|
212
|
+
"condition": false
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"type": "value:schema",
|
|
216
|
+
"target": "where",
|
|
217
|
+
"schema": {
|
|
218
|
+
"x-component-props": "{{{selectedDataSourceName: $self.value}}}"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
"viewId": {
|
|
224
|
+
"title": "选项",
|
|
225
|
+
"type": "string",
|
|
226
|
+
"default": "",
|
|
227
|
+
"x-linkages": [
|
|
228
|
+
{
|
|
229
|
+
"type": "value:visible",
|
|
230
|
+
"target": "viewId",
|
|
231
|
+
"condition": false
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
"primaryField": {
|
|
236
|
+
"title": "主列名称",
|
|
237
|
+
"type": "string",
|
|
238
|
+
"default": "",
|
|
239
|
+
"x-linkages": [
|
|
240
|
+
{
|
|
241
|
+
"type": "value:visible",
|
|
242
|
+
"target": "primaryField",
|
|
243
|
+
"condition": false
|
|
244
|
+
}
|
|
245
|
+
]
|
|
246
|
+
},
|
|
247
|
+
"enumName": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"default": "",
|
|
250
|
+
"title": "字段类型",
|
|
251
|
+
"x-linkages": [
|
|
252
|
+
{
|
|
253
|
+
"type": "value:visible",
|
|
254
|
+
"target": "enumName",
|
|
255
|
+
"condition": false
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
"where": {
|
|
260
|
+
"x-index": 20,
|
|
261
|
+
"title": "选项筛选",
|
|
262
|
+
"x-category": "基础属性",
|
|
263
|
+
"type": "array",
|
|
264
|
+
"items": {},
|
|
265
|
+
"x-component": "condition-select",
|
|
266
|
+
"x-component-props": {
|
|
267
|
+
"selectedDataSourceName": "",
|
|
268
|
+
"customLogicOptions": [
|
|
269
|
+
{
|
|
270
|
+
"text": "且",
|
|
271
|
+
"value": "and"
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
"blackListConfig": {
|
|
275
|
+
"format": [
|
|
276
|
+
"related",
|
|
277
|
+
"father-son",
|
|
278
|
+
"x-file",
|
|
279
|
+
"x-image"
|
|
280
|
+
],
|
|
281
|
+
"type": [
|
|
282
|
+
"object",
|
|
283
|
+
"array"
|
|
284
|
+
]
|
|
285
|
+
},
|
|
286
|
+
"customRelOptions": {
|
|
287
|
+
"number": [
|
|
288
|
+
{
|
|
289
|
+
"value": "equal",
|
|
290
|
+
"text": "等于",
|
|
291
|
+
"type": "equal"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"value": "unequal",
|
|
295
|
+
"text": "不等于"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"value": "greater",
|
|
299
|
+
"text": "大于",
|
|
300
|
+
"type": "greate"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"value": "greater_or_equal",
|
|
304
|
+
"text": "大于等于",
|
|
305
|
+
"type": "greater_or_equal"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"value": "less",
|
|
309
|
+
"text": "小于",
|
|
310
|
+
"type": "less"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"value": "less_or_equal",
|
|
314
|
+
"text": "小于等于",
|
|
315
|
+
"type": "less_or_equal"
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"x-props": {
|
|
321
|
+
"data-hidebind": true,
|
|
322
|
+
"data-hideBindValue": true,
|
|
323
|
+
"data-withBindMeta": true
|
|
324
|
+
}
|
|
125
325
|
},
|
|
126
326
|
"range": {
|
|
127
327
|
"type": "array",
|
|
128
328
|
"default": [
|
|
129
329
|
{
|
|
130
|
-
"label": "
|
|
131
|
-
"value": "
|
|
330
|
+
"label": "选项1",
|
|
331
|
+
"value": "1"
|
|
132
332
|
},
|
|
133
333
|
{
|
|
134
|
-
"label": "
|
|
135
|
-
"value": "
|
|
334
|
+
"label": "选项2",
|
|
335
|
+
"value": "2"
|
|
336
|
+
}
|
|
337
|
+
],
|
|
338
|
+
"x-component": "list",
|
|
339
|
+
"x-linkages": [
|
|
340
|
+
{
|
|
341
|
+
"type": "value:schema",
|
|
342
|
+
"target": "range",
|
|
343
|
+
"schema": {
|
|
344
|
+
"items": {
|
|
345
|
+
"display": "label",
|
|
346
|
+
"type": "object",
|
|
347
|
+
"properties": {
|
|
348
|
+
"label": {
|
|
349
|
+
"type": "string",
|
|
350
|
+
"title": "选项名称",
|
|
351
|
+
"default": "选项1"
|
|
352
|
+
},
|
|
353
|
+
"value": {
|
|
354
|
+
"type": "string",
|
|
355
|
+
"title": "选项值",
|
|
356
|
+
"default": "1"
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"default": {
|
|
360
|
+
"label": "{{'选项' + ($self.value.length+1)}}",
|
|
361
|
+
"value": "{{$self.value.length+1}}"
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
136
365
|
}
|
|
137
366
|
],
|
|
138
367
|
"title": "列表项",
|
|
139
368
|
"items": {
|
|
140
369
|
"type": "object",
|
|
370
|
+
"display": "label",
|
|
141
371
|
"properties": {
|
|
142
372
|
"label": {
|
|
143
373
|
"type": "string",
|
|
144
|
-
"title": "
|
|
374
|
+
"title": "选项名称",
|
|
145
375
|
"default": "选项"
|
|
146
376
|
},
|
|
147
377
|
"value": {
|
|
148
378
|
"type": "string",
|
|
149
|
-
"title": "
|
|
150
|
-
"default": "
|
|
379
|
+
"title": "选项值",
|
|
380
|
+
"default": "1"
|
|
151
381
|
}
|
|
382
|
+
},
|
|
383
|
+
"default": {
|
|
384
|
+
"label": "选项",
|
|
385
|
+
"value": "1"
|
|
152
386
|
}
|
|
153
387
|
}
|
|
154
388
|
},
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"navOption": {
|
|
6
6
|
"type": "array",
|
|
7
7
|
"title": "图文内容",
|
|
8
|
-
"icon":"icon",
|
|
8
|
+
"icon": "icon",
|
|
9
9
|
"items": {
|
|
10
10
|
"type": "object",
|
|
11
11
|
"title": "示例标题",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"default": {
|
|
14
14
|
"icon": "https://qcloudimg.tencent-cloud.cn/raw/478c35e469057b4d6352ccc14e00ebc5.png",
|
|
15
15
|
"title": "示例标题",
|
|
16
|
-
"des":"这是一段示例描述,这是一段示例描述"
|
|
16
|
+
"des": "这是一段示例描述,这是一段示例描述"
|
|
17
17
|
},
|
|
18
18
|
"display": "title",
|
|
19
19
|
"properties": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"default": "这是一段示例描述,这是一段示例描述",
|
|
37
37
|
"x-index": 15
|
|
38
38
|
},
|
|
39
|
-
"tapStatus":{
|
|
39
|
+
"tapStatus": {
|
|
40
40
|
"enum": [
|
|
41
41
|
{
|
|
42
42
|
"value": "tap",
|
|
@@ -52,13 +52,22 @@
|
|
|
52
52
|
"value": "outer",
|
|
53
53
|
"label": "外部链接",
|
|
54
54
|
"icon": "weda-editor-icon-link",
|
|
55
|
-
"tooltip":[
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
55
|
+
"tooltip": [
|
|
56
|
+
{
|
|
57
|
+
"platform": [
|
|
58
|
+
"ALL",
|
|
59
|
+
"MP"
|
|
60
|
+
],
|
|
61
|
+
"text": "小程序平台不支持跳转外部链接"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"disabled": [
|
|
65
|
+
{
|
|
66
|
+
"platform": [
|
|
67
|
+
"MP"
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
]
|
|
62
71
|
}
|
|
63
72
|
],
|
|
64
73
|
"type": "string",
|
|
@@ -97,20 +106,21 @@
|
|
|
97
106
|
"x-category": "基础属性",
|
|
98
107
|
"x-index": 120,
|
|
99
108
|
"x-component-props": {
|
|
100
|
-
"hideAddPlatform": [
|
|
101
|
-
|
|
109
|
+
"hideAddPlatform": [
|
|
110
|
+
"MP"
|
|
111
|
+
],
|
|
112
|
+
"addHidden": true
|
|
102
113
|
},
|
|
103
114
|
"x-linkages": [
|
|
104
115
|
{
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
116
|
+
"type": "value:state",
|
|
117
|
+
"target": "*(dataForm.params)",
|
|
118
|
+
"condition": "{{$self.value && $self.value.length>0}}",
|
|
119
|
+
"state": {
|
|
120
|
+
"pageId": "{{$self.value}}"
|
|
121
|
+
}
|
|
111
122
|
}
|
|
112
|
-
|
|
113
|
-
]
|
|
123
|
+
]
|
|
114
124
|
},
|
|
115
125
|
"outerUrl": {
|
|
116
126
|
"title": "URL地址",
|
|
@@ -127,18 +137,18 @@
|
|
|
127
137
|
"default": false,
|
|
128
138
|
"type": "boolean",
|
|
129
139
|
"x-linkages": [
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
140
|
+
{
|
|
141
|
+
"type": "value:visible",
|
|
142
|
+
"target": "*(dataForm.params)",
|
|
143
|
+
"condition": "{{$self.value==true}}"
|
|
144
|
+
}
|
|
135
145
|
]
|
|
136
146
|
},
|
|
137
147
|
"params": {
|
|
138
148
|
"type": "array",
|
|
139
149
|
"title": "参数",
|
|
140
|
-
"pageId":"",
|
|
141
|
-
"x-component":"page-params",
|
|
150
|
+
"pageId": "",
|
|
151
|
+
"x-component": "page-params",
|
|
142
152
|
"default": []
|
|
143
153
|
}
|
|
144
154
|
}
|
|
@@ -147,25 +157,25 @@
|
|
|
147
157
|
{
|
|
148
158
|
"icon": "https://qcloudimg.tencent-cloud.cn/raw/478c35e469057b4d6352ccc14e00ebc5.png",
|
|
149
159
|
"title": "示例标题",
|
|
150
|
-
"des":"这是一段示例描述,这是一段示例描述",
|
|
160
|
+
"des": "这是一段示例描述,这是一段示例描述",
|
|
151
161
|
"tapStatus": "tap"
|
|
152
162
|
},
|
|
153
163
|
{
|
|
154
164
|
"icon": "https://qcloudimg.tencent-cloud.cn/raw/478c35e469057b4d6352ccc14e00ebc5.png",
|
|
155
165
|
"title": "示例标题",
|
|
156
|
-
"des":"这是一段示例描述,这是一段示例描述",
|
|
166
|
+
"des": "这是一段示例描述,这是一段示例描述",
|
|
157
167
|
"tapStatus": "tap"
|
|
158
168
|
},
|
|
159
169
|
{
|
|
160
170
|
"icon": "https://qcloudimg.tencent-cloud.cn/raw/478c35e469057b4d6352ccc14e00ebc5.png",
|
|
161
171
|
"title": "示例标题",
|
|
162
|
-
"des":"这是一段示例描述,这是一段示例描述",
|
|
172
|
+
"des": "这是一段示例描述,这是一段示例描述",
|
|
163
173
|
"tapStatus": "tap"
|
|
164
174
|
},
|
|
165
175
|
{
|
|
166
176
|
"icon": "https://qcloudimg.tencent-cloud.cn/raw/478c35e469057b4d6352ccc14e00ebc5.png",
|
|
167
177
|
"title": "示例标题",
|
|
168
|
-
"des":"这是一段示例描述,这是一段示例描述",
|
|
178
|
+
"des": "这是一段示例描述,这是一段示例描述",
|
|
169
179
|
"tapStatus": "tap"
|
|
170
180
|
}
|
|
171
181
|
],
|
|
@@ -217,7 +227,7 @@
|
|
|
217
227
|
"default": "100%",
|
|
218
228
|
"title": "图片高度",
|
|
219
229
|
"x-category": "高级属性",
|
|
220
|
-
|
|
230
|
+
"x-index": 20
|
|
221
231
|
},
|
|
222
232
|
"iconWidthSize": {
|
|
223
233
|
"type": "string",
|
|
@@ -225,7 +235,7 @@
|
|
|
225
235
|
"title": "图片宽度",
|
|
226
236
|
"description": "默认单位px",
|
|
227
237
|
"x-category": "高级属性",
|
|
228
|
-
|
|
238
|
+
"x-index": 25
|
|
229
239
|
},
|
|
230
240
|
"titleVisible": {
|
|
231
241
|
"title": "显示标题",
|
|
@@ -249,38 +259,37 @@
|
|
|
249
259
|
"x-category": "高级属性",
|
|
250
260
|
"default": "rgb(0, 0, 0)"
|
|
251
261
|
},
|
|
252
|
-
|
|
253
262
|
"titleFontWeight": {
|
|
254
263
|
"type": "string",
|
|
255
264
|
"title": "标题字重",
|
|
256
265
|
"default": "bolder",
|
|
257
266
|
"x-category": "高级属性",
|
|
258
267
|
"x-index": 50,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
268
|
+
"enum": [
|
|
269
|
+
{
|
|
270
|
+
"label": "细",
|
|
271
|
+
"value": "lighter"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"label": "正常",
|
|
275
|
+
"value": "normal"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"label": "粗",
|
|
279
|
+
"value": "bolder"
|
|
280
|
+
}
|
|
281
|
+
]
|
|
273
282
|
},
|
|
274
283
|
"titleFontSize": {
|
|
275
284
|
"type": "number",
|
|
276
285
|
"title": "标题字号",
|
|
277
286
|
"default": 14,
|
|
278
287
|
"x-category": "高级属性",
|
|
279
|
-
"x-props":{
|
|
280
|
-
"min":0,
|
|
281
|
-
"max":100
|
|
288
|
+
"x-props": {
|
|
289
|
+
"min": 0,
|
|
290
|
+
"max": 100
|
|
282
291
|
},
|
|
283
|
-
"x-index":60
|
|
292
|
+
"x-index": 60
|
|
284
293
|
},
|
|
285
294
|
"titleLineHeight": {
|
|
286
295
|
"title": "标题行高",
|
|
@@ -318,38 +327,37 @@
|
|
|
318
327
|
"x-category": "高级属性",
|
|
319
328
|
"default": "rgba(0, 0, 0, 0.4)"
|
|
320
329
|
},
|
|
321
|
-
|
|
322
330
|
"desFontWeight": {
|
|
323
331
|
"type": "string",
|
|
324
332
|
"title": "描述字重",
|
|
325
333
|
"default": "normal",
|
|
326
334
|
"x-category": "高级属性",
|
|
327
335
|
"x-index": 110,
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
336
|
+
"enum": [
|
|
337
|
+
{
|
|
338
|
+
"label": "细",
|
|
339
|
+
"value": "lighter"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"label": "正常",
|
|
343
|
+
"value": "normal"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"label": "粗",
|
|
347
|
+
"value": "bolder"
|
|
348
|
+
}
|
|
349
|
+
]
|
|
342
350
|
},
|
|
343
351
|
"desFontSize": {
|
|
344
352
|
"type": "number",
|
|
345
353
|
"title": "描述字号",
|
|
346
354
|
"default": 14,
|
|
347
355
|
"x-category": "高级属性",
|
|
348
|
-
"x-props":{
|
|
349
|
-
"min":0,
|
|
350
|
-
"max":100
|
|
356
|
+
"x-props": {
|
|
357
|
+
"min": 0,
|
|
358
|
+
"max": 100
|
|
351
359
|
},
|
|
352
|
-
"x-index":120
|
|
360
|
+
"x-index": 120
|
|
353
361
|
},
|
|
354
362
|
"desLineHeight": {
|
|
355
363
|
"title": "描述行高",
|
|
@@ -371,7 +379,7 @@
|
|
|
371
379
|
"default": true,
|
|
372
380
|
"x-category": "高级属性",
|
|
373
381
|
"x-index": 150,
|
|
374
|
-
"description":"无行为的按钮将保持隐藏",
|
|
382
|
+
"description": "无行为的按钮将保持隐藏",
|
|
375
383
|
"x-linkages": [
|
|
376
384
|
{
|
|
377
385
|
"type": "value:visible",
|
|
@@ -384,7 +392,6 @@
|
|
|
384
392
|
"title": "按钮文案",
|
|
385
393
|
"type": "string",
|
|
386
394
|
"default": "查看详情",
|
|
387
|
-
|
|
388
395
|
"x-category": "高级属性",
|
|
389
396
|
"x-index": 160
|
|
390
397
|
}
|
|
@@ -392,8 +399,12 @@
|
|
|
392
399
|
},
|
|
393
400
|
"meta": {
|
|
394
401
|
"title": "图文卡片",
|
|
402
|
+
"description": "以卡片形式展示包含图片、标题、描述信息在内的列表信息。",
|
|
395
403
|
"category": "展示",
|
|
396
404
|
"componentOrder": 501,
|
|
397
405
|
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/GraphicCard.svg"
|
|
406
|
+
},
|
|
407
|
+
"configMeta": {
|
|
408
|
+
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/show/GraphicCard"
|
|
398
409
|
}
|
|
399
410
|
}
|
|
@@ -20,7 +20,9 @@
|
|
|
20
20
|
"showMenuByLongpress": {
|
|
21
21
|
"title": "识别小程序码",
|
|
22
22
|
"type": "boolean",
|
|
23
|
-
"x-platforms": [
|
|
23
|
+
"x-platforms": [
|
|
24
|
+
"MP"
|
|
25
|
+
],
|
|
24
26
|
"x-category": "高级属性",
|
|
25
27
|
"description": "小程序专有属性,长按图片可唤起识别小程序码功能"
|
|
26
28
|
},
|
|
@@ -157,8 +159,11 @@
|
|
|
157
159
|
],
|
|
158
160
|
"meta": {
|
|
159
161
|
"title": "图片",
|
|
160
|
-
"description": "
|
|
162
|
+
"description": "用于在页面进行图片的展示。",
|
|
161
163
|
"category": "多媒体",
|
|
162
164
|
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Image.svg"
|
|
165
|
+
},
|
|
166
|
+
"configMeta": {
|
|
167
|
+
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/media/Image"
|
|
163
168
|
}
|
|
164
169
|
}
|
|
@@ -20,9 +20,19 @@
|
|
|
20
20
|
"x-category": "基础属性",
|
|
21
21
|
"x-index": 120,
|
|
22
22
|
"x-component-props": {
|
|
23
|
-
"hideAddPlatform": [
|
|
23
|
+
"hideAddPlatform": [
|
|
24
|
+
"MP"
|
|
25
|
+
]
|
|
24
26
|
}
|
|
25
27
|
},
|
|
28
|
+
"isOpenInNewWindow": {
|
|
29
|
+
"type": "boolean",
|
|
30
|
+
"title": "是否打开新窗口",
|
|
31
|
+
"x-category": "基础属性",
|
|
32
|
+
"x-index": 130,
|
|
33
|
+
"default": false,
|
|
34
|
+
"description": "仅外部链接生效"
|
|
35
|
+
},
|
|
26
36
|
"params": {
|
|
27
37
|
"type": "array",
|
|
28
38
|
"title": "携带参数",
|
|
@@ -50,11 +60,17 @@
|
|
|
50
60
|
},
|
|
51
61
|
"meta": {
|
|
52
62
|
"title": "链接",
|
|
53
|
-
"description": "",
|
|
63
|
+
"description": "用于实现超链接跳转。",
|
|
54
64
|
"category": "文本",
|
|
55
65
|
"componentOrder": 10,
|
|
56
66
|
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Link.svg",
|
|
57
|
-
"platform": [
|
|
67
|
+
"platform": [
|
|
68
|
+
"MOBILEWEB",
|
|
69
|
+
"PCWEB"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"configMeta": {
|
|
73
|
+
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/text/Link"
|
|
58
74
|
},
|
|
59
75
|
"events": [
|
|
60
76
|
{
|