@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.
Files changed (104) hide show
  1. package/package.json +9 -7
  2. package/types/UniPage.d.ts +168 -22
  3. package/types/app.d.ts +178 -174
  4. package/types/native/CSSStyleDeclaration.d.ts +16 -2
  5. package/types/native/DOMRect.d.ts +430 -10
  6. package/types/native/DrawableContext.d.ts +1137 -45
  7. package/types/native/IUniElement.d.ts +1875 -93
  8. package/types/native/UniNativePage.d.ts +94 -0
  9. package/types/native/UniResizeObserver.d.ts +215 -5
  10. package/types/native/UniSafeArea.d.ts +185 -0
  11. package/types/native/UniVideoElement.d.ts +432 -0
  12. package/types/native/global.d.ts +7 -0
  13. package/types/native/index.d.ts +1 -0
  14. package/types/uni/uni-map-tencent-map.d.ts +12 -8
  15. package/types/uni/uts-plugin-api/global.d.ts +62 -61
  16. package/types/uni/uts-plugin-api/index.d.ts +62 -61
  17. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +22 -0
  18. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +10 -0
  19. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +278 -0
  20. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1600 -59
  21. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +64 -63
  22. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +0 -2
  23. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +0 -1
  24. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +1150 -186
  25. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +64 -63
  26. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +550 -550
  27. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +69 -72
  28. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +533 -135
  29. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1508 -77
  30. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +423 -63
  31. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +284 -63
  32. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +2 -9
  33. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +1 -1
  34. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/global.d.ts +62 -62
  35. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/index.d.ts +31 -31
  36. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +57 -57
  37. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +312 -110
  38. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +62 -62
  39. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +472 -72
  40. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +126 -78
  41. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +317 -66
  42. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +570 -63
  43. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +570 -63
  44. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +110 -66
  45. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +595 -177
  46. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +284 -63
  47. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +45 -1
  48. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +1387 -182
  49. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +67 -67
  50. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +318 -53
  51. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +162 -63
  52. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +241 -64
  53. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +6 -0
  54. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +3 -0
  55. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +4089 -659
  56. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +460 -252
  57. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +2345 -213
  58. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1205 -149
  59. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +339 -33
  60. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +457 -53
  61. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +328 -63
  62. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +317 -66
  63. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +120 -71
  64. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +2157 -437
  65. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +260 -126
  66. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +467 -315
  67. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +553 -53
  68. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +1608 -630
  69. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +2492 -504
  70. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +176 -130
  71. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +704 -58
  72. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1230 -454
  73. package/types/uni/uts-plugin-biz/global.d.ts +6 -5
  74. package/types/uni/uts-plugin-biz/index.d.ts +6 -5
  75. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +406 -123
  76. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/global.d.ts +4 -0
  77. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/index.d.ts +2 -0
  78. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/interface.d.ts +60 -47
  79. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +71 -71
  80. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +3 -3
  81. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/global.d.ts +24 -0
  82. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/index.d.ts +11 -0
  83. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/interface.d.ts +204 -0
  84. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +42 -38
  85. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +21 -19
  86. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +502 -255
  87. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/global.d.ts +64 -0
  88. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/index.d.ts +31 -0
  89. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/interface.d.ts +900 -0
  90. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +48 -48
  91. package/types/uni/uts-plugin-extend/global.d.ts +0 -4
  92. package/types/uni/uts-plugin-extend/index.d.ts +0 -4
  93. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +825 -273
  94. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +4399 -339
  95. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +1000 -268
  96. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +1 -1
  97. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
  98. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +1495 -384
  99. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +222 -132
  100. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +923 -67
  101. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +2 -2
  102. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +0 -7
  103. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +0 -1
  104. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +0 -716
@@ -27,22 +27,242 @@ export type SetTabBarBadgeCompleteCallback = (
27
27
  export type SetTabBarBadgeOptions = {
28
28
  /**
29
29
  * tabBar的哪一项,从左边算起,索引从0开始
30
+ * @uniPlatform {
31
+ * "mp": {
32
+ * "weixin": {
33
+ * "hostVer": "√",
34
+ * "uniVer": "√",
35
+ * "unixVer": "4.41"
36
+ * },
37
+ * "alipay": {
38
+ * "hostVer": "-",
39
+ * "uniVer": "-",
40
+ * "unixVer": "-"
41
+ * },
42
+ * "baidu": {
43
+ * "hostVer": "-",
44
+ * "uniVer": "-",
45
+ * "unixVer": "-"
46
+ * },
47
+ * "toutiao": {
48
+ * "hostVer": "-",
49
+ * "uniVer": "-",
50
+ * "unixVer": "-"
51
+ * },
52
+ * "lark": {
53
+ * "hostVer": "-",
54
+ * "uniVer": "-",
55
+ * "unixVer": "-"
56
+ * },
57
+ * "qq": {
58
+ * "hostVer": "-",
59
+ * "uniVer": "-",
60
+ * "unixVer": "-"
61
+ * },
62
+ * "kuaishou": {
63
+ * "hostVer": "-",
64
+ * "uniVer": "-",
65
+ * "unixVer": "-"
66
+ * },
67
+ * "jd": {
68
+ * "hostVer": "-",
69
+ * "uniVer": "-",
70
+ * "unixVer": "-"
71
+ * }
72
+ * }
73
+ * }
30
74
  */
31
75
  index: number
32
76
  /**
33
77
  * 显示的文本,不超过 3 个半角字符
78
+ * @uniPlatform {
79
+ * "mp": {
80
+ * "weixin": {
81
+ * "hostVer": "√",
82
+ * "uniVer": "√",
83
+ * "unixVer": "4.41"
84
+ * },
85
+ * "alipay": {
86
+ * "hostVer": "-",
87
+ * "uniVer": "-",
88
+ * "unixVer": "-"
89
+ * },
90
+ * "baidu": {
91
+ * "hostVer": "-",
92
+ * "uniVer": "-",
93
+ * "unixVer": "-"
94
+ * },
95
+ * "toutiao": {
96
+ * "hostVer": "-",
97
+ * "uniVer": "-",
98
+ * "unixVer": "-"
99
+ * },
100
+ * "lark": {
101
+ * "hostVer": "-",
102
+ * "uniVer": "-",
103
+ * "unixVer": "-"
104
+ * },
105
+ * "qq": {
106
+ * "hostVer": "-",
107
+ * "uniVer": "-",
108
+ * "unixVer": "-"
109
+ * },
110
+ * "kuaishou": {
111
+ * "hostVer": "-",
112
+ * "uniVer": "-",
113
+ * "unixVer": "-"
114
+ * },
115
+ * "jd": {
116
+ * "hostVer": "-",
117
+ * "uniVer": "-",
118
+ * "unixVer": "-"
119
+ * }
120
+ * }
121
+ * }
34
122
  */
35
123
  text: string
36
124
  /**
37
125
  * 接口调用成功的回调函数
126
+ * @uniPlatform {
127
+ * "mp": {
128
+ * "weixin": {
129
+ * "hostVer": "√",
130
+ * "uniVer": "√",
131
+ * "unixVer": "4.41"
132
+ * },
133
+ * "alipay": {
134
+ * "hostVer": "-",
135
+ * "uniVer": "-",
136
+ * "unixVer": "-"
137
+ * },
138
+ * "baidu": {
139
+ * "hostVer": "-",
140
+ * "uniVer": "-",
141
+ * "unixVer": "-"
142
+ * },
143
+ * "toutiao": {
144
+ * "hostVer": "-",
145
+ * "uniVer": "-",
146
+ * "unixVer": "-"
147
+ * },
148
+ * "lark": {
149
+ * "hostVer": "-",
150
+ * "uniVer": "-",
151
+ * "unixVer": "-"
152
+ * },
153
+ * "qq": {
154
+ * "hostVer": "-",
155
+ * "uniVer": "-",
156
+ * "unixVer": "-"
157
+ * },
158
+ * "kuaishou": {
159
+ * "hostVer": "-",
160
+ * "uniVer": "-",
161
+ * "unixVer": "-"
162
+ * },
163
+ * "jd": {
164
+ * "hostVer": "-",
165
+ * "uniVer": "-",
166
+ * "unixVer": "-"
167
+ * }
168
+ * }
169
+ * }
38
170
  */
39
171
  success?: SetTabBarBadgeSuccessCallback
40
172
  /**
41
173
  * 接口调用失败的回调函数
174
+ * @uniPlatform {
175
+ * "mp": {
176
+ * "weixin": {
177
+ * "hostVer": "√",
178
+ * "uniVer": "√",
179
+ * "unixVer": "4.41"
180
+ * },
181
+ * "alipay": {
182
+ * "hostVer": "-",
183
+ * "uniVer": "-",
184
+ * "unixVer": "-"
185
+ * },
186
+ * "baidu": {
187
+ * "hostVer": "-",
188
+ * "uniVer": "-",
189
+ * "unixVer": "-"
190
+ * },
191
+ * "toutiao": {
192
+ * "hostVer": "-",
193
+ * "uniVer": "-",
194
+ * "unixVer": "-"
195
+ * },
196
+ * "lark": {
197
+ * "hostVer": "-",
198
+ * "uniVer": "-",
199
+ * "unixVer": "-"
200
+ * },
201
+ * "qq": {
202
+ * "hostVer": "-",
203
+ * "uniVer": "-",
204
+ * "unixVer": "-"
205
+ * },
206
+ * "kuaishou": {
207
+ * "hostVer": "-",
208
+ * "uniVer": "-",
209
+ * "unixVer": "-"
210
+ * },
211
+ * "jd": {
212
+ * "hostVer": "-",
213
+ * "uniVer": "-",
214
+ * "unixVer": "-"
215
+ * }
216
+ * }
217
+ * }
42
218
  */
43
219
  fail?: SetTabBarBadgeFailCallback
44
220
  /**
45
221
  * 接口调用结束的回调函数(调用成功、失败都会执行)
222
+ * @uniPlatform {
223
+ * "mp": {
224
+ * "weixin": {
225
+ * "hostVer": "√",
226
+ * "uniVer": "√",
227
+ * "unixVer": "4.41"
228
+ * },
229
+ * "alipay": {
230
+ * "hostVer": "-",
231
+ * "uniVer": "-",
232
+ * "unixVer": "-"
233
+ * },
234
+ * "baidu": {
235
+ * "hostVer": "-",
236
+ * "uniVer": "-",
237
+ * "unixVer": "-"
238
+ * },
239
+ * "toutiao": {
240
+ * "hostVer": "-",
241
+ * "uniVer": "-",
242
+ * "unixVer": "-"
243
+ * },
244
+ * "lark": {
245
+ * "hostVer": "-",
246
+ * "uniVer": "-",
247
+ * "unixVer": "-"
248
+ * },
249
+ * "qq": {
250
+ * "hostVer": "-",
251
+ * "uniVer": "-",
252
+ * "unixVer": "-"
253
+ * },
254
+ * "kuaishou": {
255
+ * "hostVer": "-",
256
+ * "uniVer": "-",
257
+ * "unixVer": "-"
258
+ * },
259
+ * "jd": {
260
+ * "hostVer": "-",
261
+ * "uniVer": "-",
262
+ * "unixVer": "-"
263
+ * }
264
+ * }
265
+ * }
46
266
  */
47
267
  complete?: SetTabBarBadgeCompleteCallback
48
268
  }
@@ -62,18 +282,194 @@ export type RemoveTabBarBadgeCompleteCallback = (
62
282
  export type RemoveTabBarBadgeOptions = {
63
283
  /**
64
284
  * tabBar的哪一项,从左边算起,索引从0开始
285
+ * @uniPlatform {
286
+ * "mp": {
287
+ * "weixin": {
288
+ * "hostVer": "√",
289
+ * "uniVer": "√",
290
+ * "unixVer": "4.41"
291
+ * },
292
+ * "alipay": {
293
+ * "hostVer": "-",
294
+ * "uniVer": "-",
295
+ * "unixVer": "-"
296
+ * },
297
+ * "baidu": {
298
+ * "hostVer": "-",
299
+ * "uniVer": "-",
300
+ * "unixVer": "-"
301
+ * },
302
+ * "toutiao": {
303
+ * "hostVer": "-",
304
+ * "uniVer": "-",
305
+ * "unixVer": "-"
306
+ * },
307
+ * "lark": {
308
+ * "hostVer": "-",
309
+ * "uniVer": "-",
310
+ * "unixVer": "-"
311
+ * },
312
+ * "qq": {
313
+ * "hostVer": "-",
314
+ * "uniVer": "-",
315
+ * "unixVer": "-"
316
+ * },
317
+ * "kuaishou": {
318
+ * "hostVer": "-",
319
+ * "uniVer": "-",
320
+ * "unixVer": "-"
321
+ * },
322
+ * "jd": {
323
+ * "hostVer": "-",
324
+ * "uniVer": "-",
325
+ * "unixVer": "-"
326
+ * }
327
+ * }
328
+ * }
65
329
  */
66
330
  index: number
67
331
  /**
68
332
  * 接口调用成功的回调函数
333
+ * @uniPlatform {
334
+ * "mp": {
335
+ * "weixin": {
336
+ * "hostVer": "√",
337
+ * "uniVer": "√",
338
+ * "unixVer": "4.41"
339
+ * },
340
+ * "alipay": {
341
+ * "hostVer": "-",
342
+ * "uniVer": "-",
343
+ * "unixVer": "-"
344
+ * },
345
+ * "baidu": {
346
+ * "hostVer": "-",
347
+ * "uniVer": "-",
348
+ * "unixVer": "-"
349
+ * },
350
+ * "toutiao": {
351
+ * "hostVer": "-",
352
+ * "uniVer": "-",
353
+ * "unixVer": "-"
354
+ * },
355
+ * "lark": {
356
+ * "hostVer": "-",
357
+ * "uniVer": "-",
358
+ * "unixVer": "-"
359
+ * },
360
+ * "qq": {
361
+ * "hostVer": "-",
362
+ * "uniVer": "-",
363
+ * "unixVer": "-"
364
+ * },
365
+ * "kuaishou": {
366
+ * "hostVer": "-",
367
+ * "uniVer": "-",
368
+ * "unixVer": "-"
369
+ * },
370
+ * "jd": {
371
+ * "hostVer": "-",
372
+ * "uniVer": "-",
373
+ * "unixVer": "-"
374
+ * }
375
+ * }
376
+ * }
69
377
  */
70
378
  success?: RemoveTabBarBadgeSuccessCallback
71
379
  /**
72
380
  * 接口调用失败的回调函数
381
+ * @uniPlatform {
382
+ * "mp": {
383
+ * "weixin": {
384
+ * "hostVer": "√",
385
+ * "uniVer": "√",
386
+ * "unixVer": "4.41"
387
+ * },
388
+ * "alipay": {
389
+ * "hostVer": "-",
390
+ * "uniVer": "-",
391
+ * "unixVer": "-"
392
+ * },
393
+ * "baidu": {
394
+ * "hostVer": "-",
395
+ * "uniVer": "-",
396
+ * "unixVer": "-"
397
+ * },
398
+ * "toutiao": {
399
+ * "hostVer": "-",
400
+ * "uniVer": "-",
401
+ * "unixVer": "-"
402
+ * },
403
+ * "lark": {
404
+ * "hostVer": "-",
405
+ * "uniVer": "-",
406
+ * "unixVer": "-"
407
+ * },
408
+ * "qq": {
409
+ * "hostVer": "-",
410
+ * "uniVer": "-",
411
+ * "unixVer": "-"
412
+ * },
413
+ * "kuaishou": {
414
+ * "hostVer": "-",
415
+ * "uniVer": "-",
416
+ * "unixVer": "-"
417
+ * },
418
+ * "jd": {
419
+ * "hostVer": "-",
420
+ * "uniVer": "-",
421
+ * "unixVer": "-"
422
+ * }
423
+ * }
424
+ * }
73
425
  */
74
426
  fail?: RemoveTabBarBadgeFailCallback
75
427
  /**
76
428
  * 接口调用结束的回调函数(调用成功、失败都会执行)
429
+ * @uniPlatform {
430
+ * "mp": {
431
+ * "weixin": {
432
+ * "hostVer": "√",
433
+ * "uniVer": "√",
434
+ * "unixVer": "4.41"
435
+ * },
436
+ * "alipay": {
437
+ * "hostVer": "-",
438
+ * "uniVer": "-",
439
+ * "unixVer": "-"
440
+ * },
441
+ * "baidu": {
442
+ * "hostVer": "-",
443
+ * "uniVer": "-",
444
+ * "unixVer": "-"
445
+ * },
446
+ * "toutiao": {
447
+ * "hostVer": "-",
448
+ * "uniVer": "-",
449
+ * "unixVer": "-"
450
+ * },
451
+ * "lark": {
452
+ * "hostVer": "-",
453
+ * "uniVer": "-",
454
+ * "unixVer": "-"
455
+ * },
456
+ * "qq": {
457
+ * "hostVer": "-",
458
+ * "uniVer": "-",
459
+ * "unixVer": "-"
460
+ * },
461
+ * "kuaishou": {
462
+ * "hostVer": "-",
463
+ * "uniVer": "-",
464
+ * "unixVer": "-"
465
+ * },
466
+ * "jd": {
467
+ * "hostVer": "-",
468
+ * "uniVer": "-",
469
+ * "unixVer": "-"
470
+ * }
471
+ * }
472
+ * }
77
473
  */
78
474
  complete?: RemoveTabBarBadgeCompleteCallback
79
475
  }
@@ -113,42 +509,482 @@ export type SetTabBarItemIconFontOptions = {
113
509
  export type SetTabBarItemOptions = {
114
510
  /**
115
511
  * tabBar 的哪一项,从左边算起,索引从0开始
512
+ * @uniPlatform {
513
+ * "mp": {
514
+ * "weixin": {
515
+ * "hostVer": "√",
516
+ * "uniVer": "√",
517
+ * "unixVer": "4.41"
518
+ * },
519
+ * "alipay": {
520
+ * "hostVer": "-",
521
+ * "uniVer": "-",
522
+ * "unixVer": "-"
523
+ * },
524
+ * "baidu": {
525
+ * "hostVer": "-",
526
+ * "uniVer": "-",
527
+ * "unixVer": "-"
528
+ * },
529
+ * "toutiao": {
530
+ * "hostVer": "-",
531
+ * "uniVer": "-",
532
+ * "unixVer": "-"
533
+ * },
534
+ * "lark": {
535
+ * "hostVer": "-",
536
+ * "uniVer": "-",
537
+ * "unixVer": "-"
538
+ * },
539
+ * "qq": {
540
+ * "hostVer": "-",
541
+ * "uniVer": "-",
542
+ * "unixVer": "-"
543
+ * },
544
+ * "kuaishou": {
545
+ * "hostVer": "-",
546
+ * "uniVer": "-",
547
+ * "unixVer": "-"
548
+ * },
549
+ * "jd": {
550
+ * "hostVer": "-",
551
+ * "uniVer": "-",
552
+ * "unixVer": "-"
553
+ * }
554
+ * }
555
+ * }
116
556
  */
117
557
  index: number
118
558
  /**
119
559
  * tab 上按钮文字
560
+ * @uniPlatform {
561
+ * "mp": {
562
+ * "weixin": {
563
+ * "hostVer": "√",
564
+ * "uniVer": "√",
565
+ * "unixVer": "4.41"
566
+ * },
567
+ * "alipay": {
568
+ * "hostVer": "-",
569
+ * "uniVer": "-",
570
+ * "unixVer": "-"
571
+ * },
572
+ * "baidu": {
573
+ * "hostVer": "-",
574
+ * "uniVer": "-",
575
+ * "unixVer": "-"
576
+ * },
577
+ * "toutiao": {
578
+ * "hostVer": "-",
579
+ * "uniVer": "-",
580
+ * "unixVer": "-"
581
+ * },
582
+ * "lark": {
583
+ * "hostVer": "-",
584
+ * "uniVer": "-",
585
+ * "unixVer": "-"
586
+ * },
587
+ * "qq": {
588
+ * "hostVer": "-",
589
+ * "uniVer": "-",
590
+ * "unixVer": "-"
591
+ * },
592
+ * "kuaishou": {
593
+ * "hostVer": "-",
594
+ * "uniVer": "-",
595
+ * "unixVer": "-"
596
+ * },
597
+ * "jd": {
598
+ * "hostVer": "-",
599
+ * "uniVer": "-",
600
+ * "unixVer": "-"
601
+ * }
602
+ * }
603
+ * }
120
604
  */
121
605
  text?: string
122
606
  /**
123
607
  * 图片路径
608
+ * @uniPlatform {
609
+ * "mp": {
610
+ * "weixin": {
611
+ * "hostVer": "√",
612
+ * "uniVer": "√",
613
+ * "unixVer": "4.41"
614
+ * },
615
+ * "alipay": {
616
+ * "hostVer": "-",
617
+ * "uniVer": "-",
618
+ * "unixVer": "-"
619
+ * },
620
+ * "baidu": {
621
+ * "hostVer": "-",
622
+ * "uniVer": "-",
623
+ * "unixVer": "-"
624
+ * },
625
+ * "toutiao": {
626
+ * "hostVer": "-",
627
+ * "uniVer": "-",
628
+ * "unixVer": "-"
629
+ * },
630
+ * "lark": {
631
+ * "hostVer": "-",
632
+ * "uniVer": "-",
633
+ * "unixVer": "-"
634
+ * },
635
+ * "qq": {
636
+ * "hostVer": "-",
637
+ * "uniVer": "-",
638
+ * "unixVer": "-"
639
+ * },
640
+ * "kuaishou": {
641
+ * "hostVer": "-",
642
+ * "uniVer": "-",
643
+ * "unixVer": "-"
644
+ * },
645
+ * "jd": {
646
+ * "hostVer": "-",
647
+ * "uniVer": "-",
648
+ * "unixVer": "-"
649
+ * }
650
+ * }
651
+ * }
124
652
  */
125
653
  iconPath?: string
126
654
  /**
127
655
  * 选中时的图片路径
656
+ * @uniPlatform {
657
+ * "mp": {
658
+ * "weixin": {
659
+ * "hostVer": "√",
660
+ * "uniVer": "√",
661
+ * "unixVer": "4.41"
662
+ * },
663
+ * "alipay": {
664
+ * "hostVer": "-",
665
+ * "uniVer": "-",
666
+ * "unixVer": "-"
667
+ * },
668
+ * "baidu": {
669
+ * "hostVer": "-",
670
+ * "uniVer": "-",
671
+ * "unixVer": "-"
672
+ * },
673
+ * "toutiao": {
674
+ * "hostVer": "-",
675
+ * "uniVer": "-",
676
+ * "unixVer": "-"
677
+ * },
678
+ * "lark": {
679
+ * "hostVer": "-",
680
+ * "uniVer": "-",
681
+ * "unixVer": "-"
682
+ * },
683
+ * "qq": {
684
+ * "hostVer": "-",
685
+ * "uniVer": "-",
686
+ * "unixVer": "-"
687
+ * },
688
+ * "kuaishou": {
689
+ * "hostVer": "-",
690
+ * "uniVer": "-",
691
+ * "unixVer": "-"
692
+ * },
693
+ * "jd": {
694
+ * "hostVer": "-",
695
+ * "uniVer": "-",
696
+ * "unixVer": "-"
697
+ * }
698
+ * }
699
+ * }
128
700
  */
129
701
  selectedIconPath?: string
130
702
  /**
131
703
  * 页面绝对路径
704
+ * @uniPlatform {
705
+ * "mp": {
706
+ * "weixin": {
707
+ * "hostVer": "√",
708
+ * "uniVer": "√",
709
+ * "unixVer": "4.41"
710
+ * },
711
+ * "alipay": {
712
+ * "hostVer": "-",
713
+ * "uniVer": "-",
714
+ * "unixVer": "-"
715
+ * },
716
+ * "baidu": {
717
+ * "hostVer": "-",
718
+ * "uniVer": "-",
719
+ * "unixVer": "-"
720
+ * },
721
+ * "toutiao": {
722
+ * "hostVer": "-",
723
+ * "uniVer": "-",
724
+ * "unixVer": "-"
725
+ * },
726
+ * "lark": {
727
+ * "hostVer": "-",
728
+ * "uniVer": "-",
729
+ * "unixVer": "-"
730
+ * },
731
+ * "qq": {
732
+ * "hostVer": "-",
733
+ * "uniVer": "-",
734
+ * "unixVer": "-"
735
+ * },
736
+ * "kuaishou": {
737
+ * "hostVer": "-",
738
+ * "uniVer": "-",
739
+ * "unixVer": "-"
740
+ * },
741
+ * "jd": {
742
+ * "hostVer": "-",
743
+ * "uniVer": "-",
744
+ * "unixVer": "-"
745
+ * }
746
+ * }
747
+ * }
132
748
  */
133
749
  pagePath?: string
134
750
  /**
135
751
  * 字体图标,优先级高于 iconPath
752
+ * @uniPlatform {
753
+ * "mp": {
754
+ * "weixin": {
755
+ * "hostVer": "√",
756
+ * "uniVer": "√",
757
+ * "unixVer": "4.41"
758
+ * },
759
+ * "alipay": {
760
+ * "hostVer": "-",
761
+ * "uniVer": "-",
762
+ * "unixVer": "-"
763
+ * },
764
+ * "baidu": {
765
+ * "hostVer": "-",
766
+ * "uniVer": "-",
767
+ * "unixVer": "-"
768
+ * },
769
+ * "toutiao": {
770
+ * "hostVer": "-",
771
+ * "uniVer": "-",
772
+ * "unixVer": "-"
773
+ * },
774
+ * "lark": {
775
+ * "hostVer": "-",
776
+ * "uniVer": "-",
777
+ * "unixVer": "-"
778
+ * },
779
+ * "qq": {
780
+ * "hostVer": "-",
781
+ * "uniVer": "-",
782
+ * "unixVer": "-"
783
+ * },
784
+ * "kuaishou": {
785
+ * "hostVer": "-",
786
+ * "uniVer": "-",
787
+ * "unixVer": "-"
788
+ * },
789
+ * "jd": {
790
+ * "hostVer": "-",
791
+ * "uniVer": "-",
792
+ * "unixVer": "-"
793
+ * }
794
+ * }
795
+ * }
136
796
  */
137
797
  iconfont?: SetTabBarItemIconFontOptions
138
798
  /**
139
799
  * tab 是否显示
800
+ * @uniPlatform {
801
+ * "mp": {
802
+ * "weixin": {
803
+ * "hostVer": "√",
804
+ * "uniVer": "√",
805
+ * "unixVer": "4.41"
806
+ * },
807
+ * "alipay": {
808
+ * "hostVer": "-",
809
+ * "uniVer": "-",
810
+ * "unixVer": "-"
811
+ * },
812
+ * "baidu": {
813
+ * "hostVer": "-",
814
+ * "uniVer": "-",
815
+ * "unixVer": "-"
816
+ * },
817
+ * "toutiao": {
818
+ * "hostVer": "-",
819
+ * "uniVer": "-",
820
+ * "unixVer": "-"
821
+ * },
822
+ * "lark": {
823
+ * "hostVer": "-",
824
+ * "uniVer": "-",
825
+ * "unixVer": "-"
826
+ * },
827
+ * "qq": {
828
+ * "hostVer": "-",
829
+ * "uniVer": "-",
830
+ * "unixVer": "-"
831
+ * },
832
+ * "kuaishou": {
833
+ * "hostVer": "-",
834
+ * "uniVer": "-",
835
+ * "unixVer": "-"
836
+ * },
837
+ * "jd": {
838
+ * "hostVer": "-",
839
+ * "uniVer": "-",
840
+ * "unixVer": "-"
841
+ * }
842
+ * }
843
+ * }
140
844
  */
141
845
  visible?: boolean
142
846
  /**
143
847
  * 接口调用成功的回调函数
848
+ * @uniPlatform {
849
+ * "mp": {
850
+ * "weixin": {
851
+ * "hostVer": "√",
852
+ * "uniVer": "√",
853
+ * "unixVer": "4.41"
854
+ * },
855
+ * "alipay": {
856
+ * "hostVer": "-",
857
+ * "uniVer": "-",
858
+ * "unixVer": "-"
859
+ * },
860
+ * "baidu": {
861
+ * "hostVer": "-",
862
+ * "uniVer": "-",
863
+ * "unixVer": "-"
864
+ * },
865
+ * "toutiao": {
866
+ * "hostVer": "-",
867
+ * "uniVer": "-",
868
+ * "unixVer": "-"
869
+ * },
870
+ * "lark": {
871
+ * "hostVer": "-",
872
+ * "uniVer": "-",
873
+ * "unixVer": "-"
874
+ * },
875
+ * "qq": {
876
+ * "hostVer": "-",
877
+ * "uniVer": "-",
878
+ * "unixVer": "-"
879
+ * },
880
+ * "kuaishou": {
881
+ * "hostVer": "-",
882
+ * "uniVer": "-",
883
+ * "unixVer": "-"
884
+ * },
885
+ * "jd": {
886
+ * "hostVer": "-",
887
+ * "uniVer": "-",
888
+ * "unixVer": "-"
889
+ * }
890
+ * }
891
+ * }
144
892
  */
145
893
  success?: SetTabBarItemSuccessCallback
146
894
  /**
147
895
  * 接口调用失败的回调函数
896
+ * @uniPlatform {
897
+ * "mp": {
898
+ * "weixin": {
899
+ * "hostVer": "√",
900
+ * "uniVer": "√",
901
+ * "unixVer": "4.41"
902
+ * },
903
+ * "alipay": {
904
+ * "hostVer": "-",
905
+ * "uniVer": "-",
906
+ * "unixVer": "-"
907
+ * },
908
+ * "baidu": {
909
+ * "hostVer": "-",
910
+ * "uniVer": "-",
911
+ * "unixVer": "-"
912
+ * },
913
+ * "toutiao": {
914
+ * "hostVer": "-",
915
+ * "uniVer": "-",
916
+ * "unixVer": "-"
917
+ * },
918
+ * "lark": {
919
+ * "hostVer": "-",
920
+ * "uniVer": "-",
921
+ * "unixVer": "-"
922
+ * },
923
+ * "qq": {
924
+ * "hostVer": "-",
925
+ * "uniVer": "-",
926
+ * "unixVer": "-"
927
+ * },
928
+ * "kuaishou": {
929
+ * "hostVer": "-",
930
+ * "uniVer": "-",
931
+ * "unixVer": "-"
932
+ * },
933
+ * "jd": {
934
+ * "hostVer": "-",
935
+ * "uniVer": "-",
936
+ * "unixVer": "-"
937
+ * }
938
+ * }
939
+ * }
148
940
  */
149
941
  fail?: SetTabBarItemFailCallback
150
942
  /**
151
943
  * 接口调用结束的回调函数(调用成功、失败都会执行)
944
+ * @uniPlatform {
945
+ * "mp": {
946
+ * "weixin": {
947
+ * "hostVer": "√",
948
+ * "uniVer": "√",
949
+ * "unixVer": "4.41"
950
+ * },
951
+ * "alipay": {
952
+ * "hostVer": "-",
953
+ * "uniVer": "-",
954
+ * "unixVer": "-"
955
+ * },
956
+ * "baidu": {
957
+ * "hostVer": "-",
958
+ * "uniVer": "-",
959
+ * "unixVer": "-"
960
+ * },
961
+ * "toutiao": {
962
+ * "hostVer": "-",
963
+ * "uniVer": "-",
964
+ * "unixVer": "-"
965
+ * },
966
+ * "lark": {
967
+ * "hostVer": "-",
968
+ * "uniVer": "-",
969
+ * "unixVer": "-"
970
+ * },
971
+ * "qq": {
972
+ * "hostVer": "-",
973
+ * "uniVer": "-",
974
+ * "unixVer": "-"
975
+ * },
976
+ * "kuaishou": {
977
+ * "hostVer": "-",
978
+ * "uniVer": "-",
979
+ * "unixVer": "-"
980
+ * },
981
+ * "jd": {
982
+ * "hostVer": "-",
983
+ * "uniVer": "-",
984
+ * "unixVer": "-"
985
+ * }
986
+ * }
987
+ * }
152
988
  */
153
989
  complete?: SetTabBarItemCompleteCallback
154
990
  }
@@ -220,22 +1056,242 @@ export type SetTabBarStyleCompleteCallback = (
220
1056
  export type SetTabBarStyleOptions = {
221
1057
  /**
222
1058
  * tab 上的文字默认颜色
1059
+ * @uniPlatform {
1060
+ * "mp": {
1061
+ * "weixin": {
1062
+ * "hostVer": "√",
1063
+ * "uniVer": "√",
1064
+ * "unixVer": "4.41"
1065
+ * },
1066
+ * "alipay": {
1067
+ * "hostVer": "-",
1068
+ * "uniVer": "-",
1069
+ * "unixVer": "-"
1070
+ * },
1071
+ * "baidu": {
1072
+ * "hostVer": "-",
1073
+ * "uniVer": "-",
1074
+ * "unixVer": "-"
1075
+ * },
1076
+ * "toutiao": {
1077
+ * "hostVer": "-",
1078
+ * "uniVer": "-",
1079
+ * "unixVer": "-"
1080
+ * },
1081
+ * "lark": {
1082
+ * "hostVer": "-",
1083
+ * "uniVer": "-",
1084
+ * "unixVer": "-"
1085
+ * },
1086
+ * "qq": {
1087
+ * "hostVer": "-",
1088
+ * "uniVer": "-",
1089
+ * "unixVer": "-"
1090
+ * },
1091
+ * "kuaishou": {
1092
+ * "hostVer": "-",
1093
+ * "uniVer": "-",
1094
+ * "unixVer": "-"
1095
+ * },
1096
+ * "jd": {
1097
+ * "hostVer": "-",
1098
+ * "uniVer": "-",
1099
+ * "unixVer": "-"
1100
+ * }
1101
+ * }
1102
+ * }
223
1103
  */
224
1104
  color?: string | string.ColorString
225
1105
  /**
226
1106
  * tab 上的文字选中时的颜色
1107
+ * @uniPlatform {
1108
+ * "mp": {
1109
+ * "weixin": {
1110
+ * "hostVer": "√",
1111
+ * "uniVer": "√",
1112
+ * "unixVer": "4.41"
1113
+ * },
1114
+ * "alipay": {
1115
+ * "hostVer": "-",
1116
+ * "uniVer": "-",
1117
+ * "unixVer": "-"
1118
+ * },
1119
+ * "baidu": {
1120
+ * "hostVer": "-",
1121
+ * "uniVer": "-",
1122
+ * "unixVer": "-"
1123
+ * },
1124
+ * "toutiao": {
1125
+ * "hostVer": "-",
1126
+ * "uniVer": "-",
1127
+ * "unixVer": "-"
1128
+ * },
1129
+ * "lark": {
1130
+ * "hostVer": "-",
1131
+ * "uniVer": "-",
1132
+ * "unixVer": "-"
1133
+ * },
1134
+ * "qq": {
1135
+ * "hostVer": "-",
1136
+ * "uniVer": "-",
1137
+ * "unixVer": "-"
1138
+ * },
1139
+ * "kuaishou": {
1140
+ * "hostVer": "-",
1141
+ * "uniVer": "-",
1142
+ * "unixVer": "-"
1143
+ * },
1144
+ * "jd": {
1145
+ * "hostVer": "-",
1146
+ * "uniVer": "-",
1147
+ * "unixVer": "-"
1148
+ * }
1149
+ * }
1150
+ * }
227
1151
  */
228
1152
  selectedColor?: string | string.ColorString
229
1153
  /**
230
1154
  * tab 的背景色
1155
+ * @uniPlatform {
1156
+ * "mp": {
1157
+ * "weixin": {
1158
+ * "hostVer": "√",
1159
+ * "uniVer": "√",
1160
+ * "unixVer": "4.41"
1161
+ * },
1162
+ * "alipay": {
1163
+ * "hostVer": "-",
1164
+ * "uniVer": "-",
1165
+ * "unixVer": "-"
1166
+ * },
1167
+ * "baidu": {
1168
+ * "hostVer": "-",
1169
+ * "uniVer": "-",
1170
+ * "unixVer": "-"
1171
+ * },
1172
+ * "toutiao": {
1173
+ * "hostVer": "-",
1174
+ * "uniVer": "-",
1175
+ * "unixVer": "-"
1176
+ * },
1177
+ * "lark": {
1178
+ * "hostVer": "-",
1179
+ * "uniVer": "-",
1180
+ * "unixVer": "-"
1181
+ * },
1182
+ * "qq": {
1183
+ * "hostVer": "-",
1184
+ * "uniVer": "-",
1185
+ * "unixVer": "-"
1186
+ * },
1187
+ * "kuaishou": {
1188
+ * "hostVer": "-",
1189
+ * "uniVer": "-",
1190
+ * "unixVer": "-"
1191
+ * },
1192
+ * "jd": {
1193
+ * "hostVer": "-",
1194
+ * "uniVer": "-",
1195
+ * "unixVer": "-"
1196
+ * }
1197
+ * }
1198
+ * }
231
1199
  */
232
1200
  backgroundColor?: string | string.ColorString
233
1201
  /**
234
1202
  * 图片背景
1203
+ * @uniPlatform {
1204
+ * "mp": {
1205
+ * "weixin": {
1206
+ * "hostVer": "√",
1207
+ * "uniVer": "√",
1208
+ * "unixVer": "4.41"
1209
+ * },
1210
+ * "alipay": {
1211
+ * "hostVer": "-",
1212
+ * "uniVer": "-",
1213
+ * "unixVer": "-"
1214
+ * },
1215
+ * "baidu": {
1216
+ * "hostVer": "-",
1217
+ * "uniVer": "-",
1218
+ * "unixVer": "-"
1219
+ * },
1220
+ * "toutiao": {
1221
+ * "hostVer": "-",
1222
+ * "uniVer": "-",
1223
+ * "unixVer": "-"
1224
+ * },
1225
+ * "lark": {
1226
+ * "hostVer": "-",
1227
+ * "uniVer": "-",
1228
+ * "unixVer": "-"
1229
+ * },
1230
+ * "qq": {
1231
+ * "hostVer": "-",
1232
+ * "uniVer": "-",
1233
+ * "unixVer": "-"
1234
+ * },
1235
+ * "kuaishou": {
1236
+ * "hostVer": "-",
1237
+ * "uniVer": "-",
1238
+ * "unixVer": "-"
1239
+ * },
1240
+ * "jd": {
1241
+ * "hostVer": "-",
1242
+ * "uniVer": "-",
1243
+ * "unixVer": "-"
1244
+ * }
1245
+ * }
1246
+ * }
235
1247
  */
236
1248
  backgroundImage?: string
237
1249
  /**
238
1250
  * 背景图平铺方式
1251
+ * @uniPlatform {
1252
+ * "mp": {
1253
+ * "weixin": {
1254
+ * "hostVer": "√",
1255
+ * "uniVer": "√",
1256
+ * "unixVer": "4.41"
1257
+ * },
1258
+ * "alipay": {
1259
+ * "hostVer": "-",
1260
+ * "uniVer": "-",
1261
+ * "unixVer": "-"
1262
+ * },
1263
+ * "baidu": {
1264
+ * "hostVer": "-",
1265
+ * "uniVer": "-",
1266
+ * "unixVer": "-"
1267
+ * },
1268
+ * "toutiao": {
1269
+ * "hostVer": "-",
1270
+ * "uniVer": "-",
1271
+ * "unixVer": "-"
1272
+ * },
1273
+ * "lark": {
1274
+ * "hostVer": "-",
1275
+ * "uniVer": "-",
1276
+ * "unixVer": "-"
1277
+ * },
1278
+ * "qq": {
1279
+ * "hostVer": "-",
1280
+ * "uniVer": "-",
1281
+ * "unixVer": "-"
1282
+ * },
1283
+ * "kuaishou": {
1284
+ * "hostVer": "-",
1285
+ * "uniVer": "-",
1286
+ * "unixVer": "-"
1287
+ * },
1288
+ * "jd": {
1289
+ * "hostVer": "-",
1290
+ * "uniVer": "-",
1291
+ * "unixVer": "-"
1292
+ * }
1293
+ * }
1294
+ * }
239
1295
  */
240
1296
  backgroundRepeat?:
241
1297
  /**
@@ -327,23 +1383,243 @@ export type SetTabBarStyleOptions = {
327
1383
  borderColor?: string | string.ColorString
328
1384
  /**
329
1385
  * tabbar上边框的颜色
1386
+ * @uniPlatform {
1387
+ * "mp": {
1388
+ * "weixin": {
1389
+ * "hostVer": "√",
1390
+ * "uniVer": "√",
1391
+ * "unixVer": "4.41"
1392
+ * },
1393
+ * "alipay": {
1394
+ * "hostVer": "-",
1395
+ * "uniVer": "-",
1396
+ * "unixVer": "-"
1397
+ * },
1398
+ * "baidu": {
1399
+ * "hostVer": "-",
1400
+ * "uniVer": "-",
1401
+ * "unixVer": "-"
1402
+ * },
1403
+ * "toutiao": {
1404
+ * "hostVer": "-",
1405
+ * "uniVer": "-",
1406
+ * "unixVer": "-"
1407
+ * },
1408
+ * "lark": {
1409
+ * "hostVer": "-",
1410
+ * "uniVer": "-",
1411
+ * "unixVer": "-"
1412
+ * },
1413
+ * "qq": {
1414
+ * "hostVer": "-",
1415
+ * "uniVer": "-",
1416
+ * "unixVer": "-"
1417
+ * },
1418
+ * "kuaishou": {
1419
+ * "hostVer": "-",
1420
+ * "uniVer": "-",
1421
+ * "unixVer": "-"
1422
+ * },
1423
+ * "jd": {
1424
+ * "hostVer": "-",
1425
+ * "uniVer": "-",
1426
+ * "unixVer": "-"
1427
+ * }
1428
+ * }
1429
+ * }
330
1430
  */
331
1431
  borderStyle?: 'black' | 'white'
332
1432
  /**
333
1433
  * tabbar 中间按钮 仅在 list 项为偶数时有效
334
1434
  * @internal
1435
+ * @uniPlatform {
1436
+ * "mp": {
1437
+ * "weixin": {
1438
+ * "hostVer": "√",
1439
+ * "uniVer": "√",
1440
+ * "unixVer": "4.41"
1441
+ * },
1442
+ * "alipay": {
1443
+ * "hostVer": "-",
1444
+ * "uniVer": "-",
1445
+ * "unixVer": "-"
1446
+ * },
1447
+ * "baidu": {
1448
+ * "hostVer": "-",
1449
+ * "uniVer": "-",
1450
+ * "unixVer": "-"
1451
+ * },
1452
+ * "toutiao": {
1453
+ * "hostVer": "-",
1454
+ * "uniVer": "-",
1455
+ * "unixVer": "-"
1456
+ * },
1457
+ * "lark": {
1458
+ * "hostVer": "-",
1459
+ * "uniVer": "-",
1460
+ * "unixVer": "-"
1461
+ * },
1462
+ * "qq": {
1463
+ * "hostVer": "-",
1464
+ * "uniVer": "-",
1465
+ * "unixVer": "-"
1466
+ * },
1467
+ * "kuaishou": {
1468
+ * "hostVer": "-",
1469
+ * "uniVer": "-",
1470
+ * "unixVer": "-"
1471
+ * },
1472
+ * "jd": {
1473
+ * "hostVer": "-",
1474
+ * "uniVer": "-",
1475
+ * "unixVer": "-"
1476
+ * }
1477
+ * }
1478
+ * }
335
1479
  */
336
1480
  midButton?: MidButtonOptions
337
1481
  /**
338
1482
  * 接口调用成功的回调函数
1483
+ * @uniPlatform {
1484
+ * "mp": {
1485
+ * "weixin": {
1486
+ * "hostVer": "√",
1487
+ * "uniVer": "√",
1488
+ * "unixVer": "4.41"
1489
+ * },
1490
+ * "alipay": {
1491
+ * "hostVer": "-",
1492
+ * "uniVer": "-",
1493
+ * "unixVer": "-"
1494
+ * },
1495
+ * "baidu": {
1496
+ * "hostVer": "-",
1497
+ * "uniVer": "-",
1498
+ * "unixVer": "-"
1499
+ * },
1500
+ * "toutiao": {
1501
+ * "hostVer": "-",
1502
+ * "uniVer": "-",
1503
+ * "unixVer": "-"
1504
+ * },
1505
+ * "lark": {
1506
+ * "hostVer": "-",
1507
+ * "uniVer": "-",
1508
+ * "unixVer": "-"
1509
+ * },
1510
+ * "qq": {
1511
+ * "hostVer": "-",
1512
+ * "uniVer": "-",
1513
+ * "unixVer": "-"
1514
+ * },
1515
+ * "kuaishou": {
1516
+ * "hostVer": "-",
1517
+ * "uniVer": "-",
1518
+ * "unixVer": "-"
1519
+ * },
1520
+ * "jd": {
1521
+ * "hostVer": "-",
1522
+ * "uniVer": "-",
1523
+ * "unixVer": "-"
1524
+ * }
1525
+ * }
1526
+ * }
339
1527
  */
340
1528
  success?: SetTabBarStyleSuccessCallback
341
1529
  /**
342
1530
  * 接口调用失败的回调函数
1531
+ * @uniPlatform {
1532
+ * "mp": {
1533
+ * "weixin": {
1534
+ * "hostVer": "√",
1535
+ * "uniVer": "√",
1536
+ * "unixVer": "4.41"
1537
+ * },
1538
+ * "alipay": {
1539
+ * "hostVer": "-",
1540
+ * "uniVer": "-",
1541
+ * "unixVer": "-"
1542
+ * },
1543
+ * "baidu": {
1544
+ * "hostVer": "-",
1545
+ * "uniVer": "-",
1546
+ * "unixVer": "-"
1547
+ * },
1548
+ * "toutiao": {
1549
+ * "hostVer": "-",
1550
+ * "uniVer": "-",
1551
+ * "unixVer": "-"
1552
+ * },
1553
+ * "lark": {
1554
+ * "hostVer": "-",
1555
+ * "uniVer": "-",
1556
+ * "unixVer": "-"
1557
+ * },
1558
+ * "qq": {
1559
+ * "hostVer": "-",
1560
+ * "uniVer": "-",
1561
+ * "unixVer": "-"
1562
+ * },
1563
+ * "kuaishou": {
1564
+ * "hostVer": "-",
1565
+ * "uniVer": "-",
1566
+ * "unixVer": "-"
1567
+ * },
1568
+ * "jd": {
1569
+ * "hostVer": "-",
1570
+ * "uniVer": "-",
1571
+ * "unixVer": "-"
1572
+ * }
1573
+ * }
1574
+ * }
343
1575
  */
344
1576
  fail?: SetTabBarStyleFailCallback
345
1577
  /**
346
1578
  * 接口调用结束的回调函数(调用成功、失败都会执行)
1579
+ * @uniPlatform {
1580
+ * "mp": {
1581
+ * "weixin": {
1582
+ * "hostVer": "√",
1583
+ * "uniVer": "√",
1584
+ * "unixVer": "4.41"
1585
+ * },
1586
+ * "alipay": {
1587
+ * "hostVer": "-",
1588
+ * "uniVer": "-",
1589
+ * "unixVer": "-"
1590
+ * },
1591
+ * "baidu": {
1592
+ * "hostVer": "-",
1593
+ * "uniVer": "-",
1594
+ * "unixVer": "-"
1595
+ * },
1596
+ * "toutiao": {
1597
+ * "hostVer": "-",
1598
+ * "uniVer": "-",
1599
+ * "unixVer": "-"
1600
+ * },
1601
+ * "lark": {
1602
+ * "hostVer": "-",
1603
+ * "uniVer": "-",
1604
+ * "unixVer": "-"
1605
+ * },
1606
+ * "qq": {
1607
+ * "hostVer": "-",
1608
+ * "uniVer": "-",
1609
+ * "unixVer": "-"
1610
+ * },
1611
+ * "kuaishou": {
1612
+ * "hostVer": "-",
1613
+ * "uniVer": "-",
1614
+ * "unixVer": "-"
1615
+ * },
1616
+ * "jd": {
1617
+ * "hostVer": "-",
1618
+ * "uniVer": "-",
1619
+ * "unixVer": "-"
1620
+ * }
1621
+ * }
1622
+ * }
347
1623
  */
348
1624
  complete?: SetTabBarStyleCompleteCallback
349
1625
  }
@@ -357,18 +1633,194 @@ export type HideTabBarCompleteCallback = (result: HideTabBarComplete) => void
357
1633
  export type HideTabBarOptions = {
358
1634
  /**
359
1635
  * 是否需要动画效果
1636
+ * @uniPlatform {
1637
+ * "mp": {
1638
+ * "weixin": {
1639
+ * "hostVer": "√",
1640
+ * "uniVer": "√",
1641
+ * "unixVer": "4.41"
1642
+ * },
1643
+ * "alipay": {
1644
+ * "hostVer": "-",
1645
+ * "uniVer": "-",
1646
+ * "unixVer": "-"
1647
+ * },
1648
+ * "baidu": {
1649
+ * "hostVer": "-",
1650
+ * "uniVer": "-",
1651
+ * "unixVer": "-"
1652
+ * },
1653
+ * "toutiao": {
1654
+ * "hostVer": "-",
1655
+ * "uniVer": "-",
1656
+ * "unixVer": "-"
1657
+ * },
1658
+ * "lark": {
1659
+ * "hostVer": "-",
1660
+ * "uniVer": "-",
1661
+ * "unixVer": "-"
1662
+ * },
1663
+ * "qq": {
1664
+ * "hostVer": "-",
1665
+ * "uniVer": "-",
1666
+ * "unixVer": "-"
1667
+ * },
1668
+ * "kuaishou": {
1669
+ * "hostVer": "-",
1670
+ * "uniVer": "-",
1671
+ * "unixVer": "-"
1672
+ * },
1673
+ * "jd": {
1674
+ * "hostVer": "-",
1675
+ * "uniVer": "-",
1676
+ * "unixVer": "-"
1677
+ * }
1678
+ * }
1679
+ * }
360
1680
  */
361
1681
  animation?: boolean
362
1682
  /**
363
1683
  * 接口调用成功的回调函数
1684
+ * @uniPlatform {
1685
+ * "mp": {
1686
+ * "weixin": {
1687
+ * "hostVer": "√",
1688
+ * "uniVer": "√",
1689
+ * "unixVer": "4.41"
1690
+ * },
1691
+ * "alipay": {
1692
+ * "hostVer": "-",
1693
+ * "uniVer": "-",
1694
+ * "unixVer": "-"
1695
+ * },
1696
+ * "baidu": {
1697
+ * "hostVer": "-",
1698
+ * "uniVer": "-",
1699
+ * "unixVer": "-"
1700
+ * },
1701
+ * "toutiao": {
1702
+ * "hostVer": "-",
1703
+ * "uniVer": "-",
1704
+ * "unixVer": "-"
1705
+ * },
1706
+ * "lark": {
1707
+ * "hostVer": "-",
1708
+ * "uniVer": "-",
1709
+ * "unixVer": "-"
1710
+ * },
1711
+ * "qq": {
1712
+ * "hostVer": "-",
1713
+ * "uniVer": "-",
1714
+ * "unixVer": "-"
1715
+ * },
1716
+ * "kuaishou": {
1717
+ * "hostVer": "-",
1718
+ * "uniVer": "-",
1719
+ * "unixVer": "-"
1720
+ * },
1721
+ * "jd": {
1722
+ * "hostVer": "-",
1723
+ * "uniVer": "-",
1724
+ * "unixVer": "-"
1725
+ * }
1726
+ * }
1727
+ * }
364
1728
  */
365
1729
  success?: HideTabBarSuccessCallback
366
1730
  /**
367
1731
  * 接口调用失败的回调函数
1732
+ * @uniPlatform {
1733
+ * "mp": {
1734
+ * "weixin": {
1735
+ * "hostVer": "√",
1736
+ * "uniVer": "√",
1737
+ * "unixVer": "4.41"
1738
+ * },
1739
+ * "alipay": {
1740
+ * "hostVer": "-",
1741
+ * "uniVer": "-",
1742
+ * "unixVer": "-"
1743
+ * },
1744
+ * "baidu": {
1745
+ * "hostVer": "-",
1746
+ * "uniVer": "-",
1747
+ * "unixVer": "-"
1748
+ * },
1749
+ * "toutiao": {
1750
+ * "hostVer": "-",
1751
+ * "uniVer": "-",
1752
+ * "unixVer": "-"
1753
+ * },
1754
+ * "lark": {
1755
+ * "hostVer": "-",
1756
+ * "uniVer": "-",
1757
+ * "unixVer": "-"
1758
+ * },
1759
+ * "qq": {
1760
+ * "hostVer": "-",
1761
+ * "uniVer": "-",
1762
+ * "unixVer": "-"
1763
+ * },
1764
+ * "kuaishou": {
1765
+ * "hostVer": "-",
1766
+ * "uniVer": "-",
1767
+ * "unixVer": "-"
1768
+ * },
1769
+ * "jd": {
1770
+ * "hostVer": "-",
1771
+ * "uniVer": "-",
1772
+ * "unixVer": "-"
1773
+ * }
1774
+ * }
1775
+ * }
368
1776
  */
369
1777
  fail?: HideTabBarFailCallback
370
1778
  /**
371
1779
  * 接口调用结束的回调函数(调用成功、失败都会执行)
1780
+ * @uniPlatform {
1781
+ * "mp": {
1782
+ * "weixin": {
1783
+ * "hostVer": "√",
1784
+ * "uniVer": "√",
1785
+ * "unixVer": "4.41"
1786
+ * },
1787
+ * "alipay": {
1788
+ * "hostVer": "-",
1789
+ * "uniVer": "-",
1790
+ * "unixVer": "-"
1791
+ * },
1792
+ * "baidu": {
1793
+ * "hostVer": "-",
1794
+ * "uniVer": "-",
1795
+ * "unixVer": "-"
1796
+ * },
1797
+ * "toutiao": {
1798
+ * "hostVer": "-",
1799
+ * "uniVer": "-",
1800
+ * "unixVer": "-"
1801
+ * },
1802
+ * "lark": {
1803
+ * "hostVer": "-",
1804
+ * "uniVer": "-",
1805
+ * "unixVer": "-"
1806
+ * },
1807
+ * "qq": {
1808
+ * "hostVer": "-",
1809
+ * "uniVer": "-",
1810
+ * "unixVer": "-"
1811
+ * },
1812
+ * "kuaishou": {
1813
+ * "hostVer": "-",
1814
+ * "uniVer": "-",
1815
+ * "unixVer": "-"
1816
+ * },
1817
+ * "jd": {
1818
+ * "hostVer": "-",
1819
+ * "uniVer": "-",
1820
+ * "unixVer": "-"
1821
+ * }
1822
+ * }
1823
+ * }
372
1824
  */
373
1825
  complete?: HideTabBarCompleteCallback
374
1826
  }
@@ -382,18 +1834,194 @@ export type ShowTabBarCompleteCallback = (result: ShowTabBarComplete) => void
382
1834
  export type ShowTabBarOptions = {
383
1835
  /**
384
1836
  * 是否需要动画效果
1837
+ * @uniPlatform {
1838
+ * "mp": {
1839
+ * "weixin": {
1840
+ * "hostVer": "√",
1841
+ * "uniVer": "√",
1842
+ * "unixVer": "4.41"
1843
+ * },
1844
+ * "alipay": {
1845
+ * "hostVer": "-",
1846
+ * "uniVer": "-",
1847
+ * "unixVer": "-"
1848
+ * },
1849
+ * "baidu": {
1850
+ * "hostVer": "-",
1851
+ * "uniVer": "-",
1852
+ * "unixVer": "-"
1853
+ * },
1854
+ * "toutiao": {
1855
+ * "hostVer": "-",
1856
+ * "uniVer": "-",
1857
+ * "unixVer": "-"
1858
+ * },
1859
+ * "lark": {
1860
+ * "hostVer": "-",
1861
+ * "uniVer": "-",
1862
+ * "unixVer": "-"
1863
+ * },
1864
+ * "qq": {
1865
+ * "hostVer": "-",
1866
+ * "uniVer": "-",
1867
+ * "unixVer": "-"
1868
+ * },
1869
+ * "kuaishou": {
1870
+ * "hostVer": "-",
1871
+ * "uniVer": "-",
1872
+ * "unixVer": "-"
1873
+ * },
1874
+ * "jd": {
1875
+ * "hostVer": "-",
1876
+ * "uniVer": "-",
1877
+ * "unixVer": "-"
1878
+ * }
1879
+ * }
1880
+ * }
385
1881
  */
386
1882
  animation?: boolean
387
1883
  /**
388
1884
  * 接口调用成功的回调函数
1885
+ * @uniPlatform {
1886
+ * "mp": {
1887
+ * "weixin": {
1888
+ * "hostVer": "√",
1889
+ * "uniVer": "√",
1890
+ * "unixVer": "4.41"
1891
+ * },
1892
+ * "alipay": {
1893
+ * "hostVer": "-",
1894
+ * "uniVer": "-",
1895
+ * "unixVer": "-"
1896
+ * },
1897
+ * "baidu": {
1898
+ * "hostVer": "-",
1899
+ * "uniVer": "-",
1900
+ * "unixVer": "-"
1901
+ * },
1902
+ * "toutiao": {
1903
+ * "hostVer": "-",
1904
+ * "uniVer": "-",
1905
+ * "unixVer": "-"
1906
+ * },
1907
+ * "lark": {
1908
+ * "hostVer": "-",
1909
+ * "uniVer": "-",
1910
+ * "unixVer": "-"
1911
+ * },
1912
+ * "qq": {
1913
+ * "hostVer": "-",
1914
+ * "uniVer": "-",
1915
+ * "unixVer": "-"
1916
+ * },
1917
+ * "kuaishou": {
1918
+ * "hostVer": "-",
1919
+ * "uniVer": "-",
1920
+ * "unixVer": "-"
1921
+ * },
1922
+ * "jd": {
1923
+ * "hostVer": "-",
1924
+ * "uniVer": "-",
1925
+ * "unixVer": "-"
1926
+ * }
1927
+ * }
1928
+ * }
389
1929
  */
390
1930
  success?: ShowTabBarSuccessCallback
391
1931
  /**
392
1932
  * 接口调用失败的回调函数
1933
+ * @uniPlatform {
1934
+ * "mp": {
1935
+ * "weixin": {
1936
+ * "hostVer": "√",
1937
+ * "uniVer": "√",
1938
+ * "unixVer": "4.41"
1939
+ * },
1940
+ * "alipay": {
1941
+ * "hostVer": "-",
1942
+ * "uniVer": "-",
1943
+ * "unixVer": "-"
1944
+ * },
1945
+ * "baidu": {
1946
+ * "hostVer": "-",
1947
+ * "uniVer": "-",
1948
+ * "unixVer": "-"
1949
+ * },
1950
+ * "toutiao": {
1951
+ * "hostVer": "-",
1952
+ * "uniVer": "-",
1953
+ * "unixVer": "-"
1954
+ * },
1955
+ * "lark": {
1956
+ * "hostVer": "-",
1957
+ * "uniVer": "-",
1958
+ * "unixVer": "-"
1959
+ * },
1960
+ * "qq": {
1961
+ * "hostVer": "-",
1962
+ * "uniVer": "-",
1963
+ * "unixVer": "-"
1964
+ * },
1965
+ * "kuaishou": {
1966
+ * "hostVer": "-",
1967
+ * "uniVer": "-",
1968
+ * "unixVer": "-"
1969
+ * },
1970
+ * "jd": {
1971
+ * "hostVer": "-",
1972
+ * "uniVer": "-",
1973
+ * "unixVer": "-"
1974
+ * }
1975
+ * }
1976
+ * }
393
1977
  */
394
1978
  fail?: ShowTabBarFailCallback
395
1979
  /**
396
1980
  * 接口调用结束的回调函数(调用成功、失败都会执行)
1981
+ * @uniPlatform {
1982
+ * "mp": {
1983
+ * "weixin": {
1984
+ * "hostVer": "√",
1985
+ * "uniVer": "√",
1986
+ * "unixVer": "4.41"
1987
+ * },
1988
+ * "alipay": {
1989
+ * "hostVer": "-",
1990
+ * "uniVer": "-",
1991
+ * "unixVer": "-"
1992
+ * },
1993
+ * "baidu": {
1994
+ * "hostVer": "-",
1995
+ * "uniVer": "-",
1996
+ * "unixVer": "-"
1997
+ * },
1998
+ * "toutiao": {
1999
+ * "hostVer": "-",
2000
+ * "uniVer": "-",
2001
+ * "unixVer": "-"
2002
+ * },
2003
+ * "lark": {
2004
+ * "hostVer": "-",
2005
+ * "uniVer": "-",
2006
+ * "unixVer": "-"
2007
+ * },
2008
+ * "qq": {
2009
+ * "hostVer": "-",
2010
+ * "uniVer": "-",
2011
+ * "unixVer": "-"
2012
+ * },
2013
+ * "kuaishou": {
2014
+ * "hostVer": "-",
2015
+ * "uniVer": "-",
2016
+ * "unixVer": "-"
2017
+ * },
2018
+ * "jd": {
2019
+ * "hostVer": "-",
2020
+ * "uniVer": "-",
2021
+ * "unixVer": "-"
2022
+ * }
2023
+ * }
2024
+ * }
397
2025
  */
398
2026
  complete?: ShowTabBarCompleteCallback
399
2027
  }
@@ -413,18 +2041,194 @@ export type ShowTabBarRedDotCompleteCallback = (
413
2041
  export type ShowTabBarRedDotOptions = {
414
2042
  /**
415
2043
  * tabBar的哪一项,从左边算起,索引从0开始
2044
+ * @uniPlatform {
2045
+ * "mp": {
2046
+ * "weixin": {
2047
+ * "hostVer": "√",
2048
+ * "uniVer": "√",
2049
+ * "unixVer": "4.41"
2050
+ * },
2051
+ * "alipay": {
2052
+ * "hostVer": "-",
2053
+ * "uniVer": "-",
2054
+ * "unixVer": "-"
2055
+ * },
2056
+ * "baidu": {
2057
+ * "hostVer": "-",
2058
+ * "uniVer": "-",
2059
+ * "unixVer": "-"
2060
+ * },
2061
+ * "toutiao": {
2062
+ * "hostVer": "-",
2063
+ * "uniVer": "-",
2064
+ * "unixVer": "-"
2065
+ * },
2066
+ * "lark": {
2067
+ * "hostVer": "-",
2068
+ * "uniVer": "-",
2069
+ * "unixVer": "-"
2070
+ * },
2071
+ * "qq": {
2072
+ * "hostVer": "-",
2073
+ * "uniVer": "-",
2074
+ * "unixVer": "-"
2075
+ * },
2076
+ * "kuaishou": {
2077
+ * "hostVer": "-",
2078
+ * "uniVer": "-",
2079
+ * "unixVer": "-"
2080
+ * },
2081
+ * "jd": {
2082
+ * "hostVer": "-",
2083
+ * "uniVer": "-",
2084
+ * "unixVer": "-"
2085
+ * }
2086
+ * }
2087
+ * }
416
2088
  */
417
2089
  index: number
418
2090
  /**
419
2091
  * 接口调用成功的回调函数
2092
+ * @uniPlatform {
2093
+ * "mp": {
2094
+ * "weixin": {
2095
+ * "hostVer": "√",
2096
+ * "uniVer": "√",
2097
+ * "unixVer": "4.41"
2098
+ * },
2099
+ * "alipay": {
2100
+ * "hostVer": "-",
2101
+ * "uniVer": "-",
2102
+ * "unixVer": "-"
2103
+ * },
2104
+ * "baidu": {
2105
+ * "hostVer": "-",
2106
+ * "uniVer": "-",
2107
+ * "unixVer": "-"
2108
+ * },
2109
+ * "toutiao": {
2110
+ * "hostVer": "-",
2111
+ * "uniVer": "-",
2112
+ * "unixVer": "-"
2113
+ * },
2114
+ * "lark": {
2115
+ * "hostVer": "-",
2116
+ * "uniVer": "-",
2117
+ * "unixVer": "-"
2118
+ * },
2119
+ * "qq": {
2120
+ * "hostVer": "-",
2121
+ * "uniVer": "-",
2122
+ * "unixVer": "-"
2123
+ * },
2124
+ * "kuaishou": {
2125
+ * "hostVer": "-",
2126
+ * "uniVer": "-",
2127
+ * "unixVer": "-"
2128
+ * },
2129
+ * "jd": {
2130
+ * "hostVer": "-",
2131
+ * "uniVer": "-",
2132
+ * "unixVer": "-"
2133
+ * }
2134
+ * }
2135
+ * }
420
2136
  */
421
2137
  success?: ShowTabBarRedDotSuccessCallback
422
2138
  /**
423
2139
  * 接口调用失败的回调函数
2140
+ * @uniPlatform {
2141
+ * "mp": {
2142
+ * "weixin": {
2143
+ * "hostVer": "√",
2144
+ * "uniVer": "√",
2145
+ * "unixVer": "4.41"
2146
+ * },
2147
+ * "alipay": {
2148
+ * "hostVer": "-",
2149
+ * "uniVer": "-",
2150
+ * "unixVer": "-"
2151
+ * },
2152
+ * "baidu": {
2153
+ * "hostVer": "-",
2154
+ * "uniVer": "-",
2155
+ * "unixVer": "-"
2156
+ * },
2157
+ * "toutiao": {
2158
+ * "hostVer": "-",
2159
+ * "uniVer": "-",
2160
+ * "unixVer": "-"
2161
+ * },
2162
+ * "lark": {
2163
+ * "hostVer": "-",
2164
+ * "uniVer": "-",
2165
+ * "unixVer": "-"
2166
+ * },
2167
+ * "qq": {
2168
+ * "hostVer": "-",
2169
+ * "uniVer": "-",
2170
+ * "unixVer": "-"
2171
+ * },
2172
+ * "kuaishou": {
2173
+ * "hostVer": "-",
2174
+ * "uniVer": "-",
2175
+ * "unixVer": "-"
2176
+ * },
2177
+ * "jd": {
2178
+ * "hostVer": "-",
2179
+ * "uniVer": "-",
2180
+ * "unixVer": "-"
2181
+ * }
2182
+ * }
2183
+ * }
424
2184
  */
425
2185
  fail?: ShowTabBarRedDotFailCallback
426
2186
  /**
427
2187
  * 接口调用结束的回调函数(调用成功、失败都会执行)
2188
+ * @uniPlatform {
2189
+ * "mp": {
2190
+ * "weixin": {
2191
+ * "hostVer": "√",
2192
+ * "uniVer": "√",
2193
+ * "unixVer": "4.41"
2194
+ * },
2195
+ * "alipay": {
2196
+ * "hostVer": "-",
2197
+ * "uniVer": "-",
2198
+ * "unixVer": "-"
2199
+ * },
2200
+ * "baidu": {
2201
+ * "hostVer": "-",
2202
+ * "uniVer": "-",
2203
+ * "unixVer": "-"
2204
+ * },
2205
+ * "toutiao": {
2206
+ * "hostVer": "-",
2207
+ * "uniVer": "-",
2208
+ * "unixVer": "-"
2209
+ * },
2210
+ * "lark": {
2211
+ * "hostVer": "-",
2212
+ * "uniVer": "-",
2213
+ * "unixVer": "-"
2214
+ * },
2215
+ * "qq": {
2216
+ * "hostVer": "-",
2217
+ * "uniVer": "-",
2218
+ * "unixVer": "-"
2219
+ * },
2220
+ * "kuaishou": {
2221
+ * "hostVer": "-",
2222
+ * "uniVer": "-",
2223
+ * "unixVer": "-"
2224
+ * },
2225
+ * "jd": {
2226
+ * "hostVer": "-",
2227
+ * "uniVer": "-",
2228
+ * "unixVer": "-"
2229
+ * }
2230
+ * }
2231
+ * }
428
2232
  */
429
2233
  complete?: ShowTabBarRedDotCompleteCallback
430
2234
  }
@@ -444,18 +2248,194 @@ export type HideTabBarRedDotCompleteCallback = (
444
2248
  export type HideTabBarRedDotOptions = {
445
2249
  /**
446
2250
  * tabBar的哪一项,从左边算起,索引从0开始
2251
+ * @uniPlatform {
2252
+ * "mp": {
2253
+ * "weixin": {
2254
+ * "hostVer": "√",
2255
+ * "uniVer": "√",
2256
+ * "unixVer": "4.41"
2257
+ * },
2258
+ * "alipay": {
2259
+ * "hostVer": "-",
2260
+ * "uniVer": "-",
2261
+ * "unixVer": "-"
2262
+ * },
2263
+ * "baidu": {
2264
+ * "hostVer": "-",
2265
+ * "uniVer": "-",
2266
+ * "unixVer": "-"
2267
+ * },
2268
+ * "toutiao": {
2269
+ * "hostVer": "-",
2270
+ * "uniVer": "-",
2271
+ * "unixVer": "-"
2272
+ * },
2273
+ * "lark": {
2274
+ * "hostVer": "-",
2275
+ * "uniVer": "-",
2276
+ * "unixVer": "-"
2277
+ * },
2278
+ * "qq": {
2279
+ * "hostVer": "-",
2280
+ * "uniVer": "-",
2281
+ * "unixVer": "-"
2282
+ * },
2283
+ * "kuaishou": {
2284
+ * "hostVer": "-",
2285
+ * "uniVer": "-",
2286
+ * "unixVer": "-"
2287
+ * },
2288
+ * "jd": {
2289
+ * "hostVer": "-",
2290
+ * "uniVer": "-",
2291
+ * "unixVer": "-"
2292
+ * }
2293
+ * }
2294
+ * }
447
2295
  */
448
2296
  index: number
449
2297
  /**
450
2298
  * 接口调用成功的回调函数
2299
+ * @uniPlatform {
2300
+ * "mp": {
2301
+ * "weixin": {
2302
+ * "hostVer": "√",
2303
+ * "uniVer": "√",
2304
+ * "unixVer": "4.41"
2305
+ * },
2306
+ * "alipay": {
2307
+ * "hostVer": "-",
2308
+ * "uniVer": "-",
2309
+ * "unixVer": "-"
2310
+ * },
2311
+ * "baidu": {
2312
+ * "hostVer": "-",
2313
+ * "uniVer": "-",
2314
+ * "unixVer": "-"
2315
+ * },
2316
+ * "toutiao": {
2317
+ * "hostVer": "-",
2318
+ * "uniVer": "-",
2319
+ * "unixVer": "-"
2320
+ * },
2321
+ * "lark": {
2322
+ * "hostVer": "-",
2323
+ * "uniVer": "-",
2324
+ * "unixVer": "-"
2325
+ * },
2326
+ * "qq": {
2327
+ * "hostVer": "-",
2328
+ * "uniVer": "-",
2329
+ * "unixVer": "-"
2330
+ * },
2331
+ * "kuaishou": {
2332
+ * "hostVer": "-",
2333
+ * "uniVer": "-",
2334
+ * "unixVer": "-"
2335
+ * },
2336
+ * "jd": {
2337
+ * "hostVer": "-",
2338
+ * "uniVer": "-",
2339
+ * "unixVer": "-"
2340
+ * }
2341
+ * }
2342
+ * }
451
2343
  */
452
2344
  success?: HideTabBarRedDotSuccessCallback
453
2345
  /**
454
2346
  * 接口调用失败的回调函数
2347
+ * @uniPlatform {
2348
+ * "mp": {
2349
+ * "weixin": {
2350
+ * "hostVer": "√",
2351
+ * "uniVer": "√",
2352
+ * "unixVer": "4.41"
2353
+ * },
2354
+ * "alipay": {
2355
+ * "hostVer": "-",
2356
+ * "uniVer": "-",
2357
+ * "unixVer": "-"
2358
+ * },
2359
+ * "baidu": {
2360
+ * "hostVer": "-",
2361
+ * "uniVer": "-",
2362
+ * "unixVer": "-"
2363
+ * },
2364
+ * "toutiao": {
2365
+ * "hostVer": "-",
2366
+ * "uniVer": "-",
2367
+ * "unixVer": "-"
2368
+ * },
2369
+ * "lark": {
2370
+ * "hostVer": "-",
2371
+ * "uniVer": "-",
2372
+ * "unixVer": "-"
2373
+ * },
2374
+ * "qq": {
2375
+ * "hostVer": "-",
2376
+ * "uniVer": "-",
2377
+ * "unixVer": "-"
2378
+ * },
2379
+ * "kuaishou": {
2380
+ * "hostVer": "-",
2381
+ * "uniVer": "-",
2382
+ * "unixVer": "-"
2383
+ * },
2384
+ * "jd": {
2385
+ * "hostVer": "-",
2386
+ * "uniVer": "-",
2387
+ * "unixVer": "-"
2388
+ * }
2389
+ * }
2390
+ * }
455
2391
  */
456
2392
  fail?: HideTabBarRedDotFailCallback
457
2393
  /**
458
2394
  * 接口调用结束的回调函数(调用成功、失败都会执行)
2395
+ * @uniPlatform {
2396
+ * "mp": {
2397
+ * "weixin": {
2398
+ * "hostVer": "√",
2399
+ * "uniVer": "√",
2400
+ * "unixVer": "4.41"
2401
+ * },
2402
+ * "alipay": {
2403
+ * "hostVer": "-",
2404
+ * "uniVer": "-",
2405
+ * "unixVer": "-"
2406
+ * },
2407
+ * "baidu": {
2408
+ * "hostVer": "-",
2409
+ * "uniVer": "-",
2410
+ * "unixVer": "-"
2411
+ * },
2412
+ * "toutiao": {
2413
+ * "hostVer": "-",
2414
+ * "uniVer": "-",
2415
+ * "unixVer": "-"
2416
+ * },
2417
+ * "lark": {
2418
+ * "hostVer": "-",
2419
+ * "uniVer": "-",
2420
+ * "unixVer": "-"
2421
+ * },
2422
+ * "qq": {
2423
+ * "hostVer": "-",
2424
+ * "uniVer": "-",
2425
+ * "unixVer": "-"
2426
+ * },
2427
+ * "kuaishou": {
2428
+ * "hostVer": "-",
2429
+ * "uniVer": "-",
2430
+ * "unixVer": "-"
2431
+ * },
2432
+ * "jd": {
2433
+ * "hostVer": "-",
2434
+ * "uniVer": "-",
2435
+ * "unixVer": "-"
2436
+ * }
2437
+ * }
2438
+ * }
459
2439
  */
460
2440
  complete?: HideTabBarRedDotCompleteCallback
461
2441
  }
@@ -480,70 +2460,71 @@ export interface Uni {
480
2460
  * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarbadge
481
2461
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarbadge
482
2462
  * @uniPlatform {
483
- * "app": {
484
- * "android": {
485
- * "osVer": "5.0",
486
- * "uniVer": "√",
487
- * "unixVer": "3.91"
488
- * },
489
- * "ios": {
490
- * "osVer": "12.0",
491
- * "uniVer": "√",
492
- * "unixVer": "4.11"
493
- * },
494
- * "harmony": {
495
- * "osVer": "3.0",
496
- * "uniVer": "4.23",
497
- * "unixVer": "x"
498
- * }
499
- * },
500
- * "mp": {
501
- * "weixin": {
502
- * "hostVer": "",
503
- * "uniVer": "√",
504
- * "unixVer": "4.41"
505
- * },
506
- * "alipay": {
507
- * "hostVer": "√",
508
- * "uniVer": "√",
509
- * "unixVer": "x"
510
- * },
511
- * "baidu": {
512
- * "hostVer": "√",
513
- * "uniVer": "√",
514
- * "unixVer": "x"
515
- * },
516
- * "toutiao": {
517
- * "hostVer": "√",
518
- * "uniVer": "√",
519
- * "unixVer": "x"
520
- * },
521
- * "lark": {
522
- * "hostVer": "√",
523
- * "uniVer": "√",
524
- * "unixVer": "x"
525
- * },
526
- * "qq": {
527
- * "hostVer": "√",
528
- * "uniVer": "√",
529
- * "unixVer": "x"
530
- * },
531
- * "kuaishou": {
532
- * "hostVer": "√",
533
- * "uniVer": "√",
534
- * "unixVer": "x"
535
- * },
536
- * "jd": {
537
- * "hostVer": "√",
538
- * "uniVer": "√",
539
- * "unixVer": "x"
540
- * }
541
- * },
542
- * "web": {
543
- * "uniVer": "√",
544
- * "unixVer": "4.0"
545
- * }
2463
+ * "app": {
2464
+ * "android": {
2465
+ * "osVer": "5.0",
2466
+ * "uniVer": "√",
2467
+ * "unixVer": "3.91"
2468
+ * },
2469
+ * "ios": {
2470
+ * "osVer": "12.0",
2471
+ * "uniVer": "√",
2472
+ * "unixVer": "4.11"
2473
+ * },
2474
+ * "harmony": {
2475
+ * "osVer": "3.0",
2476
+ * "uniVer": "4.23",
2477
+ * "unixVer": "x"
2478
+ * }
2479
+ * },
2480
+ * "mp": {
2481
+ * "weixin": {
2482
+ * "hostVer": "1.9.0",
2483
+ * "uniVer": "√",
2484
+ * "unixVer": "4.41"
2485
+ * },
2486
+ * "alipay": {
2487
+ * "hostVer": "√",
2488
+ * "uniVer": "√",
2489
+ * "unixVer": "x"
2490
+ * },
2491
+ * "baidu": {
2492
+ * "hostVer": "√",
2493
+ * "uniVer": "√",
2494
+ * "unixVer": "x"
2495
+ * },
2496
+ * "toutiao": {
2497
+ * "hostVer": "√",
2498
+ * "uniVer": "√",
2499
+ * "unixVer": "x"
2500
+ * },
2501
+ * "lark": {
2502
+ * "hostVer": "√",
2503
+ * "uniVer": "√",
2504
+ * "unixVer": "x"
2505
+ * },
2506
+ * "qq": {
2507
+ * "hostVer": "√",
2508
+ * "uniVer": "√",
2509
+ * "unixVer": "x"
2510
+ * },
2511
+ * "kuaishou": {
2512
+ * "hostVer": "√",
2513
+ * "uniVer": "√",
2514
+ * "unixVer": "x"
2515
+ * },
2516
+ * "jd": {
2517
+ * "hostVer": "√",
2518
+ * "uniVer": "√",
2519
+ * "unixVer": "x"
2520
+ * }
2521
+ * },
2522
+ * "web": {
2523
+ * "uniVer": "√",
2524
+ * "unixVer": "4.0"
2525
+ * }
546
2526
  * }
2527
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/tab-bar/wx.setTabBarBadge.html
547
2528
  */
548
2529
  setTabBarBadge(
549
2530
  options: SetTabBarBadgeOptions,
@@ -555,70 +2536,71 @@ export interface Uni {
555
2536
  * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#removetabbarbadge
556
2537
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#removetabbarbadge
557
2538
  * @uniPlatform {
558
- * "app": {
559
- * "android": {
560
- * "osVer": "5.0",
561
- * "uniVer": "√",
562
- * "unixVer": "3.91"
563
- * },
564
- * "ios": {
565
- * "osVer": "12.0",
566
- * "uniVer": "√",
567
- * "unixVer": "4.11"
568
- * },
569
- * "harmony": {
570
- * "osVer": "3.0",
571
- * "uniVer": "4.23",
572
- * "unixVer": "x"
573
- * }
574
- * },
575
- * "mp": {
576
- * "weixin": {
577
- * "hostVer": "",
578
- * "uniVer": "√",
579
- * "unixVer": "4.41"
580
- * },
581
- * "alipay": {
582
- * "hostVer": "√",
583
- * "uniVer": "√",
584
- * "unixVer": "x"
585
- * },
586
- * "baidu": {
587
- * "hostVer": "√",
588
- * "uniVer": "√",
589
- * "unixVer": "x"
590
- * },
591
- * "toutiao": {
592
- * "hostVer": "√",
593
- * "uniVer": "√",
594
- * "unixVer": "x"
595
- * },
596
- * "lark": {
597
- * "hostVer": "√",
598
- * "uniVer": "√",
599
- * "unixVer": "x"
600
- * },
601
- * "qq": {
602
- * "hostVer": "√",
603
- * "uniVer": "√",
604
- * "unixVer": "x"
605
- * },
606
- * "kuaishou": {
607
- * "hostVer": "√",
608
- * "uniVer": "√",
609
- * "unixVer": "x"
610
- * },
611
- * "jd": {
612
- * "hostVer": "√",
613
- * "uniVer": "√",
614
- * "unixVer": "x"
615
- * }
616
- * },
617
- * "web": {
618
- * "uniVer": "√",
619
- * "unixVer": "4.0"
620
- * }
2539
+ * "app": {
2540
+ * "android": {
2541
+ * "osVer": "5.0",
2542
+ * "uniVer": "√",
2543
+ * "unixVer": "3.91"
2544
+ * },
2545
+ * "ios": {
2546
+ * "osVer": "12.0",
2547
+ * "uniVer": "√",
2548
+ * "unixVer": "4.11"
2549
+ * },
2550
+ * "harmony": {
2551
+ * "osVer": "3.0",
2552
+ * "uniVer": "4.23",
2553
+ * "unixVer": "x"
2554
+ * }
2555
+ * },
2556
+ * "mp": {
2557
+ * "weixin": {
2558
+ * "hostVer": "1.9.0",
2559
+ * "uniVer": "√",
2560
+ * "unixVer": "4.41"
2561
+ * },
2562
+ * "alipay": {
2563
+ * "hostVer": "√",
2564
+ * "uniVer": "√",
2565
+ * "unixVer": "x"
2566
+ * },
2567
+ * "baidu": {
2568
+ * "hostVer": "√",
2569
+ * "uniVer": "√",
2570
+ * "unixVer": "x"
2571
+ * },
2572
+ * "toutiao": {
2573
+ * "hostVer": "√",
2574
+ * "uniVer": "√",
2575
+ * "unixVer": "x"
2576
+ * },
2577
+ * "lark": {
2578
+ * "hostVer": "√",
2579
+ * "uniVer": "√",
2580
+ * "unixVer": "x"
2581
+ * },
2582
+ * "qq": {
2583
+ * "hostVer": "√",
2584
+ * "uniVer": "√",
2585
+ * "unixVer": "x"
2586
+ * },
2587
+ * "kuaishou": {
2588
+ * "hostVer": "√",
2589
+ * "uniVer": "√",
2590
+ * "unixVer": "x"
2591
+ * },
2592
+ * "jd": {
2593
+ * "hostVer": "√",
2594
+ * "uniVer": "√",
2595
+ * "unixVer": "x"
2596
+ * }
2597
+ * },
2598
+ * "web": {
2599
+ * "uniVer": "√",
2600
+ * "unixVer": "4.0"
2601
+ * }
621
2602
  * }
2603
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/tab-bar/wx.removeTabBarBadge.html
622
2604
  */
623
2605
  removeTabBarBadge(
624
2606
  options: RemoveTabBarBadgeOptions,
@@ -630,70 +2612,71 @@ export interface Uni {
630
2612
  * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbaritem
631
2613
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbaritem
632
2614
  * @uniPlatform {
633
- * "app": {
634
- * "android": {
635
- * "osVer": "5.0",
636
- * "uniVer": "√",
637
- * "unixVer": "3.91"
638
- * },
639
- * "ios": {
640
- * "osVer": "12.0",
641
- * "uniVer": "√",
642
- * "unixVer": "4.11"
643
- * },
644
- * "harmony": {
645
- * "osVer": "3.0",
646
- * "uniVer": "4.23",
647
- * "unixVer": "x"
648
- * }
649
- * },
650
- * "mp": {
651
- * "weixin": {
652
- * "hostVer": "",
653
- * "uniVer": "√",
654
- * "unixVer": "4.41"
655
- * },
656
- * "alipay": {
657
- * "hostVer": "√",
658
- * "uniVer": "√",
659
- * "unixVer": "x"
660
- * },
661
- * "baidu": {
662
- * "hostVer": "√",
663
- * "uniVer": "√",
664
- * "unixVer": "x"
665
- * },
666
- * "toutiao": {
667
- * "hostVer": "√",
668
- * "uniVer": "√",
669
- * "unixVer": "x"
670
- * },
671
- * "lark": {
672
- * "hostVer": "√",
673
- * "uniVer": "√",
674
- * "unixVer": "x"
675
- * },
676
- * "qq": {
677
- * "hostVer": "√",
678
- * "uniVer": "√",
679
- * "unixVer": "x"
680
- * },
681
- * "kuaishou": {
682
- * "hostVer": "√",
683
- * "uniVer": "√",
684
- * "unixVer": "x"
685
- * },
686
- * "jd": {
687
- * "hostVer": "√",
688
- * "uniVer": "√",
689
- * "unixVer": "x"
690
- * }
691
- * },
692
- * "web": {
693
- * "uniVer": "√",
694
- * "unixVer": "4.0"
695
- * }
2615
+ * "app": {
2616
+ * "android": {
2617
+ * "osVer": "5.0",
2618
+ * "uniVer": "√",
2619
+ * "unixVer": "3.91"
2620
+ * },
2621
+ * "ios": {
2622
+ * "osVer": "12.0",
2623
+ * "uniVer": "√",
2624
+ * "unixVer": "4.11"
2625
+ * },
2626
+ * "harmony": {
2627
+ * "osVer": "3.0",
2628
+ * "uniVer": "4.23",
2629
+ * "unixVer": "x"
2630
+ * }
2631
+ * },
2632
+ * "mp": {
2633
+ * "weixin": {
2634
+ * "hostVer": "1.9.0",
2635
+ * "uniVer": "√",
2636
+ * "unixVer": "4.41"
2637
+ * },
2638
+ * "alipay": {
2639
+ * "hostVer": "√",
2640
+ * "uniVer": "√",
2641
+ * "unixVer": "x"
2642
+ * },
2643
+ * "baidu": {
2644
+ * "hostVer": "√",
2645
+ * "uniVer": "√",
2646
+ * "unixVer": "x"
2647
+ * },
2648
+ * "toutiao": {
2649
+ * "hostVer": "√",
2650
+ * "uniVer": "√",
2651
+ * "unixVer": "x"
2652
+ * },
2653
+ * "lark": {
2654
+ * "hostVer": "√",
2655
+ * "uniVer": "√",
2656
+ * "unixVer": "x"
2657
+ * },
2658
+ * "qq": {
2659
+ * "hostVer": "√",
2660
+ * "uniVer": "√",
2661
+ * "unixVer": "x"
2662
+ * },
2663
+ * "kuaishou": {
2664
+ * "hostVer": "√",
2665
+ * "uniVer": "√",
2666
+ * "unixVer": "x"
2667
+ * },
2668
+ * "jd": {
2669
+ * "hostVer": "√",
2670
+ * "uniVer": "√",
2671
+ * "unixVer": "x"
2672
+ * }
2673
+ * },
2674
+ * "web": {
2675
+ * "uniVer": "√",
2676
+ * "unixVer": "4.0"
2677
+ * }
696
2678
  * }
2679
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/tab-bar/wx.setTabBarItem.html
697
2680
  */
698
2681
  setTabBarItem(
699
2682
  options: SetTabBarItemOptions,
@@ -705,70 +2688,71 @@ export interface Uni {
705
2688
  * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarstyle
706
2689
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarstyle
707
2690
  * @uniPlatform {
708
- * "app": {
709
- * "android": {
710
- * "osVer": "5.0",
711
- * "uniVer": "√",
712
- * "unixVer": "3.91"
713
- * },
714
- * "ios": {
715
- * "osVer": "12.0",
716
- * "uniVer": "√",
717
- * "unixVer": "4.11"
718
- * },
719
- * "harmony": {
720
- * "osVer": "3.0",
721
- * "uniVer": "4.23",
722
- * "unixVer": "x"
723
- * }
724
- * },
725
- * "mp": {
726
- * "weixin": {
727
- * "hostVer": "",
728
- * "uniVer": "√",
729
- * "unixVer": "4.41"
730
- * },
731
- * "alipay": {
732
- * "hostVer": "√",
733
- * "uniVer": "√",
734
- * "unixVer": "x"
735
- * },
736
- * "baidu": {
737
- * "hostVer": "√",
738
- * "uniVer": "√",
739
- * "unixVer": "x"
740
- * },
741
- * "toutiao": {
742
- * "hostVer": "√",
743
- * "uniVer": "√",
744
- * "unixVer": "x"
745
- * },
746
- * "lark": {
747
- * "hostVer": "√",
748
- * "uniVer": "√",
749
- * "unixVer": "x"
750
- * },
751
- * "qq": {
752
- * "hostVer": "√",
753
- * "uniVer": "√",
754
- * "unixVer": "x"
755
- * },
756
- * "kuaishou": {
757
- * "hostVer": "√",
758
- * "uniVer": "√",
759
- * "unixVer": "x"
760
- * },
761
- * "jd": {
762
- * "hostVer": "√",
763
- * "uniVer": "√",
764
- * "unixVer": "x"
765
- * }
766
- * },
767
- * "web": {
768
- * "uniVer": "√",
769
- * "unixVer": "4.0"
770
- * }
2691
+ * "app": {
2692
+ * "android": {
2693
+ * "osVer": "5.0",
2694
+ * "uniVer": "√",
2695
+ * "unixVer": "3.91"
2696
+ * },
2697
+ * "ios": {
2698
+ * "osVer": "12.0",
2699
+ * "uniVer": "√",
2700
+ * "unixVer": "4.11"
2701
+ * },
2702
+ * "harmony": {
2703
+ * "osVer": "3.0",
2704
+ * "uniVer": "4.23",
2705
+ * "unixVer": "x"
2706
+ * }
2707
+ * },
2708
+ * "mp": {
2709
+ * "weixin": {
2710
+ * "hostVer": "1.9.0",
2711
+ * "uniVer": "√",
2712
+ * "unixVer": "4.41"
2713
+ * },
2714
+ * "alipay": {
2715
+ * "hostVer": "√",
2716
+ * "uniVer": "√",
2717
+ * "unixVer": "x"
2718
+ * },
2719
+ * "baidu": {
2720
+ * "hostVer": "√",
2721
+ * "uniVer": "√",
2722
+ * "unixVer": "x"
2723
+ * },
2724
+ * "toutiao": {
2725
+ * "hostVer": "√",
2726
+ * "uniVer": "√",
2727
+ * "unixVer": "x"
2728
+ * },
2729
+ * "lark": {
2730
+ * "hostVer": "√",
2731
+ * "uniVer": "√",
2732
+ * "unixVer": "x"
2733
+ * },
2734
+ * "qq": {
2735
+ * "hostVer": "√",
2736
+ * "uniVer": "√",
2737
+ * "unixVer": "x"
2738
+ * },
2739
+ * "kuaishou": {
2740
+ * "hostVer": "√",
2741
+ * "uniVer": "√",
2742
+ * "unixVer": "x"
2743
+ * },
2744
+ * "jd": {
2745
+ * "hostVer": "√",
2746
+ * "uniVer": "√",
2747
+ * "unixVer": "x"
2748
+ * }
2749
+ * },
2750
+ * "web": {
2751
+ * "uniVer": "√",
2752
+ * "unixVer": "4.0"
2753
+ * }
771
2754
  * }
2755
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/tab-bar/wx.setTabBarStyle.html
772
2756
  */
773
2757
  setTabBarStyle(
774
2758
  options: SetTabBarStyleOptions,
@@ -780,70 +2764,71 @@ export interface Uni {
780
2764
  * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbar
781
2765
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbar
782
2766
  * @uniPlatform {
783
- * "app": {
784
- * "android": {
785
- * "osVer": "5.0",
786
- * "uniVer": "√",
787
- * "unixVer": "3.91"
788
- * },
789
- * "ios": {
790
- * "osVer": "12.0",
791
- * "uniVer": "√",
792
- * "unixVer": "4.11"
793
- * },
794
- * "harmony": {
795
- * "osVer": "3.0",
796
- * "uniVer": "4.23",
797
- * "unixVer": "x"
798
- * }
799
- * },
800
- * "mp": {
801
- * "weixin": {
802
- * "hostVer": "",
803
- * "uniVer": "√",
804
- * "unixVer": "4.41"
805
- * },
806
- * "alipay": {
807
- * "hostVer": "√",
808
- * "uniVer": "√",
809
- * "unixVer": "x"
810
- * },
811
- * "baidu": {
812
- * "hostVer": "√",
813
- * "uniVer": "√",
814
- * "unixVer": "x"
815
- * },
816
- * "toutiao": {
817
- * "hostVer": "√",
818
- * "uniVer": "√",
819
- * "unixVer": "x"
820
- * },
821
- * "lark": {
822
- * "hostVer": "√",
823
- * "uniVer": "√",
824
- * "unixVer": "x"
825
- * },
826
- * "qq": {
827
- * "hostVer": "√",
828
- * "uniVer": "√",
829
- * "unixVer": "x"
830
- * },
831
- * "kuaishou": {
832
- * "hostVer": "√",
833
- * "uniVer": "√",
834
- * "unixVer": "x"
835
- * },
836
- * "jd": {
837
- * "hostVer": "√",
838
- * "uniVer": "√",
839
- * "unixVer": "x"
840
- * }
841
- * },
842
- * "web": {
843
- * "uniVer": "√",
844
- * "unixVer": "4.0"
845
- * }
2767
+ * "app": {
2768
+ * "android": {
2769
+ * "osVer": "5.0",
2770
+ * "uniVer": "√",
2771
+ * "unixVer": "3.91"
2772
+ * },
2773
+ * "ios": {
2774
+ * "osVer": "12.0",
2775
+ * "uniVer": "√",
2776
+ * "unixVer": "4.11"
2777
+ * },
2778
+ * "harmony": {
2779
+ * "osVer": "3.0",
2780
+ * "uniVer": "4.23",
2781
+ * "unixVer": "x"
2782
+ * }
2783
+ * },
2784
+ * "mp": {
2785
+ * "weixin": {
2786
+ * "hostVer": "1.9.0",
2787
+ * "uniVer": "√",
2788
+ * "unixVer": "4.41"
2789
+ * },
2790
+ * "alipay": {
2791
+ * "hostVer": "√",
2792
+ * "uniVer": "√",
2793
+ * "unixVer": "x"
2794
+ * },
2795
+ * "baidu": {
2796
+ * "hostVer": "√",
2797
+ * "uniVer": "√",
2798
+ * "unixVer": "x"
2799
+ * },
2800
+ * "toutiao": {
2801
+ * "hostVer": "√",
2802
+ * "uniVer": "√",
2803
+ * "unixVer": "x"
2804
+ * },
2805
+ * "lark": {
2806
+ * "hostVer": "√",
2807
+ * "uniVer": "√",
2808
+ * "unixVer": "x"
2809
+ * },
2810
+ * "qq": {
2811
+ * "hostVer": "√",
2812
+ * "uniVer": "√",
2813
+ * "unixVer": "x"
2814
+ * },
2815
+ * "kuaishou": {
2816
+ * "hostVer": "√",
2817
+ * "uniVer": "√",
2818
+ * "unixVer": "x"
2819
+ * },
2820
+ * "jd": {
2821
+ * "hostVer": "√",
2822
+ * "uniVer": "√",
2823
+ * "unixVer": "x"
2824
+ * }
2825
+ * },
2826
+ * "web": {
2827
+ * "uniVer": "√",
2828
+ * "unixVer": "4.0"
2829
+ * }
846
2830
  * }
2831
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/tab-bar/wx.hideTabBar.html
847
2832
  */
848
2833
  hideTabBar(
849
2834
  options?: HideTabBarOptions | null,
@@ -855,70 +2840,71 @@ export interface Uni {
855
2840
  * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbar
856
2841
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbar
857
2842
  * @uniPlatform {
858
- * "app": {
859
- * "android": {
860
- * "osVer": "5.0",
861
- * "uniVer": "√",
862
- * "unixVer": "3.91"
863
- * },
864
- * "ios": {
865
- * "osVer": "12.0",
866
- * "uniVer": "√",
867
- * "unixVer": "4.11"
868
- * },
869
- * "harmony": {
870
- * "osVer": "3.0",
871
- * "uniVer": "4.23",
872
- * "unixVer": "x"
873
- * }
874
- * },
875
- * "mp": {
876
- * "weixin": {
877
- * "hostVer": "",
878
- * "uniVer": "√",
879
- * "unixVer": "4.41"
880
- * },
881
- * "alipay": {
882
- * "hostVer": "√",
883
- * "uniVer": "√",
884
- * "unixVer": "x"
885
- * },
886
- * "baidu": {
887
- * "hostVer": "√",
888
- * "uniVer": "√",
889
- * "unixVer": "x"
890
- * },
891
- * "toutiao": {
892
- * "hostVer": "√",
893
- * "uniVer": "√",
894
- * "unixVer": "x"
895
- * },
896
- * "lark": {
897
- * "hostVer": "√",
898
- * "uniVer": "√",
899
- * "unixVer": "x"
900
- * },
901
- * "qq": {
902
- * "hostVer": "√",
903
- * "uniVer": "√",
904
- * "unixVer": "x"
905
- * },
906
- * "kuaishou": {
907
- * "hostVer": "√",
908
- * "uniVer": "√",
909
- * "unixVer": "x"
910
- * },
911
- * "jd": {
912
- * "hostVer": "√",
913
- * "uniVer": "√",
914
- * "unixVer": "x"
915
- * }
916
- * },
917
- * "web": {
918
- * "uniVer": "√",
919
- * "unixVer": "4.0"
920
- * }
2843
+ * "app": {
2844
+ * "android": {
2845
+ * "osVer": "5.0",
2846
+ * "uniVer": "√",
2847
+ * "unixVer": "3.91"
2848
+ * },
2849
+ * "ios": {
2850
+ * "osVer": "12.0",
2851
+ * "uniVer": "√",
2852
+ * "unixVer": "4.11"
2853
+ * },
2854
+ * "harmony": {
2855
+ * "osVer": "3.0",
2856
+ * "uniVer": "4.23",
2857
+ * "unixVer": "x"
2858
+ * }
2859
+ * },
2860
+ * "mp": {
2861
+ * "weixin": {
2862
+ * "hostVer": "1.9.0",
2863
+ * "uniVer": "√",
2864
+ * "unixVer": "4.41"
2865
+ * },
2866
+ * "alipay": {
2867
+ * "hostVer": "√",
2868
+ * "uniVer": "√",
2869
+ * "unixVer": "x"
2870
+ * },
2871
+ * "baidu": {
2872
+ * "hostVer": "√",
2873
+ * "uniVer": "√",
2874
+ * "unixVer": "x"
2875
+ * },
2876
+ * "toutiao": {
2877
+ * "hostVer": "√",
2878
+ * "uniVer": "√",
2879
+ * "unixVer": "x"
2880
+ * },
2881
+ * "lark": {
2882
+ * "hostVer": "√",
2883
+ * "uniVer": "√",
2884
+ * "unixVer": "x"
2885
+ * },
2886
+ * "qq": {
2887
+ * "hostVer": "√",
2888
+ * "uniVer": "√",
2889
+ * "unixVer": "x"
2890
+ * },
2891
+ * "kuaishou": {
2892
+ * "hostVer": "√",
2893
+ * "uniVer": "√",
2894
+ * "unixVer": "x"
2895
+ * },
2896
+ * "jd": {
2897
+ * "hostVer": "√",
2898
+ * "uniVer": "√",
2899
+ * "unixVer": "x"
2900
+ * }
2901
+ * },
2902
+ * "web": {
2903
+ * "uniVer": "√",
2904
+ * "unixVer": "4.0"
2905
+ * }
921
2906
  * }
2907
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/tab-bar/wx.showTabBar.html
922
2908
  */
923
2909
  showTabBar(
924
2910
  options?: ShowTabBarOptions | null,
@@ -930,70 +2916,71 @@ export interface Uni {
930
2916
  * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbarreddot
931
2917
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbarreddot
932
2918
  * @uniPlatform {
933
- * "app": {
934
- * "android": {
935
- * "osVer": "5.0",
936
- * "uniVer": "√",
937
- * "unixVer": "3.91"
938
- * },
939
- * "ios": {
940
- * "osVer": "12.0",
941
- * "uniVer": "√",
942
- * "unixVer": "4.11"
943
- * },
944
- * "harmony": {
945
- * "osVer": "3.0",
946
- * "uniVer": "4.23",
947
- * "unixVer": "x"
948
- * }
949
- * },
950
- * "mp": {
951
- * "weixin": {
952
- * "hostVer": "",
953
- * "uniVer": "√",
954
- * "unixVer": "4.41"
955
- * },
956
- * "alipay": {
957
- * "hostVer": "√",
958
- * "uniVer": "√",
959
- * "unixVer": "x"
960
- * },
961
- * "baidu": {
962
- * "hostVer": "√",
963
- * "uniVer": "√",
964
- * "unixVer": "x"
965
- * },
966
- * "toutiao": {
967
- * "hostVer": "√",
968
- * "uniVer": "√",
969
- * "unixVer": "x"
970
- * },
971
- * "lark": {
972
- * "hostVer": "√",
973
- * "uniVer": "√",
974
- * "unixVer": "x"
975
- * },
976
- * "qq": {
977
- * "hostVer": "√",
978
- * "uniVer": "√",
979
- * "unixVer": "x"
980
- * },
981
- * "kuaishou": {
982
- * "hostVer": "√",
983
- * "uniVer": "√",
984
- * "unixVer": "x"
985
- * },
986
- * "jd": {
987
- * "hostVer": "√",
988
- * "uniVer": "√",
989
- * "unixVer": "x"
990
- * }
991
- * },
992
- * "web": {
993
- * "uniVer": "√",
994
- * "unixVer": "4.0"
995
- * }
2919
+ * "app": {
2920
+ * "android": {
2921
+ * "osVer": "5.0",
2922
+ * "uniVer": "√",
2923
+ * "unixVer": "3.91"
2924
+ * },
2925
+ * "ios": {
2926
+ * "osVer": "12.0",
2927
+ * "uniVer": "√",
2928
+ * "unixVer": "4.11"
2929
+ * },
2930
+ * "harmony": {
2931
+ * "osVer": "3.0",
2932
+ * "uniVer": "4.23",
2933
+ * "unixVer": "x"
2934
+ * }
2935
+ * },
2936
+ * "mp": {
2937
+ * "weixin": {
2938
+ * "hostVer": "1.9.0",
2939
+ * "uniVer": "√",
2940
+ * "unixVer": "4.41"
2941
+ * },
2942
+ * "alipay": {
2943
+ * "hostVer": "√",
2944
+ * "uniVer": "√",
2945
+ * "unixVer": "x"
2946
+ * },
2947
+ * "baidu": {
2948
+ * "hostVer": "√",
2949
+ * "uniVer": "√",
2950
+ * "unixVer": "x"
2951
+ * },
2952
+ * "toutiao": {
2953
+ * "hostVer": "√",
2954
+ * "uniVer": "√",
2955
+ * "unixVer": "x"
2956
+ * },
2957
+ * "lark": {
2958
+ * "hostVer": "√",
2959
+ * "uniVer": "√",
2960
+ * "unixVer": "x"
2961
+ * },
2962
+ * "qq": {
2963
+ * "hostVer": "√",
2964
+ * "uniVer": "√",
2965
+ * "unixVer": "x"
2966
+ * },
2967
+ * "kuaishou": {
2968
+ * "hostVer": "√",
2969
+ * "uniVer": "√",
2970
+ * "unixVer": "x"
2971
+ * },
2972
+ * "jd": {
2973
+ * "hostVer": "√",
2974
+ * "uniVer": "√",
2975
+ * "unixVer": "x"
2976
+ * }
2977
+ * },
2978
+ * "web": {
2979
+ * "uniVer": "√",
2980
+ * "unixVer": "4.0"
2981
+ * }
996
2982
  * }
2983
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/tab-bar/wx.showTabBarRedDot.html
997
2984
  */
998
2985
  showTabBarRedDot(
999
2986
  options: ShowTabBarRedDotOptions,
@@ -1005,70 +2992,71 @@ export interface Uni {
1005
2992
  * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbarreddot
1006
2993
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbarreddot
1007
2994
  * @uniPlatform {
1008
- * "app": {
1009
- * "android": {
1010
- * "osVer": "5.0",
1011
- * "uniVer": "√",
1012
- * "unixVer": "3.91"
1013
- * },
1014
- * "ios": {
1015
- * "osVer": "12.0",
1016
- * "uniVer": "√",
1017
- * "unixVer": "4.11"
1018
- * },
1019
- * "harmony": {
1020
- * "osVer": "3.0",
1021
- * "uniVer": "4.23",
1022
- * "unixVer": "x"
1023
- * }
1024
- * },
1025
- * "mp": {
1026
- * "weixin": {
1027
- * "hostVer": "",
1028
- * "uniVer": "√",
1029
- * "unixVer": "4.41"
1030
- * },
1031
- * "alipay": {
1032
- * "hostVer": "√",
1033
- * "uniVer": "√",
1034
- * "unixVer": "x"
1035
- * },
1036
- * "baidu": {
1037
- * "hostVer": "√",
1038
- * "uniVer": "√",
1039
- * "unixVer": "x"
1040
- * },
1041
- * "toutiao": {
1042
- * "hostVer": "√",
1043
- * "uniVer": "√",
1044
- * "unixVer": "x"
1045
- * },
1046
- * "lark": {
1047
- * "hostVer": "√",
1048
- * "uniVer": "√",
1049
- * "unixVer": "x"
1050
- * },
1051
- * "qq": {
1052
- * "hostVer": "√",
1053
- * "uniVer": "√",
1054
- * "unixVer": "x"
1055
- * },
1056
- * "kuaishou": {
1057
- * "hostVer": "√",
1058
- * "uniVer": "√",
1059
- * "unixVer": "x"
1060
- * },
1061
- * "jd": {
1062
- * "hostVer": "√",
1063
- * "uniVer": "√",
1064
- * "unixVer": "x"
1065
- * }
1066
- * },
1067
- * "web": {
1068
- * "uniVer": "√",
1069
- * "unixVer": "4.0"
1070
- * }
2995
+ * "app": {
2996
+ * "android": {
2997
+ * "osVer": "5.0",
2998
+ * "uniVer": "√",
2999
+ * "unixVer": "3.91"
3000
+ * },
3001
+ * "ios": {
3002
+ * "osVer": "12.0",
3003
+ * "uniVer": "√",
3004
+ * "unixVer": "4.11"
3005
+ * },
3006
+ * "harmony": {
3007
+ * "osVer": "3.0",
3008
+ * "uniVer": "4.23",
3009
+ * "unixVer": "x"
3010
+ * }
3011
+ * },
3012
+ * "mp": {
3013
+ * "weixin": {
3014
+ * "hostVer": "1.9.0",
3015
+ * "uniVer": "√",
3016
+ * "unixVer": "4.41"
3017
+ * },
3018
+ * "alipay": {
3019
+ * "hostVer": "√",
3020
+ * "uniVer": "√",
3021
+ * "unixVer": "x"
3022
+ * },
3023
+ * "baidu": {
3024
+ * "hostVer": "√",
3025
+ * "uniVer": "√",
3026
+ * "unixVer": "x"
3027
+ * },
3028
+ * "toutiao": {
3029
+ * "hostVer": "√",
3030
+ * "uniVer": "√",
3031
+ * "unixVer": "x"
3032
+ * },
3033
+ * "lark": {
3034
+ * "hostVer": "√",
3035
+ * "uniVer": "√",
3036
+ * "unixVer": "x"
3037
+ * },
3038
+ * "qq": {
3039
+ * "hostVer": "√",
3040
+ * "uniVer": "√",
3041
+ * "unixVer": "x"
3042
+ * },
3043
+ * "kuaishou": {
3044
+ * "hostVer": "√",
3045
+ * "uniVer": "√",
3046
+ * "unixVer": "x"
3047
+ * },
3048
+ * "jd": {
3049
+ * "hostVer": "√",
3050
+ * "uniVer": "√",
3051
+ * "unixVer": "x"
3052
+ * }
3053
+ * },
3054
+ * "web": {
3055
+ * "uniVer": "√",
3056
+ * "unixVer": "4.0"
3057
+ * }
1071
3058
  * }
3059
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/tab-bar/wx.hideTabBarRedDot.html
1072
3060
  */
1073
3061
  hideTabBarRedDot(
1074
3062
  options: HideTabBarRedDotOptions,