@cloudbase/weda-ui 2.0.11 → 2.0.27
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 +39 -35
- 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/calendar/index.js +4 -1
- package/src/mp/components/calendar/index.json +3 -2
- package/src/mp/components/calendar/index.wxml +6 -28
- 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 +3 -30
- package/src/mp/components/chart/bar/index.wxml +1 -6
- package/src/mp/components/chart/ec-canvas/ec-canvas.json +1 -1
- package/src/mp/components/chart/ec-canvas/ec-canvas.wxml +2 -19
- package/src/mp/components/chart/line/index.wxml +1 -6
- package/src/mp/components/chart/pie/index.wxml +1 -6
- package/src/mp/components/chart/statisticsCard/index.wxml +1 -5
- package/src/mp/components/chart/statisticsCard/index.wxss +7 -10
- package/src/mp/components/dataView/index.wxml +1 -13
- package/src/mp/components/form/checkbox/index.js +5 -1
- package/src/mp/components/form/checkbox/index.wxml +3 -18
- package/src/mp/components/form/formcell/index.wxss +5 -0
- package/src/mp/components/form/input/index.js +1 -1
- package/src/mp/components/form/input/index.wxml +3 -16
- package/src/mp/components/form/input/index.wxss +7 -1
- package/src/mp/components/form/location/components/mapChoose/index.json +1 -1
- package/src/mp/components/form/location/components/mapChoose/index.wxml +11 -58
- 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 +7 -43
- package/src/mp/components/form/radio/index.js +5 -1
- package/src/mp/components/form/radio/index.wxml +2 -14
- package/src/mp/components/form/select/index.js +2 -2
- package/src/mp/components/form/select/index.wxml +3 -33
- package/src/mp/components/form/select/index.wxss +9 -0
- package/src/mp/components/form/switch/index.wxml +2 -13
- package/src/mp/components/form/textarea/index.js +6 -0
- package/src/mp/components/form/textarea/index.wxml +4 -23
- package/src/mp/components/form/textarea/index.wxss +5 -0
- package/src/mp/components/form/uploader/index.wxml +2 -20
- package/src/mp/components/form/uploader/weui-uploader.json +6 -6
- package/src/mp/components/form/uploader/weui-uploader.wxml +10 -53
- package/src/mp/components/form/uploaderFile/index.wxml +14 -71
- package/src/mp/components/graphicCard/index.js +9 -11
- package/src/mp/components/graphicCard/index.wxml +6 -34
- package/src/mp/components/graphicCard/index.wxss +6 -6
- package/src/mp/components/image/index.wxml +3 -21
- package/src/mp/components/listView/index.wxml +8 -33
- package/src/mp/components/listView/index.wxss +2 -2
- package/src/mp/components/lottery/index.wxml +7 -31
- package/src/mp/components/navLayout/index.js +9 -12
- package/src/mp/components/navLayout/index.wxml +6 -30
- 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 +29 -146
- 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 -14
- package/src/mp/components/tabs/index.json +1 -1
- package/src/mp/components/tabs/index.wxml +3 -22
- package/src/mp/components/tabs/index.wxss +1 -2
- package/src/mp/components/text/index.wxml +1 -7
- 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 +1 -11
- package/src/mp/components/wxOpenApi/phoneCode/index.json +1 -1
- package/src/mp/components/wxOpenApi/phoneCode/index.wxml +1 -11
- package/src/mp/components/wxOpenApi/share/index.wxml +1 -11
- package/src/mp/components/wxOpenApi/userInfo/index.wxml +1 -10
- package/src/mp/index.json +1 -0
- package/src/mp/style/weda-ui.wxss +16 -6
- package/src/web/actions/showModal/index.tsx +5 -4
- package/src/web/components/calendar/index.css +99 -65
- package/src/web/components/chart/common/core/eChartBase.ts +55 -42
- 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 +2 -1
- package/src/web/components/form/formcell/index.css +6 -17
- package/src/web/components/form/formcell/index.tsx +2 -6
- 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 +2 -2
- package/src/web/components/form/select/index.css +9 -0
- 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 +38 -25
- 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 +3 -6
- 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 +28 -11
- package/src/web/components/index.js +1 -0
- package/src/web/components/link/index.tsx +12 -12
- 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/navigationBar/index.css +26 -26
- package/src/web/components/picker/datePicker.tsx +3 -3
- package/src/web/components/picker/picker.tsx +3 -3
- 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/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/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
|
@@ -8,9 +8,7 @@
|
|
|
8
8
|
"remarks": "按钮组件的标题",
|
|
9
9
|
"type": "string",
|
|
10
10
|
"x-category": "基础属性",
|
|
11
|
-
"x-platforms": [
|
|
12
|
-
"MP"
|
|
13
|
-
],
|
|
11
|
+
"x-platforms": ["MP"],
|
|
14
12
|
"x-index": 1
|
|
15
13
|
},
|
|
16
14
|
"type": {
|
|
@@ -37,9 +35,7 @@
|
|
|
37
35
|
}
|
|
38
36
|
],
|
|
39
37
|
"x-category": "基础属性",
|
|
40
|
-
"x-platforms": [
|
|
41
|
-
"MP"
|
|
42
|
-
],
|
|
38
|
+
"x-platforms": ["MP"],
|
|
43
39
|
"x-index": 2
|
|
44
40
|
},
|
|
45
41
|
"size": {
|
|
@@ -62,9 +58,7 @@
|
|
|
62
58
|
}
|
|
63
59
|
],
|
|
64
60
|
"x-category": "基础属性",
|
|
65
|
-
"x-platforms": [
|
|
66
|
-
"MP"
|
|
67
|
-
],
|
|
61
|
+
"x-platforms": ["MP"],
|
|
68
62
|
"x-index": 3
|
|
69
63
|
},
|
|
70
64
|
"title": {
|
|
@@ -75,19 +69,21 @@
|
|
|
75
69
|
"description": "",
|
|
76
70
|
"remarks": "分享(转发)卡片的标题",
|
|
77
71
|
"x-component": "textarea",
|
|
78
|
-
"x-platforms": [
|
|
79
|
-
"MP"
|
|
80
|
-
],
|
|
72
|
+
"x-platforms": ["MP"],
|
|
81
73
|
"x-index": 4
|
|
82
74
|
},
|
|
83
75
|
"image": {
|
|
84
76
|
"title": "{{text('分享图片', help('分享(转发)卡片的图片'))}}",
|
|
85
77
|
"type": "string",
|
|
86
78
|
"x-component": "image",
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
|
|
79
|
+
"x-rules": [
|
|
80
|
+
{
|
|
81
|
+
"message": "请输入合法的图片地址",
|
|
82
|
+
"pattern": "^(((https?)://)|/resources/)[^\\s]+$"
|
|
83
|
+
}
|
|
90
84
|
],
|
|
85
|
+
"default": "",
|
|
86
|
+
"x-platforms": ["MP"],
|
|
91
87
|
"description": "",
|
|
92
88
|
"remarks": "分享(转发)卡片的图片",
|
|
93
89
|
"x-category": "基础属性",
|
|
@@ -114,9 +110,7 @@
|
|
|
114
110
|
"description": "",
|
|
115
111
|
"x-component": "page-list",
|
|
116
112
|
"x-component-props": {
|
|
117
|
-
"hideAddPlatform": [
|
|
118
|
-
"MP"
|
|
119
|
-
]
|
|
113
|
+
"hideAddPlatform": ["MP"]
|
|
120
114
|
}
|
|
121
115
|
},
|
|
122
116
|
"withParams": {
|
|
@@ -154,12 +148,8 @@
|
|
|
154
148
|
"category": "微信开放能力",
|
|
155
149
|
"categoryOrder": 100,
|
|
156
150
|
"componentOrder": 3,
|
|
157
|
-
"platform": [
|
|
158
|
-
|
|
159
|
-
],
|
|
160
|
-
"visible": [
|
|
161
|
-
"APP"
|
|
162
|
-
]
|
|
151
|
+
"platform": ["MP"],
|
|
152
|
+
"visible": ["APP"]
|
|
163
153
|
},
|
|
164
154
|
"configMeta": {
|
|
165
155
|
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/wxOpen/Share"
|
|
@@ -8,9 +8,7 @@
|
|
|
8
8
|
"type": "string",
|
|
9
9
|
"x-category": "基础属性",
|
|
10
10
|
"remarks": "按钮组件的标题",
|
|
11
|
-
"x-platforms": [
|
|
12
|
-
"MP"
|
|
13
|
-
],
|
|
11
|
+
"x-platforms": ["MP"],
|
|
14
12
|
"x-index": 1
|
|
15
13
|
},
|
|
16
14
|
"type": {
|
|
@@ -37,9 +35,7 @@
|
|
|
37
35
|
}
|
|
38
36
|
],
|
|
39
37
|
"x-category": "基础属性",
|
|
40
|
-
"x-platforms": [
|
|
41
|
-
"MP"
|
|
42
|
-
],
|
|
38
|
+
"x-platforms": ["MP"],
|
|
43
39
|
"x-index": 2
|
|
44
40
|
},
|
|
45
41
|
"size": {
|
|
@@ -62,9 +58,7 @@
|
|
|
62
58
|
}
|
|
63
59
|
],
|
|
64
60
|
"x-category": "基础属性",
|
|
65
|
-
"x-platforms": [
|
|
66
|
-
"MP"
|
|
67
|
-
],
|
|
61
|
+
"x-platforms": ["MP"],
|
|
68
62
|
"x-index": 3
|
|
69
63
|
},
|
|
70
64
|
"usage": {
|
|
@@ -86,9 +80,7 @@
|
|
|
86
80
|
],
|
|
87
81
|
"description": "声明获取用户个人信息的用途,不超过30个字符,若不填写将导致功能失效",
|
|
88
82
|
"x-component": "textarea",
|
|
89
|
-
"x-platforms": [
|
|
90
|
-
"MP"
|
|
91
|
-
],
|
|
83
|
+
"x-platforms": ["MP"],
|
|
92
84
|
"x-index": 4
|
|
93
85
|
},
|
|
94
86
|
"language": {
|
|
@@ -112,9 +104,7 @@
|
|
|
112
104
|
}
|
|
113
105
|
],
|
|
114
106
|
"x-category": "基础属性",
|
|
115
|
-
"x-platforms": [
|
|
116
|
-
"MP"
|
|
117
|
-
],
|
|
107
|
+
"x-platforms": ["MP"],
|
|
118
108
|
"x-index": 5
|
|
119
109
|
}
|
|
120
110
|
}
|
|
@@ -124,9 +114,7 @@
|
|
|
124
114
|
"title": "用户信息授权成功",
|
|
125
115
|
"name": "userinfosuccess",
|
|
126
116
|
"remarks": "弹窗中点击了允许按钮后触发的事件",
|
|
127
|
-
"x-platforms": [
|
|
128
|
-
"MP"
|
|
129
|
-
],
|
|
117
|
+
"x-platforms": ["MP"],
|
|
130
118
|
"detail": {
|
|
131
119
|
"avatarUrl": {
|
|
132
120
|
"type": "string",
|
|
@@ -149,9 +137,7 @@
|
|
|
149
137
|
"title": "用户信息授权失败",
|
|
150
138
|
"name": "userinfofail",
|
|
151
139
|
"remarks": "弹窗中点击了拒绝按钮后触发的事件",
|
|
152
|
-
"x-platforms": [
|
|
153
|
-
"MP"
|
|
154
|
-
]
|
|
140
|
+
"x-platforms": ["MP"]
|
|
155
141
|
}
|
|
156
142
|
],
|
|
157
143
|
"meta": {
|
|
@@ -161,12 +147,8 @@
|
|
|
161
147
|
"category": "微信开放能力",
|
|
162
148
|
"categoryOrder": 100,
|
|
163
149
|
"componentOrder": 1,
|
|
164
|
-
"platform": [
|
|
165
|
-
|
|
166
|
-
],
|
|
167
|
-
"visible": [
|
|
168
|
-
"APP"
|
|
169
|
-
]
|
|
150
|
+
"platform": ["MP"],
|
|
151
|
+
"visible": ["APP"]
|
|
170
152
|
},
|
|
171
153
|
"configMeta": {
|
|
172
154
|
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/wxOpen/UserInfo"
|
package/src/configs/index.js
CHANGED
|
@@ -30,6 +30,7 @@ import RichTextView from './components/richtextview.json';
|
|
|
30
30
|
import Tabs from './components/tabs.json';
|
|
31
31
|
import Calendar from './components/calendar.json';
|
|
32
32
|
import NavLayout from './components/navLayout.json';
|
|
33
|
+
import WedaVideo from './components/wedaVideo.json';
|
|
33
34
|
|
|
34
35
|
import showToast from './actions/showToast.json';
|
|
35
36
|
import showModal from './actions/showModal.json';
|
|
@@ -64,6 +65,7 @@ export const components = {
|
|
|
64
65
|
Form,
|
|
65
66
|
Textarea,
|
|
66
67
|
Location,
|
|
68
|
+
WedaVideo,
|
|
67
69
|
// Cells,
|
|
68
70
|
Select,
|
|
69
71
|
Auth,
|
|
@@ -3,6 +3,9 @@ import dayjs from '../../utils/dayjs.min.js';
|
|
|
3
3
|
// import dayjs from 'dayjs'
|
|
4
4
|
Component({
|
|
5
5
|
externalClasses: ['ext-class'],
|
|
6
|
+
options: {
|
|
7
|
+
virtualHost: true,
|
|
8
|
+
},
|
|
6
9
|
/** 传入的props */
|
|
7
10
|
properties: {
|
|
8
11
|
className: {
|
|
@@ -10,7 +13,7 @@ Component({
|
|
|
10
13
|
value: '',
|
|
11
14
|
},
|
|
12
15
|
style: {
|
|
13
|
-
type:
|
|
16
|
+
type: String,
|
|
14
17
|
value: {},
|
|
15
18
|
},
|
|
16
19
|
// 控制器显示隐藏
|
|
@@ -1,18 +1,10 @@
|
|
|
1
|
-
<view class="{{className}} weda-calendar
|
|
1
|
+
<view class="{{className}} weda-calendar" style="{{style}}">
|
|
2
2
|
<view class="weda-calendar__control">
|
|
3
|
-
<view
|
|
4
|
-
class="weda-calendar__prevMonth"
|
|
5
|
-
wx:if="{{visible}}"
|
|
6
|
-
bindtap="handlePrevMonth"
|
|
7
|
-
>
|
|
3
|
+
<view class="weda-calendar__prevMonth" wx:if="{{visible}}" bindtap="handlePrevMonth">
|
|
8
4
|
<image class="weda-calendar__prevMonth-icon" src="arrowright--line.svg" />
|
|
9
5
|
</view>
|
|
10
6
|
<view class="weda-calendar__current-date">{{year}}年{{month}}月</view>
|
|
11
|
-
<view
|
|
12
|
-
class="weda-calendar__nextMonth"
|
|
13
|
-
wx:if="{{visible}}"
|
|
14
|
-
bindtap="handleNextMonth"
|
|
15
|
-
>
|
|
7
|
+
<view class="weda-calendar__nextMonth" wx:if="{{visible}}" bindtap="handleNextMonth">
|
|
16
8
|
<image class="weda-calendar__nextMonth-icon" src="arrowright--line.svg" />
|
|
17
9
|
</view>
|
|
18
10
|
</view>
|
|
@@ -20,32 +12,18 @@
|
|
|
20
12
|
<view class="weda-calendar__table">
|
|
21
13
|
<view class="weda-calendar__table-head">
|
|
22
14
|
<view class="weda-calendar__table-head-row">
|
|
23
|
-
<view
|
|
24
|
-
class="weda-calendar__table-head-cell"
|
|
25
|
-
wx:for="{{headerlist}}"
|
|
26
|
-
wx:for-index="index"
|
|
27
|
-
wx:for-item="item"
|
|
28
|
-
wx:key="index"
|
|
29
|
-
>
|
|
30
|
-
{{item.text}}
|
|
31
|
-
</view>
|
|
15
|
+
<view class="weda-calendar__table-head-cell" wx:for="{{headerlist}}" wx:for-index="index" wx:for-item="item" wx:key="index"> {{item.text}} </view>
|
|
32
16
|
</view>
|
|
33
17
|
</view>
|
|
34
18
|
<view class="weda-calendar__table-body">
|
|
35
19
|
<block wx:for="{{datalist}}" wx:for-item="dateRow" wx:key="index">
|
|
36
20
|
<view class="weda-calendar__table-body-row">
|
|
37
21
|
<block wx:for="{{dateRow}}" wx:for-item="dateCell" wx:key="index">
|
|
38
|
-
<view
|
|
39
|
-
class="'weda-calendar__table-body-cell' {{dateCell.belongTo !== 0 ? 'is-disabled ': ''}} {{dateCell.disabled ? 'is-invalid' : ''}}{{dateCell.isNow ? 'is-now' : ''}}"
|
|
40
|
-
>
|
|
22
|
+
<view class="'weda-calendar__table-body-cell' {{dateCell.belongTo !== 0 ? 'is-disabled ': ''}} {{dateCell.disabled ? 'is-invalid' : ''}}{{dateCell.isNow ? 'is-now' : ''}}">
|
|
41
23
|
<view class="weda-calendar__table-body-cell-value">
|
|
42
24
|
{{dateCell.dateDay}}
|
|
43
25
|
<view class="weda-calendar__table-body-cell-bg"></view>
|
|
44
|
-
<view
|
|
45
|
-
wx:if="{{dateCell.marked}}"
|
|
46
|
-
class="weda-calendar__table-body-cell-marked"
|
|
47
|
-
style="background: {{dateCell.marked}}"
|
|
48
|
-
></view>
|
|
26
|
+
<view wx:if="{{dateCell.marked}}" class="weda-calendar__table-body-cell-marked" style="background: {{dateCell.marked}}"></view>
|
|
49
27
|
</view>
|
|
50
28
|
</view>
|
|
51
29
|
</block>
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
background: rgb(255, 255, 255);
|
|
6
6
|
width: 100%;
|
|
7
7
|
opacity: 0.9;
|
|
8
|
+
font-size: 28rpx;
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
.weda-calendar .weda-calendar__control {
|
|
@@ -17,15 +18,15 @@
|
|
|
17
18
|
|
|
18
19
|
.weda-calendar .weda-calendar__current-date {
|
|
19
20
|
font-weight: bold;
|
|
20
|
-
font-size:
|
|
21
|
-
line-height:
|
|
21
|
+
font-size: inherit;
|
|
22
|
+
line-height: 1.57142em;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
.weda-calendar .weda-calendar__prevMonth,
|
|
25
26
|
.weda-calendar .weda-calendar__nextMonth {
|
|
26
27
|
position: absolute;
|
|
27
|
-
width:
|
|
28
|
-
height:
|
|
28
|
+
width: 1.14285em;
|
|
29
|
+
height: 1.14285em;
|
|
29
30
|
vertical-align: middle;
|
|
30
31
|
top: 34rpx;
|
|
31
32
|
display: flex;
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
.weda-calendar .weda-calendar__panel {
|
|
52
|
-
height:
|
|
53
|
+
height: 21.85714em;
|
|
53
54
|
padding: 40rpx 32rpx 32rpx 32rpx;
|
|
54
55
|
width: 100%;
|
|
55
56
|
box-sizing: border-box;
|
|
@@ -62,6 +63,7 @@
|
|
|
62
63
|
flex-direction: column;
|
|
63
64
|
justify-self: start;
|
|
64
65
|
align-items: flex-start;
|
|
66
|
+
font-size: inherit;
|
|
65
67
|
}
|
|
66
68
|
|
|
67
69
|
.weda-calendar .weda-calendar__table-head {
|
|
@@ -84,8 +86,8 @@
|
|
|
84
86
|
width: 100%;
|
|
85
87
|
height: 100%;
|
|
86
88
|
justify-content: center;
|
|
87
|
-
font-size:
|
|
88
|
-
line-height:
|
|
89
|
+
font-size: 1em;
|
|
90
|
+
line-height: 1.42857em;
|
|
89
91
|
box-sizing: border-box;
|
|
90
92
|
}
|
|
91
93
|
|
|
@@ -109,8 +111,8 @@
|
|
|
109
111
|
position: relative;
|
|
110
112
|
width: 100%;
|
|
111
113
|
height: 100%;
|
|
112
|
-
font-size:
|
|
113
|
-
line-height:
|
|
114
|
+
font-size: 1em;
|
|
115
|
+
line-height: 1.42857em;
|
|
114
116
|
box-sizing: border-box;
|
|
115
117
|
justify-content: center;
|
|
116
118
|
display: flex;
|
|
@@ -119,13 +121,12 @@
|
|
|
119
121
|
}
|
|
120
122
|
|
|
121
123
|
.weda-calendar .weda-calendar__table-body-cell-value {
|
|
122
|
-
font-size:
|
|
124
|
+
font-size: 1em;
|
|
123
125
|
text-align: center;
|
|
124
126
|
border-radius: 50%;
|
|
125
127
|
width: 80rpx;
|
|
126
|
-
line-height:
|
|
128
|
+
line-height: 2.85714em;
|
|
127
129
|
box-sizing: border-box;
|
|
128
|
-
font-weight: 400;
|
|
129
130
|
color: rgba(0, 0, 0, 0.9);
|
|
130
131
|
position: relative;
|
|
131
132
|
}
|
|
@@ -157,12 +158,12 @@
|
|
|
157
158
|
.weda-calendar__table-body-cell.is-now
|
|
158
159
|
.weda-calendar__table-body-cell-bg {
|
|
159
160
|
position: absolute;
|
|
160
|
-
width:
|
|
161
|
-
height:
|
|
161
|
+
width: 1.714285em;
|
|
162
|
+
height: 1.714285em;
|
|
162
163
|
background: #0052d9;
|
|
163
164
|
border-radius: 100%;
|
|
164
|
-
left: calc(50% -
|
|
165
|
-
top: calc(50% -
|
|
165
|
+
left: calc(50% - 0.85714em);
|
|
166
|
+
top: calc(50% - 0.85714em);
|
|
166
167
|
z-index: -1;
|
|
167
168
|
}
|
|
168
169
|
|
|
@@ -1,33 +1,6 @@
|
|
|
1
1
|
<!--components/carousel/index.wxml-->
|
|
2
|
-
<swiper
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
style="{{style}}"
|
|
6
|
-
indicator-dots="{{indicatorDots}}"
|
|
7
|
-
autoplay="{{autoplay}}"
|
|
8
|
-
current="{{current}}"
|
|
9
|
-
interval="{{interval}}"
|
|
10
|
-
duration="{{duration}}"
|
|
11
|
-
circular="{{circular}}"
|
|
12
|
-
vertical="{{vertical}}"
|
|
13
|
-
indicator-color="{{indicatorColor}}"
|
|
14
|
-
indicator-active-color="{{indicatorActiveColor}}"
|
|
15
|
-
bindchange="changeCurrent"
|
|
16
|
-
>
|
|
17
|
-
<swiper-item
|
|
18
|
-
class="carousle-swiper-item"
|
|
19
|
-
bindtap="tapImg"
|
|
20
|
-
wx:for="{{images}}"
|
|
21
|
-
wx:key="index"
|
|
22
|
-
data-tapMode="{{item.tapMode}}"
|
|
23
|
-
data-insideUrl="{{item.insideUrl}}"
|
|
24
|
-
data-params="{{item.params}}"
|
|
25
|
-
>
|
|
26
|
-
<img
|
|
27
|
-
class="carousle-image"
|
|
28
|
-
src="{{item.image}}"
|
|
29
|
-
fit="{{item.fit}}"
|
|
30
|
-
style="{{'height:'+item.height+';'+'width:'+item.width}}"
|
|
31
|
-
/>
|
|
2
|
+
<swiper id="{{id}}" class="weda-ui {{className}}" style="{{style}}" indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" current="{{current}}" interval="{{interval}}" duration="{{duration}}" circular="{{circular}}" vertical="{{vertical}}" indicator-color="{{indicatorColor}}" indicator-active-color="{{indicatorActiveColor}}" bindchange="changeCurrent">
|
|
3
|
+
<swiper-item class="carousle-swiper-item" bindtap="tapImg" wx:for="{{images}}" wx:key="index" data-tapMode="{{item.tapMode}}" data-insideUrl="{{item.insideUrl}}" data-params="{{item.params}}">
|
|
4
|
+
<img class="carousle-image" src="{{item.image}}" fit="{{item.fit}}" style="{{'height:'+item.height+';'+'width:'+item.width}}" />
|
|
32
5
|
</swiper-item>
|
|
33
6
|
</swiper>
|
|
@@ -1,21 +1,4 @@
|
|
|
1
1
|
<!-- 新的:接口对齐了H5 -->
|
|
2
|
-
<canvas
|
|
3
|
-
wx:if="{{isUseNewCanvas}}"
|
|
4
|
-
type="2d"
|
|
5
|
-
class="ec-canvas"
|
|
6
|
-
canvas-id="{{ canvasId }}"
|
|
7
|
-
bindinit="init"
|
|
8
|
-
bindtouchstart="{{ ec.disableTouch ? '' : 'touchStart' }}"
|
|
9
|
-
bindtouchmove="{{ ec.disableTouch ? '' : 'touchMove' }}"
|
|
10
|
-
bindtouchend="{{ ec.disableTouch ? '' : 'touchEnd' }}"
|
|
11
|
-
></canvas>
|
|
2
|
+
<canvas wx:if="{{isUseNewCanvas}}" type="2d" class="ec-canvas" canvas-id="{{ canvasId }}" bindinit="init" bindtouchstart="{{ ec.disableTouch ? '' : 'touchStart' }}" bindtouchmove="{{ ec.disableTouch ? '' : 'touchMove' }}" bindtouchend="{{ ec.disableTouch ? '' : 'touchEnd' }}"></canvas>
|
|
12
3
|
<!-- 旧的 -->
|
|
13
|
-
<canvas
|
|
14
|
-
wx:else
|
|
15
|
-
class="ec-canvas"
|
|
16
|
-
canvas-id="{{ canvasId }}"
|
|
17
|
-
bindinit="init"
|
|
18
|
-
bindtouchstart="{{ ec.disableTouch ? '' : 'touchStart' }}"
|
|
19
|
-
bindtouchmove="{{ ec.disableTouch ? '' : 'touchMove' }}"
|
|
20
|
-
bindtouchend="{{ ec.disableTouch ? '' : 'touchEnd' }}"
|
|
21
|
-
></canvas>
|
|
4
|
+
<canvas wx:else class="ec-canvas" canvas-id="{{ canvasId }}" bindinit="init" bindtouchstart="{{ ec.disableTouch ? '' : 'touchStart' }}" bindtouchmove="{{ ec.disableTouch ? '' : 'touchMove' }}" bindtouchend="{{ ec.disableTouch ? '' : 'touchEnd' }}"></canvas>
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
<view
|
|
2
|
-
class="weda-statistics-card weda-ui {{className}}"
|
|
3
|
-
style="{{style}}"
|
|
4
|
-
bind:tap="tap"
|
|
5
|
-
>
|
|
1
|
+
<view class="weda-statistics-card weda-ui {{className}}" style="{{style}}" bind:tap="tap">
|
|
6
2
|
<view class="weda-statistics-card__wrapper">
|
|
7
3
|
<view class="weda-statistics-card__title">{{label}}</view>
|
|
8
4
|
<view class="weda-statistics-card__detail">
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
box-sizing: border-box;
|
|
8
8
|
max-width: 100%;
|
|
9
9
|
min-height: 140px;
|
|
10
|
+
font-size: 28rpx;
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
.weda-statistics-card .weda-statistics-card__wrapper {
|
|
@@ -16,29 +17,25 @@
|
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
.weda-statistics-card .weda-statistics-card__title {
|
|
19
|
-
font-size:
|
|
20
|
-
line-height:
|
|
20
|
+
font-size: 1em;
|
|
21
|
+
line-height: 1.57142em;
|
|
21
22
|
color: rgba(0, 0, 0, 0.6);
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
.weda-statistics-card .weda-statistics-card__detail {
|
|
25
26
|
margin-top: 4px;
|
|
26
|
-
font-size: 28px;
|
|
27
|
-
line-height: 34px;
|
|
28
|
-
color: rgba(0, 0, 0, 0.9);
|
|
29
|
-
word-break: break-all;
|
|
30
27
|
}
|
|
31
28
|
|
|
32
29
|
.weda-statistics-card .weda-statistics-card__count {
|
|
33
|
-
font-size:
|
|
34
|
-
line-height:
|
|
30
|
+
font-size: 2em;
|
|
31
|
+
line-height: 2.42857em;
|
|
35
32
|
color: rgba(0, 0, 0, 0.9);
|
|
36
33
|
word-break: break-all;
|
|
37
34
|
}
|
|
38
35
|
|
|
39
36
|
.weda-statistics-card .weda-statistics-card__unit {
|
|
40
|
-
font-size:
|
|
41
|
-
line-height:
|
|
37
|
+
font-size: 2em;
|
|
38
|
+
line-height: 2.42857em;
|
|
42
39
|
color: rgba(0, 0, 0, 0.4);
|
|
43
40
|
margin-left: 4px;
|
|
44
41
|
vertical-align: middle;
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
<list-view
|
|
2
|
-
className="weda-data-view__containor {{className}}"
|
|
3
|
-
style="{{style}}"
|
|
4
|
-
datasource="{{datasource}}"
|
|
5
|
-
where="{{where}}"
|
|
6
|
-
pageSize="{{1}}"
|
|
7
|
-
pagination="none"
|
|
8
|
-
beforeDataChange="{{innerBeforeDataChange}}"
|
|
9
|
-
bindonDataChange="handleEvent"
|
|
10
|
-
bindqueryFail="handleEvent"
|
|
11
|
-
bindqueryEmpty="handleEvent"
|
|
12
|
-
bindquerySuccess="handleEvent"
|
|
13
|
-
>
|
|
1
|
+
<list-view className="weda-data-view__containor {{className}}" style="{{style}}" datasource="{{datasource}}" where="{{where}}" pageSize="{{1}}" pagination="none" beforeDataChange="{{innerBeforeDataChange}}" bindonDataChange="handleEvent" bindqueryFail="handleEvent" bindqueryEmpty="handleEvent" bindquerySuccess="handleEvent">
|
|
14
2
|
<slot></slot>
|
|
15
3
|
</list-view>
|
|
@@ -2,6 +2,7 @@ import classNames from '../../../utils/classnames';
|
|
|
2
2
|
import destr from '../../../utils/destr';
|
|
3
3
|
import handleEvents from '../../../utils/handleEvents';
|
|
4
4
|
import { callWedaApi } from '../../../utils/tcb';
|
|
5
|
+
import deepEqual from '../../../utils/deepEqual';
|
|
5
6
|
|
|
6
7
|
Component({
|
|
7
8
|
options: {
|
|
@@ -107,7 +108,10 @@ Component({
|
|
|
107
108
|
},
|
|
108
109
|
observers: {
|
|
109
110
|
range: function (range) {
|
|
110
|
-
if (
|
|
111
|
+
if (
|
|
112
|
+
this.properties.format !== 'x-enum' &&
|
|
113
|
+
!deepEqual(range, this.data.defaultRange)
|
|
114
|
+
) {
|
|
111
115
|
this.setData({ defaultRange: range });
|
|
112
116
|
}
|
|
113
117
|
},
|
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
<formcell
|
|
2
|
-
|
|
3
|
-
style="{{style}}"
|
|
4
|
-
label="{{labelVisible ? label : null}}"
|
|
5
|
-
layout="{{layout}}"
|
|
6
|
-
multiCell="{{true}}"
|
|
7
|
-
requiredFlag="{{requiredFlag}}"
|
|
8
|
-
>
|
|
9
|
-
<checkbox-group
|
|
10
|
-
class="{{isFlex ? 'weui-flex__item' : ''}}"
|
|
11
|
-
bindchange="change"
|
|
12
|
-
>
|
|
1
|
+
<formcell className="{{cls}}" style="{{style}}" label="{{labelVisible ? label : null}}" layout="{{layout}}" multiCell="{{true}}" requiredFlag="{{requiredFlag}}">
|
|
2
|
+
<checkbox-group class="{{isFlex ? 'weui-flex__item' : ''}}" bindchange="change">
|
|
13
3
|
<label class="{{subCls}}" wx:for="{{defaultRange}}" wx:key="value">
|
|
14
4
|
<view class="weui-cell__hd">
|
|
15
|
-
<checkbox
|
|
16
|
-
class="weui-check"
|
|
17
|
-
value="{{item.value}}"
|
|
18
|
-
checked="{{item.checked}}"
|
|
19
|
-
disabled="{{disabled}}"
|
|
20
|
-
/>
|
|
5
|
+
<checkbox class="weui-check" value="{{item.value}}" checked="{{item.checked}}" disabled="{{disabled}}" />
|
|
21
6
|
<i class="weui-icon-checked" />
|
|
22
7
|
</view>
|
|
23
8
|
<view class="weui-cell__bd">
|
|
@@ -11,12 +11,17 @@
|
|
|
11
11
|
|
|
12
12
|
.weda-formcells.weui-flex .weda-formcells__label {
|
|
13
13
|
width: 130px;
|
|
14
|
+
padding-bottom: 16px;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
.weui-cells__group_form .weui-cell {
|
|
17
18
|
padding: 16px 16px;
|
|
18
19
|
}
|
|
19
20
|
|
|
21
|
+
.weda-formcells .weda-formcells__label {
|
|
22
|
+
padding-bottom: 8px;
|
|
23
|
+
}
|
|
24
|
+
|
|
20
25
|
.weda-formcells__content.weui-flex__item .weui-cell_form {
|
|
21
26
|
padding: 0;
|
|
22
27
|
}
|
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
<formcell
|
|
2
|
-
|
|
3
|
-
style="{{style}}"
|
|
4
|
-
label="{{labelVisible ? label : null}}"
|
|
5
|
-
layout="{{layout}}"
|
|
6
|
-
multiCell="{{false}}"
|
|
7
|
-
requiredFlag="{{requiredFlag}}"
|
|
8
|
-
>
|
|
9
|
-
<view
|
|
10
|
-
class="weui-cell weui-cell_active weui-cell_form}} {{disabled ? 'weui-cell_disabled' : ''}}"
|
|
11
|
-
>
|
|
1
|
+
<formcell className="weda-ui weda-input {{className}}" style="{{style}}" label="{{labelVisible ? label : null}}" layout="{{layout}}" multiCell="{{false}}" requiredFlag="{{requiredFlag}}">
|
|
2
|
+
<view class="weui-cell weui-cell_active weui-cell_form}} {{disabled ? 'weui-cell_disabled' : ''}}">
|
|
12
3
|
<view class="weui-cell__bd weui-flex">
|
|
13
4
|
<input
|
|
14
5
|
class="weui-input {{isFocus ? 'focus' : ''}} {{value ? 'not-placeholder-shown' : ''}}"
|
|
@@ -25,11 +16,7 @@
|
|
|
25
16
|
bindconfirm="handleConfirm"
|
|
26
17
|
maxlength="{{maxLength}}"
|
|
27
18
|
/>
|
|
28
|
-
<view
|
|
29
|
-
wx:if="{{clearable}}"
|
|
30
|
-
class="weui-btn_reset weui-btn_icon weui-btn_input-clear"
|
|
31
|
-
bindtap="handleClear"
|
|
32
|
-
>
|
|
19
|
+
<view wx:if="{{clearable}}" class="weui-btn_reset weui-btn_icon weui-btn_input-clear" bindtap="handleClear">
|
|
33
20
|
<i class="weui-icon-clear" />
|
|
34
21
|
</view>
|
|
35
22
|
</view>
|