@dcloudio/uni-app-x 0.7.39 → 0.7.41
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/package.json +9 -7
- package/types/UniPage.d.ts +168 -22
- package/types/app.d.ts +178 -174
- package/types/native/CSSStyleDeclaration.d.ts +16 -2
- package/types/native/DOMRect.d.ts +430 -10
- package/types/native/DrawableContext.d.ts +1137 -45
- package/types/native/IUniElement.d.ts +1875 -93
- package/types/native/UniNativePage.d.ts +94 -0
- package/types/native/UniResizeObserver.d.ts +215 -5
- package/types/native/UniSafeArea.d.ts +185 -0
- package/types/native/UniVideoElement.d.ts +432 -0
- package/types/native/global.d.ts +7 -0
- package/types/native/index.d.ts +1 -0
- package/types/uni/uni-map-tencent-map.d.ts +12 -8
- package/types/uni/uts-plugin-api/global.d.ts +62 -61
- package/types/uni/uts-plugin-api/index.d.ts +62 -61
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +22 -0
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +278 -0
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1600 -59
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +64 -63
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +1150 -186
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +64 -63
- package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +550 -550
- package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +69 -72
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +533 -135
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1508 -77
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +423 -63
- package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +284 -63
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +2 -9
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/global.d.ts +62 -62
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/index.d.ts +31 -31
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +57 -57
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +312 -110
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +62 -62
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +472 -72
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +126 -78
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +317 -66
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +570 -63
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +570 -63
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +110 -66
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +595 -177
- package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +284 -63
- package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +45 -1
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +1387 -182
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +67 -67
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +318 -53
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +162 -63
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +241 -64
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +6 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +4089 -659
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +460 -252
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +2345 -213
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1205 -149
- package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +339 -33
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +457 -53
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +328 -63
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +317 -66
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +120 -71
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +2157 -437
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +260 -126
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +467 -315
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +553 -53
- package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +1608 -630
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +2492 -504
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +176 -130
- package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +704 -58
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1230 -454
- package/types/uni/uts-plugin-biz/global.d.ts +6 -5
- package/types/uni/uts-plugin-biz/index.d.ts +6 -5
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +406 -123
- package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/interface.d.ts +60 -47
- package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +71 -71
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/interface.d.ts +204 -0
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +42 -38
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +21 -19
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +502 -255
- package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/global.d.ts +64 -0
- package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/index.d.ts +31 -0
- package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/interface.d.ts +900 -0
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +48 -48
- package/types/uni/uts-plugin-extend/global.d.ts +0 -4
- package/types/uni/uts-plugin-extend/index.d.ts +0 -4
- package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +825 -273
- package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +4399 -339
- package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +1000 -268
- package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +1495 -384
- package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +222 -132
- package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +923 -67
- package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +0 -7
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +0 -716
|
@@ -28,14 +28,146 @@ export type ShowToastFail = IPromptError;
|
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* uni.showToast成功回调函数定义
|
|
31
|
+
* @uniPlatform {
|
|
32
|
+
* "mp": {
|
|
33
|
+
* "weixin": {
|
|
34
|
+
* "hostVer": "√",
|
|
35
|
+
* "uniVer": "√",
|
|
36
|
+
* "unixVer": "4.41"
|
|
37
|
+
* },
|
|
38
|
+
* "alipay": {
|
|
39
|
+
* "hostVer": "-",
|
|
40
|
+
* "uniVer": "-",
|
|
41
|
+
* "unixVer": "-"
|
|
42
|
+
* },
|
|
43
|
+
* "baidu": {
|
|
44
|
+
* "hostVer": "-",
|
|
45
|
+
* "uniVer": "-",
|
|
46
|
+
* "unixVer": "-"
|
|
47
|
+
* },
|
|
48
|
+
* "toutiao": {
|
|
49
|
+
* "hostVer": "-",
|
|
50
|
+
* "uniVer": "-",
|
|
51
|
+
* "unixVer": "-"
|
|
52
|
+
* },
|
|
53
|
+
* "lark": {
|
|
54
|
+
* "hostVer": "-",
|
|
55
|
+
* "uniVer": "-",
|
|
56
|
+
* "unixVer": "-"
|
|
57
|
+
* },
|
|
58
|
+
* "qq": {
|
|
59
|
+
* "hostVer": "-",
|
|
60
|
+
* "uniVer": "-",
|
|
61
|
+
* "unixVer": "-"
|
|
62
|
+
* },
|
|
63
|
+
* "kuaishou": {
|
|
64
|
+
* "hostVer": "-",
|
|
65
|
+
* "uniVer": "-",
|
|
66
|
+
* "unixVer": "-"
|
|
67
|
+
* },
|
|
68
|
+
* "jd": {
|
|
69
|
+
* "hostVer": "-",
|
|
70
|
+
* "uniVer": "-",
|
|
71
|
+
* "unixVer": "-"
|
|
72
|
+
* }
|
|
73
|
+
* }
|
|
74
|
+
* }
|
|
31
75
|
*/
|
|
32
76
|
export type ShowToastSuccessCallback = (res: ShowToastSuccess) => void
|
|
33
77
|
/**
|
|
34
78
|
* uni.showToast失败回调函数定义
|
|
79
|
+
* @uniPlatform {
|
|
80
|
+
* "mp": {
|
|
81
|
+
* "weixin": {
|
|
82
|
+
* "hostVer": "√",
|
|
83
|
+
* "uniVer": "√",
|
|
84
|
+
* "unixVer": "4.41"
|
|
85
|
+
* },
|
|
86
|
+
* "alipay": {
|
|
87
|
+
* "hostVer": "-",
|
|
88
|
+
* "uniVer": "-",
|
|
89
|
+
* "unixVer": "-"
|
|
90
|
+
* },
|
|
91
|
+
* "baidu": {
|
|
92
|
+
* "hostVer": "-",
|
|
93
|
+
* "uniVer": "-",
|
|
94
|
+
* "unixVer": "-"
|
|
95
|
+
* },
|
|
96
|
+
* "toutiao": {
|
|
97
|
+
* "hostVer": "-",
|
|
98
|
+
* "uniVer": "-",
|
|
99
|
+
* "unixVer": "-"
|
|
100
|
+
* },
|
|
101
|
+
* "lark": {
|
|
102
|
+
* "hostVer": "-",
|
|
103
|
+
* "uniVer": "-",
|
|
104
|
+
* "unixVer": "-"
|
|
105
|
+
* },
|
|
106
|
+
* "qq": {
|
|
107
|
+
* "hostVer": "-",
|
|
108
|
+
* "uniVer": "-",
|
|
109
|
+
* "unixVer": "-"
|
|
110
|
+
* },
|
|
111
|
+
* "kuaishou": {
|
|
112
|
+
* "hostVer": "-",
|
|
113
|
+
* "uniVer": "-",
|
|
114
|
+
* "unixVer": "-"
|
|
115
|
+
* },
|
|
116
|
+
* "jd": {
|
|
117
|
+
* "hostVer": "-",
|
|
118
|
+
* "uniVer": "-",
|
|
119
|
+
* "unixVer": "-"
|
|
120
|
+
* }
|
|
121
|
+
* }
|
|
122
|
+
* }
|
|
35
123
|
*/
|
|
36
124
|
export type ShowToastFailCallback = (res: ShowToastFail) => void
|
|
37
125
|
/**
|
|
38
126
|
* uni.showToast完成回调函数定义
|
|
127
|
+
* @uniPlatform {
|
|
128
|
+
* "mp": {
|
|
129
|
+
* "weixin": {
|
|
130
|
+
* "hostVer": "√",
|
|
131
|
+
* "uniVer": "√",
|
|
132
|
+
* "unixVer": "4.41"
|
|
133
|
+
* },
|
|
134
|
+
* "alipay": {
|
|
135
|
+
* "hostVer": "-",
|
|
136
|
+
* "uniVer": "-",
|
|
137
|
+
* "unixVer": "-"
|
|
138
|
+
* },
|
|
139
|
+
* "baidu": {
|
|
140
|
+
* "hostVer": "-",
|
|
141
|
+
* "uniVer": "-",
|
|
142
|
+
* "unixVer": "-"
|
|
143
|
+
* },
|
|
144
|
+
* "toutiao": {
|
|
145
|
+
* "hostVer": "-",
|
|
146
|
+
* "uniVer": "-",
|
|
147
|
+
* "unixVer": "-"
|
|
148
|
+
* },
|
|
149
|
+
* "lark": {
|
|
150
|
+
* "hostVer": "-",
|
|
151
|
+
* "uniVer": "-",
|
|
152
|
+
* "unixVer": "-"
|
|
153
|
+
* },
|
|
154
|
+
* "qq": {
|
|
155
|
+
* "hostVer": "-",
|
|
156
|
+
* "uniVer": "-",
|
|
157
|
+
* "unixVer": "-"
|
|
158
|
+
* },
|
|
159
|
+
* "kuaishou": {
|
|
160
|
+
* "hostVer": "-",
|
|
161
|
+
* "uniVer": "-",
|
|
162
|
+
* "unixVer": "-"
|
|
163
|
+
* },
|
|
164
|
+
* "jd": {
|
|
165
|
+
* "hostVer": "-",
|
|
166
|
+
* "uniVer": "-",
|
|
167
|
+
* "unixVer": "-"
|
|
168
|
+
* }
|
|
169
|
+
* }
|
|
170
|
+
* }
|
|
39
171
|
*/
|
|
40
172
|
export type ShowToastCompleteCallback = (res: any) => void
|
|
41
173
|
|
|
@@ -1534,14 +1666,146 @@ export type ShowLoadingFail = IPromptError;
|
|
|
1534
1666
|
|
|
1535
1667
|
/**
|
|
1536
1668
|
* uni.showLoading成功回调函数定义
|
|
1669
|
+
* @uniPlatform {
|
|
1670
|
+
* "mp": {
|
|
1671
|
+
* "weixin": {
|
|
1672
|
+
* "hostVer": "√",
|
|
1673
|
+
* "uniVer": "√",
|
|
1674
|
+
* "unixVer": "4.41"
|
|
1675
|
+
* },
|
|
1676
|
+
* "alipay": {
|
|
1677
|
+
* "hostVer": "-",
|
|
1678
|
+
* "uniVer": "-",
|
|
1679
|
+
* "unixVer": "-"
|
|
1680
|
+
* },
|
|
1681
|
+
* "baidu": {
|
|
1682
|
+
* "hostVer": "-",
|
|
1683
|
+
* "uniVer": "-",
|
|
1684
|
+
* "unixVer": "-"
|
|
1685
|
+
* },
|
|
1686
|
+
* "toutiao": {
|
|
1687
|
+
* "hostVer": "-",
|
|
1688
|
+
* "uniVer": "-",
|
|
1689
|
+
* "unixVer": "-"
|
|
1690
|
+
* },
|
|
1691
|
+
* "lark": {
|
|
1692
|
+
* "hostVer": "-",
|
|
1693
|
+
* "uniVer": "-",
|
|
1694
|
+
* "unixVer": "-"
|
|
1695
|
+
* },
|
|
1696
|
+
* "qq": {
|
|
1697
|
+
* "hostVer": "-",
|
|
1698
|
+
* "uniVer": "-",
|
|
1699
|
+
* "unixVer": "-"
|
|
1700
|
+
* },
|
|
1701
|
+
* "kuaishou": {
|
|
1702
|
+
* "hostVer": "-",
|
|
1703
|
+
* "uniVer": "-",
|
|
1704
|
+
* "unixVer": "-"
|
|
1705
|
+
* },
|
|
1706
|
+
* "jd": {
|
|
1707
|
+
* "hostVer": "-",
|
|
1708
|
+
* "uniVer": "-",
|
|
1709
|
+
* "unixVer": "-"
|
|
1710
|
+
* }
|
|
1711
|
+
* }
|
|
1712
|
+
* }
|
|
1537
1713
|
*/
|
|
1538
1714
|
export type ShowLoadingSuccessCallback = (res: ShowLoadingSuccess) => void
|
|
1539
1715
|
/**
|
|
1540
1716
|
* uni.showLoading失败回调函数定义
|
|
1717
|
+
* @uniPlatform {
|
|
1718
|
+
* "mp": {
|
|
1719
|
+
* "weixin": {
|
|
1720
|
+
* "hostVer": "√",
|
|
1721
|
+
* "uniVer": "√",
|
|
1722
|
+
* "unixVer": "4.41"
|
|
1723
|
+
* },
|
|
1724
|
+
* "alipay": {
|
|
1725
|
+
* "hostVer": "-",
|
|
1726
|
+
* "uniVer": "-",
|
|
1727
|
+
* "unixVer": "-"
|
|
1728
|
+
* },
|
|
1729
|
+
* "baidu": {
|
|
1730
|
+
* "hostVer": "-",
|
|
1731
|
+
* "uniVer": "-",
|
|
1732
|
+
* "unixVer": "-"
|
|
1733
|
+
* },
|
|
1734
|
+
* "toutiao": {
|
|
1735
|
+
* "hostVer": "-",
|
|
1736
|
+
* "uniVer": "-",
|
|
1737
|
+
* "unixVer": "-"
|
|
1738
|
+
* },
|
|
1739
|
+
* "lark": {
|
|
1740
|
+
* "hostVer": "-",
|
|
1741
|
+
* "uniVer": "-",
|
|
1742
|
+
* "unixVer": "-"
|
|
1743
|
+
* },
|
|
1744
|
+
* "qq": {
|
|
1745
|
+
* "hostVer": "-",
|
|
1746
|
+
* "uniVer": "-",
|
|
1747
|
+
* "unixVer": "-"
|
|
1748
|
+
* },
|
|
1749
|
+
* "kuaishou": {
|
|
1750
|
+
* "hostVer": "-",
|
|
1751
|
+
* "uniVer": "-",
|
|
1752
|
+
* "unixVer": "-"
|
|
1753
|
+
* },
|
|
1754
|
+
* "jd": {
|
|
1755
|
+
* "hostVer": "-",
|
|
1756
|
+
* "uniVer": "-",
|
|
1757
|
+
* "unixVer": "-"
|
|
1758
|
+
* }
|
|
1759
|
+
* }
|
|
1760
|
+
* }
|
|
1541
1761
|
*/
|
|
1542
1762
|
export type ShowLoadingFailCallback = (res: ShowLoadingFail) => void
|
|
1543
1763
|
/**
|
|
1544
1764
|
* uni.showLoading完成回调函数定义
|
|
1765
|
+
* @uniPlatform {
|
|
1766
|
+
* "mp": {
|
|
1767
|
+
* "weixin": {
|
|
1768
|
+
* "hostVer": "√",
|
|
1769
|
+
* "uniVer": "√",
|
|
1770
|
+
* "unixVer": "4.41"
|
|
1771
|
+
* },
|
|
1772
|
+
* "alipay": {
|
|
1773
|
+
* "hostVer": "-",
|
|
1774
|
+
* "uniVer": "-",
|
|
1775
|
+
* "unixVer": "-"
|
|
1776
|
+
* },
|
|
1777
|
+
* "baidu": {
|
|
1778
|
+
* "hostVer": "-",
|
|
1779
|
+
* "uniVer": "-",
|
|
1780
|
+
* "unixVer": "-"
|
|
1781
|
+
* },
|
|
1782
|
+
* "toutiao": {
|
|
1783
|
+
* "hostVer": "-",
|
|
1784
|
+
* "uniVer": "-",
|
|
1785
|
+
* "unixVer": "-"
|
|
1786
|
+
* },
|
|
1787
|
+
* "lark": {
|
|
1788
|
+
* "hostVer": "-",
|
|
1789
|
+
* "uniVer": "-",
|
|
1790
|
+
* "unixVer": "-"
|
|
1791
|
+
* },
|
|
1792
|
+
* "qq": {
|
|
1793
|
+
* "hostVer": "-",
|
|
1794
|
+
* "uniVer": "-",
|
|
1795
|
+
* "unixVer": "-"
|
|
1796
|
+
* },
|
|
1797
|
+
* "kuaishou": {
|
|
1798
|
+
* "hostVer": "-",
|
|
1799
|
+
* "uniVer": "-",
|
|
1800
|
+
* "unixVer": "-"
|
|
1801
|
+
* },
|
|
1802
|
+
* "jd": {
|
|
1803
|
+
* "hostVer": "-",
|
|
1804
|
+
* "uniVer": "-",
|
|
1805
|
+
* "unixVer": "-"
|
|
1806
|
+
* }
|
|
1807
|
+
* }
|
|
1808
|
+
* }
|
|
1545
1809
|
*/
|
|
1546
1810
|
export type ShowLoadingCompleteCallback = (res: any) => void
|
|
1547
1811
|
|
|
@@ -1551,22 +1815,242 @@ export type ShowLoadingCompleteCallback = (res: any) => void
|
|
|
1551
1815
|
export type ShowLoadingOptions = {
|
|
1552
1816
|
/**
|
|
1553
1817
|
* 提示的内容,长度与 icon 取值有关。
|
|
1554
|
-
|
|
1818
|
+
* @uniPlatform {
|
|
1819
|
+
* "mp": {
|
|
1820
|
+
* "weixin": {
|
|
1821
|
+
* "hostVer": "√",
|
|
1822
|
+
* "uniVer": "√",
|
|
1823
|
+
* "unixVer": "4.41"
|
|
1824
|
+
* },
|
|
1825
|
+
* "alipay": {
|
|
1826
|
+
* "hostVer": "-",
|
|
1827
|
+
* "uniVer": "-",
|
|
1828
|
+
* "unixVer": "-"
|
|
1829
|
+
* },
|
|
1830
|
+
* "baidu": {
|
|
1831
|
+
* "hostVer": "-",
|
|
1832
|
+
* "uniVer": "-",
|
|
1833
|
+
* "unixVer": "-"
|
|
1834
|
+
* },
|
|
1835
|
+
* "toutiao": {
|
|
1836
|
+
* "hostVer": "-",
|
|
1837
|
+
* "uniVer": "-",
|
|
1838
|
+
* "unixVer": "-"
|
|
1839
|
+
* },
|
|
1840
|
+
* "lark": {
|
|
1841
|
+
* "hostVer": "-",
|
|
1842
|
+
* "uniVer": "-",
|
|
1843
|
+
* "unixVer": "-"
|
|
1844
|
+
* },
|
|
1845
|
+
* "qq": {
|
|
1846
|
+
* "hostVer": "-",
|
|
1847
|
+
* "uniVer": "-",
|
|
1848
|
+
* "unixVer": "-"
|
|
1849
|
+
* },
|
|
1850
|
+
* "kuaishou": {
|
|
1851
|
+
* "hostVer": "-",
|
|
1852
|
+
* "uniVer": "-",
|
|
1853
|
+
* "unixVer": "-"
|
|
1854
|
+
* },
|
|
1855
|
+
* "jd": {
|
|
1856
|
+
* "hostVer": "-",
|
|
1857
|
+
* "uniVer": "-",
|
|
1858
|
+
* "unixVer": "-"
|
|
1859
|
+
* }
|
|
1860
|
+
* }
|
|
1861
|
+
* }
|
|
1862
|
+
*/
|
|
1555
1863
|
title: string,
|
|
1556
1864
|
/**
|
|
1557
1865
|
* 是否显示透明蒙层,防止触摸穿透,默认:false
|
|
1558
|
-
|
|
1866
|
+
* @uniPlatform {
|
|
1867
|
+
* "mp": {
|
|
1868
|
+
* "weixin": {
|
|
1869
|
+
* "hostVer": "√",
|
|
1870
|
+
* "uniVer": "√",
|
|
1871
|
+
* "unixVer": "4.41"
|
|
1872
|
+
* },
|
|
1873
|
+
* "alipay": {
|
|
1874
|
+
* "hostVer": "-",
|
|
1875
|
+
* "uniVer": "-",
|
|
1876
|
+
* "unixVer": "-"
|
|
1877
|
+
* },
|
|
1878
|
+
* "baidu": {
|
|
1879
|
+
* "hostVer": "-",
|
|
1880
|
+
* "uniVer": "-",
|
|
1881
|
+
* "unixVer": "-"
|
|
1882
|
+
* },
|
|
1883
|
+
* "toutiao": {
|
|
1884
|
+
* "hostVer": "-",
|
|
1885
|
+
* "uniVer": "-",
|
|
1886
|
+
* "unixVer": "-"
|
|
1887
|
+
* },
|
|
1888
|
+
* "lark": {
|
|
1889
|
+
* "hostVer": "-",
|
|
1890
|
+
* "uniVer": "-",
|
|
1891
|
+
* "unixVer": "-"
|
|
1892
|
+
* },
|
|
1893
|
+
* "qq": {
|
|
1894
|
+
* "hostVer": "-",
|
|
1895
|
+
* "uniVer": "-",
|
|
1896
|
+
* "unixVer": "-"
|
|
1897
|
+
* },
|
|
1898
|
+
* "kuaishou": {
|
|
1899
|
+
* "hostVer": "-",
|
|
1900
|
+
* "uniVer": "-",
|
|
1901
|
+
* "unixVer": "-"
|
|
1902
|
+
* },
|
|
1903
|
+
* "jd": {
|
|
1904
|
+
* "hostVer": "-",
|
|
1905
|
+
* "uniVer": "-",
|
|
1906
|
+
* "unixVer": "-"
|
|
1907
|
+
* }
|
|
1908
|
+
* }
|
|
1909
|
+
* }
|
|
1910
|
+
*/
|
|
1559
1911
|
mask?: boolean | null,
|
|
1560
1912
|
/**
|
|
1561
1913
|
* 接口调用成功的回调函数
|
|
1914
|
+
* @uniPlatform {
|
|
1915
|
+
* "mp": {
|
|
1916
|
+
* "weixin": {
|
|
1917
|
+
* "hostVer": "√",
|
|
1918
|
+
* "uniVer": "√",
|
|
1919
|
+
* "unixVer": "4.41"
|
|
1920
|
+
* },
|
|
1921
|
+
* "alipay": {
|
|
1922
|
+
* "hostVer": "-",
|
|
1923
|
+
* "uniVer": "-",
|
|
1924
|
+
* "unixVer": "-"
|
|
1925
|
+
* },
|
|
1926
|
+
* "baidu": {
|
|
1927
|
+
* "hostVer": "-",
|
|
1928
|
+
* "uniVer": "-",
|
|
1929
|
+
* "unixVer": "-"
|
|
1930
|
+
* },
|
|
1931
|
+
* "toutiao": {
|
|
1932
|
+
* "hostVer": "-",
|
|
1933
|
+
* "uniVer": "-",
|
|
1934
|
+
* "unixVer": "-"
|
|
1935
|
+
* },
|
|
1936
|
+
* "lark": {
|
|
1937
|
+
* "hostVer": "-",
|
|
1938
|
+
* "uniVer": "-",
|
|
1939
|
+
* "unixVer": "-"
|
|
1940
|
+
* },
|
|
1941
|
+
* "qq": {
|
|
1942
|
+
* "hostVer": "-",
|
|
1943
|
+
* "uniVer": "-",
|
|
1944
|
+
* "unixVer": "-"
|
|
1945
|
+
* },
|
|
1946
|
+
* "kuaishou": {
|
|
1947
|
+
* "hostVer": "-",
|
|
1948
|
+
* "uniVer": "-",
|
|
1949
|
+
* "unixVer": "-"
|
|
1950
|
+
* },
|
|
1951
|
+
* "jd": {
|
|
1952
|
+
* "hostVer": "-",
|
|
1953
|
+
* "uniVer": "-",
|
|
1954
|
+
* "unixVer": "-"
|
|
1955
|
+
* }
|
|
1956
|
+
* }
|
|
1957
|
+
* }
|
|
1562
1958
|
*/
|
|
1563
1959
|
success?: ShowLoadingSuccessCallback | null,
|
|
1564
1960
|
/**
|
|
1565
1961
|
* 接口调用失败的回调函数
|
|
1962
|
+
* @uniPlatform {
|
|
1963
|
+
* "mp": {
|
|
1964
|
+
* "weixin": {
|
|
1965
|
+
* "hostVer": "√",
|
|
1966
|
+
* "uniVer": "√",
|
|
1967
|
+
* "unixVer": "4.41"
|
|
1968
|
+
* },
|
|
1969
|
+
* "alipay": {
|
|
1970
|
+
* "hostVer": "-",
|
|
1971
|
+
* "uniVer": "-",
|
|
1972
|
+
* "unixVer": "-"
|
|
1973
|
+
* },
|
|
1974
|
+
* "baidu": {
|
|
1975
|
+
* "hostVer": "-",
|
|
1976
|
+
* "uniVer": "-",
|
|
1977
|
+
* "unixVer": "-"
|
|
1978
|
+
* },
|
|
1979
|
+
* "toutiao": {
|
|
1980
|
+
* "hostVer": "-",
|
|
1981
|
+
* "uniVer": "-",
|
|
1982
|
+
* "unixVer": "-"
|
|
1983
|
+
* },
|
|
1984
|
+
* "lark": {
|
|
1985
|
+
* "hostVer": "-",
|
|
1986
|
+
* "uniVer": "-",
|
|
1987
|
+
* "unixVer": "-"
|
|
1988
|
+
* },
|
|
1989
|
+
* "qq": {
|
|
1990
|
+
* "hostVer": "-",
|
|
1991
|
+
* "uniVer": "-",
|
|
1992
|
+
* "unixVer": "-"
|
|
1993
|
+
* },
|
|
1994
|
+
* "kuaishou": {
|
|
1995
|
+
* "hostVer": "-",
|
|
1996
|
+
* "uniVer": "-",
|
|
1997
|
+
* "unixVer": "-"
|
|
1998
|
+
* },
|
|
1999
|
+
* "jd": {
|
|
2000
|
+
* "hostVer": "-",
|
|
2001
|
+
* "uniVer": "-",
|
|
2002
|
+
* "unixVer": "-"
|
|
2003
|
+
* }
|
|
2004
|
+
* }
|
|
2005
|
+
* }
|
|
1566
2006
|
*/
|
|
1567
2007
|
fail?: ShowLoadingFailCallback | null,
|
|
1568
2008
|
/**
|
|
1569
2009
|
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
2010
|
+
* @uniPlatform {
|
|
2011
|
+
* "mp": {
|
|
2012
|
+
* "weixin": {
|
|
2013
|
+
* "hostVer": "√",
|
|
2014
|
+
* "uniVer": "√",
|
|
2015
|
+
* "unixVer": "4.41"
|
|
2016
|
+
* },
|
|
2017
|
+
* "alipay": {
|
|
2018
|
+
* "hostVer": "-",
|
|
2019
|
+
* "uniVer": "-",
|
|
2020
|
+
* "unixVer": "-"
|
|
2021
|
+
* },
|
|
2022
|
+
* "baidu": {
|
|
2023
|
+
* "hostVer": "-",
|
|
2024
|
+
* "uniVer": "-",
|
|
2025
|
+
* "unixVer": "-"
|
|
2026
|
+
* },
|
|
2027
|
+
* "toutiao": {
|
|
2028
|
+
* "hostVer": "-",
|
|
2029
|
+
* "uniVer": "-",
|
|
2030
|
+
* "unixVer": "-"
|
|
2031
|
+
* },
|
|
2032
|
+
* "lark": {
|
|
2033
|
+
* "hostVer": "-",
|
|
2034
|
+
* "uniVer": "-",
|
|
2035
|
+
* "unixVer": "-"
|
|
2036
|
+
* },
|
|
2037
|
+
* "qq": {
|
|
2038
|
+
* "hostVer": "-",
|
|
2039
|
+
* "uniVer": "-",
|
|
2040
|
+
* "unixVer": "-"
|
|
2041
|
+
* },
|
|
2042
|
+
* "kuaishou": {
|
|
2043
|
+
* "hostVer": "-",
|
|
2044
|
+
* "uniVer": "-",
|
|
2045
|
+
* "unixVer": "-"
|
|
2046
|
+
* },
|
|
2047
|
+
* "jd": {
|
|
2048
|
+
* "hostVer": "-",
|
|
2049
|
+
* "uniVer": "-",
|
|
2050
|
+
* "unixVer": "-"
|
|
2051
|
+
* }
|
|
2052
|
+
* }
|
|
2053
|
+
* }
|
|
1570
2054
|
*/
|
|
1571
2055
|
complete?: ShowLoadingCompleteCallback | null
|
|
1572
2056
|
}
|
|
@@ -1737,14 +2221,146 @@ export type HideLoading = () => void
|
|
|
1737
2221
|
export type ShowModalSuccess = {
|
|
1738
2222
|
/**
|
|
1739
2223
|
* 为 true 时,表示用户点击了确定按钮
|
|
1740
|
-
|
|
2224
|
+
* @uniPlatform {
|
|
2225
|
+
* "mp": {
|
|
2226
|
+
* "weixin": {
|
|
2227
|
+
* "hostVer": "√",
|
|
2228
|
+
* "uniVer": "√",
|
|
2229
|
+
* "unixVer": "4.41"
|
|
2230
|
+
* },
|
|
2231
|
+
* "alipay": {
|
|
2232
|
+
* "hostVer": "-",
|
|
2233
|
+
* "uniVer": "-",
|
|
2234
|
+
* "unixVer": "-"
|
|
2235
|
+
* },
|
|
2236
|
+
* "baidu": {
|
|
2237
|
+
* "hostVer": "-",
|
|
2238
|
+
* "uniVer": "-",
|
|
2239
|
+
* "unixVer": "-"
|
|
2240
|
+
* },
|
|
2241
|
+
* "toutiao": {
|
|
2242
|
+
* "hostVer": "-",
|
|
2243
|
+
* "uniVer": "-",
|
|
2244
|
+
* "unixVer": "-"
|
|
2245
|
+
* },
|
|
2246
|
+
* "lark": {
|
|
2247
|
+
* "hostVer": "-",
|
|
2248
|
+
* "uniVer": "-",
|
|
2249
|
+
* "unixVer": "-"
|
|
2250
|
+
* },
|
|
2251
|
+
* "qq": {
|
|
2252
|
+
* "hostVer": "-",
|
|
2253
|
+
* "uniVer": "-",
|
|
2254
|
+
* "unixVer": "-"
|
|
2255
|
+
* },
|
|
2256
|
+
* "kuaishou": {
|
|
2257
|
+
* "hostVer": "-",
|
|
2258
|
+
* "uniVer": "-",
|
|
2259
|
+
* "unixVer": "-"
|
|
2260
|
+
* },
|
|
2261
|
+
* "jd": {
|
|
2262
|
+
* "hostVer": "-",
|
|
2263
|
+
* "uniVer": "-",
|
|
2264
|
+
* "unixVer": "-"
|
|
2265
|
+
* }
|
|
2266
|
+
* }
|
|
2267
|
+
* }
|
|
2268
|
+
*/
|
|
1741
2269
|
confirm: boolean,
|
|
1742
2270
|
/**
|
|
1743
2271
|
* 为 true 时,表示用户点击了取消(用于 Android 系统区分点击蒙层关闭还是点击取消按钮关闭)
|
|
1744
|
-
|
|
2272
|
+
* @uniPlatform {
|
|
2273
|
+
* "mp": {
|
|
2274
|
+
* "weixin": {
|
|
2275
|
+
* "hostVer": "√",
|
|
2276
|
+
* "uniVer": "√",
|
|
2277
|
+
* "unixVer": "4.41"
|
|
2278
|
+
* },
|
|
2279
|
+
* "alipay": {
|
|
2280
|
+
* "hostVer": "-",
|
|
2281
|
+
* "uniVer": "-",
|
|
2282
|
+
* "unixVer": "-"
|
|
2283
|
+
* },
|
|
2284
|
+
* "baidu": {
|
|
2285
|
+
* "hostVer": "-",
|
|
2286
|
+
* "uniVer": "-",
|
|
2287
|
+
* "unixVer": "-"
|
|
2288
|
+
* },
|
|
2289
|
+
* "toutiao": {
|
|
2290
|
+
* "hostVer": "-",
|
|
2291
|
+
* "uniVer": "-",
|
|
2292
|
+
* "unixVer": "-"
|
|
2293
|
+
* },
|
|
2294
|
+
* "lark": {
|
|
2295
|
+
* "hostVer": "-",
|
|
2296
|
+
* "uniVer": "-",
|
|
2297
|
+
* "unixVer": "-"
|
|
2298
|
+
* },
|
|
2299
|
+
* "qq": {
|
|
2300
|
+
* "hostVer": "-",
|
|
2301
|
+
* "uniVer": "-",
|
|
2302
|
+
* "unixVer": "-"
|
|
2303
|
+
* },
|
|
2304
|
+
* "kuaishou": {
|
|
2305
|
+
* "hostVer": "-",
|
|
2306
|
+
* "uniVer": "-",
|
|
2307
|
+
* "unixVer": "-"
|
|
2308
|
+
* },
|
|
2309
|
+
* "jd": {
|
|
2310
|
+
* "hostVer": "-",
|
|
2311
|
+
* "uniVer": "-",
|
|
2312
|
+
* "unixVer": "-"
|
|
2313
|
+
* }
|
|
2314
|
+
* }
|
|
2315
|
+
* }
|
|
2316
|
+
*/
|
|
1745
2317
|
cancel: boolean,
|
|
1746
2318
|
/**
|
|
1747
2319
|
* editable 为 true 时,用户输入的文本
|
|
2320
|
+
* @uniPlatform {
|
|
2321
|
+
* "mp": {
|
|
2322
|
+
* "weixin": {
|
|
2323
|
+
* "hostVer": "√",
|
|
2324
|
+
* "uniVer": "√",
|
|
2325
|
+
* "unixVer": "4.41"
|
|
2326
|
+
* },
|
|
2327
|
+
* "alipay": {
|
|
2328
|
+
* "hostVer": "-",
|
|
2329
|
+
* "uniVer": "-",
|
|
2330
|
+
* "unixVer": "-"
|
|
2331
|
+
* },
|
|
2332
|
+
* "baidu": {
|
|
2333
|
+
* "hostVer": "-",
|
|
2334
|
+
* "uniVer": "-",
|
|
2335
|
+
* "unixVer": "-"
|
|
2336
|
+
* },
|
|
2337
|
+
* "toutiao": {
|
|
2338
|
+
* "hostVer": "-",
|
|
2339
|
+
* "uniVer": "-",
|
|
2340
|
+
* "unixVer": "-"
|
|
2341
|
+
* },
|
|
2342
|
+
* "lark": {
|
|
2343
|
+
* "hostVer": "-",
|
|
2344
|
+
* "uniVer": "-",
|
|
2345
|
+
* "unixVer": "-"
|
|
2346
|
+
* },
|
|
2347
|
+
* "qq": {
|
|
2348
|
+
* "hostVer": "-",
|
|
2349
|
+
* "uniVer": "-",
|
|
2350
|
+
* "unixVer": "-"
|
|
2351
|
+
* },
|
|
2352
|
+
* "kuaishou": {
|
|
2353
|
+
* "hostVer": "-",
|
|
2354
|
+
* "uniVer": "-",
|
|
2355
|
+
* "unixVer": "-"
|
|
2356
|
+
* },
|
|
2357
|
+
* "jd": {
|
|
2358
|
+
* "hostVer": "-",
|
|
2359
|
+
* "uniVer": "-",
|
|
2360
|
+
* "unixVer": "-"
|
|
2361
|
+
* }
|
|
2362
|
+
* }
|
|
2363
|
+
* }
|
|
1748
2364
|
*/
|
|
1749
2365
|
content: string | null
|
|
1750
2366
|
}
|
|
@@ -1756,14 +2372,146 @@ export type ShowModalFail = IPromptError;
|
|
|
1756
2372
|
|
|
1757
2373
|
/**
|
|
1758
2374
|
* uni.showModal成功回调函数定义
|
|
2375
|
+
* @uniPlatform {
|
|
2376
|
+
* "mp": {
|
|
2377
|
+
* "weixin": {
|
|
2378
|
+
* "hostVer": "√",
|
|
2379
|
+
* "uniVer": "√",
|
|
2380
|
+
* "unixVer": "4.41"
|
|
2381
|
+
* },
|
|
2382
|
+
* "alipay": {
|
|
2383
|
+
* "hostVer": "-",
|
|
2384
|
+
* "uniVer": "-",
|
|
2385
|
+
* "unixVer": "-"
|
|
2386
|
+
* },
|
|
2387
|
+
* "baidu": {
|
|
2388
|
+
* "hostVer": "-",
|
|
2389
|
+
* "uniVer": "-",
|
|
2390
|
+
* "unixVer": "-"
|
|
2391
|
+
* },
|
|
2392
|
+
* "toutiao": {
|
|
2393
|
+
* "hostVer": "-",
|
|
2394
|
+
* "uniVer": "-",
|
|
2395
|
+
* "unixVer": "-"
|
|
2396
|
+
* },
|
|
2397
|
+
* "lark": {
|
|
2398
|
+
* "hostVer": "-",
|
|
2399
|
+
* "uniVer": "-",
|
|
2400
|
+
* "unixVer": "-"
|
|
2401
|
+
* },
|
|
2402
|
+
* "qq": {
|
|
2403
|
+
* "hostVer": "-",
|
|
2404
|
+
* "uniVer": "-",
|
|
2405
|
+
* "unixVer": "-"
|
|
2406
|
+
* },
|
|
2407
|
+
* "kuaishou": {
|
|
2408
|
+
* "hostVer": "-",
|
|
2409
|
+
* "uniVer": "-",
|
|
2410
|
+
* "unixVer": "-"
|
|
2411
|
+
* },
|
|
2412
|
+
* "jd": {
|
|
2413
|
+
* "hostVer": "-",
|
|
2414
|
+
* "uniVer": "-",
|
|
2415
|
+
* "unixVer": "-"
|
|
2416
|
+
* }
|
|
2417
|
+
* }
|
|
2418
|
+
* }
|
|
1759
2419
|
*/
|
|
1760
2420
|
export type ShowModalSuccessCallback = (res: ShowModalSuccess) => void
|
|
1761
2421
|
/**
|
|
1762
2422
|
* uni.showModal失败回调函数定义
|
|
2423
|
+
* @uniPlatform {
|
|
2424
|
+
* "mp": {
|
|
2425
|
+
* "weixin": {
|
|
2426
|
+
* "hostVer": "√",
|
|
2427
|
+
* "uniVer": "√",
|
|
2428
|
+
* "unixVer": "4.41"
|
|
2429
|
+
* },
|
|
2430
|
+
* "alipay": {
|
|
2431
|
+
* "hostVer": "-",
|
|
2432
|
+
* "uniVer": "-",
|
|
2433
|
+
* "unixVer": "-"
|
|
2434
|
+
* },
|
|
2435
|
+
* "baidu": {
|
|
2436
|
+
* "hostVer": "-",
|
|
2437
|
+
* "uniVer": "-",
|
|
2438
|
+
* "unixVer": "-"
|
|
2439
|
+
* },
|
|
2440
|
+
* "toutiao": {
|
|
2441
|
+
* "hostVer": "-",
|
|
2442
|
+
* "uniVer": "-",
|
|
2443
|
+
* "unixVer": "-"
|
|
2444
|
+
* },
|
|
2445
|
+
* "lark": {
|
|
2446
|
+
* "hostVer": "-",
|
|
2447
|
+
* "uniVer": "-",
|
|
2448
|
+
* "unixVer": "-"
|
|
2449
|
+
* },
|
|
2450
|
+
* "qq": {
|
|
2451
|
+
* "hostVer": "-",
|
|
2452
|
+
* "uniVer": "-",
|
|
2453
|
+
* "unixVer": "-"
|
|
2454
|
+
* },
|
|
2455
|
+
* "kuaishou": {
|
|
2456
|
+
* "hostVer": "-",
|
|
2457
|
+
* "uniVer": "-",
|
|
2458
|
+
* "unixVer": "-"
|
|
2459
|
+
* },
|
|
2460
|
+
* "jd": {
|
|
2461
|
+
* "hostVer": "-",
|
|
2462
|
+
* "uniVer": "-",
|
|
2463
|
+
* "unixVer": "-"
|
|
2464
|
+
* }
|
|
2465
|
+
* }
|
|
2466
|
+
* }
|
|
1763
2467
|
*/
|
|
1764
2468
|
export type ShowModalFailCallback = (res: ShowModalFail) => void
|
|
1765
2469
|
/**
|
|
1766
2470
|
* uni.showModal完成回调函数定义
|
|
2471
|
+
* @uniPlatform {
|
|
2472
|
+
* "mp": {
|
|
2473
|
+
* "weixin": {
|
|
2474
|
+
* "hostVer": "√",
|
|
2475
|
+
* "uniVer": "√",
|
|
2476
|
+
* "unixVer": "4.41"
|
|
2477
|
+
* },
|
|
2478
|
+
* "alipay": {
|
|
2479
|
+
* "hostVer": "-",
|
|
2480
|
+
* "uniVer": "-",
|
|
2481
|
+
* "unixVer": "-"
|
|
2482
|
+
* },
|
|
2483
|
+
* "baidu": {
|
|
2484
|
+
* "hostVer": "-",
|
|
2485
|
+
* "uniVer": "-",
|
|
2486
|
+
* "unixVer": "-"
|
|
2487
|
+
* },
|
|
2488
|
+
* "toutiao": {
|
|
2489
|
+
* "hostVer": "-",
|
|
2490
|
+
* "uniVer": "-",
|
|
2491
|
+
* "unixVer": "-"
|
|
2492
|
+
* },
|
|
2493
|
+
* "lark": {
|
|
2494
|
+
* "hostVer": "-",
|
|
2495
|
+
* "uniVer": "-",
|
|
2496
|
+
* "unixVer": "-"
|
|
2497
|
+
* },
|
|
2498
|
+
* "qq": {
|
|
2499
|
+
* "hostVer": "-",
|
|
2500
|
+
* "uniVer": "-",
|
|
2501
|
+
* "unixVer": "-"
|
|
2502
|
+
* },
|
|
2503
|
+
* "kuaishou": {
|
|
2504
|
+
* "hostVer": "-",
|
|
2505
|
+
* "uniVer": "-",
|
|
2506
|
+
* "unixVer": "-"
|
|
2507
|
+
* },
|
|
2508
|
+
* "jd": {
|
|
2509
|
+
* "hostVer": "-",
|
|
2510
|
+
* "uniVer": "-",
|
|
2511
|
+
* "unixVer": "-"
|
|
2512
|
+
* }
|
|
2513
|
+
* }
|
|
2514
|
+
* }
|
|
1767
2515
|
*/
|
|
1768
2516
|
export type ShowModalCompleteCallback = (res: any) => void
|
|
1769
2517
|
/**
|
|
@@ -1772,11 +2520,99 @@ export type ShowModalCompleteCallback = (res: any) => void
|
|
|
1772
2520
|
export type ShowModalOptions = {
|
|
1773
2521
|
/**
|
|
1774
2522
|
* 提示的标题
|
|
1775
|
-
|
|
2523
|
+
* @uniPlatform {
|
|
2524
|
+
* "mp": {
|
|
2525
|
+
* "weixin": {
|
|
2526
|
+
* "hostVer": "√",
|
|
2527
|
+
* "uniVer": "√",
|
|
2528
|
+
* "unixVer": "4.41"
|
|
2529
|
+
* },
|
|
2530
|
+
* "alipay": {
|
|
2531
|
+
* "hostVer": "-",
|
|
2532
|
+
* "uniVer": "-",
|
|
2533
|
+
* "unixVer": "-"
|
|
2534
|
+
* },
|
|
2535
|
+
* "baidu": {
|
|
2536
|
+
* "hostVer": "-",
|
|
2537
|
+
* "uniVer": "-",
|
|
2538
|
+
* "unixVer": "-"
|
|
2539
|
+
* },
|
|
2540
|
+
* "toutiao": {
|
|
2541
|
+
* "hostVer": "-",
|
|
2542
|
+
* "uniVer": "-",
|
|
2543
|
+
* "unixVer": "-"
|
|
2544
|
+
* },
|
|
2545
|
+
* "lark": {
|
|
2546
|
+
* "hostVer": "-",
|
|
2547
|
+
* "uniVer": "-",
|
|
2548
|
+
* "unixVer": "-"
|
|
2549
|
+
* },
|
|
2550
|
+
* "qq": {
|
|
2551
|
+
* "hostVer": "-",
|
|
2552
|
+
* "uniVer": "-",
|
|
2553
|
+
* "unixVer": "-"
|
|
2554
|
+
* },
|
|
2555
|
+
* "kuaishou": {
|
|
2556
|
+
* "hostVer": "-",
|
|
2557
|
+
* "uniVer": "-",
|
|
2558
|
+
* "unixVer": "-"
|
|
2559
|
+
* },
|
|
2560
|
+
* "jd": {
|
|
2561
|
+
* "hostVer": "-",
|
|
2562
|
+
* "uniVer": "-",
|
|
2563
|
+
* "unixVer": "-"
|
|
2564
|
+
* }
|
|
2565
|
+
* }
|
|
2566
|
+
* }
|
|
2567
|
+
*/
|
|
1776
2568
|
title?: string | null,
|
|
1777
2569
|
/**
|
|
1778
2570
|
* 提示的内容
|
|
1779
|
-
|
|
2571
|
+
* @uniPlatform {
|
|
2572
|
+
* "mp": {
|
|
2573
|
+
* "weixin": {
|
|
2574
|
+
* "hostVer": "√",
|
|
2575
|
+
* "uniVer": "√",
|
|
2576
|
+
* "unixVer": "4.41"
|
|
2577
|
+
* },
|
|
2578
|
+
* "alipay": {
|
|
2579
|
+
* "hostVer": "-",
|
|
2580
|
+
* "uniVer": "-",
|
|
2581
|
+
* "unixVer": "-"
|
|
2582
|
+
* },
|
|
2583
|
+
* "baidu": {
|
|
2584
|
+
* "hostVer": "-",
|
|
2585
|
+
* "uniVer": "-",
|
|
2586
|
+
* "unixVer": "-"
|
|
2587
|
+
* },
|
|
2588
|
+
* "toutiao": {
|
|
2589
|
+
* "hostVer": "-",
|
|
2590
|
+
* "uniVer": "-",
|
|
2591
|
+
* "unixVer": "-"
|
|
2592
|
+
* },
|
|
2593
|
+
* "lark": {
|
|
2594
|
+
* "hostVer": "-",
|
|
2595
|
+
* "uniVer": "-",
|
|
2596
|
+
* "unixVer": "-"
|
|
2597
|
+
* },
|
|
2598
|
+
* "qq": {
|
|
2599
|
+
* "hostVer": "-",
|
|
2600
|
+
* "uniVer": "-",
|
|
2601
|
+
* "unixVer": "-"
|
|
2602
|
+
* },
|
|
2603
|
+
* "kuaishou": {
|
|
2604
|
+
* "hostVer": "-",
|
|
2605
|
+
* "uniVer": "-",
|
|
2606
|
+
* "unixVer": "-"
|
|
2607
|
+
* },
|
|
2608
|
+
* "jd": {
|
|
2609
|
+
* "hostVer": "-",
|
|
2610
|
+
* "uniVer": "-",
|
|
2611
|
+
* "unixVer": "-"
|
|
2612
|
+
* }
|
|
2613
|
+
* }
|
|
2614
|
+
* }
|
|
2615
|
+
*/
|
|
1780
2616
|
content?: string | null,
|
|
1781
2617
|
/**
|
|
1782
2618
|
* @default true
|
|
@@ -1785,18 +2621,194 @@ export type ShowModalOptions = {
|
|
|
1785
2621
|
showCancel?: boolean | null,
|
|
1786
2622
|
/**
|
|
1787
2623
|
* 取消按钮的文字,默认为"取消"
|
|
2624
|
+
* @uniPlatform {
|
|
2625
|
+
* "mp": {
|
|
2626
|
+
* "weixin": {
|
|
2627
|
+
* "hostVer": "√",
|
|
2628
|
+
* "uniVer": "√",
|
|
2629
|
+
* "unixVer": "4.41"
|
|
2630
|
+
* },
|
|
2631
|
+
* "alipay": {
|
|
2632
|
+
* "hostVer": "-",
|
|
2633
|
+
* "uniVer": "-",
|
|
2634
|
+
* "unixVer": "-"
|
|
2635
|
+
* },
|
|
2636
|
+
* "baidu": {
|
|
2637
|
+
* "hostVer": "-",
|
|
2638
|
+
* "uniVer": "-",
|
|
2639
|
+
* "unixVer": "-"
|
|
2640
|
+
* },
|
|
2641
|
+
* "toutiao": {
|
|
2642
|
+
* "hostVer": "-",
|
|
2643
|
+
* "uniVer": "-",
|
|
2644
|
+
* "unixVer": "-"
|
|
2645
|
+
* },
|
|
2646
|
+
* "lark": {
|
|
2647
|
+
* "hostVer": "-",
|
|
2648
|
+
* "uniVer": "-",
|
|
2649
|
+
* "unixVer": "-"
|
|
2650
|
+
* },
|
|
2651
|
+
* "qq": {
|
|
2652
|
+
* "hostVer": "-",
|
|
2653
|
+
* "uniVer": "-",
|
|
2654
|
+
* "unixVer": "-"
|
|
2655
|
+
* },
|
|
2656
|
+
* "kuaishou": {
|
|
2657
|
+
* "hostVer": "-",
|
|
2658
|
+
* "uniVer": "-",
|
|
2659
|
+
* "unixVer": "-"
|
|
2660
|
+
* },
|
|
2661
|
+
* "jd": {
|
|
2662
|
+
* "hostVer": "-",
|
|
2663
|
+
* "uniVer": "-",
|
|
2664
|
+
* "unixVer": "-"
|
|
2665
|
+
* }
|
|
2666
|
+
* }
|
|
2667
|
+
* }
|
|
1788
2668
|
*/
|
|
1789
2669
|
cancelText?: string | null,
|
|
1790
2670
|
/**
|
|
1791
2671
|
* 取消按钮的文字颜色,默认为"#000000"
|
|
2672
|
+
* @uniPlatform {
|
|
2673
|
+
* "mp": {
|
|
2674
|
+
* "weixin": {
|
|
2675
|
+
* "hostVer": "√",
|
|
2676
|
+
* "uniVer": "√",
|
|
2677
|
+
* "unixVer": "4.41"
|
|
2678
|
+
* },
|
|
2679
|
+
* "alipay": {
|
|
2680
|
+
* "hostVer": "-",
|
|
2681
|
+
* "uniVer": "-",
|
|
2682
|
+
* "unixVer": "-"
|
|
2683
|
+
* },
|
|
2684
|
+
* "baidu": {
|
|
2685
|
+
* "hostVer": "-",
|
|
2686
|
+
* "uniVer": "-",
|
|
2687
|
+
* "unixVer": "-"
|
|
2688
|
+
* },
|
|
2689
|
+
* "toutiao": {
|
|
2690
|
+
* "hostVer": "-",
|
|
2691
|
+
* "uniVer": "-",
|
|
2692
|
+
* "unixVer": "-"
|
|
2693
|
+
* },
|
|
2694
|
+
* "lark": {
|
|
2695
|
+
* "hostVer": "-",
|
|
2696
|
+
* "uniVer": "-",
|
|
2697
|
+
* "unixVer": "-"
|
|
2698
|
+
* },
|
|
2699
|
+
* "qq": {
|
|
2700
|
+
* "hostVer": "-",
|
|
2701
|
+
* "uniVer": "-",
|
|
2702
|
+
* "unixVer": "-"
|
|
2703
|
+
* },
|
|
2704
|
+
* "kuaishou": {
|
|
2705
|
+
* "hostVer": "-",
|
|
2706
|
+
* "uniVer": "-",
|
|
2707
|
+
* "unixVer": "-"
|
|
2708
|
+
* },
|
|
2709
|
+
* "jd": {
|
|
2710
|
+
* "hostVer": "-",
|
|
2711
|
+
* "uniVer": "-",
|
|
2712
|
+
* "unixVer": "-"
|
|
2713
|
+
* }
|
|
2714
|
+
* }
|
|
2715
|
+
* }
|
|
1792
2716
|
*/
|
|
1793
2717
|
cancelColor?: string.ColorString | null,
|
|
1794
2718
|
/**
|
|
1795
2719
|
* 确定按钮的文字,默认为"确定"
|
|
2720
|
+
* @uniPlatform {
|
|
2721
|
+
* "mp": {
|
|
2722
|
+
* "weixin": {
|
|
2723
|
+
* "hostVer": "√",
|
|
2724
|
+
* "uniVer": "√",
|
|
2725
|
+
* "unixVer": "4.41"
|
|
2726
|
+
* },
|
|
2727
|
+
* "alipay": {
|
|
2728
|
+
* "hostVer": "-",
|
|
2729
|
+
* "uniVer": "-",
|
|
2730
|
+
* "unixVer": "-"
|
|
2731
|
+
* },
|
|
2732
|
+
* "baidu": {
|
|
2733
|
+
* "hostVer": "-",
|
|
2734
|
+
* "uniVer": "-",
|
|
2735
|
+
* "unixVer": "-"
|
|
2736
|
+
* },
|
|
2737
|
+
* "toutiao": {
|
|
2738
|
+
* "hostVer": "-",
|
|
2739
|
+
* "uniVer": "-",
|
|
2740
|
+
* "unixVer": "-"
|
|
2741
|
+
* },
|
|
2742
|
+
* "lark": {
|
|
2743
|
+
* "hostVer": "-",
|
|
2744
|
+
* "uniVer": "-",
|
|
2745
|
+
* "unixVer": "-"
|
|
2746
|
+
* },
|
|
2747
|
+
* "qq": {
|
|
2748
|
+
* "hostVer": "-",
|
|
2749
|
+
* "uniVer": "-",
|
|
2750
|
+
* "unixVer": "-"
|
|
2751
|
+
* },
|
|
2752
|
+
* "kuaishou": {
|
|
2753
|
+
* "hostVer": "-",
|
|
2754
|
+
* "uniVer": "-",
|
|
2755
|
+
* "unixVer": "-"
|
|
2756
|
+
* },
|
|
2757
|
+
* "jd": {
|
|
2758
|
+
* "hostVer": "-",
|
|
2759
|
+
* "uniVer": "-",
|
|
2760
|
+
* "unixVer": "-"
|
|
2761
|
+
* }
|
|
2762
|
+
* }
|
|
2763
|
+
* }
|
|
1796
2764
|
*/
|
|
1797
2765
|
confirmText?: string | null,
|
|
1798
2766
|
/**
|
|
1799
2767
|
* 确定按钮的文字颜色
|
|
2768
|
+
* @uniPlatform {
|
|
2769
|
+
* "mp": {
|
|
2770
|
+
* "weixin": {
|
|
2771
|
+
* "hostVer": "√",
|
|
2772
|
+
* "uniVer": "√",
|
|
2773
|
+
* "unixVer": "4.41"
|
|
2774
|
+
* },
|
|
2775
|
+
* "alipay": {
|
|
2776
|
+
* "hostVer": "-",
|
|
2777
|
+
* "uniVer": "-",
|
|
2778
|
+
* "unixVer": "-"
|
|
2779
|
+
* },
|
|
2780
|
+
* "baidu": {
|
|
2781
|
+
* "hostVer": "-",
|
|
2782
|
+
* "uniVer": "-",
|
|
2783
|
+
* "unixVer": "-"
|
|
2784
|
+
* },
|
|
2785
|
+
* "toutiao": {
|
|
2786
|
+
* "hostVer": "-",
|
|
2787
|
+
* "uniVer": "-",
|
|
2788
|
+
* "unixVer": "-"
|
|
2789
|
+
* },
|
|
2790
|
+
* "lark": {
|
|
2791
|
+
* "hostVer": "-",
|
|
2792
|
+
* "uniVer": "-",
|
|
2793
|
+
* "unixVer": "-"
|
|
2794
|
+
* },
|
|
2795
|
+
* "qq": {
|
|
2796
|
+
* "hostVer": "-",
|
|
2797
|
+
* "uniVer": "-",
|
|
2798
|
+
* "unixVer": "-"
|
|
2799
|
+
* },
|
|
2800
|
+
* "kuaishou": {
|
|
2801
|
+
* "hostVer": "-",
|
|
2802
|
+
* "uniVer": "-",
|
|
2803
|
+
* "unixVer": "-"
|
|
2804
|
+
* },
|
|
2805
|
+
* "jd": {
|
|
2806
|
+
* "hostVer": "-",
|
|
2807
|
+
* "uniVer": "-",
|
|
2808
|
+
* "unixVer": "-"
|
|
2809
|
+
* }
|
|
2810
|
+
* }
|
|
2811
|
+
* }
|
|
1800
2812
|
*/
|
|
1801
2813
|
confirmColor?: string.ColorString | null,
|
|
1802
2814
|
/**
|
|
@@ -1806,18 +2818,194 @@ export type ShowModalOptions = {
|
|
|
1806
2818
|
editable?: boolean | null,
|
|
1807
2819
|
/**
|
|
1808
2820
|
* 显示输入框时的提示文本
|
|
2821
|
+
* @uniPlatform {
|
|
2822
|
+
* "mp": {
|
|
2823
|
+
* "weixin": {
|
|
2824
|
+
* "hostVer": "√",
|
|
2825
|
+
* "uniVer": "√",
|
|
2826
|
+
* "unixVer": "4.41"
|
|
2827
|
+
* },
|
|
2828
|
+
* "alipay": {
|
|
2829
|
+
* "hostVer": "-",
|
|
2830
|
+
* "uniVer": "-",
|
|
2831
|
+
* "unixVer": "-"
|
|
2832
|
+
* },
|
|
2833
|
+
* "baidu": {
|
|
2834
|
+
* "hostVer": "-",
|
|
2835
|
+
* "uniVer": "-",
|
|
2836
|
+
* "unixVer": "-"
|
|
2837
|
+
* },
|
|
2838
|
+
* "toutiao": {
|
|
2839
|
+
* "hostVer": "-",
|
|
2840
|
+
* "uniVer": "-",
|
|
2841
|
+
* "unixVer": "-"
|
|
2842
|
+
* },
|
|
2843
|
+
* "lark": {
|
|
2844
|
+
* "hostVer": "-",
|
|
2845
|
+
* "uniVer": "-",
|
|
2846
|
+
* "unixVer": "-"
|
|
2847
|
+
* },
|
|
2848
|
+
* "qq": {
|
|
2849
|
+
* "hostVer": "-",
|
|
2850
|
+
* "uniVer": "-",
|
|
2851
|
+
* "unixVer": "-"
|
|
2852
|
+
* },
|
|
2853
|
+
* "kuaishou": {
|
|
2854
|
+
* "hostVer": "-",
|
|
2855
|
+
* "uniVer": "-",
|
|
2856
|
+
* "unixVer": "-"
|
|
2857
|
+
* },
|
|
2858
|
+
* "jd": {
|
|
2859
|
+
* "hostVer": "-",
|
|
2860
|
+
* "uniVer": "-",
|
|
2861
|
+
* "unixVer": "-"
|
|
2862
|
+
* }
|
|
2863
|
+
* }
|
|
2864
|
+
* }
|
|
1809
2865
|
*/
|
|
1810
2866
|
placeholderText?: string | null,
|
|
1811
2867
|
/**
|
|
1812
2868
|
* 接口调用成功的回调函数
|
|
2869
|
+
* @uniPlatform {
|
|
2870
|
+
* "mp": {
|
|
2871
|
+
* "weixin": {
|
|
2872
|
+
* "hostVer": "√",
|
|
2873
|
+
* "uniVer": "√",
|
|
2874
|
+
* "unixVer": "4.41"
|
|
2875
|
+
* },
|
|
2876
|
+
* "alipay": {
|
|
2877
|
+
* "hostVer": "-",
|
|
2878
|
+
* "uniVer": "-",
|
|
2879
|
+
* "unixVer": "-"
|
|
2880
|
+
* },
|
|
2881
|
+
* "baidu": {
|
|
2882
|
+
* "hostVer": "-",
|
|
2883
|
+
* "uniVer": "-",
|
|
2884
|
+
* "unixVer": "-"
|
|
2885
|
+
* },
|
|
2886
|
+
* "toutiao": {
|
|
2887
|
+
* "hostVer": "-",
|
|
2888
|
+
* "uniVer": "-",
|
|
2889
|
+
* "unixVer": "-"
|
|
2890
|
+
* },
|
|
2891
|
+
* "lark": {
|
|
2892
|
+
* "hostVer": "-",
|
|
2893
|
+
* "uniVer": "-",
|
|
2894
|
+
* "unixVer": "-"
|
|
2895
|
+
* },
|
|
2896
|
+
* "qq": {
|
|
2897
|
+
* "hostVer": "-",
|
|
2898
|
+
* "uniVer": "-",
|
|
2899
|
+
* "unixVer": "-"
|
|
2900
|
+
* },
|
|
2901
|
+
* "kuaishou": {
|
|
2902
|
+
* "hostVer": "-",
|
|
2903
|
+
* "uniVer": "-",
|
|
2904
|
+
* "unixVer": "-"
|
|
2905
|
+
* },
|
|
2906
|
+
* "jd": {
|
|
2907
|
+
* "hostVer": "-",
|
|
2908
|
+
* "uniVer": "-",
|
|
2909
|
+
* "unixVer": "-"
|
|
2910
|
+
* }
|
|
2911
|
+
* }
|
|
2912
|
+
* }
|
|
1813
2913
|
*/
|
|
1814
2914
|
success?: ShowModalSuccessCallback | null,
|
|
1815
2915
|
/**
|
|
1816
2916
|
* 接口调用失败的回调函数
|
|
2917
|
+
* @uniPlatform {
|
|
2918
|
+
* "mp": {
|
|
2919
|
+
* "weixin": {
|
|
2920
|
+
* "hostVer": "√",
|
|
2921
|
+
* "uniVer": "√",
|
|
2922
|
+
* "unixVer": "4.41"
|
|
2923
|
+
* },
|
|
2924
|
+
* "alipay": {
|
|
2925
|
+
* "hostVer": "-",
|
|
2926
|
+
* "uniVer": "-",
|
|
2927
|
+
* "unixVer": "-"
|
|
2928
|
+
* },
|
|
2929
|
+
* "baidu": {
|
|
2930
|
+
* "hostVer": "-",
|
|
2931
|
+
* "uniVer": "-",
|
|
2932
|
+
* "unixVer": "-"
|
|
2933
|
+
* },
|
|
2934
|
+
* "toutiao": {
|
|
2935
|
+
* "hostVer": "-",
|
|
2936
|
+
* "uniVer": "-",
|
|
2937
|
+
* "unixVer": "-"
|
|
2938
|
+
* },
|
|
2939
|
+
* "lark": {
|
|
2940
|
+
* "hostVer": "-",
|
|
2941
|
+
* "uniVer": "-",
|
|
2942
|
+
* "unixVer": "-"
|
|
2943
|
+
* },
|
|
2944
|
+
* "qq": {
|
|
2945
|
+
* "hostVer": "-",
|
|
2946
|
+
* "uniVer": "-",
|
|
2947
|
+
* "unixVer": "-"
|
|
2948
|
+
* },
|
|
2949
|
+
* "kuaishou": {
|
|
2950
|
+
* "hostVer": "-",
|
|
2951
|
+
* "uniVer": "-",
|
|
2952
|
+
* "unixVer": "-"
|
|
2953
|
+
* },
|
|
2954
|
+
* "jd": {
|
|
2955
|
+
* "hostVer": "-",
|
|
2956
|
+
* "uniVer": "-",
|
|
2957
|
+
* "unixVer": "-"
|
|
2958
|
+
* }
|
|
2959
|
+
* }
|
|
2960
|
+
* }
|
|
1817
2961
|
*/
|
|
1818
2962
|
fail?: ShowModalFailCallback | null,
|
|
1819
2963
|
/**
|
|
1820
2964
|
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
2965
|
+
* @uniPlatform {
|
|
2966
|
+
* "mp": {
|
|
2967
|
+
* "weixin": {
|
|
2968
|
+
* "hostVer": "√",
|
|
2969
|
+
* "uniVer": "√",
|
|
2970
|
+
* "unixVer": "4.41"
|
|
2971
|
+
* },
|
|
2972
|
+
* "alipay": {
|
|
2973
|
+
* "hostVer": "-",
|
|
2974
|
+
* "uniVer": "-",
|
|
2975
|
+
* "unixVer": "-"
|
|
2976
|
+
* },
|
|
2977
|
+
* "baidu": {
|
|
2978
|
+
* "hostVer": "-",
|
|
2979
|
+
* "uniVer": "-",
|
|
2980
|
+
* "unixVer": "-"
|
|
2981
|
+
* },
|
|
2982
|
+
* "toutiao": {
|
|
2983
|
+
* "hostVer": "-",
|
|
2984
|
+
* "uniVer": "-",
|
|
2985
|
+
* "unixVer": "-"
|
|
2986
|
+
* },
|
|
2987
|
+
* "lark": {
|
|
2988
|
+
* "hostVer": "-",
|
|
2989
|
+
* "uniVer": "-",
|
|
2990
|
+
* "unixVer": "-"
|
|
2991
|
+
* },
|
|
2992
|
+
* "qq": {
|
|
2993
|
+
* "hostVer": "-",
|
|
2994
|
+
* "uniVer": "-",
|
|
2995
|
+
* "unixVer": "-"
|
|
2996
|
+
* },
|
|
2997
|
+
* "kuaishou": {
|
|
2998
|
+
* "hostVer": "-",
|
|
2999
|
+
* "uniVer": "-",
|
|
3000
|
+
* "unixVer": "-"
|
|
3001
|
+
* },
|
|
3002
|
+
* "jd": {
|
|
3003
|
+
* "hostVer": "-",
|
|
3004
|
+
* "uniVer": "-",
|
|
3005
|
+
* "unixVer": "-"
|
|
3006
|
+
* }
|
|
3007
|
+
* }
|
|
3008
|
+
* }
|
|
1821
3009
|
*/
|
|
1822
3010
|
complete?: ShowModalCompleteCallback | null
|
|
1823
3011
|
}
|
|
@@ -1904,14 +3092,59 @@ export type ShowModalOptions = {
|
|
|
1904
3092
|
*/
|
|
1905
3093
|
export type ShowModal = (options: ShowModalOptions) => void
|
|
1906
3094
|
|
|
3095
|
+
// #ifndef UNI-APP-X
|
|
1907
3096
|
/**
|
|
1908
3097
|
* uni.ShowActionSheet成功回调参数
|
|
1909
3098
|
*/
|
|
1910
3099
|
export type ShowActionSheetSuccess = {
|
|
1911
3100
|
/**
|
|
1912
3101
|
* 用户点击的按钮,从上到下的顺序,从0开始
|
|
1913
|
-
|
|
1914
|
-
|
|
3102
|
+
* @uniPlatform {
|
|
3103
|
+
* "mp": {
|
|
3104
|
+
* "weixin": {
|
|
3105
|
+
* "hostVer": "√",
|
|
3106
|
+
* "uniVer": "√",
|
|
3107
|
+
* "unixVer": "4.41"
|
|
3108
|
+
* },
|
|
3109
|
+
* "alipay": {
|
|
3110
|
+
* "hostVer": "-",
|
|
3111
|
+
* "uniVer": "-",
|
|
3112
|
+
* "unixVer": "-"
|
|
3113
|
+
* },
|
|
3114
|
+
* "baidu": {
|
|
3115
|
+
* "hostVer": "-",
|
|
3116
|
+
* "uniVer": "-",
|
|
3117
|
+
* "unixVer": "-"
|
|
3118
|
+
* },
|
|
3119
|
+
* "toutiao": {
|
|
3120
|
+
* "hostVer": "-",
|
|
3121
|
+
* "uniVer": "-",
|
|
3122
|
+
* "unixVer": "-"
|
|
3123
|
+
* },
|
|
3124
|
+
* "lark": {
|
|
3125
|
+
* "hostVer": "-",
|
|
3126
|
+
* "uniVer": "-",
|
|
3127
|
+
* "unixVer": "-"
|
|
3128
|
+
* },
|
|
3129
|
+
* "qq": {
|
|
3130
|
+
* "hostVer": "-",
|
|
3131
|
+
* "uniVer": "-",
|
|
3132
|
+
* "unixVer": "-"
|
|
3133
|
+
* },
|
|
3134
|
+
* "kuaishou": {
|
|
3135
|
+
* "hostVer": "-",
|
|
3136
|
+
* "uniVer": "-",
|
|
3137
|
+
* "unixVer": "-"
|
|
3138
|
+
* },
|
|
3139
|
+
* "jd": {
|
|
3140
|
+
* "hostVer": "-",
|
|
3141
|
+
* "uniVer": "-",
|
|
3142
|
+
* "unixVer": "-"
|
|
3143
|
+
* }
|
|
3144
|
+
* }
|
|
3145
|
+
* }
|
|
3146
|
+
*/
|
|
3147
|
+
tapIndex: number,
|
|
1915
3148
|
}
|
|
1916
3149
|
|
|
1917
3150
|
export type Popover = {
|
|
@@ -1940,14 +3173,146 @@ export type ShowActionSheetFail = IPromptError;
|
|
|
1940
3173
|
|
|
1941
3174
|
/**
|
|
1942
3175
|
* uni.showActionSheet成功回调函数定义
|
|
3176
|
+
* @uniPlatform {
|
|
3177
|
+
* "mp": {
|
|
3178
|
+
* "weixin": {
|
|
3179
|
+
* "hostVer": "√",
|
|
3180
|
+
* "uniVer": "√",
|
|
3181
|
+
* "unixVer": "4.41"
|
|
3182
|
+
* },
|
|
3183
|
+
* "alipay": {
|
|
3184
|
+
* "hostVer": "-",
|
|
3185
|
+
* "uniVer": "-",
|
|
3186
|
+
* "unixVer": "-"
|
|
3187
|
+
* },
|
|
3188
|
+
* "baidu": {
|
|
3189
|
+
* "hostVer": "-",
|
|
3190
|
+
* "uniVer": "-",
|
|
3191
|
+
* "unixVer": "-"
|
|
3192
|
+
* },
|
|
3193
|
+
* "toutiao": {
|
|
3194
|
+
* "hostVer": "-",
|
|
3195
|
+
* "uniVer": "-",
|
|
3196
|
+
* "unixVer": "-"
|
|
3197
|
+
* },
|
|
3198
|
+
* "lark": {
|
|
3199
|
+
* "hostVer": "-",
|
|
3200
|
+
* "uniVer": "-",
|
|
3201
|
+
* "unixVer": "-"
|
|
3202
|
+
* },
|
|
3203
|
+
* "qq": {
|
|
3204
|
+
* "hostVer": "-",
|
|
3205
|
+
* "uniVer": "-",
|
|
3206
|
+
* "unixVer": "-"
|
|
3207
|
+
* },
|
|
3208
|
+
* "kuaishou": {
|
|
3209
|
+
* "hostVer": "-",
|
|
3210
|
+
* "uniVer": "-",
|
|
3211
|
+
* "unixVer": "-"
|
|
3212
|
+
* },
|
|
3213
|
+
* "jd": {
|
|
3214
|
+
* "hostVer": "-",
|
|
3215
|
+
* "uniVer": "-",
|
|
3216
|
+
* "unixVer": "-"
|
|
3217
|
+
* }
|
|
3218
|
+
* }
|
|
3219
|
+
* }
|
|
1943
3220
|
*/
|
|
1944
3221
|
export type ShowActionSheetSuccessCallback = (res: ShowActionSheetSuccess) => void
|
|
1945
3222
|
/**
|
|
1946
3223
|
* uni.showActionSheet成功回调函数定义
|
|
3224
|
+
* @uniPlatform {
|
|
3225
|
+
* "mp": {
|
|
3226
|
+
* "weixin": {
|
|
3227
|
+
* "hostVer": "√",
|
|
3228
|
+
* "uniVer": "√",
|
|
3229
|
+
* "unixVer": "4.41"
|
|
3230
|
+
* },
|
|
3231
|
+
* "alipay": {
|
|
3232
|
+
* "hostVer": "-",
|
|
3233
|
+
* "uniVer": "-",
|
|
3234
|
+
* "unixVer": "-"
|
|
3235
|
+
* },
|
|
3236
|
+
* "baidu": {
|
|
3237
|
+
* "hostVer": "-",
|
|
3238
|
+
* "uniVer": "-",
|
|
3239
|
+
* "unixVer": "-"
|
|
3240
|
+
* },
|
|
3241
|
+
* "toutiao": {
|
|
3242
|
+
* "hostVer": "-",
|
|
3243
|
+
* "uniVer": "-",
|
|
3244
|
+
* "unixVer": "-"
|
|
3245
|
+
* },
|
|
3246
|
+
* "lark": {
|
|
3247
|
+
* "hostVer": "-",
|
|
3248
|
+
* "uniVer": "-",
|
|
3249
|
+
* "unixVer": "-"
|
|
3250
|
+
* },
|
|
3251
|
+
* "qq": {
|
|
3252
|
+
* "hostVer": "-",
|
|
3253
|
+
* "uniVer": "-",
|
|
3254
|
+
* "unixVer": "-"
|
|
3255
|
+
* },
|
|
3256
|
+
* "kuaishou": {
|
|
3257
|
+
* "hostVer": "-",
|
|
3258
|
+
* "uniVer": "-",
|
|
3259
|
+
* "unixVer": "-"
|
|
3260
|
+
* },
|
|
3261
|
+
* "jd": {
|
|
3262
|
+
* "hostVer": "-",
|
|
3263
|
+
* "uniVer": "-",
|
|
3264
|
+
* "unixVer": "-"
|
|
3265
|
+
* }
|
|
3266
|
+
* }
|
|
3267
|
+
* }
|
|
1947
3268
|
*/
|
|
1948
3269
|
export type ShowActionSheetFailCallback = (res: ShowActionSheetFail) => void
|
|
1949
3270
|
/**
|
|
1950
3271
|
* uni.showActionSheet成功回调函数定义
|
|
3272
|
+
* @uniPlatform {
|
|
3273
|
+
* "mp": {
|
|
3274
|
+
* "weixin": {
|
|
3275
|
+
* "hostVer": "√",
|
|
3276
|
+
* "uniVer": "√",
|
|
3277
|
+
* "unixVer": "4.41"
|
|
3278
|
+
* },
|
|
3279
|
+
* "alipay": {
|
|
3280
|
+
* "hostVer": "-",
|
|
3281
|
+
* "uniVer": "-",
|
|
3282
|
+
* "unixVer": "-"
|
|
3283
|
+
* },
|
|
3284
|
+
* "baidu": {
|
|
3285
|
+
* "hostVer": "-",
|
|
3286
|
+
* "uniVer": "-",
|
|
3287
|
+
* "unixVer": "-"
|
|
3288
|
+
* },
|
|
3289
|
+
* "toutiao": {
|
|
3290
|
+
* "hostVer": "-",
|
|
3291
|
+
* "uniVer": "-",
|
|
3292
|
+
* "unixVer": "-"
|
|
3293
|
+
* },
|
|
3294
|
+
* "lark": {
|
|
3295
|
+
* "hostVer": "-",
|
|
3296
|
+
* "uniVer": "-",
|
|
3297
|
+
* "unixVer": "-"
|
|
3298
|
+
* },
|
|
3299
|
+
* "qq": {
|
|
3300
|
+
* "hostVer": "-",
|
|
3301
|
+
* "uniVer": "-",
|
|
3302
|
+
* "unixVer": "-"
|
|
3303
|
+
* },
|
|
3304
|
+
* "kuaishou": {
|
|
3305
|
+
* "hostVer": "-",
|
|
3306
|
+
* "uniVer": "-",
|
|
3307
|
+
* "unixVer": "-"
|
|
3308
|
+
* },
|
|
3309
|
+
* "jd": {
|
|
3310
|
+
* "hostVer": "-",
|
|
3311
|
+
* "uniVer": "-",
|
|
3312
|
+
* "unixVer": "-"
|
|
3313
|
+
* }
|
|
3314
|
+
* }
|
|
3315
|
+
* }
|
|
1951
3316
|
*/
|
|
1952
3317
|
export type ShowActionSheetCompleteCallback = (res: any) => void
|
|
1953
3318
|
|
|
@@ -1957,34 +3322,386 @@ export type ShowActionSheetCompleteCallback = (res: any) => void
|
|
|
1957
3322
|
export type ShowActionSheetOptions = {
|
|
1958
3323
|
/**
|
|
1959
3324
|
* 菜单标题
|
|
1960
|
-
|
|
3325
|
+
* @uniPlatform {
|
|
3326
|
+
* "mp": {
|
|
3327
|
+
* "weixin": {
|
|
3328
|
+
* "hostVer": "√",
|
|
3329
|
+
* "uniVer": "√",
|
|
3330
|
+
* "unixVer": "4.41"
|
|
3331
|
+
* },
|
|
3332
|
+
* "alipay": {
|
|
3333
|
+
* "hostVer": "-",
|
|
3334
|
+
* "uniVer": "-",
|
|
3335
|
+
* "unixVer": "-"
|
|
3336
|
+
* },
|
|
3337
|
+
* "baidu": {
|
|
3338
|
+
* "hostVer": "-",
|
|
3339
|
+
* "uniVer": "-",
|
|
3340
|
+
* "unixVer": "-"
|
|
3341
|
+
* },
|
|
3342
|
+
* "toutiao": {
|
|
3343
|
+
* "hostVer": "-",
|
|
3344
|
+
* "uniVer": "-",
|
|
3345
|
+
* "unixVer": "-"
|
|
3346
|
+
* },
|
|
3347
|
+
* "lark": {
|
|
3348
|
+
* "hostVer": "-",
|
|
3349
|
+
* "uniVer": "-",
|
|
3350
|
+
* "unixVer": "-"
|
|
3351
|
+
* },
|
|
3352
|
+
* "qq": {
|
|
3353
|
+
* "hostVer": "-",
|
|
3354
|
+
* "uniVer": "-",
|
|
3355
|
+
* "unixVer": "-"
|
|
3356
|
+
* },
|
|
3357
|
+
* "kuaishou": {
|
|
3358
|
+
* "hostVer": "-",
|
|
3359
|
+
* "uniVer": "-",
|
|
3360
|
+
* "unixVer": "-"
|
|
3361
|
+
* },
|
|
3362
|
+
* "jd": {
|
|
3363
|
+
* "hostVer": "-",
|
|
3364
|
+
* "uniVer": "-",
|
|
3365
|
+
* "unixVer": "-"
|
|
3366
|
+
* }
|
|
3367
|
+
* }
|
|
3368
|
+
* }
|
|
3369
|
+
*/
|
|
1961
3370
|
title?: string | null,
|
|
1962
3371
|
/**
|
|
1963
3372
|
* 警示文案(同菜单标题, app无效)
|
|
1964
|
-
|
|
3373
|
+
* @uniPlatform {
|
|
3374
|
+
* "mp": {
|
|
3375
|
+
* "weixin": {
|
|
3376
|
+
* "hostVer": "√",
|
|
3377
|
+
* "uniVer": "√",
|
|
3378
|
+
* "unixVer": "4.41"
|
|
3379
|
+
* },
|
|
3380
|
+
* "alipay": {
|
|
3381
|
+
* "hostVer": "-",
|
|
3382
|
+
* "uniVer": "-",
|
|
3383
|
+
* "unixVer": "-"
|
|
3384
|
+
* },
|
|
3385
|
+
* "baidu": {
|
|
3386
|
+
* "hostVer": "-",
|
|
3387
|
+
* "uniVer": "-",
|
|
3388
|
+
* "unixVer": "-"
|
|
3389
|
+
* },
|
|
3390
|
+
* "toutiao": {
|
|
3391
|
+
* "hostVer": "-",
|
|
3392
|
+
* "uniVer": "-",
|
|
3393
|
+
* "unixVer": "-"
|
|
3394
|
+
* },
|
|
3395
|
+
* "lark": {
|
|
3396
|
+
* "hostVer": "-",
|
|
3397
|
+
* "uniVer": "-",
|
|
3398
|
+
* "unixVer": "-"
|
|
3399
|
+
* },
|
|
3400
|
+
* "qq": {
|
|
3401
|
+
* "hostVer": "-",
|
|
3402
|
+
* "uniVer": "-",
|
|
3403
|
+
* "unixVer": "-"
|
|
3404
|
+
* },
|
|
3405
|
+
* "kuaishou": {
|
|
3406
|
+
* "hostVer": "-",
|
|
3407
|
+
* "uniVer": "-",
|
|
3408
|
+
* "unixVer": "-"
|
|
3409
|
+
* },
|
|
3410
|
+
* "jd": {
|
|
3411
|
+
* "hostVer": "-",
|
|
3412
|
+
* "uniVer": "-",
|
|
3413
|
+
* "unixVer": "-"
|
|
3414
|
+
* }
|
|
3415
|
+
* }
|
|
3416
|
+
* }
|
|
3417
|
+
*/
|
|
1965
3418
|
alertText?: string | null,
|
|
1966
3419
|
/**
|
|
1967
3420
|
* 按钮的文字数组
|
|
3421
|
+
* @uniPlatform {
|
|
3422
|
+
* "mp": {
|
|
3423
|
+
* "weixin": {
|
|
3424
|
+
* "hostVer": "√",
|
|
3425
|
+
* "uniVer": "√",
|
|
3426
|
+
* "unixVer": "4.41"
|
|
3427
|
+
* },
|
|
3428
|
+
* "alipay": {
|
|
3429
|
+
* "hostVer": "-",
|
|
3430
|
+
* "uniVer": "-",
|
|
3431
|
+
* "unixVer": "-"
|
|
3432
|
+
* },
|
|
3433
|
+
* "baidu": {
|
|
3434
|
+
* "hostVer": "-",
|
|
3435
|
+
* "uniVer": "-",
|
|
3436
|
+
* "unixVer": "-"
|
|
3437
|
+
* },
|
|
3438
|
+
* "toutiao": {
|
|
3439
|
+
* "hostVer": "-",
|
|
3440
|
+
* "uniVer": "-",
|
|
3441
|
+
* "unixVer": "-"
|
|
3442
|
+
* },
|
|
3443
|
+
* "lark": {
|
|
3444
|
+
* "hostVer": "-",
|
|
3445
|
+
* "uniVer": "-",
|
|
3446
|
+
* "unixVer": "-"
|
|
3447
|
+
* },
|
|
3448
|
+
* "qq": {
|
|
3449
|
+
* "hostVer": "-",
|
|
3450
|
+
* "uniVer": "-",
|
|
3451
|
+
* "unixVer": "-"
|
|
3452
|
+
* },
|
|
3453
|
+
* "kuaishou": {
|
|
3454
|
+
* "hostVer": "-",
|
|
3455
|
+
* "uniVer": "-",
|
|
3456
|
+
* "unixVer": "-"
|
|
3457
|
+
* },
|
|
3458
|
+
* "jd": {
|
|
3459
|
+
* "hostVer": "-",
|
|
3460
|
+
* "uniVer": "-",
|
|
3461
|
+
* "unixVer": "-"
|
|
3462
|
+
* }
|
|
3463
|
+
* }
|
|
3464
|
+
* }
|
|
1968
3465
|
*/
|
|
1969
3466
|
itemList: string[],
|
|
1970
3467
|
/**
|
|
1971
3468
|
* 按钮的文字颜色,字符串格式(iOS默认为系统控件颜色)
|
|
3469
|
+
* @uniPlatform {
|
|
3470
|
+
* "mp": {
|
|
3471
|
+
* "weixin": {
|
|
3472
|
+
* "hostVer": "√",
|
|
3473
|
+
* "uniVer": "√",
|
|
3474
|
+
* "unixVer": "4.41"
|
|
3475
|
+
* },
|
|
3476
|
+
* "alipay": {
|
|
3477
|
+
* "hostVer": "-",
|
|
3478
|
+
* "uniVer": "-",
|
|
3479
|
+
* "unixVer": "-"
|
|
3480
|
+
* },
|
|
3481
|
+
* "baidu": {
|
|
3482
|
+
* "hostVer": "-",
|
|
3483
|
+
* "uniVer": "-",
|
|
3484
|
+
* "unixVer": "-"
|
|
3485
|
+
* },
|
|
3486
|
+
* "toutiao": {
|
|
3487
|
+
* "hostVer": "-",
|
|
3488
|
+
* "uniVer": "-",
|
|
3489
|
+
* "unixVer": "-"
|
|
3490
|
+
* },
|
|
3491
|
+
* "lark": {
|
|
3492
|
+
* "hostVer": "-",
|
|
3493
|
+
* "uniVer": "-",
|
|
3494
|
+
* "unixVer": "-"
|
|
3495
|
+
* },
|
|
3496
|
+
* "qq": {
|
|
3497
|
+
* "hostVer": "-",
|
|
3498
|
+
* "uniVer": "-",
|
|
3499
|
+
* "unixVer": "-"
|
|
3500
|
+
* },
|
|
3501
|
+
* "kuaishou": {
|
|
3502
|
+
* "hostVer": "-",
|
|
3503
|
+
* "uniVer": "-",
|
|
3504
|
+
* "unixVer": "-"
|
|
3505
|
+
* },
|
|
3506
|
+
* "jd": {
|
|
3507
|
+
* "hostVer": "-",
|
|
3508
|
+
* "uniVer": "-",
|
|
3509
|
+
* "unixVer": "-"
|
|
3510
|
+
* }
|
|
3511
|
+
* }
|
|
3512
|
+
* }
|
|
1972
3513
|
*/
|
|
1973
3514
|
itemColor?: string.ColorString | null,
|
|
1974
3515
|
/**
|
|
1975
3516
|
* 大屏设备弹出原生选择按钮框的指示区域,默认居中显示
|
|
3517
|
+
* @uniPlatform {
|
|
3518
|
+
* "mp": {
|
|
3519
|
+
* "weixin": {
|
|
3520
|
+
* "hostVer": "√",
|
|
3521
|
+
* "uniVer": "√",
|
|
3522
|
+
* "unixVer": "4.41"
|
|
3523
|
+
* },
|
|
3524
|
+
* "alipay": {
|
|
3525
|
+
* "hostVer": "-",
|
|
3526
|
+
* "uniVer": "-",
|
|
3527
|
+
* "unixVer": "-"
|
|
3528
|
+
* },
|
|
3529
|
+
* "baidu": {
|
|
3530
|
+
* "hostVer": "-",
|
|
3531
|
+
* "uniVer": "-",
|
|
3532
|
+
* "unixVer": "-"
|
|
3533
|
+
* },
|
|
3534
|
+
* "toutiao": {
|
|
3535
|
+
* "hostVer": "-",
|
|
3536
|
+
* "uniVer": "-",
|
|
3537
|
+
* "unixVer": "-"
|
|
3538
|
+
* },
|
|
3539
|
+
* "lark": {
|
|
3540
|
+
* "hostVer": "-",
|
|
3541
|
+
* "uniVer": "-",
|
|
3542
|
+
* "unixVer": "-"
|
|
3543
|
+
* },
|
|
3544
|
+
* "qq": {
|
|
3545
|
+
* "hostVer": "-",
|
|
3546
|
+
* "uniVer": "-",
|
|
3547
|
+
* "unixVer": "-"
|
|
3548
|
+
* },
|
|
3549
|
+
* "kuaishou": {
|
|
3550
|
+
* "hostVer": "-",
|
|
3551
|
+
* "uniVer": "-",
|
|
3552
|
+
* "unixVer": "-"
|
|
3553
|
+
* },
|
|
3554
|
+
* "jd": {
|
|
3555
|
+
* "hostVer": "-",
|
|
3556
|
+
* "uniVer": "-",
|
|
3557
|
+
* "unixVer": "-"
|
|
3558
|
+
* }
|
|
3559
|
+
* }
|
|
3560
|
+
* }
|
|
1976
3561
|
*/
|
|
1977
3562
|
popover?: Popover | null,
|
|
1978
3563
|
/**
|
|
1979
3564
|
* 接口调用成功的回调函数
|
|
3565
|
+
* @uniPlatform {
|
|
3566
|
+
* "mp": {
|
|
3567
|
+
* "weixin": {
|
|
3568
|
+
* "hostVer": "√",
|
|
3569
|
+
* "uniVer": "√",
|
|
3570
|
+
* "unixVer": "4.41"
|
|
3571
|
+
* },
|
|
3572
|
+
* "alipay": {
|
|
3573
|
+
* "hostVer": "-",
|
|
3574
|
+
* "uniVer": "-",
|
|
3575
|
+
* "unixVer": "-"
|
|
3576
|
+
* },
|
|
3577
|
+
* "baidu": {
|
|
3578
|
+
* "hostVer": "-",
|
|
3579
|
+
* "uniVer": "-",
|
|
3580
|
+
* "unixVer": "-"
|
|
3581
|
+
* },
|
|
3582
|
+
* "toutiao": {
|
|
3583
|
+
* "hostVer": "-",
|
|
3584
|
+
* "uniVer": "-",
|
|
3585
|
+
* "unixVer": "-"
|
|
3586
|
+
* },
|
|
3587
|
+
* "lark": {
|
|
3588
|
+
* "hostVer": "-",
|
|
3589
|
+
* "uniVer": "-",
|
|
3590
|
+
* "unixVer": "-"
|
|
3591
|
+
* },
|
|
3592
|
+
* "qq": {
|
|
3593
|
+
* "hostVer": "-",
|
|
3594
|
+
* "uniVer": "-",
|
|
3595
|
+
* "unixVer": "-"
|
|
3596
|
+
* },
|
|
3597
|
+
* "kuaishou": {
|
|
3598
|
+
* "hostVer": "-",
|
|
3599
|
+
* "uniVer": "-",
|
|
3600
|
+
* "unixVer": "-"
|
|
3601
|
+
* },
|
|
3602
|
+
* "jd": {
|
|
3603
|
+
* "hostVer": "-",
|
|
3604
|
+
* "uniVer": "-",
|
|
3605
|
+
* "unixVer": "-"
|
|
3606
|
+
* }
|
|
3607
|
+
* }
|
|
3608
|
+
* }
|
|
1980
3609
|
*/
|
|
1981
3610
|
success?: ShowActionSheetSuccessCallback | null,
|
|
1982
3611
|
/**
|
|
1983
3612
|
* 接口调用失败的回调函数
|
|
3613
|
+
* @uniPlatform {
|
|
3614
|
+
* "mp": {
|
|
3615
|
+
* "weixin": {
|
|
3616
|
+
* "hostVer": "√",
|
|
3617
|
+
* "uniVer": "√",
|
|
3618
|
+
* "unixVer": "4.41"
|
|
3619
|
+
* },
|
|
3620
|
+
* "alipay": {
|
|
3621
|
+
* "hostVer": "-",
|
|
3622
|
+
* "uniVer": "-",
|
|
3623
|
+
* "unixVer": "-"
|
|
3624
|
+
* },
|
|
3625
|
+
* "baidu": {
|
|
3626
|
+
* "hostVer": "-",
|
|
3627
|
+
* "uniVer": "-",
|
|
3628
|
+
* "unixVer": "-"
|
|
3629
|
+
* },
|
|
3630
|
+
* "toutiao": {
|
|
3631
|
+
* "hostVer": "-",
|
|
3632
|
+
* "uniVer": "-",
|
|
3633
|
+
* "unixVer": "-"
|
|
3634
|
+
* },
|
|
3635
|
+
* "lark": {
|
|
3636
|
+
* "hostVer": "-",
|
|
3637
|
+
* "uniVer": "-",
|
|
3638
|
+
* "unixVer": "-"
|
|
3639
|
+
* },
|
|
3640
|
+
* "qq": {
|
|
3641
|
+
* "hostVer": "-",
|
|
3642
|
+
* "uniVer": "-",
|
|
3643
|
+
* "unixVer": "-"
|
|
3644
|
+
* },
|
|
3645
|
+
* "kuaishou": {
|
|
3646
|
+
* "hostVer": "-",
|
|
3647
|
+
* "uniVer": "-",
|
|
3648
|
+
* "unixVer": "-"
|
|
3649
|
+
* },
|
|
3650
|
+
* "jd": {
|
|
3651
|
+
* "hostVer": "-",
|
|
3652
|
+
* "uniVer": "-",
|
|
3653
|
+
* "unixVer": "-"
|
|
3654
|
+
* }
|
|
3655
|
+
* }
|
|
3656
|
+
* }
|
|
1984
3657
|
*/
|
|
1985
3658
|
fail?: ShowActionSheetFailCallback | null,
|
|
1986
3659
|
/**
|
|
1987
3660
|
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
3661
|
+
* @uniPlatform {
|
|
3662
|
+
* "mp": {
|
|
3663
|
+
* "weixin": {
|
|
3664
|
+
* "hostVer": "√",
|
|
3665
|
+
* "uniVer": "√",
|
|
3666
|
+
* "unixVer": "4.41"
|
|
3667
|
+
* },
|
|
3668
|
+
* "alipay": {
|
|
3669
|
+
* "hostVer": "-",
|
|
3670
|
+
* "uniVer": "-",
|
|
3671
|
+
* "unixVer": "-"
|
|
3672
|
+
* },
|
|
3673
|
+
* "baidu": {
|
|
3674
|
+
* "hostVer": "-",
|
|
3675
|
+
* "uniVer": "-",
|
|
3676
|
+
* "unixVer": "-"
|
|
3677
|
+
* },
|
|
3678
|
+
* "toutiao": {
|
|
3679
|
+
* "hostVer": "-",
|
|
3680
|
+
* "uniVer": "-",
|
|
3681
|
+
* "unixVer": "-"
|
|
3682
|
+
* },
|
|
3683
|
+
* "lark": {
|
|
3684
|
+
* "hostVer": "-",
|
|
3685
|
+
* "uniVer": "-",
|
|
3686
|
+
* "unixVer": "-"
|
|
3687
|
+
* },
|
|
3688
|
+
* "qq": {
|
|
3689
|
+
* "hostVer": "-",
|
|
3690
|
+
* "uniVer": "-",
|
|
3691
|
+
* "unixVer": "-"
|
|
3692
|
+
* },
|
|
3693
|
+
* "kuaishou": {
|
|
3694
|
+
* "hostVer": "-",
|
|
3695
|
+
* "uniVer": "-",
|
|
3696
|
+
* "unixVer": "-"
|
|
3697
|
+
* },
|
|
3698
|
+
* "jd": {
|
|
3699
|
+
* "hostVer": "-",
|
|
3700
|
+
* "uniVer": "-",
|
|
3701
|
+
* "unixVer": "-"
|
|
3702
|
+
* }
|
|
3703
|
+
* }
|
|
3704
|
+
* }
|
|
1988
3705
|
*/
|
|
1989
3706
|
complete?: ShowActionSheetCompleteCallback | null
|
|
1990
3707
|
}
|
|
@@ -2070,6 +3787,7 @@ export type ShowActionSheetOptions = {
|
|
|
2070
3787
|
}
|
|
2071
3788
|
*/
|
|
2072
3789
|
export type ShowActionSheet = (options: ShowActionSheetOptions) => void
|
|
3790
|
+
// #endif
|
|
2073
3791
|
|
|
2074
3792
|
|
|
2075
3793
|
export interface Uni {
|
|
@@ -2088,77 +3806,77 @@ export interface Uni {
|
|
|
2088
3806
|
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showtoast
|
|
2089
3807
|
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showtoast
|
|
2090
3808
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showtoast
|
|
2091
|
-
* @uniPlatform
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
3809
|
+
* @uniPlatform {
|
|
3810
|
+
* "app": {
|
|
3811
|
+
* "android": {
|
|
3812
|
+
* "osVer": "5.0",
|
|
3813
|
+
* "uniVer": "√",
|
|
3814
|
+
* "uniUtsPlugin": "3.91",
|
|
3815
|
+
* "unixVer": "3.91",
|
|
3816
|
+
* "unixUtsPlugin": "3.91"
|
|
3817
|
+
* },
|
|
3818
|
+
* "ios": {
|
|
3819
|
+
* "osVer": "12.0",
|
|
3820
|
+
* "uniVer": "√",
|
|
3821
|
+
* "uniUtsPlugin": "4.11",
|
|
3822
|
+
* "unixVer": "4.11",
|
|
3823
|
+
* "unixUtsPlugin": "4.11"
|
|
3824
|
+
* },
|
|
3825
|
+
* "harmony": {
|
|
3826
|
+
* "osVer": "3.0",
|
|
3827
|
+
* "uniVer": "4.23",
|
|
3828
|
+
* "unixVer": "x"
|
|
3829
|
+
* }
|
|
3830
|
+
* },
|
|
3831
|
+
* "mp": {
|
|
3832
|
+
* "weixin": {
|
|
3833
|
+
* "hostVer": "1.9.6",
|
|
3834
|
+
* "uniVer": "√",
|
|
3835
|
+
* "unixVer": "4.41"
|
|
3836
|
+
* },
|
|
3837
|
+
* "alipay": {
|
|
3838
|
+
* "hostVer": "√",
|
|
3839
|
+
* "uniVer": "√",
|
|
3840
|
+
* "unixVer": "x"
|
|
3841
|
+
* },
|
|
3842
|
+
* "baidu": {
|
|
3843
|
+
* "hostVer": "√",
|
|
3844
|
+
* "uniVer": "√",
|
|
3845
|
+
* "unixVer": "x"
|
|
3846
|
+
* },
|
|
3847
|
+
* "toutiao": {
|
|
3848
|
+
* "hostVer": "√",
|
|
3849
|
+
* "uniVer": "√",
|
|
3850
|
+
* "unixVer": "x"
|
|
3851
|
+
* },
|
|
3852
|
+
* "lark": {
|
|
3853
|
+
* "hostVer": "√",
|
|
3854
|
+
* "uniVer": "√",
|
|
3855
|
+
* "unixVer": "x"
|
|
3856
|
+
* },
|
|
3857
|
+
* "qq": {
|
|
3858
|
+
* "hostVer": "√",
|
|
3859
|
+
* "uniVer": "√",
|
|
3860
|
+
* "unixVer": "x"
|
|
3861
|
+
* },
|
|
3862
|
+
* "kuaishou": {
|
|
3863
|
+
* "hostVer": "√",
|
|
3864
|
+
* "uniVer": "√",
|
|
3865
|
+
* "unixVer": "x"
|
|
3866
|
+
* },
|
|
3867
|
+
* "jd": {
|
|
3868
|
+
* "hostVer": "√",
|
|
3869
|
+
* "uniVer": "√",
|
|
3870
|
+
* "unixVer": "x"
|
|
3871
|
+
* }
|
|
3872
|
+
* },
|
|
3873
|
+
* "web": {
|
|
3874
|
+
* "uniVer": "√",
|
|
3875
|
+
* "unixVer": "4.0"
|
|
3876
|
+
* }
|
|
3877
|
+
* }
|
|
3878
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/interaction/wx.showToast.html
|
|
3879
|
+
*/
|
|
2162
3880
|
showToast(options: ShowToastOptions): void,
|
|
2163
3881
|
|
|
2164
3882
|
/**
|
|
@@ -2170,77 +3888,77 @@ export interface Uni {
|
|
|
2170
3888
|
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/prompt.html#hidetoast
|
|
2171
3889
|
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hidetoast
|
|
2172
3890
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hidetoast
|
|
2173
|
-
* @uniPlatform
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
3891
|
+
* @uniPlatform {
|
|
3892
|
+
* "app": {
|
|
3893
|
+
* "android": {
|
|
3894
|
+
* "osVer": "5.0",
|
|
3895
|
+
* "uniVer": "√",
|
|
3896
|
+
* "uniUtsPlugin": "3.91",
|
|
3897
|
+
* "unixVer": "3.91",
|
|
3898
|
+
* "unixUtsPlugin": "3.91"
|
|
3899
|
+
* },
|
|
3900
|
+
* "ios": {
|
|
3901
|
+
* "osVer": "12.0",
|
|
3902
|
+
* "uniVer": "√",
|
|
3903
|
+
* "uniUtsPlugin": "4.11",
|
|
3904
|
+
* "unixVer": "4.11",
|
|
3905
|
+
* "unixUtsPlugin": "4.11"
|
|
3906
|
+
* },
|
|
3907
|
+
* "harmony": {
|
|
3908
|
+
* "osVer": "3.0",
|
|
3909
|
+
* "uniVer": "4.23",
|
|
3910
|
+
* "unixVer": "x"
|
|
3911
|
+
* }
|
|
3912
|
+
* },
|
|
3913
|
+
* "mp": {
|
|
3914
|
+
* "weixin": {
|
|
3915
|
+
* "hostVer": "1.9.6",
|
|
3916
|
+
* "uniVer": "√",
|
|
3917
|
+
* "unixVer": "4.41"
|
|
3918
|
+
* },
|
|
3919
|
+
* "alipay": {
|
|
3920
|
+
* "hostVer": "√",
|
|
3921
|
+
* "uniVer": "√",
|
|
3922
|
+
* "unixVer": "x"
|
|
3923
|
+
* },
|
|
3924
|
+
* "baidu": {
|
|
3925
|
+
* "hostVer": "√",
|
|
3926
|
+
* "uniVer": "√",
|
|
3927
|
+
* "unixVer": "x"
|
|
3928
|
+
* },
|
|
3929
|
+
* "toutiao": {
|
|
3930
|
+
* "hostVer": "√",
|
|
3931
|
+
* "uniVer": "√",
|
|
3932
|
+
* "unixVer": "x"
|
|
3933
|
+
* },
|
|
3934
|
+
* "lark": {
|
|
3935
|
+
* "hostVer": "√",
|
|
3936
|
+
* "uniVer": "√",
|
|
3937
|
+
* "unixVer": "x"
|
|
3938
|
+
* },
|
|
3939
|
+
* "qq": {
|
|
3940
|
+
* "hostVer": "√",
|
|
3941
|
+
* "uniVer": "√",
|
|
3942
|
+
* "unixVer": "x"
|
|
3943
|
+
* },
|
|
3944
|
+
* "kuaishou": {
|
|
3945
|
+
* "hostVer": "√",
|
|
3946
|
+
* "uniVer": "√",
|
|
3947
|
+
* "unixVer": "x"
|
|
3948
|
+
* },
|
|
3949
|
+
* "jd": {
|
|
3950
|
+
* "hostVer": "√",
|
|
3951
|
+
* "uniVer": "√",
|
|
3952
|
+
* "unixVer": "x"
|
|
3953
|
+
* }
|
|
3954
|
+
* },
|
|
3955
|
+
* "web": {
|
|
3956
|
+
* "uniVer": "√",
|
|
3957
|
+
* "unixVer": "4.0"
|
|
3958
|
+
* }
|
|
3959
|
+
* }
|
|
3960
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/interaction/wx.hideToast.html
|
|
3961
|
+
*/
|
|
2244
3962
|
hideToast(): void,
|
|
2245
3963
|
|
|
2246
3964
|
/**
|
|
@@ -2257,77 +3975,77 @@ export interface Uni {
|
|
|
2257
3975
|
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showloading
|
|
2258
3976
|
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showloading
|
|
2259
3977
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showloading
|
|
2260
|
-
* @uniPlatform
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
3978
|
+
* @uniPlatform {
|
|
3979
|
+
* "app": {
|
|
3980
|
+
* "android": {
|
|
3981
|
+
* "osVer": "5.0",
|
|
3982
|
+
* "uniVer": "√",
|
|
3983
|
+
* "uniUtsPlugin": "3.91",
|
|
3984
|
+
* "unixVer": "3.91",
|
|
3985
|
+
* "unixUtsPlugin": "3.91"
|
|
3986
|
+
* },
|
|
3987
|
+
* "ios": {
|
|
3988
|
+
* "osVer": "12.0",
|
|
3989
|
+
* "uniVer": "√",
|
|
3990
|
+
* "uniUtsPlugin": "4.11",
|
|
3991
|
+
* "unixVer": "4.11",
|
|
3992
|
+
* "unixUtsPlugin": "4.11"
|
|
3993
|
+
* },
|
|
3994
|
+
* "harmony": {
|
|
3995
|
+
* "osVer": "3.0",
|
|
3996
|
+
* "uniVer": "4.23",
|
|
3997
|
+
* "unixVer": "x"
|
|
3998
|
+
* }
|
|
3999
|
+
* },
|
|
4000
|
+
* "mp": {
|
|
4001
|
+
* "weixin": {
|
|
4002
|
+
* "hostVer": "1.1.0",
|
|
4003
|
+
* "uniVer": "√",
|
|
4004
|
+
* "unixVer": "4.41"
|
|
4005
|
+
* },
|
|
4006
|
+
* "alipay": {
|
|
4007
|
+
* "hostVer": "√",
|
|
4008
|
+
* "uniVer": "√",
|
|
4009
|
+
* "unixVer": "x"
|
|
4010
|
+
* },
|
|
4011
|
+
* "baidu": {
|
|
4012
|
+
* "hostVer": "√",
|
|
4013
|
+
* "uniVer": "√",
|
|
4014
|
+
* "unixVer": "x"
|
|
4015
|
+
* },
|
|
4016
|
+
* "toutiao": {
|
|
4017
|
+
* "hostVer": "√",
|
|
4018
|
+
* "uniVer": "√",
|
|
4019
|
+
* "unixVer": "x"
|
|
4020
|
+
* },
|
|
4021
|
+
* "lark": {
|
|
4022
|
+
* "hostVer": "√",
|
|
4023
|
+
* "uniVer": "√",
|
|
4024
|
+
* "unixVer": "x"
|
|
4025
|
+
* },
|
|
4026
|
+
* "qq": {
|
|
4027
|
+
* "hostVer": "√",
|
|
4028
|
+
* "uniVer": "√",
|
|
4029
|
+
* "unixVer": "x"
|
|
4030
|
+
* },
|
|
4031
|
+
* "kuaishou": {
|
|
4032
|
+
* "hostVer": "√",
|
|
4033
|
+
* "uniVer": "√",
|
|
4034
|
+
* "unixVer": "x"
|
|
4035
|
+
* },
|
|
4036
|
+
* "jd": {
|
|
4037
|
+
* "hostVer": "√",
|
|
4038
|
+
* "uniVer": "√",
|
|
4039
|
+
* "unixVer": "x"
|
|
4040
|
+
* }
|
|
4041
|
+
* },
|
|
4042
|
+
* "web": {
|
|
4043
|
+
* "uniVer": "√",
|
|
4044
|
+
* "unixVer": "4.0"
|
|
4045
|
+
* }
|
|
4046
|
+
* }
|
|
4047
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/interaction/wx.showLoading.html
|
|
4048
|
+
*/
|
|
2331
4049
|
showLoading(options: ShowLoadingOptions): void,
|
|
2332
4050
|
|
|
2333
4051
|
/**
|
|
@@ -2345,77 +4063,77 @@ export interface Uni {
|
|
|
2345
4063
|
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/prompt.html#hideloading
|
|
2346
4064
|
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hideloading
|
|
2347
4065
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hideloading
|
|
2348
|
-
* @uniPlatform
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
4066
|
+
* @uniPlatform {
|
|
4067
|
+
* "app": {
|
|
4068
|
+
* "android": {
|
|
4069
|
+
* "osVer": "5.0",
|
|
4070
|
+
* "uniVer": "√",
|
|
4071
|
+
* "uniUtsPlugin": "3.91",
|
|
4072
|
+
* "unixVer": "3.91",
|
|
4073
|
+
* "unixUtsPlugin": "3.91"
|
|
4074
|
+
* },
|
|
4075
|
+
* "ios": {
|
|
4076
|
+
* "osVer": "12.0",
|
|
4077
|
+
* "uniVer": "√",
|
|
4078
|
+
* "uniUtsPlugin": "4.11",
|
|
4079
|
+
* "unixVer": "4.11",
|
|
4080
|
+
* "unixUtsPlugin": "4.11"
|
|
4081
|
+
* },
|
|
4082
|
+
* "harmony": {
|
|
4083
|
+
* "osVer": "3.0",
|
|
4084
|
+
* "uniVer": "4.23",
|
|
4085
|
+
* "unixVer": "x"
|
|
4086
|
+
* }
|
|
4087
|
+
* },
|
|
4088
|
+
* "mp": {
|
|
4089
|
+
* "weixin": {
|
|
4090
|
+
* "hostVer": "1.1.0",
|
|
4091
|
+
* "uniVer": "√",
|
|
4092
|
+
* "unixVer": "4.41"
|
|
4093
|
+
* },
|
|
4094
|
+
* "alipay": {
|
|
4095
|
+
* "hostVer": "√",
|
|
4096
|
+
* "uniVer": "√",
|
|
4097
|
+
* "unixVer": "x"
|
|
4098
|
+
* },
|
|
4099
|
+
* "baidu": {
|
|
4100
|
+
* "hostVer": "√",
|
|
4101
|
+
* "uniVer": "√",
|
|
4102
|
+
* "unixVer": "x"
|
|
4103
|
+
* },
|
|
4104
|
+
* "toutiao": {
|
|
4105
|
+
* "hostVer": "√",
|
|
4106
|
+
* "uniVer": "√",
|
|
4107
|
+
* "unixVer": "x"
|
|
4108
|
+
* },
|
|
4109
|
+
* "lark": {
|
|
4110
|
+
* "hostVer": "√",
|
|
4111
|
+
* "uniVer": "√",
|
|
4112
|
+
* "unixVer": "x"
|
|
4113
|
+
* },
|
|
4114
|
+
* "qq": {
|
|
4115
|
+
* "hostVer": "√",
|
|
4116
|
+
* "uniVer": "√",
|
|
4117
|
+
* "unixVer": "x"
|
|
4118
|
+
* },
|
|
4119
|
+
* "kuaishou": {
|
|
4120
|
+
* "hostVer": "√",
|
|
4121
|
+
* "uniVer": "√",
|
|
4122
|
+
* "unixVer": "x"
|
|
4123
|
+
* },
|
|
4124
|
+
* "jd": {
|
|
4125
|
+
* "hostVer": "√",
|
|
4126
|
+
* "uniVer": "√",
|
|
4127
|
+
* "unixVer": "x"
|
|
4128
|
+
* }
|
|
4129
|
+
* },
|
|
4130
|
+
* "web": {
|
|
4131
|
+
* "uniVer": "√",
|
|
4132
|
+
* "unixVer": "4.0"
|
|
4133
|
+
* }
|
|
4134
|
+
* }
|
|
4135
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/interaction/wx.hideLoading.html
|
|
4136
|
+
*/
|
|
2419
4137
|
hideLoading(): void,
|
|
2420
4138
|
|
|
2421
4139
|
/**
|
|
@@ -2437,79 +4155,80 @@ export interface Uni {
|
|
|
2437
4155
|
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showmodal
|
|
2438
4156
|
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showmodal
|
|
2439
4157
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showmodal
|
|
2440
|
-
* @uniPlatform
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
4158
|
+
* @uniPlatform {
|
|
4159
|
+
* "app": {
|
|
4160
|
+
* "android": {
|
|
4161
|
+
* "osVer": "5.0",
|
|
4162
|
+
* "uniVer": "√",
|
|
4163
|
+
* "uniUtsPlugin": "x",
|
|
4164
|
+
* "unixVer": "3.91",
|
|
4165
|
+
* "unixUtsPlugin": "3.91"
|
|
4166
|
+
* },
|
|
4167
|
+
* "ios": {
|
|
4168
|
+
* "osVer": "12.0",
|
|
4169
|
+
* "uniVer": "√",
|
|
4170
|
+
* "uniUtsPlugin": "x",
|
|
4171
|
+
* "unixVer": "4.11",
|
|
4172
|
+
* "unixUtsPlugin": "4.11"
|
|
4173
|
+
* },
|
|
4174
|
+
* "harmony": {
|
|
4175
|
+
* "osVer": "3.0",
|
|
4176
|
+
* "uniVer": "4.23",
|
|
4177
|
+
* "unixVer": "x"
|
|
4178
|
+
* }
|
|
4179
|
+
* },
|
|
4180
|
+
* "mp": {
|
|
4181
|
+
* "weixin": {
|
|
4182
|
+
* "hostVer": "1.9.6",
|
|
4183
|
+
* "uniVer": "√",
|
|
4184
|
+
* "unixVer": "4.41"
|
|
4185
|
+
* },
|
|
4186
|
+
* "alipay": {
|
|
4187
|
+
* "hostVer": "√",
|
|
4188
|
+
* "uniVer": "√",
|
|
4189
|
+
* "unixVer": "x"
|
|
4190
|
+
* },
|
|
4191
|
+
* "baidu": {
|
|
4192
|
+
* "hostVer": "√",
|
|
4193
|
+
* "uniVer": "√",
|
|
4194
|
+
* "unixVer": "x"
|
|
4195
|
+
* },
|
|
4196
|
+
* "toutiao": {
|
|
4197
|
+
* "hostVer": "√",
|
|
4198
|
+
* "uniVer": "√",
|
|
4199
|
+
* "unixVer": "x"
|
|
4200
|
+
* },
|
|
4201
|
+
* "lark": {
|
|
4202
|
+
* "hostVer": "√",
|
|
4203
|
+
* "uniVer": "√",
|
|
4204
|
+
* "unixVer": "x"
|
|
4205
|
+
* },
|
|
4206
|
+
* "qq": {
|
|
4207
|
+
* "hostVer": "√",
|
|
4208
|
+
* "uniVer": "√",
|
|
4209
|
+
* "unixVer": "x"
|
|
4210
|
+
* },
|
|
4211
|
+
* "kuaishou": {
|
|
4212
|
+
* "hostVer": "√",
|
|
4213
|
+
* "uniVer": "√",
|
|
4214
|
+
* "unixVer": "x"
|
|
4215
|
+
* },
|
|
4216
|
+
* "jd": {
|
|
4217
|
+
* "hostVer": "√",
|
|
4218
|
+
* "uniVer": "√",
|
|
4219
|
+
* "unixVer": "x"
|
|
4220
|
+
* }
|
|
4221
|
+
* },
|
|
4222
|
+
* "web": {
|
|
4223
|
+
* "uniVer": "√",
|
|
4224
|
+
* "unixVer": "4.0"
|
|
4225
|
+
* }
|
|
4226
|
+
* }
|
|
4227
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/interaction/wx.showModal.html
|
|
4228
|
+
*/
|
|
2511
4229
|
showModal(options: ShowModalOptions): void,
|
|
2512
|
-
|
|
4230
|
+
|
|
4231
|
+
// #ifndef UNI-APP-X
|
|
2513
4232
|
/**
|
|
2514
4233
|
* @description 从底部向上弹出操作菜单
|
|
2515
4234
|
* @example
|
|
@@ -2527,76 +4246,77 @@ export interface Uni {
|
|
|
2527
4246
|
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showactionsheet
|
|
2528
4247
|
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showactionsheet
|
|
2529
4248
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showactionsheet
|
|
2530
|
-
* @uniPlatform
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
4249
|
+
* @uniPlatform {
|
|
4250
|
+
* "app": {
|
|
4251
|
+
* "android": {
|
|
4252
|
+
* "osVer": "5.0",
|
|
4253
|
+
* "uniVer": "√",
|
|
4254
|
+
* "uniUtsPlugin": "x",
|
|
4255
|
+
* "unixVer": "3.91",
|
|
4256
|
+
* "unixUtsPlugin": "3.91"
|
|
4257
|
+
* },
|
|
4258
|
+
* "ios": {
|
|
4259
|
+
* "osVer": "12.0",
|
|
4260
|
+
* "uniVer": "√",
|
|
4261
|
+
* "uniUtsPlugin": "x",
|
|
4262
|
+
* "unixVer": "4.11",
|
|
4263
|
+
* "unixUtsPlugin": "4.11"
|
|
4264
|
+
* },
|
|
4265
|
+
* "harmony": {
|
|
4266
|
+
* "osVer": "3.0",
|
|
4267
|
+
* "uniVer": "4.23",
|
|
4268
|
+
* "unixVer": "x"
|
|
4269
|
+
* }
|
|
4270
|
+
* },
|
|
4271
|
+
* "mp": {
|
|
4272
|
+
* "weixin": {
|
|
4273
|
+
* "hostVer": "1.9.6",
|
|
4274
|
+
* "uniVer": "√",
|
|
4275
|
+
* "unixVer": "4.41"
|
|
4276
|
+
* },
|
|
4277
|
+
* "alipay": {
|
|
4278
|
+
* "hostVer": "√",
|
|
4279
|
+
* "uniVer": "√",
|
|
4280
|
+
* "unixVer": "x"
|
|
4281
|
+
* },
|
|
4282
|
+
* "baidu": {
|
|
4283
|
+
* "hostVer": "√",
|
|
4284
|
+
* "uniVer": "√",
|
|
4285
|
+
* "unixVer": "x"
|
|
4286
|
+
* },
|
|
4287
|
+
* "toutiao": {
|
|
4288
|
+
* "hostVer": "√",
|
|
4289
|
+
* "uniVer": "√",
|
|
4290
|
+
* "unixVer": "x"
|
|
4291
|
+
* },
|
|
4292
|
+
* "lark": {
|
|
4293
|
+
* "hostVer": "√",
|
|
4294
|
+
* "uniVer": "√",
|
|
4295
|
+
* "unixVer": "x"
|
|
4296
|
+
* },
|
|
4297
|
+
* "qq": {
|
|
4298
|
+
* "hostVer": "√",
|
|
4299
|
+
* "uniVer": "√",
|
|
4300
|
+
* "unixVer": "x"
|
|
4301
|
+
* },
|
|
4302
|
+
* "kuaishou": {
|
|
4303
|
+
* "hostVer": "√",
|
|
4304
|
+
* "uniVer": "√",
|
|
4305
|
+
* "unixVer": "x"
|
|
4306
|
+
* },
|
|
4307
|
+
* "jd": {
|
|
4308
|
+
* "hostVer": "√",
|
|
4309
|
+
* "uniVer": "√",
|
|
4310
|
+
* "unixVer": "x"
|
|
4311
|
+
* }
|
|
4312
|
+
* },
|
|
4313
|
+
* "web": {
|
|
4314
|
+
* "uniVer": "√",
|
|
4315
|
+
* "unixVer": "4.0"
|
|
4316
|
+
* }
|
|
4317
|
+
* }
|
|
4318
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/interaction/wx.showActionSheet.html
|
|
4319
|
+
*/
|
|
2601
4320
|
showActionSheet(options: ShowActionSheetOptions): void
|
|
4321
|
+
// #endif
|
|
2602
4322
|
}
|