@cloudbase/weda-ui 0.2.17 → 2.0.8
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 +10 -5
- package/src/configs/components/button.json +0 -2
- package/src/configs/components/calendar.json +9 -3
- package/src/configs/components/carousel.json +18 -9
- package/src/configs/components/chart/bar.json +31 -12
- package/src/configs/components/chart/line.json +27 -10
- package/src/configs/components/chart/pie.json +22 -8
- package/src/configs/components/chart/statisticsCard.json +61 -13
- package/src/configs/components/container.json +7 -2
- package/src/configs/components/dataView.json +31 -11
- package/src/configs/components/form/checkbox.json +97 -5
- package/src/configs/components/form/radio.json +123 -4
- package/src/configs/components/form/select.json +247 -13
- package/src/configs/components/graphicCard.json +90 -75
- package/src/configs/components/image.json +19 -8
- package/src/configs/components/link.json +25 -6
- package/src/configs/components/listView.json +83 -27
- package/src/configs/components/lottery.json +153 -0
- package/src/configs/components/modal.json +37 -5
- package/src/configs/components/navLayout.json +97 -79
- package/src/configs/components/navigationBar.json +59 -0
- package/src/configs/components/richtextview.json +6 -2
- package/src/configs/components/scrollVeiw.json +98 -34
- package/src/configs/components/swiper.json +22 -10
- package/src/configs/components/tabs.json +54 -9
- package/src/configs/components/text.json +43 -30
- 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 +13 -0
- package/src/docs/common/format.tsx +112 -0
- package/src/docs/common/tableView.css +164 -0
- package/src/docs/common/tableView.tsx +273 -0
- package/src/docs/compsdocs/chart/Bar.mdx +159 -0
- package/src/docs/compsdocs/chart/Line.mdx +100 -0
- package/src/docs/compsdocs/chart/Pie.mdx +83 -0
- package/src/docs/compsdocs/chart/_category_.json +1 -0
- package/src/docs/compsdocs/chart/statisticsCard.mdx +51 -0
- package/src/docs/compsdocs/database/DataView.mdx +33 -0
- package/src/docs/compsdocs/database/ListView.mdx +33 -0
- package/src/docs/compsdocs/database/_category_.json +1 -0
- package/src/docs/compsdocs/form/Form.mdx +35 -0
- package/src/docs/compsdocs/form/FormCheckbox.mdx +35 -0
- package/src/docs/compsdocs/form/FormDate.mdx +30 -0
- package/src/docs/compsdocs/form/FormEmail.mdx +30 -0
- package/src/docs/compsdocs/form/FormImageUploader.mdx +31 -0
- package/src/docs/compsdocs/form/FormInput.mdx +30 -0
- package/src/docs/compsdocs/form/FormLocation.mdx +64 -0
- package/src/docs/compsdocs/form/FormPhone.mdx +30 -0
- package/src/docs/compsdocs/form/FormRadio.mdx +35 -0
- package/src/docs/compsdocs/form/FormRegion.mdx +30 -0
- package/src/docs/compsdocs/form/FormSelect.mdx +36 -0
- package/src/docs/compsdocs/form/FormSwitch.mdx +30 -0
- package/src/docs/compsdocs/form/FormTextarea.mdx +30 -0
- package/src/docs/compsdocs/form/FormTime.mdx +30 -0
- package/src/docs/compsdocs/form/FormUploadFile.mdx +30 -0
- package/src/docs/compsdocs/form/FormUrl.mdx +30 -0
- package/src/docs/compsdocs/form/_category_.json +1 -0
- package/src/docs/compsdocs/grid/Card.mdx +32 -0
- package/src/docs/compsdocs/grid/Container.mdx +42 -0
- package/src/docs/compsdocs/grid/Footer.mdx +31 -0
- package/src/docs/compsdocs/grid/GridLayout.mdx +32 -0
- package/src/docs/compsdocs/grid/Header.mdx +31 -0
- package/src/docs/compsdocs/grid/Layout.mdx +25 -0
- package/src/docs/compsdocs/grid/List.mdx +31 -0
- package/src/docs/compsdocs/grid/ScrollView.mdx +37 -0
- package/src/docs/compsdocs/grid/Swiper.mdx +58 -0
- package/src/docs/compsdocs/grid/_category_.json +1 -0
- package/src/docs/compsdocs/media/Icon.mdx +31 -0
- package/src/docs/compsdocs/media/Image.mdx +55 -0
- package/src/docs/compsdocs/media/_category_.json +1 -0
- package/src/docs/compsdocs/model/ModelCreate.mdx +20 -0
- package/src/docs/compsdocs/model/ModelDetail.mdx +20 -0
- package/src/docs/compsdocs/model/ModelTable.mdx +24 -0
- package/src/docs/compsdocs/model/ModelUpdate.mdx +21 -0
- package/src/docs/compsdocs/model/PageLayout.mdx +21 -0
- package/src/docs/compsdocs/model/_category_.json +1 -0
- package/src/docs/compsdocs/navmenu/Classification.mdx +38 -0
- package/src/docs/compsdocs/navmenu/NavBar.mdx +43 -0
- package/src/docs/compsdocs/navmenu/NavLayout.mdx +30 -0
- package/src/docs/compsdocs/navmenu/TabBar.mdx +43 -0
- package/src/docs/compsdocs/navmenu/TabBarItem.mdx +29 -0
- package/src/docs/compsdocs/navmenu/_category_.json +1 -0
- package/src/docs/compsdocs/senior/Lottery.mdx +48 -0
- package/src/docs/compsdocs/senior/Modal.mdx +58 -0
- package/src/docs/compsdocs/senior/SlotMachine.mdx +52 -0
- package/src/docs/compsdocs/senior/_category_.json +1 -0
- package/src/docs/compsdocs/show/Calendar.mdx +29 -0
- package/src/docs/compsdocs/show/Divider.mdx +31 -0
- package/src/docs/compsdocs/show/GraphicCard.mdx +30 -0
- package/src/docs/compsdocs/show/Item.mdx +32 -0
- package/src/docs/compsdocs/show/ItemList.mdx +47 -0
- package/src/docs/compsdocs/show/Media.mdx +25 -0
- package/src/docs/compsdocs/show/StatusTip.mdx +25 -0
- package/src/docs/compsdocs/show/Swiper.mdx +33 -0
- package/src/docs/compsdocs/show/Tabs.mdx +38 -0
- package/src/docs/compsdocs/show/_category_.json +1 -0
- package/src/docs/compsdocs/show/button.mdx +25 -0
- package/src/docs/compsdocs/text/Link.mdx +43 -0
- package/src/docs/compsdocs/text/RichTextView.mdx +36 -0
- package/src/docs/compsdocs/text/Text.mdx +31 -0
- package/src/docs/compsdocs/text/Title.mdx +32 -0
- package/src/docs/compsdocs/text/_category_.json +1 -0
- package/src/docs/compsdocs/wxOpen/Phone.mdx +60 -0
- package/src/docs/compsdocs/wxOpen/Share.mdx +46 -0
- package/src/docs/compsdocs/wxOpen/UserInfo.mdx +60 -0
- package/src/docs/compsdocs/wxOpen/_category_.json +4 -0
- package/src/index.js +2 -0
- package/src/mp/components/button/index.js +18 -2
- package/src/mp/components/button/index.wxml +7 -4
- 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/form/index.wxml +1 -2
- package/src/mp/components/form/formcell/index.wxml +1 -1
- package/src/mp/components/form/formcell/index.wxss +17 -0
- package/src/mp/components/form/input/index.js +1 -1
- package/src/mp/components/form/input/index.wxss +15 -0
- package/src/mp/components/form/location/index.js +43 -2
- package/src/mp/components/form/location/index.wxss +4 -6
- package/src/mp/components/form/radio/index.js +34 -1
- package/src/mp/components/form/select/index.js +351 -41
- package/src/mp/components/form/select/index.wxml +17 -2
- package/src/mp/components/form/select/index.wxss +4 -0
- package/src/mp/components/form/select/region/index.js +101 -0
- package/src/mp/components/form/textarea/index.js +1 -1
- package/src/mp/components/form/textarea/index.wxss +4 -0
- package/src/mp/components/form/uploader/index.js +39 -27
- package/src/mp/components/form/uploader/index.json +3 -2
- package/src/mp/components/form/uploader/index.wxml +11 -7
- package/src/mp/components/form/uploader/index.wxss +20 -2
- package/src/mp/components/form/uploader/weui-uploader.js +209 -0
- package/src/mp/components/form/uploader/weui-uploader.json +7 -0
- package/src/mp/components/form/uploader/weui-uploader.wxml +45 -0
- package/src/mp/components/form/uploader/weui-uploader.wxss +1 -0
- package/src/mp/components/form/uploaderFile/index.js +10 -6
- package/src/mp/components/form/uploaderFile/index.wxss +4 -4
- package/src/mp/components/image/index.wxss +3 -2
- package/src/mp/components/listView/index.js +38 -43
- package/src/mp/components/listView/index.wxml +1 -1
- package/src/mp/components/listView/index.wxss +5 -0
- package/src/mp/components/lottery/index.js +270 -0
- package/src/mp/components/{internals/listView → lottery}/index.json +0 -0
- package/src/mp/components/lottery/index.wxml +43 -0
- package/src/mp/components/lottery/index.wxss +317 -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/wxOpenApi/phone/index.json +4 -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 -1
- package/src/mp/style/weda-ui.wxss +16 -0
- package/src/mp/utils/constant.js +15 -0
- package/src/mp/utils/destr.js +48 -0
- package/src/mp/utils/lodash.js +2 -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 +10 -9
- package/src/web/components/calendar/index.jsx +1 -1
- package/src/web/components/carousel/index.tsx +8 -8
- package/src/web/components/chart/bar/index.tsx +40 -39
- package/src/web/components/chart/common/config/line.js +1 -1
- 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 +61 -23
- package/src/web/components/form/form/index.css +5 -1
- package/src/web/components/form/form/index.tsx +3 -1
- package/src/web/components/form/formcell/index.css +22 -1
- package/src/web/components/form/formcell/index.tsx +11 -6
- package/src/web/components/form/input/index.css +7 -12
- package/src/web/components/form/location/components/LocationH5/index.css +4 -7
- package/src/web/components/form/location/components/LocationH5/location.h5.jsx +1 -1
- package/src/web/components/form/radio/index.tsx +90 -53
- package/src/web/components/form/select/h5.tsx +370 -73
- package/src/web/components/form/select/index.css +15 -0
- package/src/web/components/form/select/index.tsx +392 -145
- 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/textarea/index.css +4 -0
- package/src/web/components/form/textarea/index.tsx +2 -2
- package/src/web/components/form/tips/index.css +4 -0
- package/src/web/components/form/tips/index.tsx +4 -3
- package/src/web/components/form/uploader/index.css +26 -2
- package/src/web/components/form/uploader/uploader.h5.tsx +89 -57
- package/src/web/components/form/uploader/uploader.pc.tsx +4 -4
- package/src/web/components/form/uploaderFile/index.css +2 -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.css +3 -3
- package/src/web/components/image/index.tsx +6 -7
- package/src/web/components/index.js +8 -0
- package/src/web/components/link/index.tsx +7 -4
- package/src/web/components/listView/index.css +4 -0
- package/src/web/components/listView/index.tsx +12 -20
- package/src/web/components/lottery/index.css +327 -0
- package/src/web/components/lottery/index.tsx +567 -0
- package/src/web/components/lottery/lotteryUtil.ts +130 -0
- package/src/web/components/modal/index.tsx +3 -1
- package/src/web/components/navLayout/index.tsx +2 -2
- 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 +230 -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/picker/timePicker.tsx +2 -2
- 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/slot/index.tsx +1 -1
- 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 +12 -20
- package/src/web/components/userInfo/index.css +0 -0
- package/src/web/components/userInfo/index.tsx +30 -0
- package/src/web/utils/{constant.js → constant.ts} +17 -2
- package/src/web/utils/lodash.ts +2 -0
- package/src/web/utils/platform.js +9 -0
- package/src/web/utils/tcb.js +26 -0
- package/src/web/weda-ui.css +7 -1
- 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
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# 数据详情
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="DataView"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="sourceCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
1. 将组件拖入到编辑器中后,可配置绑定的数据模型
|
|
12
|
+
2. 当满足「数据筛选」配置的数据存在多条时,仅排序上第一条符合条件的数据,可被显示在组件上
|
|
13
|
+
3. 「数据详情」组件内部的各个子组件,点击各项属性右侧的「数据绑定」按钮,可直接绑定数据模型中的字段,实现内容显示或逻辑控制
|
|
14
|
+
|
|
15
|
+

|
|
16
|
+
|
|
17
|
+
## 属性介绍
|
|
18
|
+
|
|
19
|
+
import TableLayoutView from '../../common/tableView';
|
|
20
|
+
|
|
21
|
+
<TableLayoutView
|
|
22
|
+
componentKey="DataView"
|
|
23
|
+
type="attribute"
|
|
24
|
+
origin="sourceCode"
|
|
25
|
+
></TableLayoutView>
|
|
26
|
+
|
|
27
|
+
## 事件介绍
|
|
28
|
+
|
|
29
|
+
<TableLayoutView
|
|
30
|
+
componentKey="DataView"
|
|
31
|
+
type="event"
|
|
32
|
+
origin="sourceCode"
|
|
33
|
+
></TableLayoutView>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# 数据列表
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="ListView"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="sourceCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
1. 将组件拖入到编辑器中后,可配置绑定的数据模型,并控制数据排序顺序与数据筛选条件
|
|
12
|
+
2. 可通过「模板属性」切换不同的列表模板,满足不同的前端内部布局需求,如模板内容不满足业务需求,用户可自行在数据列表中放入其他组件,并进行布局调整
|
|
13
|
+
3. 「数据列表」组件内部的各个子组件,点击各项属性右侧的「数据绑定」按钮,可直接绑定数据模型中的字段,实现内容显示或逻辑控制
|
|
14
|
+
|
|
15
|
+

|
|
16
|
+
|
|
17
|
+
## 属性介绍
|
|
18
|
+
|
|
19
|
+
import TableLayoutView from '../../common/tableView';
|
|
20
|
+
|
|
21
|
+
<TableLayoutView
|
|
22
|
+
componentKey="ListView"
|
|
23
|
+
type="attribute"
|
|
24
|
+
origin="sourceCode"
|
|
25
|
+
></TableLayoutView>
|
|
26
|
+
|
|
27
|
+
## 事件介绍
|
|
28
|
+
|
|
29
|
+
<TableLayoutView
|
|
30
|
+
componentKey="ListView"
|
|
31
|
+
type="event"
|
|
32
|
+
origin="sourceCode"
|
|
33
|
+
></TableLayoutView>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "label": "数据容器", "position": 80 }
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# 表单容器
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="Form"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="lowCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
1. 配置「表单场景」,选择所需数据源后,表单容器会根据数据源字段类型自动生成对应的表单组件和提交按钮
|
|
12
|
+
|
|
13
|
+

|
|
14
|
+
|
|
15
|
+
2. 如需更新数据,则需在编辑器中创建初始化方法为「单条更新」的模型变量,并在组件「表单场景」中选择新增记录场景,并绑定该变量
|
|
16
|
+
|
|
17
|
+
3. 「表单初始值」属性用于渲染表单内容的初始值,仅页面加载时有效,后续调整该值将不再生效
|
|
18
|
+
|
|
19
|
+
## 属性介绍
|
|
20
|
+
|
|
21
|
+
import TableLayoutView from '../../common/tableView';
|
|
22
|
+
|
|
23
|
+
<TableLayoutView
|
|
24
|
+
componentKey="Form"
|
|
25
|
+
type="attribute"
|
|
26
|
+
origin="lowCode"
|
|
27
|
+
></TableLayoutView>
|
|
28
|
+
|
|
29
|
+
## 事件介绍
|
|
30
|
+
|
|
31
|
+
<TableLayoutView
|
|
32
|
+
componentKey="Form"
|
|
33
|
+
type="event"
|
|
34
|
+
origin="lowCode"
|
|
35
|
+
></TableLayoutView>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# 多选
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="FormCheckbox"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="lowCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
1. 放入「表单容器」组件后,可实现数据源数据的提交与显示
|
|
12
|
+
|
|
13
|
+
2. 当父级表单容器组件已经绑定数据源后,利用「字段绑定」属性可绑定该数据源中的字段,实现新增/查看/更新对应字段的数据
|
|
14
|
+
|
|
15
|
+
3. 点击选项列表的「绑定数据源」按钮,启用数据源绑定模式,可绑定数组格式的变量,实现选项数据的动态渲染
|
|
16
|
+
|
|
17
|
+

|
|
18
|
+
|
|
19
|
+
## 属性介绍
|
|
20
|
+
|
|
21
|
+
import TableLayoutView from '../../common/tableView';
|
|
22
|
+
|
|
23
|
+
<TableLayoutView
|
|
24
|
+
componentKey="FormCheckbox"
|
|
25
|
+
type="attribute"
|
|
26
|
+
origin="lowCode"
|
|
27
|
+
></TableLayoutView>
|
|
28
|
+
|
|
29
|
+
## 事件介绍
|
|
30
|
+
|
|
31
|
+
<TableLayoutView
|
|
32
|
+
componentKey="FormCheckbox"
|
|
33
|
+
type="event"
|
|
34
|
+
origin="lowCode"
|
|
35
|
+
></TableLayoutView>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# 日期选择
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="FormDate"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="lowCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
1. 放入「表单容器」组件后,可实现数据源数据的提交与显示
|
|
12
|
+
2. 当父级表单容器组件已经绑定数据源后,利用「字段绑定」属性可绑定该数据源中的字段,实现新增/查看/更新对应字段的数据
|
|
13
|
+
|
|
14
|
+
## 属性介绍
|
|
15
|
+
|
|
16
|
+
import TableLayoutView from '../../common/tableView';
|
|
17
|
+
|
|
18
|
+
<TableLayoutView
|
|
19
|
+
componentKey="FormDate"
|
|
20
|
+
type="attribute"
|
|
21
|
+
origin="lowCode"
|
|
22
|
+
></TableLayoutView>
|
|
23
|
+
|
|
24
|
+
## 事件介绍
|
|
25
|
+
|
|
26
|
+
<TableLayoutView
|
|
27
|
+
componentKey="FormDate"
|
|
28
|
+
type="event"
|
|
29
|
+
origin="lowCode"
|
|
30
|
+
></TableLayoutView>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# 表单邮箱
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="FormEmail"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="lowCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
1. 放入「表单容器」组件后,可实现数据源数据的提交与显示
|
|
12
|
+
2. 当父级表单容器组件已经绑定数据源后,利用「字段绑定」属性可绑定该数据源中的字段,实现新增/查看/更新对应字段的数据
|
|
13
|
+
|
|
14
|
+
## 属性介绍
|
|
15
|
+
|
|
16
|
+
import TableLayoutView from '../../common/tableView';
|
|
17
|
+
|
|
18
|
+
<TableLayoutView
|
|
19
|
+
componentKey="FormEmail"
|
|
20
|
+
type="attribute"
|
|
21
|
+
origin="lowCode"
|
|
22
|
+
></TableLayoutView>
|
|
23
|
+
|
|
24
|
+
## 事件介绍
|
|
25
|
+
|
|
26
|
+
<TableLayoutView
|
|
27
|
+
componentKey="FormEmail"
|
|
28
|
+
type="event"
|
|
29
|
+
origin="lowCode"
|
|
30
|
+
></TableLayoutView>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# 图片上传
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="FormImageUploader"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="lowCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
1. 放入「表单容器」组件后,可实现数据源数据的提交与显示
|
|
12
|
+
2. 当父级表单容器组件已经绑定数据源后,利用「字段绑定」属性可绑定该数据源中的字段,实现新增/查看/更新对应字段的数据
|
|
13
|
+
3. 字段绑定属性选择的字段为「图片」类型时,仅允许上传单张图片;选择的字段为数组类型,并且该数组的元素类型为图片时,允许上传多张图片
|
|
14
|
+
|
|
15
|
+
## 属性介绍
|
|
16
|
+
|
|
17
|
+
import TableLayoutView from '../../common/tableView';
|
|
18
|
+
|
|
19
|
+
<TableLayoutView
|
|
20
|
+
componentKey="FormImageUploader"
|
|
21
|
+
type="attribute"
|
|
22
|
+
origin="lowCode"
|
|
23
|
+
></TableLayoutView>
|
|
24
|
+
|
|
25
|
+
## 事件介绍
|
|
26
|
+
|
|
27
|
+
<TableLayoutView
|
|
28
|
+
componentKey="FormImageUploader"
|
|
29
|
+
type="event"
|
|
30
|
+
origin="lowCode"
|
|
31
|
+
></TableLayoutView>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# 单行输入
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="FormInput"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="lowCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
1. 放入「表单容器」组件后,可实现数据源数据的提交与显示
|
|
12
|
+
2. 当父级表单容器组件已经绑定数据源后,利用「字段绑定」属性可绑定该数据源中的字段,实现新增/查看/更新对应字段的数据
|
|
13
|
+
|
|
14
|
+
## 属性介绍
|
|
15
|
+
|
|
16
|
+
import TableLayoutView from '../../common/tableView';
|
|
17
|
+
|
|
18
|
+
<TableLayoutView
|
|
19
|
+
componentKey="FormInput"
|
|
20
|
+
type="attribute"
|
|
21
|
+
origin="lowCode"
|
|
22
|
+
></TableLayoutView>
|
|
23
|
+
|
|
24
|
+
## 事件介绍
|
|
25
|
+
|
|
26
|
+
<TableLayoutView
|
|
27
|
+
componentKey="FormInput"
|
|
28
|
+
type="event"
|
|
29
|
+
origin="lowCode"
|
|
30
|
+
></TableLayoutView>
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# 地图定位
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="FormLocation"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="lowCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
### 生成方式
|
|
12
|
+
|
|
13
|
+
方式一:在数据模型内设置“地理位置”类型的字段,在编辑器内拖入表单容器,绑定该数据模型,即可自动生成。
|
|
14
|
+
|
|
15
|
+
方式二:在组件库内直接拖入表单容器,在组件库内拖入地图定位组件,地图定位需在表单容器内。通过[变量绑定](https://cloud.tencent.com/document/product/1301/69302)的方式实现组件与数据模型的数据交互。
|
|
16
|
+
|
|
17
|
+
### 配置指引
|
|
18
|
+
|
|
19
|
+
- 地图定位组件需进行地图配置才可使用,点击地图配置,选择腾讯地图连接器。若无连接器,请先新建腾讯地图连接器,具体请参考[腾讯地图连接器](https://cloud.tencent.com/document/product/1301/68448)
|
|
20
|
+
|
|
21
|
+
- 小程序端使用,请打开低码编辑器的获取权限代码,如图所示:
|
|
22
|
+
<img
|
|
23
|
+
src="https://qcloudimg.tencent-cloud.cn/raw/180f6d1e7363f137b377e990d1676699.jpg"
|
|
24
|
+
width="60%"
|
|
25
|
+
></img>
|
|
26
|
+
|
|
27
|
+
## 属性介绍
|
|
28
|
+
|
|
29
|
+
import TableLayoutView from '../../common/tableView';
|
|
30
|
+
|
|
31
|
+
<TableLayoutView
|
|
32
|
+
componentKey="FormLocation"
|
|
33
|
+
type="attribute"
|
|
34
|
+
origin="lowCode"
|
|
35
|
+
></TableLayoutView>
|
|
36
|
+
|
|
37
|
+
## 事件介绍
|
|
38
|
+
|
|
39
|
+
<TableLayoutView
|
|
40
|
+
componentKey="FormLocation"
|
|
41
|
+
type="event"
|
|
42
|
+
origin="lowCode"
|
|
43
|
+
></TableLayoutView>
|
|
44
|
+
|
|
45
|
+
## 限制说明
|
|
46
|
+
|
|
47
|
+
1. 小程序应用会调用微信官方的[wx.chooseLocation](https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.chooseLocation.html)和[wx.getLocation](https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.getLocation.html)接口实现定位,需符合小程序限制的类目要求(具体类目在小程序wx.getLocation文档中进行了介绍 [点击查看](https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.getLocation.html)),并在[微信公众平台](https://mp.weixin.qq.com/)中的「开发」-「开发管理」-「接口设置」模块中,自助开通「打开地图选择位置」和「获取当前的地理位置、速度」接口的权限。
|
|
48
|
+
2. 由于小程序接口限制,小程序下选择用户当前位置,初始化不能获取详细位置。
|
|
49
|
+
|
|
50
|
+
## 异常情况说明
|
|
51
|
+
|
|
52
|
+
浏览器定位失败的几种情况:
|
|
53
|
+
|
|
54
|
+
1)**Browser not Support html5 geolocation**:浏览器不支持原生定位接口,如 IE 较低版本的浏览器等。
|
|
55
|
+
|
|
56
|
+
2)**Geolocation permission denied**:用户禁用了定位权限,需要用户开启设备和浏览器的定位权限,并在浏览器弹窗中点击“允许使用定位”选项。
|
|
57
|
+
|
|
58
|
+
3)**Geolocation permission denied**:浏览器禁止了非安全域的定位请求,比如 Chrome、IOS10 已陆续禁止,这时候需要升级站点到 HTTPS。注意 Chrome 不会禁止 localhost 等域名 HTTP 协议下的定位。
|
|
59
|
+
|
|
60
|
+
4)**Geolocation permission denied**:Access to geolocation was blocked over secure connection with mixed content,也就是在 Https 的页面中引用的 http 的资源。
|
|
61
|
+
|
|
62
|
+
5)**Get geolocation time out**:浏览器定位超时,包括原生的超时,可以适当增加超时属性的设定值以减少这一现象,另外还有个别浏览器(如 google Chrome 浏览器等)本身的定位接口是黑洞,通过其请求定位完全没有回应,也会超时返回失败。
|
|
63
|
+
|
|
64
|
+
6)**Get geolocation failed**:定位失败,Chrome、火狐以及部分套壳浏览器接入的定位服务在国外,有较大限制,失败率高。
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# 表单电话
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="FormPhone"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="lowCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
1. 放入「表单容器」组件后,可实现数据源数据的提交与显示
|
|
12
|
+
2. 当父级表单容器组件已经绑定数据源后,利用「字段绑定」属性可绑定该数据源中的字段,实现新增/查看/更新对应字段的数据
|
|
13
|
+
|
|
14
|
+
## 属性介绍
|
|
15
|
+
|
|
16
|
+
import TableLayoutView from '../../common/tableView';
|
|
17
|
+
|
|
18
|
+
<TableLayoutView
|
|
19
|
+
componentKey="FormPhone"
|
|
20
|
+
type="attribute"
|
|
21
|
+
origin="lowCode"
|
|
22
|
+
></TableLayoutView>
|
|
23
|
+
|
|
24
|
+
## 事件介绍
|
|
25
|
+
|
|
26
|
+
<TableLayoutView
|
|
27
|
+
componentKey="FormPhone"
|
|
28
|
+
type="event"
|
|
29
|
+
origin="lowCode"
|
|
30
|
+
></TableLayoutView>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# 单选
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="FormRadio"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="lowCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
1. 放入「表单容器」组件后,可实现数据源数据的提交与显示
|
|
12
|
+
|
|
13
|
+
2. 当父级表单容器组件已经绑定数据源后,利用「字段绑定」属性可绑定该数据源中的字段,实现新增/查看/更新对应字段的数据
|
|
14
|
+
|
|
15
|
+
3. 点击选项列表的「绑定数据源」按钮,启用数据源绑定模式,可绑定数组格式的变量,实现选项数据的动态渲染
|
|
16
|
+
|
|
17
|
+

|
|
18
|
+
|
|
19
|
+
## 属性介绍
|
|
20
|
+
|
|
21
|
+
import TableLayoutView from '../../common/tableView';
|
|
22
|
+
|
|
23
|
+
<TableLayoutView
|
|
24
|
+
componentKey="FormRadio"
|
|
25
|
+
type="attribute"
|
|
26
|
+
origin="lowCode"
|
|
27
|
+
></TableLayoutView>
|
|
28
|
+
|
|
29
|
+
## 事件介绍
|
|
30
|
+
|
|
31
|
+
<TableLayoutView
|
|
32
|
+
componentKey="FormRadio"
|
|
33
|
+
type="event"
|
|
34
|
+
origin="lowCode"
|
|
35
|
+
></TableLayoutView>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# 地区选择
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="FormMutiRegion"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="lowCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
1. 放入「表单容器」组件后,可实现数据源数据的提交与显示
|
|
12
|
+
2. 当父级表单容器组件已经绑定数据源后,利用「字段绑定」属性可绑定该数据源中的字段,实现新增/查看/更新对应字段的数据
|
|
13
|
+
|
|
14
|
+
## 属性介绍
|
|
15
|
+
|
|
16
|
+
import TableLayoutView from '../../common/tableView';
|
|
17
|
+
|
|
18
|
+
<TableLayoutView
|
|
19
|
+
componentKey="FormMutiRegion"
|
|
20
|
+
type="attribute"
|
|
21
|
+
origin="lowCode"
|
|
22
|
+
></TableLayoutView>
|
|
23
|
+
|
|
24
|
+
## 事件介绍
|
|
25
|
+
|
|
26
|
+
<TableLayoutView
|
|
27
|
+
componentKey="FormMutiRegion"
|
|
28
|
+
type="event"
|
|
29
|
+
origin="lowCode"
|
|
30
|
+
></TableLayoutView>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# 下拉选择
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="FormSelect"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="lowCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
1. 放入「表单容器」组件后,可实现数据源数据的提交与显示
|
|
12
|
+
|
|
13
|
+
2. 当父级表单容器组件已经绑定数据源后,利用「字段绑定」属性可绑定该数据源中的字段,实现新增/查看/更新对应字段的数据
|
|
14
|
+
|
|
15
|
+
3. 点击选项列表的「绑定数据源」按钮,启用数据源绑定模式,可绑定数组格式的变量,实现选项数据的动态渲染
|
|
16
|
+
|
|
17
|
+

|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## 属性介绍
|
|
21
|
+
|
|
22
|
+
import TableLayoutView from '../../common/tableView';
|
|
23
|
+
|
|
24
|
+
<TableLayoutView
|
|
25
|
+
componentKey="FormSelect"
|
|
26
|
+
type="attribute"
|
|
27
|
+
origin="lowCode"
|
|
28
|
+
></TableLayoutView>
|
|
29
|
+
|
|
30
|
+
## 事件介绍
|
|
31
|
+
|
|
32
|
+
<TableLayoutView
|
|
33
|
+
componentKey="FormSelect"
|
|
34
|
+
type="event"
|
|
35
|
+
origin="lowCode"
|
|
36
|
+
></TableLayoutView>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# 开关
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="FormSwitch"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="lowCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
1. 放入「表单容器」组件后,可实现数据源数据的提交与显示
|
|
12
|
+
2. 当父级表单容器组件已经绑定数据源后,利用「字段绑定」属性可绑定该数据源中的字段,实现新增/查看/更新对应字段的数据
|
|
13
|
+
|
|
14
|
+
## 属性介绍
|
|
15
|
+
|
|
16
|
+
import TableLayoutView from '../../common/tableView';
|
|
17
|
+
|
|
18
|
+
<TableLayoutView
|
|
19
|
+
componentKey="FormSwitch"
|
|
20
|
+
type="attribute"
|
|
21
|
+
origin="lowCode"
|
|
22
|
+
></TableLayoutView>
|
|
23
|
+
|
|
24
|
+
## 事件介绍
|
|
25
|
+
|
|
26
|
+
<TableLayoutView
|
|
27
|
+
componentKey="FormSwitch"
|
|
28
|
+
type="event"
|
|
29
|
+
origin="lowCode"
|
|
30
|
+
></TableLayoutView>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# 多行输入
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="FormTextarea"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="lowCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
1. 放入「表单容器」组件后,可实现数据源数据的提交与显示
|
|
12
|
+
2. 当父级表单容器组件已经绑定数据源后,利用「字段绑定」属性可绑定该数据源中的字段,实现新增/查看/更新对应字段的数据
|
|
13
|
+
|
|
14
|
+
## 属性介绍
|
|
15
|
+
|
|
16
|
+
import TableLayoutView from '../../common/tableView';
|
|
17
|
+
|
|
18
|
+
<TableLayoutView
|
|
19
|
+
componentKey="FormTextarea"
|
|
20
|
+
type="attribute"
|
|
21
|
+
origin="lowCode"
|
|
22
|
+
></TableLayoutView>
|
|
23
|
+
|
|
24
|
+
## 事件介绍
|
|
25
|
+
|
|
26
|
+
<TableLayoutView
|
|
27
|
+
componentKey="FormTextarea"
|
|
28
|
+
type="event"
|
|
29
|
+
origin="lowCode"
|
|
30
|
+
></TableLayoutView>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# 时间选择
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="FormTime"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="lowCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
1. 放入「表单容器」组件后,可实现数据源数据的提交与显示
|
|
12
|
+
2. 当父级表单容器组件已经绑定数据源后,利用「字段绑定」属性可绑定该数据源中的字段,实现新增/查看/更新对应字段的数据
|
|
13
|
+
|
|
14
|
+
## 属性介绍
|
|
15
|
+
|
|
16
|
+
import TableLayoutView from '../../common/tableView';
|
|
17
|
+
|
|
18
|
+
<TableLayoutView
|
|
19
|
+
componentKey="FormTime"
|
|
20
|
+
type="attribute"
|
|
21
|
+
origin="lowCode"
|
|
22
|
+
></TableLayoutView>
|
|
23
|
+
|
|
24
|
+
## 事件介绍
|
|
25
|
+
|
|
26
|
+
<TableLayoutView
|
|
27
|
+
componentKey="FormTime"
|
|
28
|
+
type="event"
|
|
29
|
+
origin="lowCode"
|
|
30
|
+
></TableLayoutView>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# 文件上传
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="FormUploadFile"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="lowCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
1. 放入「表单容器」组件后,可实现数据源数据的提交与显示
|
|
12
|
+
2. 当父级表单容器组件已经绑定数据源后,利用「字段绑定」属性可绑定该数据源中的字段,实现新增/查看/更新对应字段的数据
|
|
13
|
+
|
|
14
|
+
## 属性介绍
|
|
15
|
+
|
|
16
|
+
import TableLayoutView from '../../common/tableView';
|
|
17
|
+
|
|
18
|
+
<TableLayoutView
|
|
19
|
+
componentKey="FormUploadFile"
|
|
20
|
+
type="attribute"
|
|
21
|
+
origin="lowCode"
|
|
22
|
+
></TableLayoutView>
|
|
23
|
+
|
|
24
|
+
## 事件介绍
|
|
25
|
+
|
|
26
|
+
<TableLayoutView
|
|
27
|
+
componentKey="FormUploadFile"
|
|
28
|
+
type="event"
|
|
29
|
+
origin="lowCode"
|
|
30
|
+
></TableLayoutView>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# URL 地址
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="FormUrl"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="lowCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
1. 放入「表单容器」组件后,可实现数据源数据的提交与显示
|
|
12
|
+
2. 当父级表单容器组件已经绑定数据源后,利用「字段绑定」属性可绑定该数据源中的字段,实现新增/查看/更新对应字段的数据
|
|
13
|
+
|
|
14
|
+
## 属性介绍
|
|
15
|
+
|
|
16
|
+
import TableLayoutView from '../../common/tableView';
|
|
17
|
+
|
|
18
|
+
<TableLayoutView
|
|
19
|
+
componentKey="FormUrl"
|
|
20
|
+
type="attribute"
|
|
21
|
+
origin="lowCode"
|
|
22
|
+
></TableLayoutView>
|
|
23
|
+
|
|
24
|
+
## 事件介绍
|
|
25
|
+
|
|
26
|
+
<TableLayoutView
|
|
27
|
+
componentKey="FormUrl"
|
|
28
|
+
type="event"
|
|
29
|
+
origin="lowCode"
|
|
30
|
+
></TableLayoutView>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "label": "表单", "position": 20 }
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# 卡片布局
|
|
2
|
+
|
|
3
|
+
<TableLayoutView
|
|
4
|
+
componentKey="Card"
|
|
5
|
+
type="description"
|
|
6
|
+
origin="lowCode"
|
|
7
|
+
></TableLayoutView>
|
|
8
|
+
|
|
9
|
+
## 使用说明
|
|
10
|
+
|
|
11
|
+
垂直布局组件可以通过在其自带的插槽中插入组件,实现标准的纵向布局效果。
|
|
12
|
+
|
|
13
|
+

|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## 属性介绍
|
|
17
|
+
|
|
18
|
+
import TableLayoutView from '../../common/tableView';
|
|
19
|
+
|
|
20
|
+
<TableLayoutView
|
|
21
|
+
componentKey="Card"
|
|
22
|
+
type="attribute"
|
|
23
|
+
origin="lowCode"
|
|
24
|
+
></TableLayoutView>
|
|
25
|
+
|
|
26
|
+
## 事件介绍
|
|
27
|
+
|
|
28
|
+
<TableLayoutView
|
|
29
|
+
componentKey="Card"
|
|
30
|
+
type="event"
|
|
31
|
+
origin="lowCode"
|
|
32
|
+
></TableLayoutView>
|