@cloudbase/weda-ui 2.0.10 → 2.0.26
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 +1 -0
- package/package.json +47 -36
- package/src/configs/components/button.json +60 -13
- package/src/configs/components/calendar.json +3 -3
- package/src/configs/components/carousel.json +57 -47
- package/src/configs/components/chart/bar.json +4 -13
- package/src/configs/components/chart/line.json +4 -13
- package/src/configs/components/chart/pie.json +3 -10
- package/src/configs/components/chart/statisticsCard.json +1 -4
- package/src/configs/components/container.json +1 -3
- package/src/configs/components/dataView.json +7 -15
- package/src/configs/components/drawer.json +24 -6
- package/src/configs/components/form/form.json +19 -0
- package/src/configs/components/form/input.json +20 -5
- package/src/configs/components/form/location.json +51 -48
- package/src/configs/components/form/radio.json +1 -3
- package/src/configs/components/form/richText.json +14 -14
- package/src/configs/components/form/select.json +62 -82
- package/src/configs/components/form/textarea.json +14 -1
- package/src/configs/components/form/uploader.json +64 -64
- package/src/configs/components/form/uploaderFile.json +1 -2
- package/src/configs/components/graphicCard.json +44 -45
- package/src/configs/components/image.json +44 -40
- package/src/configs/components/link.json +5 -10
- package/src/configs/components/listView.json +2 -8
- package/src/configs/components/lottery.json +7 -3
- package/src/configs/components/modal.json +26 -21
- package/src/configs/components/navLayout.json +68 -68
- package/src/configs/components/navigationBar.json +4 -1
- package/src/configs/components/richtextview.json +1 -1
- package/src/configs/components/scrollVeiw.json +14 -42
- package/src/configs/components/swiper.json +9 -9
- package/src/configs/components/wedaVideo.json +89 -0
- package/src/configs/components/wxOpenApi/phone.json +7 -21
- package/src/configs/components/wxOpenApi/phoneCode.json +7 -19
- package/src/configs/components/wxOpenApi/share.json +14 -24
- package/src/configs/components/wxOpenApi/userInfo.json +9 -27
- package/src/configs/index.js +2 -0
- package/src/mp/components/button/index.js +1 -1
- package/src/mp/components/button/index.wxml +19 -19
- package/src/mp/components/calendar/index.js +68 -38
- package/src/mp/components/calendar/index.json +3 -2
- package/src/mp/components/calendar/index.wxml +5 -7
- package/src/mp/components/calendar/index.wxss +17 -16
- package/src/mp/components/carousel/index.json +1 -1
- package/src/mp/components/carousel/index.wxml +2 -2
- package/src/mp/components/chart/bar/index.js +1 -2
- package/src/mp/components/chart/bar/index.wxml +1 -1
- package/src/mp/components/chart/common/config/bar.js +1 -1
- package/src/mp/components/chart/common/core/eChartBar.js +29 -34
- package/src/mp/components/chart/common/core/eChartBase.js +46 -32
- package/src/mp/components/chart/common/core/eChartLine.js +34 -40
- package/src/mp/components/chart/common/core/eChartPie.js +12 -9
- package/src/mp/components/chart/ec-canvas/ec-canvas.json +1 -1
- package/src/mp/components/chart/ec-canvas/wx-canvas.js +24 -22
- package/src/mp/components/chart/line/index.js +2 -2
- package/src/mp/components/chart/line/index.wxml +1 -1
- package/src/mp/components/chart/pie/index.js +1 -1
- package/src/mp/components/chart/pie/index.wxml +1 -2
- package/src/mp/components/chart/statisticsCard/index.wxss +7 -10
- package/src/mp/components/dataView/index.wxml +2 -14
- package/src/mp/components/form/checkbox/index.js +15 -7
- package/src/mp/components/form/checkbox/index.wxml +13 -25
- package/src/mp/components/form/form/index.wxml +3 -3
- package/src/mp/components/form/formcell/index.wxml +9 -9
- package/src/mp/components/form/formcell/index.wxss +6 -1
- package/src/mp/components/form/input/index.js +4 -4
- package/src/mp/components/form/input/index.wxml +24 -31
- package/src/mp/components/form/input/index.wxss +9 -3
- package/src/mp/components/form/location/components/mapChoose/index.json +1 -1
- package/src/mp/components/form/location/components/mapChoose/index.wxml +6 -6
- package/src/mp/components/form/location/index.js +7 -1
- package/src/mp/components/form/location/index.json +1 -1
- package/src/mp/components/form/location/index.wxml +6 -10
- package/src/mp/components/form/radio/index.js +14 -6
- package/src/mp/components/form/radio/index.wxml +12 -24
- package/src/mp/components/form/select/index.js +157 -98
- package/src/mp/components/form/select/index.wxml +11 -39
- package/src/mp/components/form/select/index.wxss +10 -1
- package/src/mp/components/form/select/region/index.js +18 -12
- package/src/mp/components/form/switch/index.wxml +11 -18
- package/src/mp/components/form/textarea/index.js +6 -0
- package/src/mp/components/form/textarea/index.wxml +2 -17
- package/src/mp/components/form/textarea/index.wxss +5 -0
- package/src/mp/components/form/tips/index.wxml +1 -3
- package/src/mp/components/form/uploader/index.js +1 -1
- package/src/mp/components/form/uploader/index.wxml +3 -20
- package/src/mp/components/form/uploader/weui-uploader.js +210 -200
- package/src/mp/components/form/uploader/weui-uploader.json +6 -6
- package/src/mp/components/form/uploader/weui-uploader.wxml +38 -38
- package/src/mp/components/form/uploaderFile/index.js +5 -4
- package/src/mp/components/form/uploaderFile/index.wxml +40 -41
- package/src/mp/components/graphicCard/index.js +35 -35
- package/src/mp/components/graphicCard/index.wxml +2 -6
- package/src/mp/components/graphicCard/index.wxss +6 -6
- package/src/mp/components/image/index.wxml +9 -20
- package/src/mp/components/image/index.wxss +3 -1
- package/src/mp/components/listView/index.wxml +5 -7
- package/src/mp/components/listView/index.wxss +2 -2
- package/src/mp/components/lottery/index.wxml +1 -3
- package/src/mp/components/lottery/index.wxss +31 -25
- package/src/mp/components/navLayout/index.js +9 -12
- package/src/mp/components/navLayout/index.wxml +2 -4
- package/src/mp/components/navLayout/index.wxss +10 -10
- package/src/mp/components/navigationBar/index.json +1 -2
- package/src/mp/components/navigationBar/index.wxml +43 -51
- package/src/mp/components/navigationBar/index.wxss +10 -10
- package/src/mp/components/richText/index.wxml +1 -1
- package/src/mp/components/richText/index.wxss +7 -5
- package/src/mp/components/swiper/index.wxml +1 -9
- package/src/mp/components/tabs/index.js +14 -10
- package/src/mp/components/tabs/index.json +1 -1
- package/src/mp/components/tabs/index.wxml +3 -21
- package/src/mp/components/tabs/index.wxss +1 -2
- package/src/mp/components/text/index.wxml +1 -6
- package/src/mp/components/text/index.wxss +1 -1
- package/src/mp/components/wedaVideo/index.js +86 -0
- package/src/mp/components/wedaVideo/index.json +4 -0
- package/src/mp/components/wedaVideo/index.wxml +4 -0
- package/src/mp/components/wedaVideo/index.wxss +20 -0
- package/src/mp/components/wxOpenApi/phone/index.js +1 -9
- package/src/mp/components/wxOpenApi/phone/index.wxml +3 -14
- package/src/mp/components/wxOpenApi/phoneCode/index.json +1 -1
- package/src/mp/components/wxOpenApi/phoneCode/index.wxml +3 -14
- package/src/mp/components/wxOpenApi/share/index.wxml +3 -14
- package/src/mp/components/wxOpenApi/userInfo/index.wxml +3 -13
- package/src/mp/index.json +1 -0
- package/src/mp/style/weda-ui.wxss +24 -9
- package/src/mp/utils/deepEqual.js +37 -37
- package/src/mp/utils/destr.js +41 -40
- package/src/mp/utils/dr_square_point.js +10 -6
- package/src/setupTests.js +13 -13
- package/src/web/actions/showModal/index.tsx +5 -4
- package/src/web/components/button/index.tsx +44 -40
- package/src/web/components/calendar/index.css +99 -65
- package/src/web/components/carousel/index.tsx +1 -1
- package/src/web/components/chart/common/config/bar.js +1 -1
- package/src/web/components/chart/common/core/eChartBar.js +28 -34
- package/src/web/components/chart/common/core/eChartBase.ts +55 -42
- package/src/web/components/chart/common/core/eChartLine.js +34 -40
- package/src/web/components/chart/common/core/eChartPie.js +12 -9
- package/src/web/components/chart/common/core/type.ts +23 -23
- package/src/web/components/chart/common/echart.css +12 -12
- package/src/web/components/chart/common/echarts.ts +3 -5
- package/src/web/components/chart/common/useChart.tsx +34 -16
- package/src/web/components/chart/statisticsCard/index.css +9 -8
- package/src/web/components/container/index.tsx +3 -4
- package/src/web/components/drawer/index.tsx +15 -4
- package/src/web/components/form/checkbox/index.tsx +32 -31
- package/src/web/components/form/enumSelect/NormalSelect.tsx +0 -2
- package/src/web/components/form/form/index.css +3 -6
- package/src/web/components/form/form/index.tsx +7 -6
- package/src/web/components/form/formcell/index.css +11 -18
- package/src/web/components/form/formcell/index.tsx +3 -7
- package/src/web/components/form/input/index.css +8 -4
- package/src/web/components/form/input/index.tsx +61 -53
- package/src/web/components/form/location/common/mapChoose.css +13 -11
- package/src/web/components/form/location/common/selectModal.jsx +2 -11
- package/src/web/components/form/location/common/useLocationInfo.js +4 -0
- package/src/web/components/form/location/components/LocationH5/index.css +19 -20
- package/src/web/components/form/location/components/LocationH5/location.h5.jsx +11 -1
- package/src/web/components/form/location/components/LocationPC/Header.jsx +0 -13
- package/src/web/components/form/location/components/LocationPC/location.PC.jsx +14 -5
- package/src/web/components/form/radio/index.tsx +32 -26
- package/src/web/components/form/renderDecorator.tsx +23 -26
- package/src/web/components/form/select/h5.tsx +155 -104
- package/src/web/components/form/select/index.css +9 -3
- package/src/web/components/form/select/index.tsx +76 -49
- package/src/web/components/form/select/region/index.ts +101 -80
- package/src/web/components/form/select/year.tsx +2 -0
- package/src/web/components/form/switch/index.tsx +40 -40
- package/src/web/components/form/textarea/index.css +4 -0
- package/src/web/components/form/textarea/index.tsx +39 -26
- package/src/web/components/form/types.d.ts +10 -10
- package/src/web/components/form/uploader/index.css +10 -0
- package/src/web/components/form/uploader/uploader.h5.tsx +29 -26
- package/src/web/components/form/uploader/uploader.pc.tsx +3 -6
- package/src/web/components/form/uploaderFile/index.css +24 -23
- package/src/web/components/form/uploaderFile/index.jsx +0 -5
- package/src/web/components/form/uploaderFile/uploadFile.h5.tsx +24 -15
- package/src/web/components/form/uploaderFile/uploadFile.pc.tsx +21 -13
- package/src/web/components/graphicCard/index.css +6 -6
- package/src/web/components/image/image.tsx +2 -2
- package/src/web/components/image/index.css +9 -7
- package/src/web/components/image/index.tsx +29 -12
- package/src/web/components/index.js +1 -0
- package/src/web/components/link/index.tsx +13 -13
- package/src/web/components/listView/index.css +8 -8
- package/src/web/components/lottery/index.css +43 -37
- package/src/web/components/lottery/index.tsx +3 -3
- package/src/web/components/modal/index.tsx +34 -34
- package/src/web/components/navLayout/index.css +25 -25
- package/src/web/components/navLayout/index.tsx +1 -1
- package/src/web/components/navigationBar/index.css +26 -26
- package/src/web/components/navigationBar/index.tsx +2 -2
- package/src/web/components/picker/datePicker.tsx +3 -3
- package/src/web/components/picker/picker.tsx +3 -3
- package/src/web/components/picker/timePicker.tsx +1 -1
- package/src/web/components/richText/index.jsx +41 -46
- package/src/web/components/richTextView/index.css +7 -3
- package/src/web/components/richTextView/index.tsx +4 -6
- package/src/web/components/scrollView/index.tsx +2 -2
- package/src/web/components/slot/index.tsx +3 -4
- package/src/web/components/swiper/index.css +1 -1
- package/src/web/components/swiper/index.tsx +33 -15
- package/src/web/components/tabs/index.css +2 -3
- package/src/web/components/tabs/index.tsx +6 -6
- package/src/web/components/tabs/tabs.h5.tsx +17 -12
- package/src/web/components/tabs/tabs.pc.tsx +45 -34
- package/src/web/components/text/index.css +1 -1
- package/src/web/components/text/index.tsx +13 -14
- package/src/web/components/wedaVideo/index.css +42 -0
- package/src/web/components/wedaVideo/index.tsx +208 -0
- package/src/web/utils/constant.ts +2 -1
- package/src/web/utils/isObjectEqual.js +2 -1
- package/src/web/utils/loading-fallback.tsx +2 -2
- package/src/web/utils/lodash.ts +1 -1
- package/src/web/utils/platform.js +13 -0
- package/src/web/utils/useSetState.ts +6 -2
- package/src/web/weda-ui.css +23 -8
- package/src/docs/common/format.tsx +0 -112
- package/src/docs/common/tableView.css +0 -164
- package/src/docs/common/tableView.tsx +0 -273
- package/src/docs/compsdocs/chart/Bar.mdx +0 -159
- package/src/docs/compsdocs/chart/Line.mdx +0 -100
- package/src/docs/compsdocs/chart/Pie.mdx +0 -83
- package/src/docs/compsdocs/chart/_category_.json +0 -1
- package/src/docs/compsdocs/chart/statisticsCard.mdx +0 -51
- package/src/docs/compsdocs/database/DataView.mdx +0 -33
- package/src/docs/compsdocs/database/ListView.mdx +0 -33
- package/src/docs/compsdocs/database/_category_.json +0 -1
- package/src/docs/compsdocs/form/Form.mdx +0 -35
- package/src/docs/compsdocs/form/FormCheckbox.mdx +0 -35
- package/src/docs/compsdocs/form/FormDate.mdx +0 -30
- package/src/docs/compsdocs/form/FormEmail.mdx +0 -30
- package/src/docs/compsdocs/form/FormImageUploader.mdx +0 -31
- package/src/docs/compsdocs/form/FormInput.mdx +0 -30
- package/src/docs/compsdocs/form/FormLocation.mdx +0 -64
- package/src/docs/compsdocs/form/FormPhone.mdx +0 -30
- package/src/docs/compsdocs/form/FormRadio.mdx +0 -35
- package/src/docs/compsdocs/form/FormRegion.mdx +0 -30
- package/src/docs/compsdocs/form/FormSelect.mdx +0 -36
- package/src/docs/compsdocs/form/FormSwitch.mdx +0 -30
- package/src/docs/compsdocs/form/FormTextarea.mdx +0 -30
- package/src/docs/compsdocs/form/FormTime.mdx +0 -30
- package/src/docs/compsdocs/form/FormUploadFile.mdx +0 -30
- package/src/docs/compsdocs/form/FormUrl.mdx +0 -30
- package/src/docs/compsdocs/form/_category_.json +0 -1
- package/src/docs/compsdocs/grid/Card.mdx +0 -32
- package/src/docs/compsdocs/grid/Container.mdx +0 -42
- package/src/docs/compsdocs/grid/Footer.mdx +0 -31
- package/src/docs/compsdocs/grid/GridLayout.mdx +0 -32
- package/src/docs/compsdocs/grid/Header.mdx +0 -31
- package/src/docs/compsdocs/grid/Layout.mdx +0 -25
- package/src/docs/compsdocs/grid/List.mdx +0 -31
- package/src/docs/compsdocs/grid/ScrollView.mdx +0 -37
- package/src/docs/compsdocs/grid/Swiper.mdx +0 -58
- package/src/docs/compsdocs/grid/_category_.json +0 -1
- package/src/docs/compsdocs/media/Icon.mdx +0 -31
- package/src/docs/compsdocs/media/Image.mdx +0 -55
- package/src/docs/compsdocs/media/_category_.json +0 -1
- package/src/docs/compsdocs/model/ModelCreate.mdx +0 -20
- package/src/docs/compsdocs/model/ModelDetail.mdx +0 -20
- package/src/docs/compsdocs/model/ModelTable.mdx +0 -24
- package/src/docs/compsdocs/model/ModelUpdate.mdx +0 -21
- package/src/docs/compsdocs/model/PageLayout.mdx +0 -21
- package/src/docs/compsdocs/model/_category_.json +0 -1
- package/src/docs/compsdocs/navmenu/Classification.mdx +0 -38
- package/src/docs/compsdocs/navmenu/NavBar.mdx +0 -43
- package/src/docs/compsdocs/navmenu/NavLayout.mdx +0 -30
- package/src/docs/compsdocs/navmenu/TabBar.mdx +0 -43
- package/src/docs/compsdocs/navmenu/TabBarItem.mdx +0 -29
- package/src/docs/compsdocs/navmenu/_category_.json +0 -1
- package/src/docs/compsdocs/senior/Lottery.mdx +0 -48
- package/src/docs/compsdocs/senior/Modal.mdx +0 -58
- package/src/docs/compsdocs/senior/SlotMachine.mdx +0 -52
- package/src/docs/compsdocs/senior/_category_.json +0 -1
- package/src/docs/compsdocs/show/Calendar.mdx +0 -29
- package/src/docs/compsdocs/show/Divider.mdx +0 -31
- package/src/docs/compsdocs/show/GraphicCard.mdx +0 -30
- package/src/docs/compsdocs/show/Item.mdx +0 -32
- package/src/docs/compsdocs/show/ItemList.mdx +0 -47
- package/src/docs/compsdocs/show/Media.mdx +0 -25
- package/src/docs/compsdocs/show/StatusTip.mdx +0 -25
- package/src/docs/compsdocs/show/Swiper.mdx +0 -33
- package/src/docs/compsdocs/show/Tabs.mdx +0 -38
- package/src/docs/compsdocs/show/_category_.json +0 -1
- package/src/docs/compsdocs/show/button.mdx +0 -25
- package/src/docs/compsdocs/text/Link.mdx +0 -43
- package/src/docs/compsdocs/text/RichTextView.mdx +0 -36
- package/src/docs/compsdocs/text/Text.mdx +0 -31
- package/src/docs/compsdocs/text/Title.mdx +0 -32
- package/src/docs/compsdocs/text/_category_.json +0 -1
- package/src/docs/compsdocs/wxOpen/Phone.mdx +0 -60
- package/src/docs/compsdocs/wxOpen/Share.mdx +0 -46
- package/src/docs/compsdocs/wxOpen/UserInfo.mdx +0 -60
- package/src/docs/compsdocs/wxOpen/_category_.json +0 -4
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
# 饼状图
|
|
2
|
-
|
|
3
|
-
<TableLayoutView
|
|
4
|
-
componentKey="Pie"
|
|
5
|
-
type="description"
|
|
6
|
-
origin="sourceCode"
|
|
7
|
-
></TableLayoutView>
|
|
8
|
-
|
|
9
|
-
<img
|
|
10
|
-
src="https://qcloudimg.tencent-cloud.cn/raw/d75f51e450035e3e889c7b951ffee7f9.png"
|
|
11
|
-
width="40%"
|
|
12
|
-
></img>
|
|
13
|
-
|
|
14
|
-
## 使用说明
|
|
15
|
-
|
|
16
|
-
进入**应用编辑器**页面,将**图表组件** > **饼图**组件拖进相应容器即可。
|
|
17
|
-
|
|
18
|
-
## 属性
|
|
19
|
-
|
|
20
|
-
import TableLayoutView from '../../common/tableView';
|
|
21
|
-
|
|
22
|
-
<TableLayoutView
|
|
23
|
-
componentKey="Pie"
|
|
24
|
-
type="attribute"
|
|
25
|
-
origin="sourceCode"
|
|
26
|
-
></TableLayoutView>
|
|
27
|
-
|
|
28
|
-
## 事件
|
|
29
|
-
|
|
30
|
-
<TableLayoutView
|
|
31
|
-
componentKey="Pie"
|
|
32
|
-
type="event"
|
|
33
|
-
origin="sourceCode"
|
|
34
|
-
></TableLayoutView>
|
|
35
|
-
|
|
36
|
-
### 高级属性
|
|
37
|
-
|
|
38
|
-
支持配置数据标签和显示单位等属性。
|
|
39
|
-
|
|
40
|
-
- 显示单位:数值量级支持 `个/十/百/千/万/十万/百万/千万/亿`。
|
|
41
|
-
- 小数位数:支持设置 `0-10` 位小数。
|
|
42
|
-
- 后缀:支持自定义。默认根据数量级生成 `-/十/百/千/万/十万/百万/千万/亿`。
|
|
43
|
-
|
|
44
|
-
### 自定义连接器使用场景
|
|
45
|
-
|
|
46
|
-
当数据源配置时选择 [自定义连接器](https://cloud.tencent.com/document/product/1301/68457),需用户自行在自定义连接器内按照参数结构定义数据,才可正常在统计卡片组件内渲染,详情请参见 [图表组件参数定义](https://cloud.tencent.com/document/product/1301/71197)。
|
|
47
|
-
|
|
48
|
-
> ?当使用自定义连接器时,数据筛选、字段选择、统计方式、统计空值属性均需用户在所建自定义连接器内自行定义,其他属性与数据模型使用场景配置保持一致。
|
|
49
|
-
|
|
50
|
-
## 使用示例
|
|
51
|
-
|
|
52
|
-
下列示例数据源为销售业绩表。示例数据配置如下表所示。更多数据配置操作请参见 [数据模型](https://cloud.tencent.com/document/product/1301/68452)。
|
|
53
|
-
|
|
54
|
-
| 销售姓名 | 客户地区 | 销售总额 | 销售单数 | 性别 |
|
|
55
|
-
| -------- | -------- | -------- | -------- | ---- |
|
|
56
|
-
| 张三 | 北京 | 1000000 | 3 | 男 |
|
|
57
|
-
| 赵四 | 北京 | 2000000 | 2 | 男 |
|
|
58
|
-
| 赵四 | 上海 | 100000 | 1 | 男 |
|
|
59
|
-
| 王五 | 上海 | 200000 | 1 | 男 |
|
|
60
|
-
| 王五 | 深圳 | 500000 | 1 | 男 |
|
|
61
|
-
| 李六 | 北京 | 5000000 | 6 | 女 |
|
|
62
|
-
| 李六 | 深圳 | 200000 | 1 | 女 |
|
|
63
|
-
|
|
64
|
-
#### 示例:各客户地区的销售业绩占比
|
|
65
|
-
|
|
66
|
-
1. 新建**饼图**组件,进入右侧**属性** > **基础属性**页面,单击**数据源**下拉菜单,选择**销售业绩表**并选择**统计**方法。
|
|
67
|
-
<img
|
|
68
|
-
src="https://qcloudimg.tencent-cloud.cn/raw/246dfdeed6b8173d2ec4d5124e4e7412.png"
|
|
69
|
-
width="50%"
|
|
70
|
-
></img>
|
|
71
|
-
2. 在**维度**单击**字段选择**下拉菜单,选择**客户地区**。
|
|
72
|
-
3. 在**数值**下,单击**添加字段**。**字段**类型选择**销售总额**,**关系**类型选择**求和**。
|
|
73
|
-
4. 下拉右侧属性,进入**进阶属性**内单击开启**显示百分比**。单击**数量值级**下拉菜单设置为**万**,**后缀**项设置为万。
|
|
74
|
-
5. 根据需要修改标题、坐标轴样式、图例样式等属性,最终效果如下图展示:
|
|
75
|
-
|
|
76
|
-
<img
|
|
77
|
-
src="https://qcloudimg.tencent-cloud.cn/raw/aba2546bbf1baa6c72bbff6434968b3e.png"
|
|
78
|
-
width="50%"
|
|
79
|
-
></img>
|
|
80
|
-
|
|
81
|
-
## 限制说明
|
|
82
|
-
|
|
83
|
-
维度轴不支持设置时间类型,可设置日期类型和日期时间类型。
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{ "label": "图表组件", "position": 90 }
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# 统计卡片
|
|
2
|
-
|
|
3
|
-
<TableLayoutView
|
|
4
|
-
componentKey="StatisticsCard"
|
|
5
|
-
type="description"
|
|
6
|
-
origin="sourceCode"
|
|
7
|
-
></TableLayoutView>
|
|
8
|
-
|
|
9
|
-
<img
|
|
10
|
-
src="https://qcloudimg.tencent-cloud.cn/raw/6ac75a333be3162b6b0dc7850ccbcf3d.png"
|
|
11
|
-
width="60%"
|
|
12
|
-
></img>
|
|
13
|
-
|
|
14
|
-
## 使用说明
|
|
15
|
-
|
|
16
|
-
### 数据模型使用场景
|
|
17
|
-
|
|
18
|
-
1. 为统计卡片设置数据源,选择已经建好的 [数据模型](https://cloud.tencent.com/document/product/1301/68452),选择数据源方法-统计。
|
|
19
|
-
1. 通过数据筛选配置数据取值范围,详情请参见 [数据筛选配置文档](https://cloud.tencent.com/document/product/1301/71198)。
|
|
20
|
-
1. 选择需要进行统计的字段。
|
|
21
|
-
1. 根据所选择字段,进行针对该字段的统计方式设置。
|
|
22
|
-
目前“数字”类型字段的支持计数、求和、最大值、最小值、平均值;其他类型字段仅支持计数。
|
|
23
|
-
1. 选择是否统计空值,默认不统计空值。
|
|
24
|
-
|
|
25
|
-
- 支持显示单位设置。 数值量级:个/十/百/千/万/十万/百万/千万/亿。
|
|
26
|
-
- 小数位数:支持设置 `0-10` 位小数。
|
|
27
|
-
- 后缀:支持自定义。默认根据数量级生成 `-/十/百/千/万/十万/百万/千万/亿`。
|
|
28
|
-
|
|
29
|
-
## 属性
|
|
30
|
-
|
|
31
|
-
import TableLayoutView from '../../common/tableView';
|
|
32
|
-
|
|
33
|
-
<TableLayoutView
|
|
34
|
-
componentKey="StatisticsCard"
|
|
35
|
-
type="attribute"
|
|
36
|
-
origin="sourceCode"
|
|
37
|
-
></TableLayoutView>
|
|
38
|
-
|
|
39
|
-
## 事件
|
|
40
|
-
|
|
41
|
-
<TableLayoutView
|
|
42
|
-
componentKey="StatisticsCard"
|
|
43
|
-
type="event"
|
|
44
|
-
origin="sourceCode"
|
|
45
|
-
></TableLayoutView>
|
|
46
|
-
|
|
47
|
-
### 自定义连接器使用场景
|
|
48
|
-
|
|
49
|
-
当数据源配置时选择 [自定义连接器](https://cloud.tencent.com/document/product/1301/68457),需用户自行在自定义连接器内按照参数结构定义数据,才可正常在统计卡片组件内渲染,详情请参见 [图表组件参数定义](https://cloud.tencent.com/document/product/1301/71197)。
|
|
50
|
-
|
|
51
|
-
> ? 当使用自定义连接器时,数据筛选、字段选择、统计方式、统计空值属性均需用户在所建自定义连接器内自行定义,其他属性与数据模型使用场景配置保持一致。
|
|
@@ -1,33 +0,0 @@
|
|
|
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>
|
|
@@ -1,33 +0,0 @@
|
|
|
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>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{ "label": "数据容器", "position": 80 }
|
|
@@ -1,35 +0,0 @@
|
|
|
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>
|
|
@@ -1,35 +0,0 @@
|
|
|
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>
|
|
@@ -1,30 +0,0 @@
|
|
|
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>
|
|
@@ -1,30 +0,0 @@
|
|
|
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>
|
|
@@ -1,31 +0,0 @@
|
|
|
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>
|
|
@@ -1,30 +0,0 @@
|
|
|
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>
|
|
@@ -1,64 +0,0 @@
|
|
|
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、火狐以及部分套壳浏览器接入的定位服务在国外,有较大限制,失败率高。
|
|
@@ -1,30 +0,0 @@
|
|
|
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>
|
|
@@ -1,35 +0,0 @@
|
|
|
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>
|
|
@@ -1,30 +0,0 @@
|
|
|
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>
|
|
@@ -1,36 +0,0 @@
|
|
|
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>
|
|
@@ -1,30 +0,0 @@
|
|
|
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>
|
|
@@ -1,30 +0,0 @@
|
|
|
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>
|