@dcloudio/uni-app-x 0.7.112 → 0.7.113

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 (379) hide show
  1. package/package.json +1 -1
  2. package/types/dom2-internal/UniNativeView.d.ts +1 -0
  3. package/types/dom2-internal/UniPage.d.ts +16 -0
  4. package/types/native/CSSStyleDeclaration.d.ts +172 -172
  5. package/types/native/CanvasRenderingContext2D.d.ts +4720 -4720
  6. package/types/native/DrawableContext.d.ts +1893 -1893
  7. package/types/native/IUniElement.d.ts +7468 -7468
  8. package/types/native/IUniNativeViewElement.d.ts +327 -327
  9. package/types/native/SnapshotOptions.d.ts +337 -62
  10. package/types/native/UniPage.d.ts +1305 -1305
  11. package/types/native/UniResizeObserver.d.ts +749 -749
  12. package/types/native/UniSwiperAnimationFinishEvent.d.ts +59 -59
  13. package/types/native/UniSwiperChangeEvent.d.ts +58 -58
  14. package/types/page.d.ts +3154 -3112
  15. package/types/uni/uts-plugin-api/global.d.ts +8 -0
  16. package/types/uni/uts-plugin-api/index.d.ts +8 -0
  17. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +1672 -911
  18. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +126 -126
  19. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +14 -14
  20. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +154 -154
  21. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +14 -14
  22. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/global.d.ts +55 -0
  23. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/index.d.ts +27 -0
  24. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/interface.d.ts +1155 -0
  25. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/global.d.ts +9 -6
  26. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/index.d.ts +5 -3
  27. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +978 -972
  28. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/global.d.ts +25 -0
  29. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/index.d.ts +12 -0
  30. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -0
  31. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +358 -358
  32. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +8 -8
  33. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +78 -78
  34. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +490 -479
  35. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -214
  36. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/interface.d.ts +126 -126
  37. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +30 -30
  38. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/global.d.ts +39 -0
  39. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/index.d.ts +19 -0
  40. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +856 -0
  41. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +338 -338
  42. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +147 -147
  43. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +397 -397
  44. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +6363 -6359
  45. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +554 -554
  46. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2149 -2149
  47. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1340 -1340
  48. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1707 -1707
  49. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +307 -307
  50. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +310 -310
  51. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +5 -5
  52. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +129 -129
  53. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +757 -757
  54. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +5881 -5879
  55. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +442 -442
  56. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/global.d.ts +9 -0
  57. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/index.d.ts +5 -0
  58. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/interface.d.ts +0 -0
  59. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +171 -171
  60. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +1 -1
  61. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +536 -536
  62. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +2914 -2910
  63. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +24 -24
  64. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +208 -208
  65. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +785 -785
  66. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4243 -4243
  67. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1979 -1963
  68. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +5 -3
  69. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +229 -229
  70. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +753 -753
  71. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +84 -84
  72. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +790 -788
  73. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +447 -447
  74. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +498 -498
  75. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +1552 -1548
  76. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +58 -58
  77. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +30 -30
  78. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2513 -2513
  79. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +81 -81
  80. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +351 -351
  81. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +107 -107
  82. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +584 -584
  83. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -722
  84. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/interface.d.ts +292 -292
  85. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +358 -358
  86. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +657 -657
  87. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/global.d.ts +9 -0
  88. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/index.d.ts +5 -0
  89. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/interface.d.ts +0 -0
  90. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1010 -1010
  91. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/global.d.ts +47 -0
  92. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/index.d.ts +23 -0
  93. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/interface.d.ts +926 -0
  94. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/global.d.ts +29 -0
  95. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/index.d.ts +14 -0
  96. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +452 -0
  97. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1442 -1442
  98. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +220 -220
  99. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +65 -65
  100. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +981 -981
  101. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +26 -26
  102. package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +1155 -0
  103. package/types/uni/uts-plugin-component/.temp/uni-camera.d.ts +38 -0
  104. package/types/uni/uts-plugin-component/.temp/uni-camera.ts +52 -0
  105. package/types/uni/uts-plugin-component/.temp/uni-canvas/utssdk/interface.uts +976 -0
  106. package/types/uni/uts-plugin-component/.temp/uni-canvas-dom2/utssdk/interface.uts +976 -0
  107. package/types/uni/uts-plugin-component/.temp/uni-editor.d.ts +171 -0
  108. package/types/uni/uts-plugin-component/.temp/uni-editor.ts +237 -0
  109. package/types/uni/uts-plugin-component/.temp/uni-form.d.ts +2 -0
  110. package/types/uni/uts-plugin-component/.temp/uni-form.ts +1 -0
  111. package/types/uni/uts-plugin-component/.temp/uni-input/utssdk/interface.uts +0 -0
  112. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.d.ts +56 -0
  113. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.ts +88 -0
  114. package/types/uni/uts-plugin-component/.temp/uni-match-media.d.ts +2 -0
  115. package/types/uni/uts-plugin-component/.temp/uni-match-media.ts +2 -0
  116. package/types/uni/uts-plugin-component/.temp/uni-navigator.d.ts +2 -0
  117. package/types/uni/uts-plugin-component/.temp/uni-navigator.ts +1 -0
  118. package/types/uni/uts-plugin-component/.temp/uni-page-container.d.ts +0 -0
  119. package/types/uni/uts-plugin-component/.temp/uni-page-container.ts +2 -0
  120. package/types/uni/uts-plugin-component/.temp/uni-progress.d.ts +2 -0
  121. package/types/uni/uts-plugin-component/.temp/uni-progress.ts +1 -0
  122. package/types/uni/uts-plugin-component/.temp/uni-rich-text.d.ts +7 -0
  123. package/types/uni/uts-plugin-component/.temp/uni-rich-text.ts +12 -0
  124. package/types/uni/uts-plugin-component/.temp/uni-textarea/utssdk/interface.uts +0 -0
  125. package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +936 -0
  126. package/types/uni/uts-plugin-component/.temp/uni-video.d.ts +134 -0
  127. package/types/uni/uts-plugin-component/.temp/uni-video.ts +180 -0
  128. package/types/uni/uts-plugin-component/.temp/uni-web-view/utssdk/interface.uts +452 -0
  129. package/types/uni/uts-plugin-component/.temp/uni-web-view.d.ts +51 -0
  130. package/types/uni/uts-plugin-component/.temp/uni-web-view.ts +86 -0
  131. package/types/uni/uts-plugin-component/global.d.ts +79 -0
  132. package/types/uni/uts-plugin-component/index.d.ts +79 -0
  133. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/global.d.ts +29 -0
  134. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/index.d.ts +14 -0
  135. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/interface.d.ts +1673 -0
  136. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/global.d.ts +25 -0
  137. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/index.d.ts +12 -0
  138. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/interface.d.ts +226 -0
  139. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +11 -0
  140. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +5 -0
  141. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +79 -0
  142. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/global.d.ts +59 -0
  143. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/index.d.ts +29 -0
  144. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +371 -0
  145. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/global.d.ts +9 -0
  146. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/index.d.ts +5 -0
  147. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/interface.d.ts +0 -0
  148. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +11 -0
  149. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +5 -0
  150. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +79 -0
  151. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +978 -976
  152. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -976
  153. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/global.d.ts +25 -0
  154. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/index.d.ts +12 -0
  155. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/interface.d.ts +423 -0
  156. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/global.d.ts +33 -0
  157. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/index.d.ts +16 -0
  158. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/interface.d.ts +499 -0
  159. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/global.d.ts +45 -0
  160. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/index.d.ts +22 -0
  161. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/interface.d.ts +217 -0
  162. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/global.d.ts +33 -0
  163. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/index.d.ts +16 -0
  164. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +3379 -0
  165. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/global.d.ts +21 -0
  166. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/index.d.ts +10 -0
  167. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +153 -0
  168. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +19 -0
  169. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +9 -0
  170. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +61 -0
  171. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/global.d.ts +21 -0
  172. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/index.d.ts +10 -0
  173. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/interface.d.ts +560 -0
  174. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/global.d.ts +15 -0
  175. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/index.d.ts +7 -0
  176. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -0
  177. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/global.d.ts +23 -0
  178. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/index.d.ts +11 -0
  179. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/interface.d.ts +158 -0
  180. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +29 -0
  181. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +14 -0
  182. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +2304 -0
  183. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +39 -0
  184. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +19 -0
  185. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +856 -0
  186. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/global.d.ts +25 -0
  187. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/index.d.ts +13 -0
  188. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/interface.d.ts +181 -0
  189. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/global.d.ts +17 -0
  190. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/index.d.ts +8 -0
  191. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/interface.d.ts +338 -0
  192. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/global.d.ts +27 -0
  193. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/index.d.ts +13 -0
  194. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/interface.d.ts +147 -0
  195. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/global.d.ts +81 -0
  196. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/index.d.ts +40 -0
  197. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/interface.d.ts +397 -0
  198. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/global.d.ts +151 -0
  199. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/index.d.ts +75 -0
  200. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/interface.d.ts +6428 -0
  201. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +11 -0
  202. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +5 -0
  203. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +37 -0
  204. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +13 -0
  205. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +6 -0
  206. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +620 -0
  207. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/global.d.ts +15 -0
  208. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/index.d.ts +7 -0
  209. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2220 -0
  210. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +17 -0
  211. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +8 -0
  212. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1406 -0
  213. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/global.d.ts +15 -0
  214. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/index.d.ts +7 -0
  215. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1774 -0
  216. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/global.d.ts +11 -0
  217. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/index.d.ts +5 -0
  218. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +82 -0
  219. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +13 -0
  220. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +6 -0
  221. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +374 -0
  222. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +13 -0
  223. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +6 -0
  224. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +377 -0
  225. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +21 -0
  226. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +11 -0
  227. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +736 -0
  228. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/global.d.ts +33 -0
  229. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/index.d.ts +16 -0
  230. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/interface.d.ts +420 -0
  231. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/global.d.ts +23 -0
  232. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/index.d.ts +11 -0
  233. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/interface.d.ts +199 -0
  234. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/global.d.ts +37 -0
  235. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/index.d.ts +18 -0
  236. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/interface.d.ts +757 -0
  237. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/global.d.ts +33 -0
  238. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/index.d.ts +16 -0
  239. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/interface.d.ts +6084 -0
  240. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/global.d.ts +13 -0
  241. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/index.d.ts +6 -0
  242. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/interface.d.ts +508 -0
  243. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/global.d.ts +25 -0
  244. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/index.d.ts +12 -0
  245. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/interface.d.ts +125 -0
  246. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/global.d.ts +17 -0
  247. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/index.d.ts +8 -0
  248. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/interface.d.ts +171 -0
  249. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/global.d.ts +45 -0
  250. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/index.d.ts +22 -0
  251. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +234 -0
  252. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/global.d.ts +29 -0
  253. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/index.d.ts +14 -0
  254. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/interface.d.ts +603 -0
  255. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/global.d.ts +61 -0
  256. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/index.d.ts +30 -0
  257. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/interface.d.ts +3443 -0
  258. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/global.d.ts +9 -0
  259. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/index.d.ts +5 -0
  260. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/interface.d.ts +3 -0
  261. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/global.d.ts +9 -0
  262. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/index.d.ts +5 -0
  263. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/interface.d.ts +3 -0
  264. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/global.d.ts +29 -0
  265. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/index.d.ts +14 -0
  266. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +386 -0
  267. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/global.d.ts +157 -0
  268. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/index.d.ts +78 -0
  269. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/interface.d.ts +5245 -0
  270. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +43 -0
  271. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +21 -0
  272. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +291 -0
  273. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/global.d.ts +69 -0
  274. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/index.d.ts +34 -0
  275. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/interface.d.ts +1047 -0
  276. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/global.d.ts +109 -0
  277. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/index.d.ts +54 -0
  278. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/interface.d.ts +4462 -0
  279. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/global.d.ts +71 -0
  280. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/index.d.ts +35 -0
  281. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +2142 -0
  282. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/global.d.ts +9 -0
  283. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/index.d.ts +5 -0
  284. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/interface.d.ts +1 -0
  285. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/global.d.ts +17 -0
  286. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/index.d.ts +9 -0
  287. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/interface.d.ts +48 -0
  288. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +25 -0
  289. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +12 -0
  290. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +256 -0
  291. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/global.d.ts +29 -0
  292. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/index.d.ts +14 -0
  293. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/interface.d.ts +823 -0
  294. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/global.d.ts +27 -0
  295. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/index.d.ts +13 -0
  296. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +155 -0
  297. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/global.d.ts +33 -0
  298. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/index.d.ts +16 -0
  299. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/interface.d.ts +856 -0
  300. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/global.d.ts +9 -0
  301. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/index.d.ts +5 -0
  302. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/interface.d.ts +3 -0
  303. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/global.d.ts +9 -0
  304. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/index.d.ts +5 -0
  305. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/interface.d.ts +1 -0
  306. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/global.d.ts +9 -0
  307. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/index.d.ts +5 -0
  308. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/interface.d.ts +5 -0
  309. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/global.d.ts +19 -0
  310. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/index.d.ts +10 -0
  311. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/interface.d.ts +26 -0
  312. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/global.d.ts +47 -0
  313. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/index.d.ts +23 -0
  314. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/interface.d.ts +520 -0
  315. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +31 -0
  316. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +15 -0
  317. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +568 -0
  318. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/global.d.ts +33 -0
  319. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/index.d.ts +16 -0
  320. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/interface.d.ts +1693 -0
  321. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/global.d.ts +29 -0
  322. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/index.d.ts +14 -0
  323. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/interface.d.ts +191 -0
  324. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/global.d.ts +21 -0
  325. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/index.d.ts +10 -0
  326. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/interface.d.ts +2999 -0
  327. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +21 -0
  328. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +10 -0
  329. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +713 -0
  330. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/global.d.ts +59 -0
  331. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/index.d.ts +29 -0
  332. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/interface.d.ts +2731 -0
  333. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/global.d.ts +11 -0
  334. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/index.d.ts +5 -0
  335. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/interface.d.ts +81 -0
  336. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/global.d.ts +25 -0
  337. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/index.d.ts +12 -0
  338. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/interface.d.ts +429 -0
  339. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/global.d.ts +57 -0
  340. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/index.d.ts +28 -0
  341. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +314 -0
  342. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +41 -0
  343. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +20 -0
  344. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +584 -0
  345. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/global.d.ts +9 -0
  346. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/index.d.ts +5 -0
  347. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +3 -0
  348. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/global.d.ts +27 -0
  349. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/index.d.ts +13 -0
  350. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -0
  351. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +47 -0
  352. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +23 -0
  353. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +446 -0
  354. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/global.d.ts +21 -0
  355. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/index.d.ts +10 -0
  356. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/interface.d.ts +330 -0
  357. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/global.d.ts +79 -0
  358. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/index.d.ts +39 -0
  359. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/interface.d.ts +1030 -0
  360. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/global.d.ts +149 -0
  361. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/index.d.ts +74 -0
  362. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/interface.d.ts +1221 -0
  363. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/global.d.ts +53 -0
  364. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/index.d.ts +26 -0
  365. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/interface.d.ts +1141 -0
  366. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +0 -22
  367. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +0 -11
  368. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +862 -872
  369. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/global.d.ts +4 -14
  370. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/index.d.ts +2 -7
  371. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/interface.d.ts +14 -51
  372. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/global.d.ts +113 -0
  373. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/index.d.ts +56 -0
  374. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/interface.d.ts +1661 -0
  375. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +17 -17
  376. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/global.d.ts +59 -0
  377. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/index.d.ts +29 -0
  378. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/interface.d.ts +1939 -0
  379. package/types/vue/LifeCycle.d.ts +865 -854
@@ -1,2514 +1,2514 @@
1
- /**
2
- * 路由错误码
3
- * - 4: 框架内部异常
4
- */
5
- export type RouteErrorCode = 4
6
-
7
- /**
8
- *
9
- * @tutorial http://uniapp.dcloud.io/api/router.html#event-channel
10
- */
11
- export type EventChannel = {}
12
- export type NavigateToSuccess = AsyncApiSuccessResult
13
- type NavigateToSuccessCallback = (result: NavigateToSuccess) => void
14
- export interface NavigateToFail extends IUniError {
15
- errCode: RouteErrorCode
16
- }
17
- type NavigateToFailCallback = (result: NavigateToFail) => void
18
- export type NavigateToComplete = AsyncApiResult
19
- type NavigateToCompleteCallback = (result: NavigateToComplete) => void
20
- export type NavigateToOptions = {
21
- /**
22
- * 需要跳转的应用内非 tabBar 的页面的路径 , 路径后可以带参数
23
- * @uniPlatform {
24
- * "app": {
25
- * "android": {
26
- * "osVer": "5.0",
27
- * "uniVer": "√",
28
- * "unixVer": "√"
29
- * },
30
- * "ios": {
31
- * "osVer": "12.0",
32
- * "uniVer": "√",
33
- * "unixVer": "4.11"
34
- * },
35
- * "harmony": {
36
- * "osVer": "3.0",
37
- * "uniVer": "4.23",
38
- * "unixVer": "4.61",
39
- * "unixvVer": "5.0"
40
- * }
41
- * },
42
- * "mp": {
43
- * "weixin": {
44
- * "hostVer": "√",
45
- * "uniVer": "√",
46
- * "unixVer": "4.41"
47
- * },
48
- * "alipay": {
49
- * "hostVer": "√",
50
- * "uniVer": "√",
51
- * "unixVer": "x"
52
- * },
53
- * "baidu": {
54
- * "hostVer": "√",
55
- * "uniVer": "√",
56
- * "unixVer": "x"
57
- * },
58
- * "toutiao": {
59
- * "hostVer": "√",
60
- * "uniVer": "√",
61
- * "unixVer": "x"
62
- * },
63
- * "lark": {
64
- * "hostVer": "√",
65
- * "uniVer": "√",
66
- * "unixVer": "x"
67
- * },
68
- * "qq": {
69
- * "hostVer": "√",
70
- * "uniVer": "√",
71
- * "unixVer": "x"
72
- * },
73
- * "kuaishou": {
74
- * "hostVer": "√",
75
- * "uniVer": "√",
76
- * "unixVer": "x"
77
- * },
78
- * "jd": {
79
- * "hostVer": "√",
80
- * "uniVer": "√",
81
- * "unixVer": "x"
82
- * }
83
- * },
84
- * "web": {
85
- * "uniVer": "√",
86
- * "unixVer": "4.0"
87
- * }
88
- * }
89
- */
90
- url: string | string.PageURIString
91
- /**
92
- * 窗口显示的动画类型
93
- *
94
- * @uniPlatform {
95
- * "app": {
96
- * "android": {
97
- * "osVer": "5.0",
98
- * "uniVer": "√",
99
- * "unixVer": "4.18"
100
- * },
101
- * "ios": {
102
- * "osVer": "12.0",
103
- * "uniVer": "√",
104
- * "unixVer": "4.25"
105
- * },
106
- * "harmony": {
107
- * "osVer": "3.0",
108
- * "uniVer": "4.23",
109
- * "unixVer": "4.61",
110
- * "unixvVer": "5.0"
111
- * }
112
- * },
113
- * "mp": {
114
- * "weixin": {
115
- * "hostVer": "√",
116
- * "uniVer": "x",
117
- * "unixVer": "x"
118
- * },
119
- * "alipay": {
120
- * "hostVer": "√",
121
- * "uniVer": "x",
122
- * "unixVer": "x"
123
- * },
124
- * "baidu": {
125
- * "hostVer": "√",
126
- * "uniVer": "x",
127
- * "unixVer": "x"
128
- * },
129
- * "toutiao": {
130
- * "hostVer": "√",
131
- * "uniVer": "x",
132
- * "unixVer": "x"
133
- * },
134
- * "lark": {
135
- * "hostVer": "√",
136
- * "uniVer": "x",
137
- * "unixVer": "x"
138
- * },
139
- * "qq": {
140
- * "hostVer": "√",
141
- * "uniVer": "x",
142
- * "unixVer": "x"
143
- * },
144
- * "kuaishou": {
145
- * "hostVer": "√",
146
- * "uniVer": "x",
147
- * "unixVer": "x"
148
- * },
149
- * "jd": {
150
- * "hostVer": "√",
151
- * "uniVer": "x",
152
- * "unixVer": "x"
153
- * }
154
- * },
155
- * "web": {
156
- * "uniVer": "x",
157
- * "unixVer": "x"
158
- * }
159
- * }
160
- */
161
- animationType?:
162
- /**
163
- * 自动选择动画效果
164
- *
165
- * @uniPlatform {
166
- * "app": {
167
- * "android": {
168
- * "osVer": "5.0",
169
- * "uniVer": "√",
170
- * "unixVer": "4.18"
171
- * },
172
- * "ios": {
173
- * "osVer": "12.0",
174
- * "uniVer": "√",
175
- * "unixVer": "4.25"
176
- * },
177
- * "harmony": {
178
- * "osVer": "3.0",
179
- * "uniVer": "4.61",
180
- * "unixVer": "5.0"
181
- * }
182
- * },
183
- * "web": {
184
- * "uniVer": "x",
185
- * "unixVer": "x"
186
- * }
187
- * }
188
- */
189
- 'auto' |
190
- /**
191
- * 无动画效果
192
- *
193
- * @uniPlatform {
194
- * "app": {
195
- * "android": {
196
- * "osVer": "5.0",
197
- * "uniVer": "√",
198
- * "unixVer": "4.18"
199
- * },
200
- * "ios": {
201
- * "osVer": "12.0",
202
- * "uniVer": "√",
203
- * "unixVer": "4.25"
204
- * },
205
- * "harmony": {
206
- * "osVer": "3.0",
207
- * "uniVer": "4.23",
208
- * "unixVer": "4.61",
209
- * "unixvVer": "5.0"
210
- * }
211
- * },
212
- * "web": {
213
- * "uniVer": "x",
214
- * "unixVer": "x"
215
- * }
216
- * }
217
- */
218
- 'none' |
219
- /**
220
- * 从右侧横向滑动效果
221
- *
222
- * @uniPlatform {
223
- * "app": {
224
- * "android": {
225
- * "osVer": "5.0",
226
- * "uniVer": "√",
227
- * "unixVer": "4.18"
228
- * },
229
- * "ios": {
230
- * "osVer": "12.0",
231
- * "uniVer": "√",
232
- * "unixVer": "4.25"
233
- * },
234
- * "harmony": {
235
- * "osVer": "3.0",
236
- * "uniVer": "x",
237
- * "unixVer": "5.0"
238
- * }
239
- * },
240
- * "web": {
241
- * "uniVer": "x",
242
- * "unixVer": "x"
243
- * }
244
- * }
245
- */
246
- 'slide-in-right' |
247
- /**
248
- * 从左侧横向滑动效果
249
- *
250
- * @uniPlatform {
251
- * "app": {
252
- * "android": {
253
- * "osVer": "5.0",
254
- * "uniVer": "√",
255
- * "unixVer": "4.18"
256
- * },
257
- * "ios": {
258
- * "osVer": "12.0",
259
- * "uniVer": "√",
260
- * "unixVer": "4.25"
261
- * },
262
- * "harmony": {
263
- * "osVer": "3.0",
264
- * "uniVer": "x",
265
- * "unixVer": "5.0"
266
- * }
267
- * },
268
- * "web": {
269
- * "uniVer": "x",
270
- * "unixVer": "x"
271
- * }
272
- * }
273
- */
274
- 'slide-in-left' |
275
- /**
276
- * 从上侧竖向滑动效果
277
- *
278
- * @uniPlatform {
279
- * "app": {
280
- * "android": {
281
- * "osVer": "5.0",
282
- * "uniVer": "√",
283
- * "unixVer": "4.18"
284
- * },
285
- * "ios": {
286
- * "osVer": "12.0",
287
- * "uniVer": "√",
288
- * "unixVer": "4.25"
289
- * },
290
- * "harmony": {
291
- * "osVer": "3.0",
292
- * "uniVer": "x",
293
- * "unixVer": "5.0"
294
- * }
295
- * },
296
- * "web": {
297
- * "uniVer": "x",
298
- * "unixVer": "x"
299
- * }
300
- * }
301
- */
302
- 'slide-in-top' |
303
- /**
304
- * 从下侧竖向滑动效果
305
- *
306
- * @uniPlatform {
307
- * "app": {
308
- * "android": {
309
- * "osVer": "5.0",
310
- * "uniVer": "√",
311
- * "unixVer": "4.18"
312
- * },
313
- * "ios": {
314
- * "osVer": "12.0",
315
- * "uniVer": "√",
316
- * "unixVer": "4.25"
317
- * },
318
- * "harmony": {
319
- * "osVer": "3.0",
320
- * "uniVer": "x",
321
- * "unixVer": "5.0"
322
- * }
323
- * },
324
- * "web": {
325
- * "uniVer": "x",
326
- * "unixVer": "x"
327
- * }
328
- * }
329
- */
330
- 'slide-in-bottom' |
331
- /**
332
- * 从完全透明到不透明逐渐显示
333
- *
334
- * @uniPlatform {
335
- * "app": {
336
- * "android": {
337
- * "osVer": "5.0",
338
- * "uniVer": "√",
339
- * "unixVer": "4.18"
340
- * },
341
- * "ios": {
342
- * "osVer": "12.0",
343
- * "uniVer": "√",
344
- * "unixVer": "4.25"
345
- * },
346
- * "harmony": {
347
- * "osVer": "3.0",
348
- * "uniVer": "x",
349
- * "unixVer": "5.0"
350
- * }
351
- * },
352
- * "web": {
353
- * "uniVer": "x",
354
- * "unixVer": "x"
355
- * }
356
- * }
357
- */
358
- 'fade-in' |
359
- /**
360
- * 在屏幕中间从小到大逐渐放大显示
361
- *
362
- * @uniPlatform {
363
- * "app": {
364
- * "android": {
365
- * "osVer": "5.0",
366
- * "uniVer": "√",
367
- * "unixVer": "4.18"
368
- * },
369
- * "ios": {
370
- * "osVer": "12.0",
371
- * "uniVer": "√",
372
- * "unixVer": "4.25"
373
- * },
374
- * "harmony": {
375
- * "osVer": "3.0",
376
- * "uniVer": "x",
377
- * "unixVer": "5.0"
378
- * }
379
- * },
380
- * "web": {
381
- * "uniVer": "x",
382
- * "unixVer": "x"
383
- * }
384
- * }
385
- */
386
- 'zoom-out' |
387
- /**
388
- * 从大逐渐缩小并且从不透明到透明逐渐隐藏关闭动画
389
- *
390
- * @uniPlatform {
391
- * "app": {
392
- * "android": {
393
- * "osVer": "5.0",
394
- * "uniVer": "√",
395
- * "unixVer": "4.18"
396
- * },
397
- * "ios": {
398
- * "osVer": "12.0",
399
- * "uniVer": "√",
400
- * "unixVer": "4.25"
401
- * },
402
- * "harmony": {
403
- * "osVer": "3.0",
404
- * "uniVer": "x",
405
- * "unixVer": "5.0"
406
- * }
407
- * },
408
- * "web": {
409
- * "uniVer": "x",
410
- * "unixVer": "x"
411
- * }
412
- * }
413
- */
414
- 'zoom-fade-out' |
415
- /**
416
- * 从右侧平移出栈动画效果
417
- *
418
- * @uniPlatform {
419
- * "app": {
420
- * "android": {
421
- * "osVer": "5.0",
422
- * "uniVer": "√",
423
- * "unixVer": "4.18"
424
- * },
425
- * "ios": {
426
- * "osVer": "12.0",
427
- * "uniVer": "√",
428
- * "unixVer": "4.25"
429
- * },
430
- * "harmony": {
431
- * "osVer": "5.0.0",
432
- * "uniVer": "x",
433
- * "unixVer": "4.61",
434
- * "unixvVer": "5.0"
435
- * }
436
- * },
437
- * "web": {
438
- * "uniVer": "x",
439
- * "unixVer": "x"
440
- * }
441
- * }
442
- */
443
- 'pop-in' | null
444
- /**
445
- * 窗口显示动画的持续时间,单位为 ms
446
- * @uniPlatform {
447
- * "app": {
448
- * "android": {
449
- * "osVer": "5.0",
450
- * "uniVer": "√",
451
- * "unixVer": "x"
452
- * },
453
- * "ios": {
454
- * "osVer": "12.0",
455
- * "uniVer": "√",
456
- * "unixVer": "x"
457
- * },
458
- * "harmony": {
459
- * "osVer": "3.0",
460
- * "uniVer": "4.23",
461
- * "unixVer": "x",
462
- * "unixvVer": "5.0"
463
- * }
464
- * },
465
- * "mp": {
466
- * "weixin": {
467
- * "hostVer": "√",
468
- * "uniVer": "x",
469
- * "unixVer": "x"
470
- * },
471
- * "alipay": {
472
- * "hostVer": "√",
473
- * "uniVer": "x",
474
- * "unixVer": "x"
475
- * },
476
- * "baidu": {
477
- * "hostVer": "√",
478
- * "uniVer": "x",
479
- * "unixVer": "x"
480
- * },
481
- * "toutiao": {
482
- * "hostVer": "√",
483
- * "uniVer": "x",
484
- * "unixVer": "x"
485
- * },
486
- * "lark": {
487
- * "hostVer": "√",
488
- * "uniVer": "x",
489
- * "unixVer": "x"
490
- * },
491
- * "qq": {
492
- * "hostVer": "√",
493
- * "uniVer": "x",
494
- * "unixVer": "x"
495
- * },
496
- * "kuaishou": {
497
- * "hostVer": "√",
498
- * "uniVer": "x",
499
- * "unixVer": "x"
500
- * },
501
- * "jd": {
502
- * "hostVer": "√",
503
- * "uniVer": "x",
504
- * "unixVer": "x"
505
- * }
506
- * },
507
- * "web": {
508
- * "uniVer": "x",
509
- * "unixVer": "x"
510
- * }
511
- * }
512
- */
513
- animationDuration?: number | null
514
- /**
515
- * 页面间通信接口,用于监听被打开页面发送到当前页面的数据
516
- * @uniPlatform {
517
- * "app": {
518
- * "android": {
519
- * "osVer": "5.0",
520
- * "uniVer": "√",
521
- * "unixVer": "x"
522
- * },
523
- * "ios": {
524
- * "osVer": "12.0",
525
- * "uniVer": "√",
526
- * "unixVer": "x"
527
- * },
528
- * "harmony": {
529
- * "osVer": "3.0",
530
- * "uniVer": "4.23",
531
- * "unixVer": "4.61",
532
- * "unixvVer": "5.0"
533
- * }
534
- * },
535
- * "mp": {
536
- * "weixin": {
537
- * "hostVer": "√",
538
- * "uniVer": "√",
539
- * "unixVer": "4.41"
540
- * },
541
- * "alipay": {
542
- * "hostVer": "√",
543
- * "uniVer": "√",
544
- * "unixVer": "x"
545
- * },
546
- * "baidu": {
547
- * "hostVer": "√",
548
- * "uniVer": "√",
549
- * "unixVer": "x"
550
- * },
551
- * "toutiao": {
552
- * "hostVer": "√",
553
- * "uniVer": "√",
554
- * "unixVer": "x"
555
- * },
556
- * "lark": {
557
- * "hostVer": "√",
558
- * "uniVer": "√",
559
- * "unixVer": "x"
560
- * },
561
- * "qq": {
562
- * "hostVer": "√",
563
- * "uniVer": "√",
564
- * "unixVer": "x"
565
- * },
566
- * "kuaishou": {
567
- * "hostVer": "√",
568
- * "uniVer": "√",
569
- * "unixVer": "x"
570
- * },
571
- * "jd": {
572
- * "hostVer": "√",
573
- * "uniVer": "√",
574
- * "unixVer": "x"
575
- * }
576
- * },
577
- * "web": {
578
- * "uniVer": "√",
579
- * "unixVer": "4.0"
580
- * }
581
- * }
582
- */
583
- events?: any | null
584
- /**
585
- * 接口调用成功的回调函数
586
- * @uniPlatform {
587
- * "app": {
588
- * "android": {
589
- * "osVer": "5.0",
590
- * "uniVer": "√",
591
- * "unixVer": "√"
592
- * },
593
- * "ios": {
594
- * "osVer": "12.0",
595
- * "uniVer": "√",
596
- * "unixVer": "4.11"
597
- * },
598
- * "harmony": {
599
- * "osVer": "3.0",
600
- * "uniVer": "4.23",
601
- * "unixVer": "4.61",
602
- * "unixvVer": "5.0"
603
- * }
604
- * },
605
- * "mp": {
606
- * "weixin": {
607
- * "hostVer": "√",
608
- * "uniVer": "√",
609
- * "unixVer": "4.41"
610
- * },
611
- * "alipay": {
612
- * "hostVer": "√",
613
- * "uniVer": "√",
614
- * "unixVer": "x"
615
- * },
616
- * "baidu": {
617
- * "hostVer": "√",
618
- * "uniVer": "√",
619
- * "unixVer": "x"
620
- * },
621
- * "toutiao": {
622
- * "hostVer": "√",
623
- * "uniVer": "√",
624
- * "unixVer": "x"
625
- * },
626
- * "lark": {
627
- * "hostVer": "√",
628
- * "uniVer": "√",
629
- * "unixVer": "x"
630
- * },
631
- * "qq": {
632
- * "hostVer": "√",
633
- * "uniVer": "√",
634
- * "unixVer": "x"
635
- * },
636
- * "kuaishou": {
637
- * "hostVer": "√",
638
- * "uniVer": "√",
639
- * "unixVer": "x"
640
- * },
641
- * "jd": {
642
- * "hostVer": "√",
643
- * "uniVer": "√",
644
- * "unixVer": "x"
645
- * }
646
- * },
647
- * "web": {
648
- * "uniVer": "√",
649
- * "unixVer": "4.0"
650
- * }
651
- * }
652
- */
653
- success?: NavigateToSuccessCallback | null
654
- /**
655
- * 接口调用失败的回调函数
656
- * @uniPlatform {
657
- * "app": {
658
- * "android": {
659
- * "osVer": "5.0",
660
- * "uniVer": "√",
661
- * "unixVer": "√"
662
- * },
663
- * "ios": {
664
- * "osVer": "12.0",
665
- * "uniVer": "√",
666
- * "unixVer": "4.11"
667
- * },
668
- * "harmony": {
669
- * "osVer": "3.0",
670
- * "uniVer": "4.23",
671
- * "unixVer": "4.61",
672
- * "unixvVer": "5.0"
673
- * }
674
- * },
675
- * "mp": {
676
- * "weixin": {
677
- * "hostVer": "√",
678
- * "uniVer": "√",
679
- * "unixVer": "4.41"
680
- * },
681
- * "alipay": {
682
- * "hostVer": "√",
683
- * "uniVer": "√",
684
- * "unixVer": "x"
685
- * },
686
- * "baidu": {
687
- * "hostVer": "√",
688
- * "uniVer": "√",
689
- * "unixVer": "x"
690
- * },
691
- * "toutiao": {
692
- * "hostVer": "√",
693
- * "uniVer": "√",
694
- * "unixVer": "x"
695
- * },
696
- * "lark": {
697
- * "hostVer": "√",
698
- * "uniVer": "√",
699
- * "unixVer": "x"
700
- * },
701
- * "qq": {
702
- * "hostVer": "√",
703
- * "uniVer": "√",
704
- * "unixVer": "x"
705
- * },
706
- * "kuaishou": {
707
- * "hostVer": "√",
708
- * "uniVer": "√",
709
- * "unixVer": "x"
710
- * },
711
- * "jd": {
712
- * "hostVer": "√",
713
- * "uniVer": "√",
714
- * "unixVer": "x"
715
- * }
716
- * },
717
- * "web": {
718
- * "uniVer": "√",
719
- * "unixVer": "4.0"
720
- * }
721
- * }
722
- */
723
- fail?: NavigateToFailCallback | null
724
- /**
725
- * 接口调用结束的回调函数(调用成功、失败都会执行)
726
- * @uniPlatform {
727
- * "app": {
728
- * "android": {
729
- * "osVer": "5.0",
730
- * "uniVer": "√",
731
- * "unixVer": "√"
732
- * },
733
- * "ios": {
734
- * "osVer": "12.0",
735
- * "uniVer": "√",
736
- * "unixVer": "4.11"
737
- * },
738
- * "harmony": {
739
- * "osVer": "3.0",
740
- * "uniVer": "4.23",
741
- * "unixVer": "4.61",
742
- * "unixvVer": "5.0"
743
- * }
744
- * },
745
- * "mp": {
746
- * "weixin": {
747
- * "hostVer": "√",
748
- * "uniVer": "√",
749
- * "unixVer": "4.41"
750
- * },
751
- * "alipay": {
752
- * "hostVer": "√",
753
- * "uniVer": "√",
754
- * "unixVer": "x"
755
- * },
756
- * "baidu": {
757
- * "hostVer": "√",
758
- * "uniVer": "√",
759
- * "unixVer": "x"
760
- * },
761
- * "toutiao": {
762
- * "hostVer": "√",
763
- * "uniVer": "√",
764
- * "unixVer": "x"
765
- * },
766
- * "lark": {
767
- * "hostVer": "√",
768
- * "uniVer": "√",
769
- * "unixVer": "x"
770
- * },
771
- * "qq": {
772
- * "hostVer": "√",
773
- * "uniVer": "√",
774
- * "unixVer": "x"
775
- * },
776
- * "kuaishou": {
777
- * "hostVer": "√",
778
- * "uniVer": "√",
779
- * "unixVer": "x"
780
- * },
781
- * "jd": {
782
- * "hostVer": "√",
783
- * "uniVer": "√",
784
- * "unixVer": "x"
785
- * }
786
- * },
787
- * "web": {
788
- * "uniVer": "√",
789
- * "unixVer": "4.0"
790
- * }
791
- * }
792
- */
1
+ /**
2
+ * 路由错误码
3
+ * - 4: 框架内部异常
4
+ */
5
+ export type RouteErrorCode = 4
6
+
7
+ /**
8
+ *
9
+ * @tutorial http://uniapp.dcloud.io/api/router.html#event-channel
10
+ */
11
+ export type EventChannel = {}
12
+ export type NavigateToSuccess = AsyncApiSuccessResult
13
+ type NavigateToSuccessCallback = (result: NavigateToSuccess) => void
14
+ export interface NavigateToFail extends IUniError {
15
+ errCode: RouteErrorCode
16
+ }
17
+ type NavigateToFailCallback = (result: NavigateToFail) => void
18
+ export type NavigateToComplete = AsyncApiResult
19
+ type NavigateToCompleteCallback = (result: NavigateToComplete) => void
20
+ export type NavigateToOptions = {
21
+ /**
22
+ * 需要跳转的应用内非 tabBar 的页面的路径 , 路径后可以带参数
23
+ * @uniPlatform {
24
+ * "app": {
25
+ * "android": {
26
+ * "osVer": "5.0",
27
+ * "uniVer": "√",
28
+ * "unixVer": "√"
29
+ * },
30
+ * "ios": {
31
+ * "osVer": "12.0",
32
+ * "uniVer": "√",
33
+ * "unixVer": "4.11"
34
+ * },
35
+ * "harmony": {
36
+ * "osVer": "3.0",
37
+ * "uniVer": "4.23",
38
+ * "unixVer": "4.61",
39
+ * "unixVaporVer": "5.0"
40
+ * }
41
+ * },
42
+ * "mp": {
43
+ * "weixin": {
44
+ * "hostVer": "√",
45
+ * "uniVer": "√",
46
+ * "unixVer": "4.41"
47
+ * },
48
+ * "alipay": {
49
+ * "hostVer": "√",
50
+ * "uniVer": "√",
51
+ * "unixVer": "x"
52
+ * },
53
+ * "baidu": {
54
+ * "hostVer": "√",
55
+ * "uniVer": "√",
56
+ * "unixVer": "x"
57
+ * },
58
+ * "toutiao": {
59
+ * "hostVer": "√",
60
+ * "uniVer": "√",
61
+ * "unixVer": "x"
62
+ * },
63
+ * "lark": {
64
+ * "hostVer": "√",
65
+ * "uniVer": "√",
66
+ * "unixVer": "x"
67
+ * },
68
+ * "qq": {
69
+ * "hostVer": "√",
70
+ * "uniVer": "√",
71
+ * "unixVer": "x"
72
+ * },
73
+ * "kuaishou": {
74
+ * "hostVer": "√",
75
+ * "uniVer": "√",
76
+ * "unixVer": "x"
77
+ * },
78
+ * "jd": {
79
+ * "hostVer": "√",
80
+ * "uniVer": "√",
81
+ * "unixVer": "x"
82
+ * }
83
+ * },
84
+ * "web": {
85
+ * "uniVer": "√",
86
+ * "unixVer": "4.0"
87
+ * }
88
+ * }
89
+ */
90
+ url: string | string.PageURIString
91
+ /**
92
+ * 窗口显示的动画类型
93
+ *
94
+ * @uniPlatform {
95
+ * "app": {
96
+ * "android": {
97
+ * "osVer": "5.0",
98
+ * "uniVer": "√",
99
+ * "unixVer": "4.18"
100
+ * },
101
+ * "ios": {
102
+ * "osVer": "12.0",
103
+ * "uniVer": "√",
104
+ * "unixVer": "4.25"
105
+ * },
106
+ * "harmony": {
107
+ * "osVer": "3.0",
108
+ * "uniVer": "4.23",
109
+ * "unixVer": "4.61",
110
+ * "unixVaporVer": "5.0"
111
+ * }
112
+ * },
113
+ * "mp": {
114
+ * "weixin": {
115
+ * "hostVer": "√",
116
+ * "uniVer": "x",
117
+ * "unixVer": "x"
118
+ * },
119
+ * "alipay": {
120
+ * "hostVer": "√",
121
+ * "uniVer": "x",
122
+ * "unixVer": "x"
123
+ * },
124
+ * "baidu": {
125
+ * "hostVer": "√",
126
+ * "uniVer": "x",
127
+ * "unixVer": "x"
128
+ * },
129
+ * "toutiao": {
130
+ * "hostVer": "√",
131
+ * "uniVer": "x",
132
+ * "unixVer": "x"
133
+ * },
134
+ * "lark": {
135
+ * "hostVer": "√",
136
+ * "uniVer": "x",
137
+ * "unixVer": "x"
138
+ * },
139
+ * "qq": {
140
+ * "hostVer": "√",
141
+ * "uniVer": "x",
142
+ * "unixVer": "x"
143
+ * },
144
+ * "kuaishou": {
145
+ * "hostVer": "√",
146
+ * "uniVer": "x",
147
+ * "unixVer": "x"
148
+ * },
149
+ * "jd": {
150
+ * "hostVer": "√",
151
+ * "uniVer": "x",
152
+ * "unixVer": "x"
153
+ * }
154
+ * },
155
+ * "web": {
156
+ * "uniVer": "x",
157
+ * "unixVer": "x"
158
+ * }
159
+ * }
160
+ */
161
+ animationType?:
162
+ /**
163
+ * 自动选择动画效果
164
+ *
165
+ * @uniPlatform {
166
+ * "app": {
167
+ * "android": {
168
+ * "osVer": "5.0",
169
+ * "uniVer": "√",
170
+ * "unixVer": "4.18"
171
+ * },
172
+ * "ios": {
173
+ * "osVer": "12.0",
174
+ * "uniVer": "√",
175
+ * "unixVer": "4.25"
176
+ * },
177
+ * "harmony": {
178
+ * "osVer": "3.0",
179
+ * "uniVer": "4.61",
180
+ * "unixVer": "5.0"
181
+ * }
182
+ * },
183
+ * "web": {
184
+ * "uniVer": "x",
185
+ * "unixVer": "x"
186
+ * }
187
+ * }
188
+ */
189
+ 'auto' |
190
+ /**
191
+ * 无动画效果
192
+ *
193
+ * @uniPlatform {
194
+ * "app": {
195
+ * "android": {
196
+ * "osVer": "5.0",
197
+ * "uniVer": "√",
198
+ * "unixVer": "4.18"
199
+ * },
200
+ * "ios": {
201
+ * "osVer": "12.0",
202
+ * "uniVer": "√",
203
+ * "unixVer": "4.25"
204
+ * },
205
+ * "harmony": {
206
+ * "osVer": "3.0",
207
+ * "uniVer": "4.23",
208
+ * "unixVer": "4.61",
209
+ * "unixVaporVer": "5.0"
210
+ * }
211
+ * },
212
+ * "web": {
213
+ * "uniVer": "x",
214
+ * "unixVer": "x"
215
+ * }
216
+ * }
217
+ */
218
+ 'none' |
219
+ /**
220
+ * 从右侧横向滑动效果
221
+ *
222
+ * @uniPlatform {
223
+ * "app": {
224
+ * "android": {
225
+ * "osVer": "5.0",
226
+ * "uniVer": "√",
227
+ * "unixVer": "4.18"
228
+ * },
229
+ * "ios": {
230
+ * "osVer": "12.0",
231
+ * "uniVer": "√",
232
+ * "unixVer": "4.25"
233
+ * },
234
+ * "harmony": {
235
+ * "osVer": "3.0",
236
+ * "uniVer": "x",
237
+ * "unixVer": "5.0"
238
+ * }
239
+ * },
240
+ * "web": {
241
+ * "uniVer": "x",
242
+ * "unixVer": "x"
243
+ * }
244
+ * }
245
+ */
246
+ 'slide-in-right' |
247
+ /**
248
+ * 从左侧横向滑动效果
249
+ *
250
+ * @uniPlatform {
251
+ * "app": {
252
+ * "android": {
253
+ * "osVer": "5.0",
254
+ * "uniVer": "√",
255
+ * "unixVer": "4.18"
256
+ * },
257
+ * "ios": {
258
+ * "osVer": "12.0",
259
+ * "uniVer": "√",
260
+ * "unixVer": "4.25"
261
+ * },
262
+ * "harmony": {
263
+ * "osVer": "3.0",
264
+ * "uniVer": "x",
265
+ * "unixVer": "5.0"
266
+ * }
267
+ * },
268
+ * "web": {
269
+ * "uniVer": "x",
270
+ * "unixVer": "x"
271
+ * }
272
+ * }
273
+ */
274
+ 'slide-in-left' |
275
+ /**
276
+ * 从上侧竖向滑动效果
277
+ *
278
+ * @uniPlatform {
279
+ * "app": {
280
+ * "android": {
281
+ * "osVer": "5.0",
282
+ * "uniVer": "√",
283
+ * "unixVer": "4.18"
284
+ * },
285
+ * "ios": {
286
+ * "osVer": "12.0",
287
+ * "uniVer": "√",
288
+ * "unixVer": "4.25"
289
+ * },
290
+ * "harmony": {
291
+ * "osVer": "3.0",
292
+ * "uniVer": "x",
293
+ * "unixVer": "5.0"
294
+ * }
295
+ * },
296
+ * "web": {
297
+ * "uniVer": "x",
298
+ * "unixVer": "x"
299
+ * }
300
+ * }
301
+ */
302
+ 'slide-in-top' |
303
+ /**
304
+ * 从下侧竖向滑动效果
305
+ *
306
+ * @uniPlatform {
307
+ * "app": {
308
+ * "android": {
309
+ * "osVer": "5.0",
310
+ * "uniVer": "√",
311
+ * "unixVer": "4.18"
312
+ * },
313
+ * "ios": {
314
+ * "osVer": "12.0",
315
+ * "uniVer": "√",
316
+ * "unixVer": "4.25"
317
+ * },
318
+ * "harmony": {
319
+ * "osVer": "3.0",
320
+ * "uniVer": "x",
321
+ * "unixVer": "5.0"
322
+ * }
323
+ * },
324
+ * "web": {
325
+ * "uniVer": "x",
326
+ * "unixVer": "x"
327
+ * }
328
+ * }
329
+ */
330
+ 'slide-in-bottom' |
331
+ /**
332
+ * 从完全透明到不透明逐渐显示
333
+ *
334
+ * @uniPlatform {
335
+ * "app": {
336
+ * "android": {
337
+ * "osVer": "5.0",
338
+ * "uniVer": "√",
339
+ * "unixVer": "4.18"
340
+ * },
341
+ * "ios": {
342
+ * "osVer": "12.0",
343
+ * "uniVer": "√",
344
+ * "unixVer": "4.25"
345
+ * },
346
+ * "harmony": {
347
+ * "osVer": "3.0",
348
+ * "uniVer": "x",
349
+ * "unixVer": "5.0"
350
+ * }
351
+ * },
352
+ * "web": {
353
+ * "uniVer": "x",
354
+ * "unixVer": "x"
355
+ * }
356
+ * }
357
+ */
358
+ 'fade-in' |
359
+ /**
360
+ * 在屏幕中间从小到大逐渐放大显示
361
+ *
362
+ * @uniPlatform {
363
+ * "app": {
364
+ * "android": {
365
+ * "osVer": "5.0",
366
+ * "uniVer": "√",
367
+ * "unixVer": "4.18"
368
+ * },
369
+ * "ios": {
370
+ * "osVer": "12.0",
371
+ * "uniVer": "√",
372
+ * "unixVer": "4.25"
373
+ * },
374
+ * "harmony": {
375
+ * "osVer": "3.0",
376
+ * "uniVer": "x",
377
+ * "unixVer": "5.0"
378
+ * }
379
+ * },
380
+ * "web": {
381
+ * "uniVer": "x",
382
+ * "unixVer": "x"
383
+ * }
384
+ * }
385
+ */
386
+ 'zoom-out' |
387
+ /**
388
+ * 从大逐渐缩小并且从不透明到透明逐渐隐藏关闭动画
389
+ *
390
+ * @uniPlatform {
391
+ * "app": {
392
+ * "android": {
393
+ * "osVer": "5.0",
394
+ * "uniVer": "√",
395
+ * "unixVer": "4.18"
396
+ * },
397
+ * "ios": {
398
+ * "osVer": "12.0",
399
+ * "uniVer": "√",
400
+ * "unixVer": "4.25"
401
+ * },
402
+ * "harmony": {
403
+ * "osVer": "3.0",
404
+ * "uniVer": "x",
405
+ * "unixVer": "5.0"
406
+ * }
407
+ * },
408
+ * "web": {
409
+ * "uniVer": "x",
410
+ * "unixVer": "x"
411
+ * }
412
+ * }
413
+ */
414
+ 'zoom-fade-out' |
415
+ /**
416
+ * 从右侧平移出栈动画效果
417
+ *
418
+ * @uniPlatform {
419
+ * "app": {
420
+ * "android": {
421
+ * "osVer": "5.0",
422
+ * "uniVer": "√",
423
+ * "unixVer": "4.18"
424
+ * },
425
+ * "ios": {
426
+ * "osVer": "12.0",
427
+ * "uniVer": "√",
428
+ * "unixVer": "4.25"
429
+ * },
430
+ * "harmony": {
431
+ * "osVer": "5.0.0",
432
+ * "uniVer": "x",
433
+ * "unixVer": "4.61",
434
+ * "unixVaporVer": "5.0"
435
+ * }
436
+ * },
437
+ * "web": {
438
+ * "uniVer": "x",
439
+ * "unixVer": "x"
440
+ * }
441
+ * }
442
+ */
443
+ 'pop-in' | null
444
+ /**
445
+ * 窗口显示动画的持续时间,单位为 ms
446
+ * @uniPlatform {
447
+ * "app": {
448
+ * "android": {
449
+ * "osVer": "5.0",
450
+ * "uniVer": "√",
451
+ * "unixVer": "x"
452
+ * },
453
+ * "ios": {
454
+ * "osVer": "12.0",
455
+ * "uniVer": "√",
456
+ * "unixVer": "x"
457
+ * },
458
+ * "harmony": {
459
+ * "osVer": "3.0",
460
+ * "uniVer": "4.23",
461
+ * "unixVer": "x",
462
+ * "unixVaporVer": "5.0"
463
+ * }
464
+ * },
465
+ * "mp": {
466
+ * "weixin": {
467
+ * "hostVer": "√",
468
+ * "uniVer": "x",
469
+ * "unixVer": "x"
470
+ * },
471
+ * "alipay": {
472
+ * "hostVer": "√",
473
+ * "uniVer": "x",
474
+ * "unixVer": "x"
475
+ * },
476
+ * "baidu": {
477
+ * "hostVer": "√",
478
+ * "uniVer": "x",
479
+ * "unixVer": "x"
480
+ * },
481
+ * "toutiao": {
482
+ * "hostVer": "√",
483
+ * "uniVer": "x",
484
+ * "unixVer": "x"
485
+ * },
486
+ * "lark": {
487
+ * "hostVer": "√",
488
+ * "uniVer": "x",
489
+ * "unixVer": "x"
490
+ * },
491
+ * "qq": {
492
+ * "hostVer": "√",
493
+ * "uniVer": "x",
494
+ * "unixVer": "x"
495
+ * },
496
+ * "kuaishou": {
497
+ * "hostVer": "√",
498
+ * "uniVer": "x",
499
+ * "unixVer": "x"
500
+ * },
501
+ * "jd": {
502
+ * "hostVer": "√",
503
+ * "uniVer": "x",
504
+ * "unixVer": "x"
505
+ * }
506
+ * },
507
+ * "web": {
508
+ * "uniVer": "x",
509
+ * "unixVer": "x"
510
+ * }
511
+ * }
512
+ */
513
+ animationDuration?: number | null
514
+ /**
515
+ * 页面间通信接口,用于监听被打开页面发送到当前页面的数据
516
+ * @uniPlatform {
517
+ * "app": {
518
+ * "android": {
519
+ * "osVer": "5.0",
520
+ * "uniVer": "√",
521
+ * "unixVer": "x"
522
+ * },
523
+ * "ios": {
524
+ * "osVer": "12.0",
525
+ * "uniVer": "√",
526
+ * "unixVer": "x"
527
+ * },
528
+ * "harmony": {
529
+ * "osVer": "3.0",
530
+ * "uniVer": "4.23",
531
+ * "unixVer": "4.61",
532
+ * "unixVaporVer": "5.0"
533
+ * }
534
+ * },
535
+ * "mp": {
536
+ * "weixin": {
537
+ * "hostVer": "√",
538
+ * "uniVer": "√",
539
+ * "unixVer": "4.41"
540
+ * },
541
+ * "alipay": {
542
+ * "hostVer": "√",
543
+ * "uniVer": "√",
544
+ * "unixVer": "x"
545
+ * },
546
+ * "baidu": {
547
+ * "hostVer": "√",
548
+ * "uniVer": "√",
549
+ * "unixVer": "x"
550
+ * },
551
+ * "toutiao": {
552
+ * "hostVer": "√",
553
+ * "uniVer": "√",
554
+ * "unixVer": "x"
555
+ * },
556
+ * "lark": {
557
+ * "hostVer": "√",
558
+ * "uniVer": "√",
559
+ * "unixVer": "x"
560
+ * },
561
+ * "qq": {
562
+ * "hostVer": "√",
563
+ * "uniVer": "√",
564
+ * "unixVer": "x"
565
+ * },
566
+ * "kuaishou": {
567
+ * "hostVer": "√",
568
+ * "uniVer": "√",
569
+ * "unixVer": "x"
570
+ * },
571
+ * "jd": {
572
+ * "hostVer": "√",
573
+ * "uniVer": "√",
574
+ * "unixVer": "x"
575
+ * }
576
+ * },
577
+ * "web": {
578
+ * "uniVer": "√",
579
+ * "unixVer": "4.0"
580
+ * }
581
+ * }
582
+ */
583
+ events?: any | null
584
+ /**
585
+ * 接口调用成功的回调函数
586
+ * @uniPlatform {
587
+ * "app": {
588
+ * "android": {
589
+ * "osVer": "5.0",
590
+ * "uniVer": "√",
591
+ * "unixVer": "√"
592
+ * },
593
+ * "ios": {
594
+ * "osVer": "12.0",
595
+ * "uniVer": "√",
596
+ * "unixVer": "4.11"
597
+ * },
598
+ * "harmony": {
599
+ * "osVer": "3.0",
600
+ * "uniVer": "4.23",
601
+ * "unixVer": "4.61",
602
+ * "unixVaporVer": "5.0"
603
+ * }
604
+ * },
605
+ * "mp": {
606
+ * "weixin": {
607
+ * "hostVer": "√",
608
+ * "uniVer": "√",
609
+ * "unixVer": "4.41"
610
+ * },
611
+ * "alipay": {
612
+ * "hostVer": "√",
613
+ * "uniVer": "√",
614
+ * "unixVer": "x"
615
+ * },
616
+ * "baidu": {
617
+ * "hostVer": "√",
618
+ * "uniVer": "√",
619
+ * "unixVer": "x"
620
+ * },
621
+ * "toutiao": {
622
+ * "hostVer": "√",
623
+ * "uniVer": "√",
624
+ * "unixVer": "x"
625
+ * },
626
+ * "lark": {
627
+ * "hostVer": "√",
628
+ * "uniVer": "√",
629
+ * "unixVer": "x"
630
+ * },
631
+ * "qq": {
632
+ * "hostVer": "√",
633
+ * "uniVer": "√",
634
+ * "unixVer": "x"
635
+ * },
636
+ * "kuaishou": {
637
+ * "hostVer": "√",
638
+ * "uniVer": "√",
639
+ * "unixVer": "x"
640
+ * },
641
+ * "jd": {
642
+ * "hostVer": "√",
643
+ * "uniVer": "√",
644
+ * "unixVer": "x"
645
+ * }
646
+ * },
647
+ * "web": {
648
+ * "uniVer": "√",
649
+ * "unixVer": "4.0"
650
+ * }
651
+ * }
652
+ */
653
+ success?: NavigateToSuccessCallback | null
654
+ /**
655
+ * 接口调用失败的回调函数
656
+ * @uniPlatform {
657
+ * "app": {
658
+ * "android": {
659
+ * "osVer": "5.0",
660
+ * "uniVer": "√",
661
+ * "unixVer": "√"
662
+ * },
663
+ * "ios": {
664
+ * "osVer": "12.0",
665
+ * "uniVer": "√",
666
+ * "unixVer": "4.11"
667
+ * },
668
+ * "harmony": {
669
+ * "osVer": "3.0",
670
+ * "uniVer": "4.23",
671
+ * "unixVer": "4.61",
672
+ * "unixVaporVer": "5.0"
673
+ * }
674
+ * },
675
+ * "mp": {
676
+ * "weixin": {
677
+ * "hostVer": "√",
678
+ * "uniVer": "√",
679
+ * "unixVer": "4.41"
680
+ * },
681
+ * "alipay": {
682
+ * "hostVer": "√",
683
+ * "uniVer": "√",
684
+ * "unixVer": "x"
685
+ * },
686
+ * "baidu": {
687
+ * "hostVer": "√",
688
+ * "uniVer": "√",
689
+ * "unixVer": "x"
690
+ * },
691
+ * "toutiao": {
692
+ * "hostVer": "√",
693
+ * "uniVer": "√",
694
+ * "unixVer": "x"
695
+ * },
696
+ * "lark": {
697
+ * "hostVer": "√",
698
+ * "uniVer": "√",
699
+ * "unixVer": "x"
700
+ * },
701
+ * "qq": {
702
+ * "hostVer": "√",
703
+ * "uniVer": "√",
704
+ * "unixVer": "x"
705
+ * },
706
+ * "kuaishou": {
707
+ * "hostVer": "√",
708
+ * "uniVer": "√",
709
+ * "unixVer": "x"
710
+ * },
711
+ * "jd": {
712
+ * "hostVer": "√",
713
+ * "uniVer": "√",
714
+ * "unixVer": "x"
715
+ * }
716
+ * },
717
+ * "web": {
718
+ * "uniVer": "√",
719
+ * "unixVer": "4.0"
720
+ * }
721
+ * }
722
+ */
723
+ fail?: NavigateToFailCallback | null
724
+ /**
725
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
726
+ * @uniPlatform {
727
+ * "app": {
728
+ * "android": {
729
+ * "osVer": "5.0",
730
+ * "uniVer": "√",
731
+ * "unixVer": "√"
732
+ * },
733
+ * "ios": {
734
+ * "osVer": "12.0",
735
+ * "uniVer": "√",
736
+ * "unixVer": "4.11"
737
+ * },
738
+ * "harmony": {
739
+ * "osVer": "3.0",
740
+ * "uniVer": "4.23",
741
+ * "unixVer": "4.61",
742
+ * "unixVaporVer": "5.0"
743
+ * }
744
+ * },
745
+ * "mp": {
746
+ * "weixin": {
747
+ * "hostVer": "√",
748
+ * "uniVer": "√",
749
+ * "unixVer": "4.41"
750
+ * },
751
+ * "alipay": {
752
+ * "hostVer": "√",
753
+ * "uniVer": "√",
754
+ * "unixVer": "x"
755
+ * },
756
+ * "baidu": {
757
+ * "hostVer": "√",
758
+ * "uniVer": "√",
759
+ * "unixVer": "x"
760
+ * },
761
+ * "toutiao": {
762
+ * "hostVer": "√",
763
+ * "uniVer": "√",
764
+ * "unixVer": "x"
765
+ * },
766
+ * "lark": {
767
+ * "hostVer": "√",
768
+ * "uniVer": "√",
769
+ * "unixVer": "x"
770
+ * },
771
+ * "qq": {
772
+ * "hostVer": "√",
773
+ * "uniVer": "√",
774
+ * "unixVer": "x"
775
+ * },
776
+ * "kuaishou": {
777
+ * "hostVer": "√",
778
+ * "uniVer": "√",
779
+ * "unixVer": "x"
780
+ * },
781
+ * "jd": {
782
+ * "hostVer": "√",
783
+ * "uniVer": "√",
784
+ * "unixVer": "x"
785
+ * }
786
+ * },
787
+ * "web": {
788
+ * "uniVer": "√",
789
+ * "unixVer": "4.0"
790
+ * }
791
+ * }
792
+ */
793
793
  complete?: NavigateToCompleteCallback | null
794
794
  /**
795
795
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/custom-route.html
796
796
  *
797
797
  * @uniPlatform {
798
- * "mp": {
799
- * "weixin": {
800
- * "hostVer": "√",
801
- * "uniVer": "√",
802
- * "unixVer": "4.41"
803
- * },
804
- * "alipay": {
805
- * "hostVer": "-",
806
- * "uniVer": "-",
807
- * "unixVer": "-"
808
- * },
809
- * "baidu": {
810
- * "hostVer": "-",
811
- * "uniVer": "-",
812
- * "unixVer": "-"
813
- * },
814
- * "toutiao": {
815
- * "hostVer": "-",
816
- * "uniVer": "-",
817
- * "unixVer": "-"
818
- * },
819
- * "lark": {
820
- * "hostVer": "-",
821
- * "uniVer": "-",
822
- * "unixVer": "-"
823
- * },
824
- * "qq": {
825
- * "hostVer": "-",
826
- * "uniVer": "-",
827
- * "unixVer": "-"
828
- * },
829
- * "kuaishou": {
830
- * "hostVer": "-",
831
- * "uniVer": "-",
832
- * "unixVer": "-"
833
- * },
834
- * "jd": {
835
- * "hostVer": "-",
836
- * "uniVer": "-",
837
- * "unixVer": "-"
838
- * }
839
- * }
840
- * }
841
- */
842
- routeConfig?: any | null;
843
- /**
844
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/custom-route.html
845
- *
846
- * @uniPlatform {
847
- * "mp": {
848
- * "weixin": {
849
- * "hostVer": "√",
850
- * "uniVer": "√",
851
- * "unixVer": "4.41"
852
- * },
853
- * "alipay": {
854
- * "hostVer": "-",
855
- * "uniVer": "-",
856
- * "unixVer": "-"
857
- * },
858
- * "baidu": {
859
- * "hostVer": "-",
860
- * "uniVer": "-",
861
- * "unixVer": "-"
862
- * },
863
- * "toutiao": {
864
- * "hostVer": "-",
865
- * "uniVer": "-",
866
- * "unixVer": "-"
867
- * },
868
- * "lark": {
869
- * "hostVer": "-",
870
- * "uniVer": "-",
871
- * "unixVer": "-"
872
- * },
873
- * "qq": {
874
- * "hostVer": "-",
875
- * "uniVer": "-",
876
- * "unixVer": "-"
877
- * },
878
- * "kuaishou": {
879
- * "hostVer": "-",
880
- * "uniVer": "-",
881
- * "unixVer": "-"
882
- * },
883
- * "jd": {
884
- * "hostVer": "-",
885
- * "uniVer": "-",
886
- * "unixVer": "-"
887
- * }
888
- * }
889
- * }
890
- */
891
- routeOptions?: any | null;
892
- /**
893
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/custom-route.html
894
- *
895
- * @uniPlatform {
896
- * "mp": {
897
- * "weixin": {
898
- * "hostVer": "√",
899
- * "uniVer": "√",
900
- * "unixVer": "4.41"
901
- * },
902
- * "alipay": {
903
- * "hostVer": "-",
904
- * "uniVer": "-",
905
- * "unixVer": "-"
906
- * },
907
- * "baidu": {
908
- * "hostVer": "-",
909
- * "uniVer": "-",
910
- * "unixVer": "-"
911
- * },
912
- * "toutiao": {
913
- * "hostVer": "-",
914
- * "uniVer": "-",
915
- * "unixVer": "-"
916
- * },
917
- * "lark": {
918
- * "hostVer": "-",
919
- * "uniVer": "-",
920
- * "unixVer": "-"
921
- * },
922
- * "qq": {
923
- * "hostVer": "-",
924
- * "uniVer": "-",
925
- * "unixVer": "-"
926
- * },
927
- * "kuaishou": {
928
- * "hostVer": "-",
929
- * "uniVer": "-",
930
- * "unixVer": "-"
931
- * },
932
- * "jd": {
933
- * "hostVer": "-",
934
- * "uniVer": "-",
935
- * "unixVer": "-"
936
- * }
937
- * }
938
- * }
939
- */
940
- routeType?: string | null;
941
- }
942
- export type RedirectToSuccess = AsyncApiSuccessResult
943
- type RedirectToSuccessCallback = (result: RedirectToSuccess) => void
944
- export interface RedirectToFail extends IUniError {
945
- errCode: RouteErrorCode
946
- }
947
- type RedirectToFailCallback = (result: RedirectToFail) => void
948
- export type RedirectToComplete = AsyncApiResult
949
- type RedirectToCompleteCallback = (result: RedirectToComplete) => void
950
- export type RedirectToOptions = {
951
- /**
952
- * 需要跳转的应用内非 tabBar 的页面的路径 , 路径后可以带参数
953
- * @uniPlatform {
954
- * "app": {
955
- * "android": {
956
- * "osVer": "5.0",
957
- * "uniVer": "√",
958
- * "unixVer": "√"
959
- * },
960
- * "ios": {
961
- * "osVer": "12.0",
962
- * "uniVer": "√",
963
- * "unixVer": "4.11"
964
- * },
965
- * "harmony": {
966
- * "osVer": "3.0",
967
- * "uniVer": "4.23",
968
- * "unixVer": "4.61",
969
- * "unixvVer": "5.0"
970
- * }
971
- * },
972
- * "mp": {
973
- * "weixin": {
974
- * "hostVer": "√",
975
- * "uniVer": "√",
976
- * "unixVer": "4.41"
977
- * },
978
- * "alipay": {
979
- * "hostVer": "√",
980
- * "uniVer": "√",
981
- * "unixVer": "x"
982
- * },
983
- * "baidu": {
984
- * "hostVer": "√",
985
- * "uniVer": "√",
986
- * "unixVer": "x"
987
- * },
988
- * "toutiao": {
989
- * "hostVer": "√",
990
- * "uniVer": "√",
991
- * "unixVer": "x"
992
- * },
993
- * "lark": {
994
- * "hostVer": "√",
995
- * "uniVer": "√",
996
- * "unixVer": "x"
997
- * },
998
- * "qq": {
999
- * "hostVer": "√",
1000
- * "uniVer": "√",
1001
- * "unixVer": "x"
1002
- * },
1003
- * "kuaishou": {
1004
- * "hostVer": "√",
1005
- * "uniVer": "√",
1006
- * "unixVer": "x"
1007
- * },
1008
- * "jd": {
1009
- * "hostVer": "√",
1010
- * "uniVer": "√",
1011
- * "unixVer": "x"
1012
- * }
1013
- * },
1014
- * "web": {
1015
- * "uniVer": "√",
1016
- * "unixVer": "4.0"
1017
- * }
1018
- * }
1019
- */
1020
- url: string | string.PageURIString
1021
- /**
1022
- * 接口调用成功的回调函数
1023
- * @uniPlatform {
1024
- * "app": {
1025
- * "android": {
1026
- * "osVer": "5.0",
1027
- * "uniVer": "√",
1028
- * "unixVer": "√"
1029
- * },
1030
- * "ios": {
1031
- * "osVer": "12.0",
1032
- * "uniVer": "√",
1033
- * "unixVer": "4.11"
1034
- * },
1035
- * "harmony": {
1036
- * "osVer": "3.0",
1037
- * "uniVer": "4.23",
1038
- * "unixVer": "4.61",
1039
- * "unixvVer": "5.0"
1040
- * }
1041
- * },
1042
- * "mp": {
1043
- * "weixin": {
1044
- * "hostVer": "√",
1045
- * "uniVer": "√",
1046
- * "unixVer": "4.41"
1047
- * },
1048
- * "alipay": {
1049
- * "hostVer": "√",
1050
- * "uniVer": "√",
1051
- * "unixVer": "x"
1052
- * },
1053
- * "baidu": {
1054
- * "hostVer": "√",
1055
- * "uniVer": "√",
1056
- * "unixVer": "x"
1057
- * },
1058
- * "toutiao": {
1059
- * "hostVer": "√",
1060
- * "uniVer": "√",
1061
- * "unixVer": "x"
1062
- * },
1063
- * "lark": {
1064
- * "hostVer": "√",
1065
- * "uniVer": "√",
1066
- * "unixVer": "x"
1067
- * },
1068
- * "qq": {
1069
- * "hostVer": "√",
1070
- * "uniVer": "√",
1071
- * "unixVer": "x"
1072
- * },
1073
- * "kuaishou": {
1074
- * "hostVer": "√",
1075
- * "uniVer": "√",
1076
- * "unixVer": "x"
1077
- * },
1078
- * "jd": {
1079
- * "hostVer": "√",
1080
- * "uniVer": "√",
1081
- * "unixVer": "x"
1082
- * }
1083
- * },
1084
- * "web": {
1085
- * "uniVer": "√",
1086
- * "unixVer": "4.0"
1087
- * }
1088
- * }
1089
- */
1090
- success?: RedirectToSuccessCallback | null
1091
- /**
1092
- * 接口调用失败的回调函数
1093
- * @uniPlatform {
1094
- * "app": {
1095
- * "android": {
1096
- * "osVer": "5.0",
1097
- * "uniVer": "√",
1098
- * "unixVer": "√"
1099
- * },
1100
- * "ios": {
1101
- * "osVer": "12.0",
1102
- * "uniVer": "√",
1103
- * "unixVer": "4.11"
1104
- * },
1105
- * "harmony": {
1106
- * "osVer": "3.0",
1107
- * "uniVer": "4.23",
1108
- * "unixVer": "4.61",
1109
- * "unixvVer": "5.0"
1110
- * }
1111
- * },
1112
- * "mp": {
1113
- * "weixin": {
1114
- * "hostVer": "√",
1115
- * "uniVer": "√",
1116
- * "unixVer": "4.41"
1117
- * },
1118
- * "alipay": {
1119
- * "hostVer": "√",
1120
- * "uniVer": "√",
1121
- * "unixVer": "x"
1122
- * },
1123
- * "baidu": {
1124
- * "hostVer": "√",
1125
- * "uniVer": "√",
1126
- * "unixVer": "x"
1127
- * },
1128
- * "toutiao": {
1129
- * "hostVer": "√",
1130
- * "uniVer": "√",
1131
- * "unixVer": "x"
1132
- * },
1133
- * "lark": {
1134
- * "hostVer": "√",
1135
- * "uniVer": "√",
1136
- * "unixVer": "x"
1137
- * },
1138
- * "qq": {
1139
- * "hostVer": "√",
1140
- * "uniVer": "√",
1141
- * "unixVer": "x"
1142
- * },
1143
- * "kuaishou": {
1144
- * "hostVer": "√",
1145
- * "uniVer": "√",
1146
- * "unixVer": "x"
1147
- * },
1148
- * "jd": {
1149
- * "hostVer": "√",
1150
- * "uniVer": "√",
1151
- * "unixVer": "x"
1152
- * }
1153
- * },
1154
- * "web": {
1155
- * "uniVer": "√",
1156
- * "unixVer": "4.0"
1157
- * }
1158
- * }
1159
- */
1160
- fail?: RedirectToFailCallback | null
1161
- /**
1162
- * 接口调用结束的回调函数(调用成功、失败都会执行)
1163
- * @uniPlatform {
1164
- * "app": {
1165
- * "android": {
1166
- * "osVer": "5.0",
1167
- * "uniVer": "√",
1168
- * "unixVer": "√"
1169
- * },
1170
- * "ios": {
1171
- * "osVer": "12.0",
1172
- * "uniVer": "√",
1173
- * "unixVer": "4.11"
1174
- * },
1175
- * "harmony": {
1176
- * "osVer": "3.0",
1177
- * "uniVer": "4.23",
1178
- * "unixVer": "4.61",
1179
- * "unixvVer": "5.0"
1180
- * }
1181
- * },
1182
- * "mp": {
1183
- * "weixin": {
1184
- * "hostVer": "√",
1185
- * "uniVer": "√",
1186
- * "unixVer": "4.41"
1187
- * },
1188
- * "alipay": {
1189
- * "hostVer": "√",
1190
- * "uniVer": "√",
1191
- * "unixVer": "x"
1192
- * },
1193
- * "baidu": {
1194
- * "hostVer": "√",
1195
- * "uniVer": "√",
1196
- * "unixVer": "x"
1197
- * },
1198
- * "toutiao": {
1199
- * "hostVer": "√",
1200
- * "uniVer": "√",
1201
- * "unixVer": "x"
1202
- * },
1203
- * "lark": {
1204
- * "hostVer": "√",
1205
- * "uniVer": "√",
1206
- * "unixVer": "x"
1207
- * },
1208
- * "qq": {
1209
- * "hostVer": "√",
1210
- * "uniVer": "√",
1211
- * "unixVer": "x"
1212
- * },
1213
- * "kuaishou": {
1214
- * "hostVer": "√",
1215
- * "uniVer": "√",
1216
- * "unixVer": "x"
1217
- * },
1218
- * "jd": {
1219
- * "hostVer": "√",
1220
- * "uniVer": "√",
1221
- * "unixVer": "x"
1222
- * }
1223
- * },
1224
- * "web": {
1225
- * "uniVer": "√",
1226
- * "unixVer": "4.0"
1227
- * }
1228
- * }
1229
- */
1230
- complete?: RedirectToCompleteCallback | null
1231
- }
1232
- export type ReLaunchSuccess = AsyncApiSuccessResult
1233
- type ReLaunchSuccessCallback = (result: ReLaunchSuccess) => void
1234
- export interface ReLaunchFail extends IUniError {
1235
- errCode: RouteErrorCode
1236
- }
1237
- type ReLaunchFailCallback = (result: ReLaunchFail) => void
1238
- export type ReLaunchComplete = AsyncApiResult
1239
- type ReLaunchCompleteCallback = (result: ReLaunchComplete) => void
1240
- export type ReLaunchOptions = {
1241
- /**
1242
- * 需要跳转的应用内页面路径 , 路径后可以带参数。参数与路径之间使用?分隔,参数键与参数值用=相连,不同参数用&分隔;如 'path?key=value&key2=value2',如果跳转的页面路径是 tabBar 页面则不能带参数
1243
- * @uniPlatform {
1244
- * "app": {
1245
- * "android": {
1246
- * "osVer": "5.0",
1247
- * "uniVer": "√",
1248
- * "unixVer": "√"
1249
- * },
1250
- * "ios": {
1251
- * "osVer": "12.0",
1252
- * "uniVer": "√",
1253
- * "unixVer": "4.11"
1254
- * },
1255
- * "harmony": {
1256
- * "osVer": "3.0",
1257
- * "uniVer": "4.23",
1258
- * "unixVer": "4.61",
1259
- * "unixvVer": "5.0"
1260
- * }
1261
- * },
1262
- * "mp": {
1263
- * "weixin": {
1264
- * "hostVer": "√",
1265
- * "uniVer": "√",
1266
- * "unixVer": "4.41"
1267
- * },
1268
- * "alipay": {
1269
- * "hostVer": "√",
1270
- * "uniVer": "√",
1271
- * "unixVer": "x"
1272
- * },
1273
- * "baidu": {
1274
- * "hostVer": "√",
1275
- * "uniVer": "√",
1276
- * "unixVer": "x"
1277
- * },
1278
- * "toutiao": {
1279
- * "hostVer": "√",
1280
- * "uniVer": "√",
1281
- * "unixVer": "x"
1282
- * },
1283
- * "lark": {
1284
- * "hostVer": "√",
1285
- * "uniVer": "√",
1286
- * "unixVer": "x"
1287
- * },
1288
- * "qq": {
1289
- * "hostVer": "√",
1290
- * "uniVer": "√",
1291
- * "unixVer": "x"
1292
- * },
1293
- * "kuaishou": {
1294
- * "hostVer": "√",
1295
- * "uniVer": "√",
1296
- * "unixVer": "x"
1297
- * },
1298
- * "jd": {
1299
- * "hostVer": "√",
1300
- * "uniVer": "√",
1301
- * "unixVer": "x"
1302
- * }
1303
- * },
1304
- * "web": {
1305
- * "uniVer": "√",
1306
- * "unixVer": "4.0"
1307
- * }
1308
- * }
1309
- */
1310
- url: string | string.PageURIString
1311
- /**
1312
- * 接口调用成功的回调函数
1313
- * @uniPlatform {
1314
- * "app": {
1315
- * "android": {
1316
- * "osVer": "5.0",
1317
- * "uniVer": "√",
1318
- * "unixVer": "√"
1319
- * },
1320
- * "ios": {
1321
- * "osVer": "12.0",
1322
- * "uniVer": "√",
1323
- * "unixVer": "4.11"
1324
- * },
1325
- * "harmony": {
1326
- * "osVer": "3.0",
1327
- * "uniVer": "4.23",
1328
- * "unixVer": "4.61",
1329
- * "unixvVer": "5.0"
1330
- * }
1331
- * },
1332
- * "mp": {
1333
- * "weixin": {
1334
- * "hostVer": "√",
1335
- * "uniVer": "√",
1336
- * "unixVer": "4.41"
1337
- * },
1338
- * "alipay": {
1339
- * "hostVer": "√",
1340
- * "uniVer": "√",
1341
- * "unixVer": "x"
1342
- * },
1343
- * "baidu": {
1344
- * "hostVer": "√",
1345
- * "uniVer": "√",
1346
- * "unixVer": "x"
1347
- * },
1348
- * "toutiao": {
1349
- * "hostVer": "√",
1350
- * "uniVer": "√",
1351
- * "unixVer": "x"
1352
- * },
1353
- * "lark": {
1354
- * "hostVer": "√",
1355
- * "uniVer": "√",
1356
- * "unixVer": "x"
1357
- * },
1358
- * "qq": {
1359
- * "hostVer": "√",
1360
- * "uniVer": "√",
1361
- * "unixVer": "x"
1362
- * },
1363
- * "kuaishou": {
1364
- * "hostVer": "√",
1365
- * "uniVer": "√",
1366
- * "unixVer": "x"
1367
- * },
1368
- * "jd": {
1369
- * "hostVer": "√",
1370
- * "uniVer": "√",
1371
- * "unixVer": "x"
1372
- * }
1373
- * },
1374
- * "web": {
1375
- * "uniVer": "√",
1376
- * "unixVer": "4.0"
1377
- * }
1378
- * }
1379
- */
1380
- success?: ReLaunchSuccessCallback | null
1381
- /**
1382
- * 接口调用失败的回调函数
1383
- * @uniPlatform {
1384
- * "app": {
1385
- * "android": {
1386
- * "osVer": "5.0",
1387
- * "uniVer": "√",
1388
- * "unixVer": "√"
1389
- * },
1390
- * "ios": {
1391
- * "osVer": "12.0",
1392
- * "uniVer": "√",
1393
- * "unixVer": "4.11"
1394
- * },
1395
- * "harmony": {
1396
- * "osVer": "3.0",
1397
- * "uniVer": "4.23",
1398
- * "unixVer": "4.61",
1399
- * "unixvVer": "5.0"
1400
- * }
1401
- * },
1402
- * "mp": {
1403
- * "weixin": {
1404
- * "hostVer": "√",
1405
- * "uniVer": "√",
1406
- * "unixVer": "4.41"
1407
- * },
1408
- * "alipay": {
1409
- * "hostVer": "√",
1410
- * "uniVer": "√",
1411
- * "unixVer": "x"
1412
- * },
1413
- * "baidu": {
1414
- * "hostVer": "√",
1415
- * "uniVer": "√",
1416
- * "unixVer": "x"
1417
- * },
1418
- * "toutiao": {
1419
- * "hostVer": "√",
1420
- * "uniVer": "√",
1421
- * "unixVer": "x"
1422
- * },
1423
- * "lark": {
1424
- * "hostVer": "√",
1425
- * "uniVer": "√",
1426
- * "unixVer": "x"
1427
- * },
1428
- * "qq": {
1429
- * "hostVer": "√",
1430
- * "uniVer": "√",
1431
- * "unixVer": "x"
1432
- * },
1433
- * "kuaishou": {
1434
- * "hostVer": "√",
1435
- * "uniVer": "√",
1436
- * "unixVer": "x"
1437
- * },
1438
- * "jd": {
1439
- * "hostVer": "√",
1440
- * "uniVer": "√",
1441
- * "unixVer": "x"
1442
- * }
1443
- * },
1444
- * "web": {
1445
- * "uniVer": "√",
1446
- * "unixVer": "4.0"
1447
- * }
1448
- * }
1449
- */
1450
- fail?: ReLaunchFailCallback | null
1451
- /**
1452
- * 接口调用结束的回调函数(调用成功、失败都会执行)
1453
- * @uniPlatform {
1454
- * "app": {
1455
- * "android": {
1456
- * "osVer": "5.0",
1457
- * "uniVer": "√",
1458
- * "unixVer": "√"
1459
- * },
1460
- * "ios": {
1461
- * "osVer": "12.0",
1462
- * "uniVer": "√",
1463
- * "unixVer": "4.11"
1464
- * },
1465
- * "harmony": {
1466
- * "osVer": "3.0",
1467
- * "uniVer": "4.23",
1468
- * "unixVer": "4.61",
1469
- * "unixvVer": "5.0"
1470
- * }
1471
- * },
1472
- * "mp": {
1473
- * "weixin": {
1474
- * "hostVer": "√",
1475
- * "uniVer": "√",
1476
- * "unixVer": "4.41"
1477
- * },
1478
- * "alipay": {
1479
- * "hostVer": "√",
1480
- * "uniVer": "√",
1481
- * "unixVer": "x"
1482
- * },
1483
- * "baidu": {
1484
- * "hostVer": "√",
1485
- * "uniVer": "√",
1486
- * "unixVer": "x"
1487
- * },
1488
- * "toutiao": {
1489
- * "hostVer": "√",
1490
- * "uniVer": "√",
1491
- * "unixVer": "x"
1492
- * },
1493
- * "lark": {
1494
- * "hostVer": "√",
1495
- * "uniVer": "√",
1496
- * "unixVer": "x"
1497
- * },
1498
- * "qq": {
1499
- * "hostVer": "√",
1500
- * "uniVer": "√",
1501
- * "unixVer": "x"
1502
- * },
1503
- * "kuaishou": {
1504
- * "hostVer": "√",
1505
- * "uniVer": "√",
1506
- * "unixVer": "x"
1507
- * },
1508
- * "jd": {
1509
- * "hostVer": "√",
1510
- * "uniVer": "√",
1511
- * "unixVer": "x"
1512
- * }
1513
- * },
1514
- * "web": {
1515
- * "uniVer": "√",
1516
- * "unixVer": "4.0"
1517
- * }
1518
- * }
1519
- */
1520
- complete?: ReLaunchCompleteCallback | null
1521
- }
1522
- export type SwitchTabSuccess = AsyncApiSuccessResult
1523
- export type SwitchTabSuccessCallback = (result: SwitchTabSuccess) => void
1524
-
1525
- export interface SwitchTabFail extends IUniError {
1526
- errCode: RouteErrorCode
1527
- }
1528
-
1529
- export type SwitchTabFailCallback = (result: SwitchTabFail) => void
1530
- export type SwitchTabComplete = AsyncApiResult
1531
- export type SwitchTabCompleteCallback = (result: SwitchTabComplete) => void
1532
- export type SwitchTabOptions = {
1533
- /**
1534
- * 需要跳转的 tabBar 页面的路径,路径后不能带参数
1535
- * @uniPlatform {
1536
- * "app": {
1537
- * "android": {
1538
- * "osVer": "5.0",
1539
- * "uniVer": "√",
1540
- * "unixVer": "√"
1541
- * },
1542
- * "ios": {
1543
- * "osVer": "12.0",
1544
- * "uniVer": "√",
1545
- * "unixVer": "4.11"
1546
- * },
1547
- * "harmony": {
1548
- * "osVer": "3.0",
1549
- * "uniVer": "4.23",
1550
- * "unixVer": "4.61",
1551
- * "unixvVer": "5.0"
1552
- * }
1553
- * },
1554
- * "mp": {
1555
- * "weixin": {
1556
- * "hostVer": "√",
1557
- * "uniVer": "√",
1558
- * "unixVer": "4.41"
1559
- * },
1560
- * "alipay": {
1561
- * "hostVer": "√",
1562
- * "uniVer": "√",
1563
- * "unixVer": "x"
1564
- * },
1565
- * "baidu": {
1566
- * "hostVer": "√",
1567
- * "uniVer": "√",
1568
- * "unixVer": "x"
1569
- * },
1570
- * "toutiao": {
1571
- * "hostVer": "√",
1572
- * "uniVer": "√",
1573
- * "unixVer": "x"
1574
- * },
1575
- * "lark": {
1576
- * "hostVer": "√",
1577
- * "uniVer": "√",
1578
- * "unixVer": "x"
1579
- * },
1580
- * "qq": {
1581
- * "hostVer": "√",
1582
- * "uniVer": "√",
1583
- * "unixVer": "x"
1584
- * },
1585
- * "kuaishou": {
1586
- * "hostVer": "√",
1587
- * "uniVer": "√",
1588
- * "unixVer": "x"
1589
- * },
1590
- * "jd": {
1591
- * "hostVer": "√",
1592
- * "uniVer": "√",
1593
- * "unixVer": "x"
1594
- * }
1595
- * },
1596
- * "web": {
1597
- * "uniVer": "√",
1598
- * "unixVer": "4.0"
1599
- * }
1600
- * }
1601
- */
1602
- url: string | string.PageURIString
1603
- /**
1604
- * 接口调用成功的回调函数
1605
- * @uniPlatform {
1606
- * "app": {
1607
- * "android": {
1608
- * "osVer": "5.0",
1609
- * "uniVer": "√",
1610
- * "unixVer": "√"
1611
- * },
1612
- * "ios": {
1613
- * "osVer": "12.0",
1614
- * "uniVer": "√",
1615
- * "unixVer": "4.11"
1616
- * },
1617
- * "harmony": {
1618
- * "osVer": "3.0",
1619
- * "uniVer": "4.23",
1620
- * "unixVer": "4.61",
1621
- * "unixvVer": "5.0"
1622
- * }
1623
- * },
1624
- * "mp": {
1625
- * "weixin": {
1626
- * "hostVer": "√",
1627
- * "uniVer": "√",
1628
- * "unixVer": "4.41"
1629
- * },
1630
- * "alipay": {
1631
- * "hostVer": "√",
1632
- * "uniVer": "√",
1633
- * "unixVer": "x"
1634
- * },
1635
- * "baidu": {
1636
- * "hostVer": "√",
1637
- * "uniVer": "√",
1638
- * "unixVer": "x"
1639
- * },
1640
- * "toutiao": {
1641
- * "hostVer": "√",
1642
- * "uniVer": "√",
1643
- * "unixVer": "x"
1644
- * },
1645
- * "lark": {
1646
- * "hostVer": "√",
1647
- * "uniVer": "√",
1648
- * "unixVer": "x"
1649
- * },
1650
- * "qq": {
1651
- * "hostVer": "√",
1652
- * "uniVer": "√",
1653
- * "unixVer": "x"
1654
- * },
1655
- * "kuaishou": {
1656
- * "hostVer": "√",
1657
- * "uniVer": "√",
1658
- * "unixVer": "x"
1659
- * },
1660
- * "jd": {
1661
- * "hostVer": "√",
1662
- * "uniVer": "√",
1663
- * "unixVer": "x"
1664
- * }
1665
- * },
1666
- * "web": {
1667
- * "uniVer": "√",
1668
- * "unixVer": "4.0"
1669
- * }
1670
- * }
1671
- */
1672
- success?: SwitchTabSuccessCallback | null
1673
- /**
1674
- * 接口调用失败的回调函数
1675
- * @uniPlatform {
1676
- * "app": {
1677
- * "android": {
1678
- * "osVer": "5.0",
1679
- * "uniVer": "√",
1680
- * "unixVer": "√"
1681
- * },
1682
- * "ios": {
1683
- * "osVer": "12.0",
1684
- * "uniVer": "√",
1685
- * "unixVer": "4.11"
1686
- * },
1687
- * "harmony": {
1688
- * "osVer": "3.0",
1689
- * "uniVer": "4.23",
1690
- * "unixVer": "4.61",
1691
- * "unixvVer": "5.0"
1692
- * }
1693
- * },
1694
- * "mp": {
1695
- * "weixin": {
1696
- * "hostVer": "√",
1697
- * "uniVer": "√",
1698
- * "unixVer": "4.41"
1699
- * },
1700
- * "alipay": {
1701
- * "hostVer": "√",
1702
- * "uniVer": "√",
1703
- * "unixVer": "x"
1704
- * },
1705
- * "baidu": {
1706
- * "hostVer": "√",
1707
- * "uniVer": "√",
1708
- * "unixVer": "x"
1709
- * },
1710
- * "toutiao": {
1711
- * "hostVer": "√",
1712
- * "uniVer": "√",
1713
- * "unixVer": "x"
1714
- * },
1715
- * "lark": {
1716
- * "hostVer": "√",
1717
- * "uniVer": "√",
1718
- * "unixVer": "x"
1719
- * },
1720
- * "qq": {
1721
- * "hostVer": "√",
1722
- * "uniVer": "√",
1723
- * "unixVer": "x"
1724
- * },
1725
- * "kuaishou": {
1726
- * "hostVer": "√",
1727
- * "uniVer": "√",
1728
- * "unixVer": "x"
1729
- * },
1730
- * "jd": {
1731
- * "hostVer": "√",
1732
- * "uniVer": "√",
1733
- * "unixVer": "x"
1734
- * }
1735
- * },
1736
- * "web": {
1737
- * "uniVer": "√",
1738
- * "unixVer": "4.0"
1739
- * }
1740
- * }
1741
- */
1742
- fail?: SwitchTabFailCallback | null
1743
- /**
1744
- * 接口调用结束的回调函数(调用成功、失败都会执行)
1745
- * @uniPlatform {
1746
- * "app": {
1747
- * "android": {
1748
- * "osVer": "5.0",
1749
- * "uniVer": "√",
1750
- * "unixVer": "√"
1751
- * },
1752
- * "ios": {
1753
- * "osVer": "12.0",
1754
- * "uniVer": "√",
1755
- * "unixVer": "4.11"
1756
- * },
1757
- * "harmony": {
1758
- * "osVer": "3.0",
1759
- * "uniVer": "4.23",
1760
- * "unixVer": "4.61",
1761
- * "unixvVer": "5.0"
1762
- * }
1763
- * },
1764
- * "mp": {
1765
- * "weixin": {
1766
- * "hostVer": "√",
1767
- * "uniVer": "√",
1768
- * "unixVer": "4.41"
1769
- * },
1770
- * "alipay": {
1771
- * "hostVer": "√",
1772
- * "uniVer": "√",
1773
- * "unixVer": "x"
1774
- * },
1775
- * "baidu": {
1776
- * "hostVer": "√",
1777
- * "uniVer": "√",
1778
- * "unixVer": "x"
1779
- * },
1780
- * "toutiao": {
1781
- * "hostVer": "√",
1782
- * "uniVer": "√",
1783
- * "unixVer": "x"
1784
- * },
1785
- * "lark": {
1786
- * "hostVer": "√",
1787
- * "uniVer": "√",
1788
- * "unixVer": "x"
1789
- * },
1790
- * "qq": {
1791
- * "hostVer": "√",
1792
- * "uniVer": "√",
1793
- * "unixVer": "x"
1794
- * },
1795
- * "kuaishou": {
1796
- * "hostVer": "√",
1797
- * "uniVer": "√",
1798
- * "unixVer": "x"
1799
- * },
1800
- * "jd": {
1801
- * "hostVer": "√",
1802
- * "uniVer": "√",
1803
- * "unixVer": "x"
1804
- * }
1805
- * },
1806
- * "web": {
1807
- * "uniVer": "√",
1808
- * "unixVer": "4.0"
1809
- * }
1810
- * }
1811
- */
1812
- complete?: SwitchTabCompleteCallback | null
1813
- }
1814
- export type NavigateBackSuccess = AsyncApiSuccessResult
1815
- type NavigateBackSuccessCallback = (result: NavigateBackSuccess) => void
1816
- export interface NavigateBackFail extends IUniError {
1817
- errCode: RouteErrorCode
1818
- }
1819
- type NavigateBackFailCallback = (result: NavigateBackFail) => void
1820
- export type NavigateBackComplete = AsyncApiResult
1821
- type NavigateBackCompleteCallback = (result: NavigateBackComplete) => void
1822
- export type NavigateBackOptions = {
1823
- /**
1824
- * 返回的页面数,如果 delta 大于现有页面数,则返回到首页
1825
- * @uniPlatform {
1826
- * "app": {
1827
- * "android": {
1828
- * "osVer": "5.0",
1829
- * "uniVer": "√",
1830
- * "unixVer": "√"
1831
- * },
1832
- * "ios": {
1833
- * "osVer": "12.0",
1834
- * "uniVer": "√",
1835
- * "unixVer": "4.11"
1836
- * },
1837
- * "harmony": {
1838
- * "osVer": "3.0",
1839
- * "uniVer": "4.23",
1840
- * "unixVer": "4.61",
1841
- * "unixvVer": "5.0"
1842
- * }
1843
- * },
1844
- * "mp": {
1845
- * "weixin": {
1846
- * "hostVer": "√",
1847
- * "uniVer": "√",
1848
- * "unixVer": "4.41"
1849
- * },
1850
- * "alipay": {
1851
- * "hostVer": "√",
1852
- * "uniVer": "√",
1853
- * "unixVer": "x"
1854
- * },
1855
- * "baidu": {
1856
- * "hostVer": "√",
1857
- * "uniVer": "√",
1858
- * "unixVer": "x"
1859
- * },
1860
- * "toutiao": {
1861
- * "hostVer": "√",
1862
- * "uniVer": "√",
1863
- * "unixVer": "x"
1864
- * },
1865
- * "lark": {
1866
- * "hostVer": "√",
1867
- * "uniVer": "√",
1868
- * "unixVer": "x"
1869
- * },
1870
- * "qq": {
1871
- * "hostVer": "√",
1872
- * "uniVer": "√",
1873
- * "unixVer": "x"
1874
- * },
1875
- * "kuaishou": {
1876
- * "hostVer": "√",
1877
- * "uniVer": "√",
1878
- * "unixVer": "x"
1879
- * },
1880
- * "jd": {
1881
- * "hostVer": "√",
1882
- * "uniVer": "√",
1883
- * "unixVer": "x"
1884
- * }
1885
- * },
1886
- * "web": {
1887
- * "uniVer": "√",
1888
- * "unixVer": "4.0"
1889
- * }
1890
- * }
1891
- */
1892
- delta?: number | null
1893
- /**
1894
- * 窗口关闭的动画类型
1895
- *
1896
- * @uniPlatform {
1897
- * "app": {
1898
- * "android": {
1899
- * "osVer": "5.0",
1900
- * "uniVer": "√",
1901
- * "unixVer": "4.18"
1902
- * },
1903
- * "ios": {
1904
- * "osVer": "12.0",
1905
- * "uniVer": "√",
1906
- * "unixVer": "4.25"
1907
- * }
1908
- * },
1909
- * "mp": {
1910
- * "weixin": {
1911
- * "hostVer": "√",
1912
- * "uniVer": "x",
1913
- * "unixVer": "x"
1914
- * },
1915
- * "alipay": {
1916
- * "hostVer": "√",
1917
- * "uniVer": "x",
1918
- * "unixVer": "x"
1919
- * },
1920
- * "baidu": {
1921
- * "hostVer": "√",
1922
- * "uniVer": "x",
1923
- * "unixVer": "x"
1924
- * },
1925
- * "toutiao": {
1926
- * "hostVer": "√",
1927
- * "uniVer": "x",
1928
- * "unixVer": "x"
1929
- * },
1930
- * "lark": {
1931
- * "hostVer": "√",
1932
- * "uniVer": "x",
1933
- * "unixVer": "x"
1934
- * },
1935
- * "qq": {
1936
- * "hostVer": "√",
1937
- * "uniVer": "x",
1938
- * "unixVer": "x"
1939
- * },
1940
- * "kuaishou": {
1941
- * "hostVer": "√",
1942
- * "uniVer": "x",
1943
- * "unixVer": "x"
1944
- * },
1945
- * "jd": {
1946
- * "hostVer": "√",
1947
- * "uniVer": "x",
1948
- * "unixVer": "x"
1949
- * }
1950
- * },
1951
- * "web": {
1952
- * "uniVer": "x",
1953
- * "unixVer": "x"
1954
- * }
1955
- * }
1956
- */
1957
- animationType?:
1958
- /**
1959
- * 自动选择动画效果
1960
- * @uniPlatform {
1961
- * "app": {
1962
- * "android": {
1963
- * "osVer": "5.0",
1964
- * "uniVer": "√",
1965
- * "unixVer": "4.18"
1966
- * },
1967
- * "ios": {
1968
- * "osVer": "12.0",
1969
- * "uniVer": "√",
1970
- * "unixVer": "4.25"
1971
- * },
1972
- * "harmony": {
1973
- * "osVer": "3.0",
1974
- * "uniVer": "4.61",
1975
- * "unixVer": "5.0"
1976
- * }
1977
- * },
1978
- * "web": {
1979
- * "uniVer": "x",
1980
- * "unixVer": "x"
1981
- * }
1982
- * }
1983
- */
1984
- 'auto' |
1985
- /**
1986
- * 无动画效果
1987
- * @uniPlatform {
1988
- * "app": {
1989
- * "android": {
1990
- * "osVer": "5.0",
1991
- * "uniVer": "√",
1992
- * "unixVer": "4.18"
1993
- * },
1994
- * "ios": {
1995
- * "osVer": "12.0",
1996
- * "uniVer": "√",
1997
- * "unixVer": "4.25"
1998
- * },
1999
- * "harmony": {
2000
- * "osVer": "3.0",
2001
- * "uniVer": "4.23",
2002
- * "unixVer": "4.61",
2003
- * "unixvVer": "5.0"
2004
- * }
2005
- * },
2006
- * "web": {
2007
- * "uniVer": "x",
2008
- * "unixVer": "x"
2009
- * }
2010
- * }
2011
- */
2012
- 'none' |
2013
- /**
2014
- * 横向向右侧滑出屏幕动画
2015
- * @uniPlatform {
2016
- * "app": {
2017
- * "android": {
2018
- * "osVer": "5.0",
798
+ * "mp": {
799
+ * "weixin": {
800
+ * "hostVer": "√",
2019
801
  * "uniVer": "√",
2020
- * "unixVer": "4.18"
802
+ * "unixVer": "4.41"
2021
803
  * },
2022
- * "ios": {
2023
- * "osVer": "12.0",
2024
- * "uniVer": "",
2025
- * "unixVer": "4.25"
804
+ * "alipay": {
805
+ * "hostVer": "-",
806
+ * "uniVer": "-",
807
+ * "unixVer": "-"
2026
808
  * },
2027
- * "harmony": {
2028
- * "osVer": "3.0",
2029
- * "uniVer": "x",
2030
- * "unixVer": "5.0"
2031
- * }
2032
- * },
2033
- * "web": {
2034
- * "uniVer": "x",
2035
- * "unixVer": "x"
2036
- * }
2037
- * }
2038
- */
2039
- 'slide-out-right' |
2040
- /**
2041
- * 横向向左侧滑出屏幕动画
2042
- * @uniPlatform {
2043
- * "app": {
2044
- * "android": {
2045
- * "osVer": "5.0",
2046
- * "uniVer": "√",
2047
- * "unixVer": "4.18"
809
+ * "baidu": {
810
+ * "hostVer": "-",
811
+ * "uniVer": "-",
812
+ * "unixVer": "-"
2048
813
  * },
2049
- * "ios": {
2050
- * "osVer": "12.0",
2051
- * "uniVer": "",
2052
- * "unixVer": "4.25"
814
+ * "toutiao": {
815
+ * "hostVer": "-",
816
+ * "uniVer": "-",
817
+ * "unixVer": "-"
2053
818
  * },
2054
- * "harmony": {
2055
- * "osVer": "3.0",
2056
- * "uniVer": "x",
2057
- * "unixVer": "5.0"
2058
- * }
2059
- * },
2060
- * "web": {
2061
- * "uniVer": "x",
2062
- * "unixVer": "x"
2063
- * }
2064
- * }
2065
- */
2066
- 'slide-out-left' |
2067
- /**
2068
- * 竖向向上侧滑出屏幕动画
2069
- * @uniPlatform {
2070
- * "app": {
2071
- * "android": {
2072
- * "osVer": "5.0",
2073
- * "uniVer": "√",
2074
- * "unixVer": "4.18"
819
+ * "lark": {
820
+ * "hostVer": "-",
821
+ * "uniVer": "-",
822
+ * "unixVer": "-"
2075
823
  * },
2076
- * "ios": {
2077
- * "osVer": "12.0",
2078
- * "uniVer": "",
2079
- * "unixVer": "4.25"
824
+ * "qq": {
825
+ * "hostVer": "-",
826
+ * "uniVer": "-",
827
+ * "unixVer": "-"
2080
828
  * },
2081
- * "harmony": {
2082
- * "osVer": "3.0",
2083
- * "uniVer": "x",
2084
- * "unixVer": "5.0"
829
+ * "kuaishou": {
830
+ * "hostVer": "-",
831
+ * "uniVer": "-",
832
+ * "unixVer": "-"
833
+ * },
834
+ * "jd": {
835
+ * "hostVer": "-",
836
+ * "uniVer": "-",
837
+ * "unixVer": "-"
2085
838
  * }
2086
- * },
2087
- * "web": {
2088
- * "uniVer": "x",
2089
- * "unixVer": "x"
2090
839
  * }
2091
840
  * }
2092
841
  */
2093
- 'slide-out-top' |
842
+ routeConfig?: any | null;
2094
843
  /**
2095
- * 竖向向下侧滑出屏幕动画
844
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/custom-route.html
845
+ *
2096
846
  * @uniPlatform {
2097
- * "app": {
2098
- * "android": {
2099
- * "osVer": "5.0",
847
+ * "mp": {
848
+ * "weixin": {
849
+ * "hostVer": "",
2100
850
  * "uniVer": "√",
2101
- * "unixVer": "4.18"
851
+ * "unixVer": "4.41"
2102
852
  * },
2103
- * "ios": {
2104
- * "osVer": "12.0",
2105
- * "uniVer": "",
2106
- * "unixVer": "4.25"
853
+ * "alipay": {
854
+ * "hostVer": "-",
855
+ * "uniVer": "-",
856
+ * "unixVer": "-"
2107
857
  * },
2108
- * "harmony": {
2109
- * "osVer": "3.0",
2110
- * "uniVer": "x",
2111
- * "unixVer": "5.0"
2112
- * }
2113
- * },
2114
- * "web": {
2115
- * "uniVer": "x",
2116
- * "unixVer": "x"
2117
- * }
2118
- * }
2119
- */
2120
- 'slide-out-bottom' |
2121
- /**
2122
- * 从不透明到透明逐渐隐藏动画
2123
- * @uniPlatform {
2124
- * "app": {
2125
- * "android": {
2126
- * "osVer": "5.0",
2127
- * "uniVer": "√",
2128
- * "unixVer": "4.18"
858
+ * "baidu": {
859
+ * "hostVer": "-",
860
+ * "uniVer": "-",
861
+ * "unixVer": "-"
2129
862
  * },
2130
- * "ios": {
2131
- * "osVer": "12.0",
2132
- * "uniVer": "",
2133
- * "unixVer": "4.25"
863
+ * "toutiao": {
864
+ * "hostVer": "-",
865
+ * "uniVer": "-",
866
+ * "unixVer": "-"
2134
867
  * },
2135
- * "harmony": {
2136
- * "osVer": "3.0",
2137
- * "uniVer": "x",
2138
- * "unixVer": "5.0"
2139
- * }
2140
- * },
2141
- * "web": {
2142
- * "uniVer": "x",
2143
- * "unixVer": "x"
2144
- * }
2145
- * }
2146
- */
2147
- 'fade-out' |
2148
- /**
2149
- * 从大逐渐缩小关闭动画
2150
- * @uniPlatform {
2151
- * "app": {
2152
- * "android": {
2153
- * "osVer": "5.0",
2154
- * "uniVer": "√",
2155
- * "unixVer": "4.18"
868
+ * "lark": {
869
+ * "hostVer": "-",
870
+ * "uniVer": "-",
871
+ * "unixVer": "-"
2156
872
  * },
2157
- * "ios": {
2158
- * "osVer": "12.0",
2159
- * "uniVer": "",
2160
- * "unixVer": "4.25"
873
+ * "qq": {
874
+ * "hostVer": "-",
875
+ * "uniVer": "-",
876
+ * "unixVer": "-"
2161
877
  * },
2162
- * "harmony": {
2163
- * "osVer": "3.0",
2164
- * "uniVer": "x",
2165
- * "unixVer": "5.0"
878
+ * "kuaishou": {
879
+ * "hostVer": "-",
880
+ * "uniVer": "-",
881
+ * "unixVer": "-"
882
+ * },
883
+ * "jd": {
884
+ * "hostVer": "-",
885
+ * "uniVer": "-",
886
+ * "unixVer": "-"
2166
887
  * }
2167
- * },
2168
- * "web": {
2169
- * "uniVer": "x",
2170
- * "unixVer": "x"
2171
888
  * }
2172
889
  * }
2173
890
  */
2174
- 'zoom-in' |
891
+ routeOptions?: any | null;
2175
892
  /**
2176
- * 从大逐渐缩小并且从不透明到透明逐渐隐藏关闭动画
893
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/custom-route.html
894
+ *
2177
895
  * @uniPlatform {
2178
- * "app": {
2179
- * "android": {
2180
- * "osVer": "5.0",
896
+ * "mp": {
897
+ * "weixin": {
898
+ * "hostVer": "",
2181
899
  * "uniVer": "√",
2182
- * "unixVer": "4.18"
900
+ * "unixVer": "4.41"
2183
901
  * },
2184
- * "ios": {
2185
- * "osVer": "12.0",
2186
- * "uniVer": "",
2187
- * "unixVer": "4.25"
902
+ * "alipay": {
903
+ * "hostVer": "-",
904
+ * "uniVer": "-",
905
+ * "unixVer": "-"
2188
906
  * },
2189
- * "harmony": {
2190
- * "osVer": "3.0",
2191
- * "uniVer": "x",
2192
- * "unixVer": "5.0"
2193
- * }
2194
- * },
2195
- * "web": {
2196
- * "uniVer": "x",
2197
- * "unixVer": "x"
2198
- * }
2199
- * }
2200
- */
2201
- 'zoom-fade-in' |
2202
- /**
2203
- * 从右侧平移出栈动画效果
2204
- * @uniPlatform {
2205
- * "app": {
2206
- * "android": {
2207
- * "osVer": "5.0",
2208
- * "uniVer": "√",
2209
- * "unixVer": "4.18"
907
+ * "baidu": {
908
+ * "hostVer": "-",
909
+ * "uniVer": "-",
910
+ * "unixVer": "-"
2210
911
  * },
2211
- * "ios": {
2212
- * "osVer": "12.0",
2213
- * "uniVer": "",
2214
- * "unixVer": "4.25"
912
+ * "toutiao": {
913
+ * "hostVer": "-",
914
+ * "uniVer": "-",
915
+ * "unixVer": "-"
2215
916
  * },
2216
- * "harmony": {
2217
- * "osVer": "3.0",
2218
- * "uniVer": "4.23",
2219
- * "unixVer": "4.61",
2220
- * "unixvVer": "5.0"
917
+ * "lark": {
918
+ * "hostVer": "-",
919
+ * "uniVer": "-",
920
+ * "unixVer": "-"
921
+ * },
922
+ * "qq": {
923
+ * "hostVer": "-",
924
+ * "uniVer": "-",
925
+ * "unixVer": "-"
926
+ * },
927
+ * "kuaishou": {
928
+ * "hostVer": "-",
929
+ * "uniVer": "-",
930
+ * "unixVer": "-"
931
+ * },
932
+ * "jd": {
933
+ * "hostVer": "-",
934
+ * "uniVer": "-",
935
+ * "unixVer": "-"
2221
936
  * }
2222
- * },
2223
- * "web": {
2224
- * "uniVer": "x",
2225
- * "unixVer": "x"
2226
937
  * }
2227
938
  * }
2228
939
  */
2229
- 'pop-out' | null
2230
- /**
2231
- * 窗口关闭动画的持续时间,单位为 ms
2232
- * @uniPlatform {
2233
- * "app": {
2234
- * "android": {
2235
- * "osVer": "5.0",
2236
- * "uniVer": "√",
2237
- * "unixVer": "x"
2238
- * },
2239
- * "ios": {
2240
- * "osVer": "12.0",
2241
- * "uniVer": "√",
2242
- * "unixVer": "x"
2243
- * },
2244
- * "harmony": {
2245
- * "osVer": "3.0",
2246
- * "uniVer": "4.23",
2247
- * "unixVer": "x"
2248
- * }
2249
- * },
2250
- * "mp": {
2251
- * "weixin": {
2252
- * "hostVer": "",
2253
- * "uniVer": "x",
2254
- * "unixVer": "x"
2255
- * },
2256
- * "alipay": {
2257
- * "hostVer": "",
2258
- * "uniVer": "x",
2259
- * "unixVer": "x"
2260
- * },
2261
- * "baidu": {
2262
- * "hostVer": "√",
2263
- * "uniVer": "x",
2264
- * "unixVer": "x"
2265
- * },
2266
- * "toutiao": {
2267
- * "hostVer": "√",
2268
- * "uniVer": "x",
2269
- * "unixVer": "x"
2270
- * },
2271
- * "lark": {
2272
- * "hostVer": "√",
2273
- * "uniVer": "x",
2274
- * "unixVer": "x"
2275
- * },
2276
- * "qq": {
2277
- * "hostVer": "√",
2278
- * "uniVer": "x",
2279
- * "unixVer": "x"
2280
- * },
2281
- * "kuaishou": {
2282
- * "hostVer": "√",
2283
- * "uniVer": "x",
2284
- * "unixVer": "x"
2285
- * },
2286
- * "jd": {
2287
- * "hostVer": "√",
2288
- * "uniVer": "x",
2289
- * "unixVer": "x"
2290
- * }
2291
- * },
2292
- * "web": {
2293
- * "uniVer": "x",
2294
- * "unixVer": "x"
2295
- * }
2296
- * }
2297
- */
2298
- animationDuration?: number | null
2299
- /**
2300
- * 接口调用成功的回调函数
2301
- * @uniPlatform {
2302
- * "app": {
2303
- * "android": {
2304
- * "osVer": "5.0",
2305
- * "uniVer": "",
2306
- * "unixVer": "√"
2307
- * },
2308
- * "ios": {
2309
- * "osVer": "12.0",
2310
- * "uniVer": "√",
2311
- * "unixVer": "x"
2312
- * }
2313
- * },
2314
- * "mp": {
2315
- * "weixin": {
2316
- * "hostVer": "√",
2317
- * "uniVer": "√",
2318
- * "unixVer": "4.41"
2319
- * },
2320
- * "alipay": {
2321
- * "hostVer": "√",
2322
- * "uniVer": "",
2323
- * "unixVer": "x"
2324
- * },
2325
- * "baidu": {
2326
- * "hostVer": "",
2327
- * "uniVer": "",
2328
- * "unixVer": "x"
2329
- * },
2330
- * "toutiao": {
2331
- * "hostVer": "√",
2332
- * "uniVer": "√",
2333
- * "unixVer": "x"
2334
- * },
2335
- * "lark": {
2336
- * "hostVer": "√",
2337
- * "uniVer": "√",
2338
- * "unixVer": "x"
2339
- * },
2340
- * "qq": {
2341
- * "hostVer": "√",
2342
- * "uniVer": "√",
2343
- * "unixVer": "x"
2344
- * },
2345
- * "kuaishou": {
2346
- * "hostVer": "√",
2347
- * "uniVer": "√",
2348
- * "unixVer": "x"
2349
- * },
2350
- * "jd": {
2351
- * "hostVer": "√",
2352
- * "uniVer": "√",
2353
- * "unixVer": "x"
2354
- * }
2355
- * },
2356
- * "web": {
2357
- * "uniVer": "√",
2358
- * "unixVer": "4.0"
2359
- * }
2360
- * }
2361
- */
2362
- success?: NavigateBackSuccessCallback | null
2363
- /**
2364
- * 接口调用失败的回调函数
2365
- * @uniPlatform {
2366
- * "app": {
2367
- * "android": {
2368
- * "osVer": "5.0",
2369
- * "uniVer": "√",
2370
- * "unixVer": ""
2371
- * },
2372
- * "ios": {
2373
- * "osVer": "12.0",
2374
- * "uniVer": "√",
2375
- * "unixVer": "4.11"
2376
- * },
2377
- * "harmony": {
2378
- * "osVer": "3.0",
2379
- * "uniVer": "4.23",
2380
- * "unixVer": "4.61",
2381
- * "unixvVer": "5.0"
2382
- * }
2383
- * },
2384
- * "mp": {
2385
- * "weixin": {
2386
- * "hostVer": "√",
2387
- * "uniVer": "√",
2388
- * "unixVer": "4.41"
2389
- * },
2390
- * "alipay": {
2391
- * "hostVer": "√",
2392
- * "uniVer": "",
2393
- * "unixVer": "x"
2394
- * },
2395
- * "baidu": {
2396
- * "hostVer": "",
2397
- * "uniVer": "",
2398
- * "unixVer": "x"
2399
- * },
2400
- * "toutiao": {
2401
- * "hostVer": "√",
2402
- * "uniVer": "√",
2403
- * "unixVer": "x"
2404
- * },
2405
- * "lark": {
2406
- * "hostVer": "√",
2407
- * "uniVer": "√",
2408
- * "unixVer": "x"
2409
- * },
2410
- * "qq": {
2411
- * "hostVer": "√",
2412
- * "uniVer": "√",
2413
- * "unixVer": "x"
2414
- * },
2415
- * "kuaishou": {
2416
- * "hostVer": "√",
2417
- * "uniVer": "√",
2418
- * "unixVer": "x"
2419
- * },
2420
- * "jd": {
2421
- * "hostVer": "√",
2422
- * "uniVer": "√",
2423
- * "unixVer": "x"
2424
- * }
2425
- * },
2426
- * "web": {
2427
- * "uniVer": "√",
2428
- * "unixVer": "4.0"
2429
- * }
2430
- * }
2431
- */
2432
- fail?: NavigateBackFailCallback | null
2433
- /**
2434
- * 接口调用结束的回调函数(调用成功、失败都会执行)
2435
- * @uniPlatform {
2436
- * "app": {
2437
- * "android": {
2438
- * "osVer": "5.0",
2439
- * "uniVer": "√",
2440
- * "unixVer": ""
2441
- * },
2442
- * "ios": {
2443
- * "osVer": "12.0",
2444
- * "uniVer": "√",
2445
- * "unixVer": "4.11"
2446
- * },
2447
- * "harmony": {
2448
- * "osVer": "3.0",
2449
- * "uniVer": "4.23",
2450
- * "unixVer": "4.61",
2451
- * "unixvVer": "5.0"
2452
- * }
2453
- * },
2454
- * "mp": {
2455
- * "weixin": {
2456
- * "hostVer": "√",
2457
- * "uniVer": "√",
2458
- * "unixVer": "4.41"
2459
- * },
2460
- * "alipay": {
2461
- * "hostVer": "√",
2462
- * "uniVer": "",
2463
- * "unixVer": "x"
2464
- * },
2465
- * "baidu": {
2466
- * "hostVer": "",
2467
- * "uniVer": "",
2468
- * "unixVer": "x"
2469
- * },
2470
- * "toutiao": {
2471
- * "hostVer": "√",
2472
- * "uniVer": "√",
2473
- * "unixVer": "x"
2474
- * },
2475
- * "lark": {
2476
- * "hostVer": "√",
2477
- * "uniVer": "√",
2478
- * "unixVer": "x"
2479
- * },
2480
- * "qq": {
2481
- * "hostVer": "√",
2482
- * "uniVer": "√",
2483
- * "unixVer": "x"
2484
- * },
2485
- * "kuaishou": {
2486
- * "hostVer": "√",
2487
- * "uniVer": "√",
2488
- * "unixVer": "x"
2489
- * },
2490
- * "jd": {
2491
- * "hostVer": "√",
2492
- * "uniVer": "√",
2493
- * "unixVer": "x"
2494
- * }
2495
- * },
2496
- * "web": {
2497
- * "uniVer": "√",
2498
- * "unixVer": "4.0"
2499
- * }
2500
- * }
2501
- */
2502
- complete?: NavigateBackCompleteCallback | null
2503
- }
2504
-
2505
- export interface Uni {
2506
- /**
2507
- * 保留当前页面,跳转到应用内的某个页面
2508
- *
2509
- * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/router.html#navigateto
2510
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateto
2511
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateto
940
+ routeType?: string | null;
941
+ }
942
+ export type RedirectToSuccess = AsyncApiSuccessResult
943
+ type RedirectToSuccessCallback = (result: RedirectToSuccess) => void
944
+ export interface RedirectToFail extends IUniError {
945
+ errCode: RouteErrorCode
946
+ }
947
+ type RedirectToFailCallback = (result: RedirectToFail) => void
948
+ export type RedirectToComplete = AsyncApiResult
949
+ type RedirectToCompleteCallback = (result: RedirectToComplete) => void
950
+ export type RedirectToOptions = {
951
+ /**
952
+ * 需要跳转的应用内非 tabBar 的页面的路径 , 路径后可以带参数
953
+ * @uniPlatform {
954
+ * "app": {
955
+ * "android": {
956
+ * "osVer": "5.0",
957
+ * "uniVer": "",
958
+ * "unixVer": ""
959
+ * },
960
+ * "ios": {
961
+ * "osVer": "12.0",
962
+ * "uniVer": "√",
963
+ * "unixVer": "4.11"
964
+ * },
965
+ * "harmony": {
966
+ * "osVer": "3.0",
967
+ * "uniVer": "4.23",
968
+ * "unixVer": "4.61",
969
+ * "unixVaporVer": "5.0"
970
+ * }
971
+ * },
972
+ * "mp": {
973
+ * "weixin": {
974
+ * "hostVer": "",
975
+ * "uniVer": "",
976
+ * "unixVer": "4.41"
977
+ * },
978
+ * "alipay": {
979
+ * "hostVer": "",
980
+ * "uniVer": "",
981
+ * "unixVer": "x"
982
+ * },
983
+ * "baidu": {
984
+ * "hostVer": "",
985
+ * "uniVer": "",
986
+ * "unixVer": "x"
987
+ * },
988
+ * "toutiao": {
989
+ * "hostVer": "",
990
+ * "uniVer": "",
991
+ * "unixVer": "x"
992
+ * },
993
+ * "lark": {
994
+ * "hostVer": "",
995
+ * "uniVer": "",
996
+ * "unixVer": "x"
997
+ * },
998
+ * "qq": {
999
+ * "hostVer": "",
1000
+ * "uniVer": "",
1001
+ * "unixVer": "x"
1002
+ * },
1003
+ * "kuaishou": {
1004
+ * "hostVer": "",
1005
+ * "uniVer": "",
1006
+ * "unixVer": "x"
1007
+ * },
1008
+ * "jd": {
1009
+ * "hostVer": "√",
1010
+ * "uniVer": "√",
1011
+ * "unixVer": "x"
1012
+ * }
1013
+ * },
1014
+ * "web": {
1015
+ * "uniVer": "",
1016
+ * "unixVer": "4.0"
1017
+ * }
1018
+ * }
1019
+ */
1020
+ url: string | string.PageURIString
1021
+ /**
1022
+ * 接口调用成功的回调函数
1023
+ * @uniPlatform {
1024
+ * "app": {
1025
+ * "android": {
1026
+ * "osVer": "5.0",
1027
+ * "uniVer": "√",
1028
+ * "unixVer": "√"
1029
+ * },
1030
+ * "ios": {
1031
+ * "osVer": "12.0",
1032
+ * "uniVer": "√",
1033
+ * "unixVer": "4.11"
1034
+ * },
1035
+ * "harmony": {
1036
+ * "osVer": "3.0",
1037
+ * "uniVer": "4.23",
1038
+ * "unixVer": "4.61",
1039
+ * "unixVaporVer": "5.0"
1040
+ * }
1041
+ * },
1042
+ * "mp": {
1043
+ * "weixin": {
1044
+ * "hostVer": "",
1045
+ * "uniVer": "√",
1046
+ * "unixVer": "4.41"
1047
+ * },
1048
+ * "alipay": {
1049
+ * "hostVer": "",
1050
+ * "uniVer": "√",
1051
+ * "unixVer": "x"
1052
+ * },
1053
+ * "baidu": {
1054
+ * "hostVer": "",
1055
+ * "uniVer": "√",
1056
+ * "unixVer": "x"
1057
+ * },
1058
+ * "toutiao": {
1059
+ * "hostVer": "",
1060
+ * "uniVer": "√",
1061
+ * "unixVer": "x"
1062
+ * },
1063
+ * "lark": {
1064
+ * "hostVer": "",
1065
+ * "uniVer": "√",
1066
+ * "unixVer": "x"
1067
+ * },
1068
+ * "qq": {
1069
+ * "hostVer": "",
1070
+ * "uniVer": "√",
1071
+ * "unixVer": "x"
1072
+ * },
1073
+ * "kuaishou": {
1074
+ * "hostVer": "√",
1075
+ * "uniVer": "√",
1076
+ * "unixVer": "x"
1077
+ * },
1078
+ * "jd": {
1079
+ * "hostVer": "",
1080
+ * "uniVer": "√",
1081
+ * "unixVer": "x"
1082
+ * }
1083
+ * },
1084
+ * "web": {
1085
+ * "uniVer": "√",
1086
+ * "unixVer": "4.0"
1087
+ * }
1088
+ * }
1089
+ */
1090
+ success?: RedirectToSuccessCallback | null
1091
+ /**
1092
+ * 接口调用失败的回调函数
1093
+ * @uniPlatform {
1094
+ * "app": {
1095
+ * "android": {
1096
+ * "osVer": "5.0",
1097
+ * "uniVer": "√",
1098
+ * "unixVer": "√"
1099
+ * },
1100
+ * "ios": {
1101
+ * "osVer": "12.0",
1102
+ * "uniVer": "√",
1103
+ * "unixVer": "4.11"
1104
+ * },
1105
+ * "harmony": {
1106
+ * "osVer": "3.0",
1107
+ * "uniVer": "4.23",
1108
+ * "unixVer": "4.61",
1109
+ * "unixVaporVer": "5.0"
1110
+ * }
1111
+ * },
1112
+ * "mp": {
1113
+ * "weixin": {
1114
+ * "hostVer": "",
1115
+ * "uniVer": "√",
1116
+ * "unixVer": "4.41"
1117
+ * },
1118
+ * "alipay": {
1119
+ * "hostVer": "",
1120
+ * "uniVer": "√",
1121
+ * "unixVer": "x"
1122
+ * },
1123
+ * "baidu": {
1124
+ * "hostVer": "",
1125
+ * "uniVer": "√",
1126
+ * "unixVer": "x"
1127
+ * },
1128
+ * "toutiao": {
1129
+ * "hostVer": "",
1130
+ * "uniVer": "√",
1131
+ * "unixVer": "x"
1132
+ * },
1133
+ * "lark": {
1134
+ * "hostVer": "",
1135
+ * "uniVer": "√",
1136
+ * "unixVer": "x"
1137
+ * },
1138
+ * "qq": {
1139
+ * "hostVer": "",
1140
+ * "uniVer": "√",
1141
+ * "unixVer": "x"
1142
+ * },
1143
+ * "kuaishou": {
1144
+ * "hostVer": "√",
1145
+ * "uniVer": "√",
1146
+ * "unixVer": "x"
1147
+ * },
1148
+ * "jd": {
1149
+ * "hostVer": "",
1150
+ * "uniVer": "√",
1151
+ * "unixVer": "x"
1152
+ * }
1153
+ * },
1154
+ * "web": {
1155
+ * "uniVer": "√",
1156
+ * "unixVer": "4.0"
1157
+ * }
1158
+ * }
1159
+ */
1160
+ fail?: RedirectToFailCallback | null
1161
+ /**
1162
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
1163
+ * @uniPlatform {
1164
+ * "app": {
1165
+ * "android": {
1166
+ * "osVer": "5.0",
1167
+ * "uniVer": "√",
1168
+ * "unixVer": "√"
1169
+ * },
1170
+ * "ios": {
1171
+ * "osVer": "12.0",
1172
+ * "uniVer": "√",
1173
+ * "unixVer": "4.11"
1174
+ * },
1175
+ * "harmony": {
1176
+ * "osVer": "3.0",
1177
+ * "uniVer": "4.23",
1178
+ * "unixVer": "4.61",
1179
+ * "unixVaporVer": "5.0"
1180
+ * }
1181
+ * },
1182
+ * "mp": {
1183
+ * "weixin": {
1184
+ * "hostVer": "",
1185
+ * "uniVer": "√",
1186
+ * "unixVer": "4.41"
1187
+ * },
1188
+ * "alipay": {
1189
+ * "hostVer": "",
1190
+ * "uniVer": "√",
1191
+ * "unixVer": "x"
1192
+ * },
1193
+ * "baidu": {
1194
+ * "hostVer": "",
1195
+ * "uniVer": "√",
1196
+ * "unixVer": "x"
1197
+ * },
1198
+ * "toutiao": {
1199
+ * "hostVer": "",
1200
+ * "uniVer": "√",
1201
+ * "unixVer": "x"
1202
+ * },
1203
+ * "lark": {
1204
+ * "hostVer": "",
1205
+ * "uniVer": "√",
1206
+ * "unixVer": "x"
1207
+ * },
1208
+ * "qq": {
1209
+ * "hostVer": "",
1210
+ * "uniVer": "√",
1211
+ * "unixVer": "x"
1212
+ * },
1213
+ * "kuaishou": {
1214
+ * "hostVer": "√",
1215
+ * "uniVer": "√",
1216
+ * "unixVer": "x"
1217
+ * },
1218
+ * "jd": {
1219
+ * "hostVer": "√",
1220
+ * "uniVer": "√",
1221
+ * "unixVer": "x"
1222
+ * }
1223
+ * },
1224
+ * "web": {
1225
+ * "uniVer": "√",
1226
+ * "unixVer": "4.0"
1227
+ * }
1228
+ * }
1229
+ */
1230
+ complete?: RedirectToCompleteCallback | null
1231
+ }
1232
+ export type ReLaunchSuccess = AsyncApiSuccessResult
1233
+ type ReLaunchSuccessCallback = (result: ReLaunchSuccess) => void
1234
+ export interface ReLaunchFail extends IUniError {
1235
+ errCode: RouteErrorCode
1236
+ }
1237
+ type ReLaunchFailCallback = (result: ReLaunchFail) => void
1238
+ export type ReLaunchComplete = AsyncApiResult
1239
+ type ReLaunchCompleteCallback = (result: ReLaunchComplete) => void
1240
+ export type ReLaunchOptions = {
1241
+ /**
1242
+ * 需要跳转的应用内页面路径 , 路径后可以带参数。参数与路径之间使用?分隔,参数键与参数值用=相连,不同参数用&分隔;如 'path?key=value&key2=value2',如果跳转的页面路径是 tabBar 页面则不能带参数
1243
+ * @uniPlatform {
1244
+ * "app": {
1245
+ * "android": {
1246
+ * "osVer": "5.0",
1247
+ * "uniVer": "√",
1248
+ * "unixVer": "√"
1249
+ * },
1250
+ * "ios": {
1251
+ * "osVer": "12.0",
1252
+ * "uniVer": "√",
1253
+ * "unixVer": "4.11"
1254
+ * },
1255
+ * "harmony": {
1256
+ * "osVer": "3.0",
1257
+ * "uniVer": "4.23",
1258
+ * "unixVer": "4.61",
1259
+ * "unixVaporVer": "5.0"
1260
+ * }
1261
+ * },
1262
+ * "mp": {
1263
+ * "weixin": {
1264
+ * "hostVer": "√",
1265
+ * "uniVer": "√",
1266
+ * "unixVer": "4.41"
1267
+ * },
1268
+ * "alipay": {
1269
+ * "hostVer": "√",
1270
+ * "uniVer": "√",
1271
+ * "unixVer": "x"
1272
+ * },
1273
+ * "baidu": {
1274
+ * "hostVer": "√",
1275
+ * "uniVer": "√",
1276
+ * "unixVer": "x"
1277
+ * },
1278
+ * "toutiao": {
1279
+ * "hostVer": "√",
1280
+ * "uniVer": "√",
1281
+ * "unixVer": "x"
1282
+ * },
1283
+ * "lark": {
1284
+ * "hostVer": "√",
1285
+ * "uniVer": "√",
1286
+ * "unixVer": "x"
1287
+ * },
1288
+ * "qq": {
1289
+ * "hostVer": "√",
1290
+ * "uniVer": "√",
1291
+ * "unixVer": "x"
1292
+ * },
1293
+ * "kuaishou": {
1294
+ * "hostVer": "√",
1295
+ * "uniVer": "√",
1296
+ * "unixVer": "x"
1297
+ * },
1298
+ * "jd": {
1299
+ * "hostVer": "√",
1300
+ * "uniVer": "√",
1301
+ * "unixVer": "x"
1302
+ * }
1303
+ * },
1304
+ * "web": {
1305
+ * "uniVer": "√",
1306
+ * "unixVer": "4.0"
1307
+ * }
1308
+ * }
1309
+ */
1310
+ url: string | string.PageURIString
1311
+ /**
1312
+ * 接口调用成功的回调函数
1313
+ * @uniPlatform {
1314
+ * "app": {
1315
+ * "android": {
1316
+ * "osVer": "5.0",
1317
+ * "uniVer": "√",
1318
+ * "unixVer": "√"
1319
+ * },
1320
+ * "ios": {
1321
+ * "osVer": "12.0",
1322
+ * "uniVer": "√",
1323
+ * "unixVer": "4.11"
1324
+ * },
1325
+ * "harmony": {
1326
+ * "osVer": "3.0",
1327
+ * "uniVer": "4.23",
1328
+ * "unixVer": "4.61",
1329
+ * "unixVaporVer": "5.0"
1330
+ * }
1331
+ * },
1332
+ * "mp": {
1333
+ * "weixin": {
1334
+ * "hostVer": "√",
1335
+ * "uniVer": "√",
1336
+ * "unixVer": "4.41"
1337
+ * },
1338
+ * "alipay": {
1339
+ * "hostVer": "√",
1340
+ * "uniVer": "√",
1341
+ * "unixVer": "x"
1342
+ * },
1343
+ * "baidu": {
1344
+ * "hostVer": "√",
1345
+ * "uniVer": "√",
1346
+ * "unixVer": "x"
1347
+ * },
1348
+ * "toutiao": {
1349
+ * "hostVer": "√",
1350
+ * "uniVer": "√",
1351
+ * "unixVer": "x"
1352
+ * },
1353
+ * "lark": {
1354
+ * "hostVer": "√",
1355
+ * "uniVer": "√",
1356
+ * "unixVer": "x"
1357
+ * },
1358
+ * "qq": {
1359
+ * "hostVer": "√",
1360
+ * "uniVer": "√",
1361
+ * "unixVer": "x"
1362
+ * },
1363
+ * "kuaishou": {
1364
+ * "hostVer": "√",
1365
+ * "uniVer": "√",
1366
+ * "unixVer": "x"
1367
+ * },
1368
+ * "jd": {
1369
+ * "hostVer": "√",
1370
+ * "uniVer": "√",
1371
+ * "unixVer": "x"
1372
+ * }
1373
+ * },
1374
+ * "web": {
1375
+ * "uniVer": "√",
1376
+ * "unixVer": "4.0"
1377
+ * }
1378
+ * }
1379
+ */
1380
+ success?: ReLaunchSuccessCallback | null
1381
+ /**
1382
+ * 接口调用失败的回调函数
1383
+ * @uniPlatform {
1384
+ * "app": {
1385
+ * "android": {
1386
+ * "osVer": "5.0",
1387
+ * "uniVer": "√",
1388
+ * "unixVer": "√"
1389
+ * },
1390
+ * "ios": {
1391
+ * "osVer": "12.0",
1392
+ * "uniVer": "√",
1393
+ * "unixVer": "4.11"
1394
+ * },
1395
+ * "harmony": {
1396
+ * "osVer": "3.0",
1397
+ * "uniVer": "4.23",
1398
+ * "unixVer": "4.61",
1399
+ * "unixVaporVer": "5.0"
1400
+ * }
1401
+ * },
1402
+ * "mp": {
1403
+ * "weixin": {
1404
+ * "hostVer": "√",
1405
+ * "uniVer": "√",
1406
+ * "unixVer": "4.41"
1407
+ * },
1408
+ * "alipay": {
1409
+ * "hostVer": "√",
1410
+ * "uniVer": "√",
1411
+ * "unixVer": "x"
1412
+ * },
1413
+ * "baidu": {
1414
+ * "hostVer": "√",
1415
+ * "uniVer": "√",
1416
+ * "unixVer": "x"
1417
+ * },
1418
+ * "toutiao": {
1419
+ * "hostVer": "√",
1420
+ * "uniVer": "√",
1421
+ * "unixVer": "x"
1422
+ * },
1423
+ * "lark": {
1424
+ * "hostVer": "√",
1425
+ * "uniVer": "√",
1426
+ * "unixVer": "x"
1427
+ * },
1428
+ * "qq": {
1429
+ * "hostVer": "√",
1430
+ * "uniVer": "√",
1431
+ * "unixVer": "x"
1432
+ * },
1433
+ * "kuaishou": {
1434
+ * "hostVer": "√",
1435
+ * "uniVer": "√",
1436
+ * "unixVer": "x"
1437
+ * },
1438
+ * "jd": {
1439
+ * "hostVer": "√",
1440
+ * "uniVer": "√",
1441
+ * "unixVer": "x"
1442
+ * }
1443
+ * },
1444
+ * "web": {
1445
+ * "uniVer": "√",
1446
+ * "unixVer": "4.0"
1447
+ * }
1448
+ * }
1449
+ */
1450
+ fail?: ReLaunchFailCallback | null
1451
+ /**
1452
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
1453
+ * @uniPlatform {
1454
+ * "app": {
1455
+ * "android": {
1456
+ * "osVer": "5.0",
1457
+ * "uniVer": "√",
1458
+ * "unixVer": "√"
1459
+ * },
1460
+ * "ios": {
1461
+ * "osVer": "12.0",
1462
+ * "uniVer": "√",
1463
+ * "unixVer": "4.11"
1464
+ * },
1465
+ * "harmony": {
1466
+ * "osVer": "3.0",
1467
+ * "uniVer": "4.23",
1468
+ * "unixVer": "4.61",
1469
+ * "unixVaporVer": "5.0"
1470
+ * }
1471
+ * },
1472
+ * "mp": {
1473
+ * "weixin": {
1474
+ * "hostVer": "√",
1475
+ * "uniVer": "√",
1476
+ * "unixVer": "4.41"
1477
+ * },
1478
+ * "alipay": {
1479
+ * "hostVer": "√",
1480
+ * "uniVer": "√",
1481
+ * "unixVer": "x"
1482
+ * },
1483
+ * "baidu": {
1484
+ * "hostVer": "√",
1485
+ * "uniVer": "√",
1486
+ * "unixVer": "x"
1487
+ * },
1488
+ * "toutiao": {
1489
+ * "hostVer": "√",
1490
+ * "uniVer": "√",
1491
+ * "unixVer": "x"
1492
+ * },
1493
+ * "lark": {
1494
+ * "hostVer": "√",
1495
+ * "uniVer": "√",
1496
+ * "unixVer": "x"
1497
+ * },
1498
+ * "qq": {
1499
+ * "hostVer": "√",
1500
+ * "uniVer": "√",
1501
+ * "unixVer": "x"
1502
+ * },
1503
+ * "kuaishou": {
1504
+ * "hostVer": "√",
1505
+ * "uniVer": "√",
1506
+ * "unixVer": "x"
1507
+ * },
1508
+ * "jd": {
1509
+ * "hostVer": "√",
1510
+ * "uniVer": "√",
1511
+ * "unixVer": "x"
1512
+ * }
1513
+ * },
1514
+ * "web": {
1515
+ * "uniVer": "√",
1516
+ * "unixVer": "4.0"
1517
+ * }
1518
+ * }
1519
+ */
1520
+ complete?: ReLaunchCompleteCallback | null
1521
+ }
1522
+ export type SwitchTabSuccess = AsyncApiSuccessResult
1523
+ export type SwitchTabSuccessCallback = (result: SwitchTabSuccess) => void
1524
+
1525
+ export interface SwitchTabFail extends IUniError {
1526
+ errCode: RouteErrorCode
1527
+ }
1528
+
1529
+ export type SwitchTabFailCallback = (result: SwitchTabFail) => void
1530
+ export type SwitchTabComplete = AsyncApiResult
1531
+ export type SwitchTabCompleteCallback = (result: SwitchTabComplete) => void
1532
+ export type SwitchTabOptions = {
1533
+ /**
1534
+ * 需要跳转的 tabBar 页面的路径,路径后不能带参数
1535
+ * @uniPlatform {
1536
+ * "app": {
1537
+ * "android": {
1538
+ * "osVer": "5.0",
1539
+ * "uniVer": "√",
1540
+ * "unixVer": "√"
1541
+ * },
1542
+ * "ios": {
1543
+ * "osVer": "12.0",
1544
+ * "uniVer": "√",
1545
+ * "unixVer": "4.11"
1546
+ * },
1547
+ * "harmony": {
1548
+ * "osVer": "3.0",
1549
+ * "uniVer": "4.23",
1550
+ * "unixVer": "4.61",
1551
+ * "unixVaporVer": "5.0"
1552
+ * }
1553
+ * },
1554
+ * "mp": {
1555
+ * "weixin": {
1556
+ * "hostVer": "√",
1557
+ * "uniVer": "√",
1558
+ * "unixVer": "4.41"
1559
+ * },
1560
+ * "alipay": {
1561
+ * "hostVer": "√",
1562
+ * "uniVer": "√",
1563
+ * "unixVer": "x"
1564
+ * },
1565
+ * "baidu": {
1566
+ * "hostVer": "√",
1567
+ * "uniVer": "√",
1568
+ * "unixVer": "x"
1569
+ * },
1570
+ * "toutiao": {
1571
+ * "hostVer": "√",
1572
+ * "uniVer": "√",
1573
+ * "unixVer": "x"
1574
+ * },
1575
+ * "lark": {
1576
+ * "hostVer": "√",
1577
+ * "uniVer": "√",
1578
+ * "unixVer": "x"
1579
+ * },
1580
+ * "qq": {
1581
+ * "hostVer": "√",
1582
+ * "uniVer": "√",
1583
+ * "unixVer": "x"
1584
+ * },
1585
+ * "kuaishou": {
1586
+ * "hostVer": "√",
1587
+ * "uniVer": "√",
1588
+ * "unixVer": "x"
1589
+ * },
1590
+ * "jd": {
1591
+ * "hostVer": "√",
1592
+ * "uniVer": "√",
1593
+ * "unixVer": "x"
1594
+ * }
1595
+ * },
1596
+ * "web": {
1597
+ * "uniVer": "√",
1598
+ * "unixVer": "4.0"
1599
+ * }
1600
+ * }
1601
+ */
1602
+ url: string | string.PageURIString
1603
+ /**
1604
+ * 接口调用成功的回调函数
1605
+ * @uniPlatform {
1606
+ * "app": {
1607
+ * "android": {
1608
+ * "osVer": "5.0",
1609
+ * "uniVer": "√",
1610
+ * "unixVer": "√"
1611
+ * },
1612
+ * "ios": {
1613
+ * "osVer": "12.0",
1614
+ * "uniVer": "√",
1615
+ * "unixVer": "4.11"
1616
+ * },
1617
+ * "harmony": {
1618
+ * "osVer": "3.0",
1619
+ * "uniVer": "4.23",
1620
+ * "unixVer": "4.61",
1621
+ * "unixVaporVer": "5.0"
1622
+ * }
1623
+ * },
1624
+ * "mp": {
1625
+ * "weixin": {
1626
+ * "hostVer": "√",
1627
+ * "uniVer": "√",
1628
+ * "unixVer": "4.41"
1629
+ * },
1630
+ * "alipay": {
1631
+ * "hostVer": "√",
1632
+ * "uniVer": "√",
1633
+ * "unixVer": "x"
1634
+ * },
1635
+ * "baidu": {
1636
+ * "hostVer": "√",
1637
+ * "uniVer": "√",
1638
+ * "unixVer": "x"
1639
+ * },
1640
+ * "toutiao": {
1641
+ * "hostVer": "√",
1642
+ * "uniVer": "√",
1643
+ * "unixVer": "x"
1644
+ * },
1645
+ * "lark": {
1646
+ * "hostVer": "√",
1647
+ * "uniVer": "√",
1648
+ * "unixVer": "x"
1649
+ * },
1650
+ * "qq": {
1651
+ * "hostVer": "√",
1652
+ * "uniVer": "√",
1653
+ * "unixVer": "x"
1654
+ * },
1655
+ * "kuaishou": {
1656
+ * "hostVer": "√",
1657
+ * "uniVer": "√",
1658
+ * "unixVer": "x"
1659
+ * },
1660
+ * "jd": {
1661
+ * "hostVer": "√",
1662
+ * "uniVer": "√",
1663
+ * "unixVer": "x"
1664
+ * }
1665
+ * },
1666
+ * "web": {
1667
+ * "uniVer": "√",
1668
+ * "unixVer": "4.0"
1669
+ * }
1670
+ * }
1671
+ */
1672
+ success?: SwitchTabSuccessCallback | null
1673
+ /**
1674
+ * 接口调用失败的回调函数
1675
+ * @uniPlatform {
1676
+ * "app": {
1677
+ * "android": {
1678
+ * "osVer": "5.0",
1679
+ * "uniVer": "√",
1680
+ * "unixVer": "√"
1681
+ * },
1682
+ * "ios": {
1683
+ * "osVer": "12.0",
1684
+ * "uniVer": "√",
1685
+ * "unixVer": "4.11"
1686
+ * },
1687
+ * "harmony": {
1688
+ * "osVer": "3.0",
1689
+ * "uniVer": "4.23",
1690
+ * "unixVer": "4.61",
1691
+ * "unixVaporVer": "5.0"
1692
+ * }
1693
+ * },
1694
+ * "mp": {
1695
+ * "weixin": {
1696
+ * "hostVer": "√",
1697
+ * "uniVer": "√",
1698
+ * "unixVer": "4.41"
1699
+ * },
1700
+ * "alipay": {
1701
+ * "hostVer": "√",
1702
+ * "uniVer": "√",
1703
+ * "unixVer": "x"
1704
+ * },
1705
+ * "baidu": {
1706
+ * "hostVer": "√",
1707
+ * "uniVer": "√",
1708
+ * "unixVer": "x"
1709
+ * },
1710
+ * "toutiao": {
1711
+ * "hostVer": "√",
1712
+ * "uniVer": "√",
1713
+ * "unixVer": "x"
1714
+ * },
1715
+ * "lark": {
1716
+ * "hostVer": "√",
1717
+ * "uniVer": "√",
1718
+ * "unixVer": "x"
1719
+ * },
1720
+ * "qq": {
1721
+ * "hostVer": "√",
1722
+ * "uniVer": "√",
1723
+ * "unixVer": "x"
1724
+ * },
1725
+ * "kuaishou": {
1726
+ * "hostVer": "√",
1727
+ * "uniVer": "√",
1728
+ * "unixVer": "x"
1729
+ * },
1730
+ * "jd": {
1731
+ * "hostVer": "√",
1732
+ * "uniVer": "√",
1733
+ * "unixVer": "x"
1734
+ * }
1735
+ * },
1736
+ * "web": {
1737
+ * "uniVer": "√",
1738
+ * "unixVer": "4.0"
1739
+ * }
1740
+ * }
1741
+ */
1742
+ fail?: SwitchTabFailCallback | null
1743
+ /**
1744
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
1745
+ * @uniPlatform {
1746
+ * "app": {
1747
+ * "android": {
1748
+ * "osVer": "5.0",
1749
+ * "uniVer": "√",
1750
+ * "unixVer": "√"
1751
+ * },
1752
+ * "ios": {
1753
+ * "osVer": "12.0",
1754
+ * "uniVer": "√",
1755
+ * "unixVer": "4.11"
1756
+ * },
1757
+ * "harmony": {
1758
+ * "osVer": "3.0",
1759
+ * "uniVer": "4.23",
1760
+ * "unixVer": "4.61",
1761
+ * "unixVaporVer": "5.0"
1762
+ * }
1763
+ * },
1764
+ * "mp": {
1765
+ * "weixin": {
1766
+ * "hostVer": "√",
1767
+ * "uniVer": "√",
1768
+ * "unixVer": "4.41"
1769
+ * },
1770
+ * "alipay": {
1771
+ * "hostVer": "√",
1772
+ * "uniVer": "√",
1773
+ * "unixVer": "x"
1774
+ * },
1775
+ * "baidu": {
1776
+ * "hostVer": "√",
1777
+ * "uniVer": "√",
1778
+ * "unixVer": "x"
1779
+ * },
1780
+ * "toutiao": {
1781
+ * "hostVer": "√",
1782
+ * "uniVer": "√",
1783
+ * "unixVer": "x"
1784
+ * },
1785
+ * "lark": {
1786
+ * "hostVer": "√",
1787
+ * "uniVer": "√",
1788
+ * "unixVer": "x"
1789
+ * },
1790
+ * "qq": {
1791
+ * "hostVer": "√",
1792
+ * "uniVer": "√",
1793
+ * "unixVer": "x"
1794
+ * },
1795
+ * "kuaishou": {
1796
+ * "hostVer": "√",
1797
+ * "uniVer": "√",
1798
+ * "unixVer": "x"
1799
+ * },
1800
+ * "jd": {
1801
+ * "hostVer": "√",
1802
+ * "uniVer": "√",
1803
+ * "unixVer": "x"
1804
+ * }
1805
+ * },
1806
+ * "web": {
1807
+ * "uniVer": "√",
1808
+ * "unixVer": "4.0"
1809
+ * }
1810
+ * }
1811
+ */
1812
+ complete?: SwitchTabCompleteCallback | null
1813
+ }
1814
+ export type NavigateBackSuccess = AsyncApiSuccessResult
1815
+ type NavigateBackSuccessCallback = (result: NavigateBackSuccess) => void
1816
+ export interface NavigateBackFail extends IUniError {
1817
+ errCode: RouteErrorCode
1818
+ }
1819
+ type NavigateBackFailCallback = (result: NavigateBackFail) => void
1820
+ export type NavigateBackComplete = AsyncApiResult
1821
+ type NavigateBackCompleteCallback = (result: NavigateBackComplete) => void
1822
+ export type NavigateBackOptions = {
1823
+ /**
1824
+ * 返回的页面数,如果 delta 大于现有页面数,则返回到首页
1825
+ * @uniPlatform {
1826
+ * "app": {
1827
+ * "android": {
1828
+ * "osVer": "5.0",
1829
+ * "uniVer": "√",
1830
+ * "unixVer": "√"
1831
+ * },
1832
+ * "ios": {
1833
+ * "osVer": "12.0",
1834
+ * "uniVer": "√",
1835
+ * "unixVer": "4.11"
1836
+ * },
1837
+ * "harmony": {
1838
+ * "osVer": "3.0",
1839
+ * "uniVer": "4.23",
1840
+ * "unixVer": "4.61",
1841
+ * "unixVaporVer": "5.0"
1842
+ * }
1843
+ * },
1844
+ * "mp": {
1845
+ * "weixin": {
1846
+ * "hostVer": "√",
1847
+ * "uniVer": "√",
1848
+ * "unixVer": "4.41"
1849
+ * },
1850
+ * "alipay": {
1851
+ * "hostVer": "√",
1852
+ * "uniVer": "√",
1853
+ * "unixVer": "x"
1854
+ * },
1855
+ * "baidu": {
1856
+ * "hostVer": "√",
1857
+ * "uniVer": "√",
1858
+ * "unixVer": "x"
1859
+ * },
1860
+ * "toutiao": {
1861
+ * "hostVer": "√",
1862
+ * "uniVer": "√",
1863
+ * "unixVer": "x"
1864
+ * },
1865
+ * "lark": {
1866
+ * "hostVer": "√",
1867
+ * "uniVer": "√",
1868
+ * "unixVer": "x"
1869
+ * },
1870
+ * "qq": {
1871
+ * "hostVer": "√",
1872
+ * "uniVer": "√",
1873
+ * "unixVer": "x"
1874
+ * },
1875
+ * "kuaishou": {
1876
+ * "hostVer": "√",
1877
+ * "uniVer": "√",
1878
+ * "unixVer": "x"
1879
+ * },
1880
+ * "jd": {
1881
+ * "hostVer": "√",
1882
+ * "uniVer": "√",
1883
+ * "unixVer": "x"
1884
+ * }
1885
+ * },
1886
+ * "web": {
1887
+ * "uniVer": "√",
1888
+ * "unixVer": "4.0"
1889
+ * }
1890
+ * }
1891
+ */
1892
+ delta?: number | null
1893
+ /**
1894
+ * 窗口关闭的动画类型
1895
+ *
1896
+ * @uniPlatform {
1897
+ * "app": {
1898
+ * "android": {
1899
+ * "osVer": "5.0",
1900
+ * "uniVer": "√",
1901
+ * "unixVer": "4.18"
1902
+ * },
1903
+ * "ios": {
1904
+ * "osVer": "12.0",
1905
+ * "uniVer": "√",
1906
+ * "unixVer": "4.25"
1907
+ * }
1908
+ * },
1909
+ * "mp": {
1910
+ * "weixin": {
1911
+ * "hostVer": "√",
1912
+ * "uniVer": "x",
1913
+ * "unixVer": "x"
1914
+ * },
1915
+ * "alipay": {
1916
+ * "hostVer": "√",
1917
+ * "uniVer": "x",
1918
+ * "unixVer": "x"
1919
+ * },
1920
+ * "baidu": {
1921
+ * "hostVer": "√",
1922
+ * "uniVer": "x",
1923
+ * "unixVer": "x"
1924
+ * },
1925
+ * "toutiao": {
1926
+ * "hostVer": "√",
1927
+ * "uniVer": "x",
1928
+ * "unixVer": "x"
1929
+ * },
1930
+ * "lark": {
1931
+ * "hostVer": "√",
1932
+ * "uniVer": "x",
1933
+ * "unixVer": "x"
1934
+ * },
1935
+ * "qq": {
1936
+ * "hostVer": "√",
1937
+ * "uniVer": "x",
1938
+ * "unixVer": "x"
1939
+ * },
1940
+ * "kuaishou": {
1941
+ * "hostVer": "√",
1942
+ * "uniVer": "x",
1943
+ * "unixVer": "x"
1944
+ * },
1945
+ * "jd": {
1946
+ * "hostVer": "√",
1947
+ * "uniVer": "x",
1948
+ * "unixVer": "x"
1949
+ * }
1950
+ * },
1951
+ * "web": {
1952
+ * "uniVer": "x",
1953
+ * "unixVer": "x"
1954
+ * }
1955
+ * }
1956
+ */
1957
+ animationType?:
1958
+ /**
1959
+ * 自动选择动画效果
1960
+ * @uniPlatform {
1961
+ * "app": {
1962
+ * "android": {
1963
+ * "osVer": "5.0",
1964
+ * "uniVer": "√",
1965
+ * "unixVer": "4.18"
1966
+ * },
1967
+ * "ios": {
1968
+ * "osVer": "12.0",
1969
+ * "uniVer": "√",
1970
+ * "unixVer": "4.25"
1971
+ * },
1972
+ * "harmony": {
1973
+ * "osVer": "3.0",
1974
+ * "uniVer": "4.61",
1975
+ * "unixVer": "5.0"
1976
+ * }
1977
+ * },
1978
+ * "web": {
1979
+ * "uniVer": "x",
1980
+ * "unixVer": "x"
1981
+ * }
1982
+ * }
1983
+ */
1984
+ 'auto' |
1985
+ /**
1986
+ * 无动画效果
1987
+ * @uniPlatform {
1988
+ * "app": {
1989
+ * "android": {
1990
+ * "osVer": "5.0",
1991
+ * "uniVer": "√",
1992
+ * "unixVer": "4.18"
1993
+ * },
1994
+ * "ios": {
1995
+ * "osVer": "12.0",
1996
+ * "uniVer": "√",
1997
+ * "unixVer": "4.25"
1998
+ * },
1999
+ * "harmony": {
2000
+ * "osVer": "3.0",
2001
+ * "uniVer": "4.23",
2002
+ * "unixVer": "4.61",
2003
+ * "unixVaporVer": "5.0"
2004
+ * }
2005
+ * },
2006
+ * "web": {
2007
+ * "uniVer": "x",
2008
+ * "unixVer": "x"
2009
+ * }
2010
+ * }
2011
+ */
2012
+ 'none' |
2013
+ /**
2014
+ * 横向向右侧滑出屏幕动画
2015
+ * @uniPlatform {
2016
+ * "app": {
2017
+ * "android": {
2018
+ * "osVer": "5.0",
2019
+ * "uniVer": "√",
2020
+ * "unixVer": "4.18"
2021
+ * },
2022
+ * "ios": {
2023
+ * "osVer": "12.0",
2024
+ * "uniVer": "√",
2025
+ * "unixVer": "4.25"
2026
+ * },
2027
+ * "harmony": {
2028
+ * "osVer": "3.0",
2029
+ * "uniVer": "x",
2030
+ * "unixVer": "5.0"
2031
+ * }
2032
+ * },
2033
+ * "web": {
2034
+ * "uniVer": "x",
2035
+ * "unixVer": "x"
2036
+ * }
2037
+ * }
2038
+ */
2039
+ 'slide-out-right' |
2040
+ /**
2041
+ * 横向向左侧滑出屏幕动画
2042
+ * @uniPlatform {
2043
+ * "app": {
2044
+ * "android": {
2045
+ * "osVer": "5.0",
2046
+ * "uniVer": "√",
2047
+ * "unixVer": "4.18"
2048
+ * },
2049
+ * "ios": {
2050
+ * "osVer": "12.0",
2051
+ * "uniVer": "√",
2052
+ * "unixVer": "4.25"
2053
+ * },
2054
+ * "harmony": {
2055
+ * "osVer": "3.0",
2056
+ * "uniVer": "x",
2057
+ * "unixVer": "5.0"
2058
+ * }
2059
+ * },
2060
+ * "web": {
2061
+ * "uniVer": "x",
2062
+ * "unixVer": "x"
2063
+ * }
2064
+ * }
2065
+ */
2066
+ 'slide-out-left' |
2067
+ /**
2068
+ * 竖向向上侧滑出屏幕动画
2069
+ * @uniPlatform {
2070
+ * "app": {
2071
+ * "android": {
2072
+ * "osVer": "5.0",
2073
+ * "uniVer": "√",
2074
+ * "unixVer": "4.18"
2075
+ * },
2076
+ * "ios": {
2077
+ * "osVer": "12.0",
2078
+ * "uniVer": "√",
2079
+ * "unixVer": "4.25"
2080
+ * },
2081
+ * "harmony": {
2082
+ * "osVer": "3.0",
2083
+ * "uniVer": "x",
2084
+ * "unixVer": "5.0"
2085
+ * }
2086
+ * },
2087
+ * "web": {
2088
+ * "uniVer": "x",
2089
+ * "unixVer": "x"
2090
+ * }
2091
+ * }
2092
+ */
2093
+ 'slide-out-top' |
2094
+ /**
2095
+ * 竖向向下侧滑出屏幕动画
2096
+ * @uniPlatform {
2097
+ * "app": {
2098
+ * "android": {
2099
+ * "osVer": "5.0",
2100
+ * "uniVer": "√",
2101
+ * "unixVer": "4.18"
2102
+ * },
2103
+ * "ios": {
2104
+ * "osVer": "12.0",
2105
+ * "uniVer": "√",
2106
+ * "unixVer": "4.25"
2107
+ * },
2108
+ * "harmony": {
2109
+ * "osVer": "3.0",
2110
+ * "uniVer": "x",
2111
+ * "unixVer": "5.0"
2112
+ * }
2113
+ * },
2114
+ * "web": {
2115
+ * "uniVer": "x",
2116
+ * "unixVer": "x"
2117
+ * }
2118
+ * }
2119
+ */
2120
+ 'slide-out-bottom' |
2121
+ /**
2122
+ * 从不透明到透明逐渐隐藏动画
2123
+ * @uniPlatform {
2124
+ * "app": {
2125
+ * "android": {
2126
+ * "osVer": "5.0",
2127
+ * "uniVer": "√",
2128
+ * "unixVer": "4.18"
2129
+ * },
2130
+ * "ios": {
2131
+ * "osVer": "12.0",
2132
+ * "uniVer": "√",
2133
+ * "unixVer": "4.25"
2134
+ * },
2135
+ * "harmony": {
2136
+ * "osVer": "3.0",
2137
+ * "uniVer": "x",
2138
+ * "unixVer": "5.0"
2139
+ * }
2140
+ * },
2141
+ * "web": {
2142
+ * "uniVer": "x",
2143
+ * "unixVer": "x"
2144
+ * }
2145
+ * }
2146
+ */
2147
+ 'fade-out' |
2148
+ /**
2149
+ * 从大逐渐缩小关闭动画
2150
+ * @uniPlatform {
2151
+ * "app": {
2152
+ * "android": {
2153
+ * "osVer": "5.0",
2154
+ * "uniVer": "√",
2155
+ * "unixVer": "4.18"
2156
+ * },
2157
+ * "ios": {
2158
+ * "osVer": "12.0",
2159
+ * "uniVer": "√",
2160
+ * "unixVer": "4.25"
2161
+ * },
2162
+ * "harmony": {
2163
+ * "osVer": "3.0",
2164
+ * "uniVer": "x",
2165
+ * "unixVer": "5.0"
2166
+ * }
2167
+ * },
2168
+ * "web": {
2169
+ * "uniVer": "x",
2170
+ * "unixVer": "x"
2171
+ * }
2172
+ * }
2173
+ */
2174
+ 'zoom-in' |
2175
+ /**
2176
+ * 从大逐渐缩小并且从不透明到透明逐渐隐藏关闭动画
2177
+ * @uniPlatform {
2178
+ * "app": {
2179
+ * "android": {
2180
+ * "osVer": "5.0",
2181
+ * "uniVer": "√",
2182
+ * "unixVer": "4.18"
2183
+ * },
2184
+ * "ios": {
2185
+ * "osVer": "12.0",
2186
+ * "uniVer": "√",
2187
+ * "unixVer": "4.25"
2188
+ * },
2189
+ * "harmony": {
2190
+ * "osVer": "3.0",
2191
+ * "uniVer": "x",
2192
+ * "unixVer": "5.0"
2193
+ * }
2194
+ * },
2195
+ * "web": {
2196
+ * "uniVer": "x",
2197
+ * "unixVer": "x"
2198
+ * }
2199
+ * }
2200
+ */
2201
+ 'zoom-fade-in' |
2202
+ /**
2203
+ * 从右侧平移出栈动画效果
2204
+ * @uniPlatform {
2205
+ * "app": {
2206
+ * "android": {
2207
+ * "osVer": "5.0",
2208
+ * "uniVer": "√",
2209
+ * "unixVer": "4.18"
2210
+ * },
2211
+ * "ios": {
2212
+ * "osVer": "12.0",
2213
+ * "uniVer": "√",
2214
+ * "unixVer": "4.25"
2215
+ * },
2216
+ * "harmony": {
2217
+ * "osVer": "3.0",
2218
+ * "uniVer": "4.23",
2219
+ * "unixVer": "4.61",
2220
+ * "unixVaporVer": "5.0"
2221
+ * }
2222
+ * },
2223
+ * "web": {
2224
+ * "uniVer": "x",
2225
+ * "unixVer": "x"
2226
+ * }
2227
+ * }
2228
+ */
2229
+ 'pop-out' | null
2230
+ /**
2231
+ * 窗口关闭动画的持续时间,单位为 ms
2232
+ * @uniPlatform {
2233
+ * "app": {
2234
+ * "android": {
2235
+ * "osVer": "5.0",
2236
+ * "uniVer": "√",
2237
+ * "unixVer": "x"
2238
+ * },
2239
+ * "ios": {
2240
+ * "osVer": "12.0",
2241
+ * "uniVer": "√",
2242
+ * "unixVer": "x"
2243
+ * },
2244
+ * "harmony": {
2245
+ * "osVer": "3.0",
2246
+ * "uniVer": "4.23",
2247
+ * "unixVer": "x"
2248
+ * }
2249
+ * },
2250
+ * "mp": {
2251
+ * "weixin": {
2252
+ * "hostVer": "√",
2253
+ * "uniVer": "x",
2254
+ * "unixVer": "x"
2255
+ * },
2256
+ * "alipay": {
2257
+ * "hostVer": "√",
2258
+ * "uniVer": "x",
2259
+ * "unixVer": "x"
2260
+ * },
2261
+ * "baidu": {
2262
+ * "hostVer": "√",
2263
+ * "uniVer": "x",
2264
+ * "unixVer": "x"
2265
+ * },
2266
+ * "toutiao": {
2267
+ * "hostVer": "√",
2268
+ * "uniVer": "x",
2269
+ * "unixVer": "x"
2270
+ * },
2271
+ * "lark": {
2272
+ * "hostVer": "√",
2273
+ * "uniVer": "x",
2274
+ * "unixVer": "x"
2275
+ * },
2276
+ * "qq": {
2277
+ * "hostVer": "√",
2278
+ * "uniVer": "x",
2279
+ * "unixVer": "x"
2280
+ * },
2281
+ * "kuaishou": {
2282
+ * "hostVer": "√",
2283
+ * "uniVer": "x",
2284
+ * "unixVer": "x"
2285
+ * },
2286
+ * "jd": {
2287
+ * "hostVer": "√",
2288
+ * "uniVer": "x",
2289
+ * "unixVer": "x"
2290
+ * }
2291
+ * },
2292
+ * "web": {
2293
+ * "uniVer": "x",
2294
+ * "unixVer": "x"
2295
+ * }
2296
+ * }
2297
+ */
2298
+ animationDuration?: number | null
2299
+ /**
2300
+ * 接口调用成功的回调函数
2301
+ * @uniPlatform {
2302
+ * "app": {
2303
+ * "android": {
2304
+ * "osVer": "5.0",
2305
+ * "uniVer": "√",
2306
+ * "unixVer": "√"
2307
+ * },
2308
+ * "ios": {
2309
+ * "osVer": "12.0",
2310
+ * "uniVer": "√",
2311
+ * "unixVer": "x"
2312
+ * }
2313
+ * },
2314
+ * "mp": {
2315
+ * "weixin": {
2316
+ * "hostVer": "√",
2317
+ * "uniVer": "√",
2318
+ * "unixVer": "4.41"
2319
+ * },
2320
+ * "alipay": {
2321
+ * "hostVer": "√",
2322
+ * "uniVer": "√",
2323
+ * "unixVer": "x"
2324
+ * },
2325
+ * "baidu": {
2326
+ * "hostVer": "√",
2327
+ * "uniVer": "√",
2328
+ * "unixVer": "x"
2329
+ * },
2330
+ * "toutiao": {
2331
+ * "hostVer": "√",
2332
+ * "uniVer": "√",
2333
+ * "unixVer": "x"
2334
+ * },
2335
+ * "lark": {
2336
+ * "hostVer": "√",
2337
+ * "uniVer": "√",
2338
+ * "unixVer": "x"
2339
+ * },
2340
+ * "qq": {
2341
+ * "hostVer": "√",
2342
+ * "uniVer": "√",
2343
+ * "unixVer": "x"
2344
+ * },
2345
+ * "kuaishou": {
2346
+ * "hostVer": "√",
2347
+ * "uniVer": "√",
2348
+ * "unixVer": "x"
2349
+ * },
2350
+ * "jd": {
2351
+ * "hostVer": "√",
2352
+ * "uniVer": "√",
2353
+ * "unixVer": "x"
2354
+ * }
2355
+ * },
2356
+ * "web": {
2357
+ * "uniVer": "√",
2358
+ * "unixVer": "4.0"
2359
+ * }
2360
+ * }
2361
+ */
2362
+ success?: NavigateBackSuccessCallback | null
2363
+ /**
2364
+ * 接口调用失败的回调函数
2365
+ * @uniPlatform {
2366
+ * "app": {
2367
+ * "android": {
2368
+ * "osVer": "5.0",
2369
+ * "uniVer": "√",
2370
+ * "unixVer": "√"
2371
+ * },
2372
+ * "ios": {
2373
+ * "osVer": "12.0",
2374
+ * "uniVer": "√",
2375
+ * "unixVer": "4.11"
2376
+ * },
2377
+ * "harmony": {
2378
+ * "osVer": "3.0",
2379
+ * "uniVer": "4.23",
2380
+ * "unixVer": "4.61",
2381
+ * "unixVaporVer": "5.0"
2382
+ * }
2383
+ * },
2384
+ * "mp": {
2385
+ * "weixin": {
2386
+ * "hostVer": "√",
2387
+ * "uniVer": "√",
2388
+ * "unixVer": "4.41"
2389
+ * },
2390
+ * "alipay": {
2391
+ * "hostVer": "√",
2392
+ * "uniVer": "√",
2393
+ * "unixVer": "x"
2394
+ * },
2395
+ * "baidu": {
2396
+ * "hostVer": "√",
2397
+ * "uniVer": "√",
2398
+ * "unixVer": "x"
2399
+ * },
2400
+ * "toutiao": {
2401
+ * "hostVer": "√",
2402
+ * "uniVer": "√",
2403
+ * "unixVer": "x"
2404
+ * },
2405
+ * "lark": {
2406
+ * "hostVer": "√",
2407
+ * "uniVer": "√",
2408
+ * "unixVer": "x"
2409
+ * },
2410
+ * "qq": {
2411
+ * "hostVer": "√",
2412
+ * "uniVer": "√",
2413
+ * "unixVer": "x"
2414
+ * },
2415
+ * "kuaishou": {
2416
+ * "hostVer": "√",
2417
+ * "uniVer": "√",
2418
+ * "unixVer": "x"
2419
+ * },
2420
+ * "jd": {
2421
+ * "hostVer": "√",
2422
+ * "uniVer": "√",
2423
+ * "unixVer": "x"
2424
+ * }
2425
+ * },
2426
+ * "web": {
2427
+ * "uniVer": "√",
2428
+ * "unixVer": "4.0"
2429
+ * }
2430
+ * }
2431
+ */
2432
+ fail?: NavigateBackFailCallback | null
2433
+ /**
2434
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
2435
+ * @uniPlatform {
2436
+ * "app": {
2437
+ * "android": {
2438
+ * "osVer": "5.0",
2439
+ * "uniVer": "√",
2440
+ * "unixVer": "√"
2441
+ * },
2442
+ * "ios": {
2443
+ * "osVer": "12.0",
2444
+ * "uniVer": "√",
2445
+ * "unixVer": "4.11"
2446
+ * },
2447
+ * "harmony": {
2448
+ * "osVer": "3.0",
2449
+ * "uniVer": "4.23",
2450
+ * "unixVer": "4.61",
2451
+ * "unixVaporVer": "5.0"
2452
+ * }
2453
+ * },
2454
+ * "mp": {
2455
+ * "weixin": {
2456
+ * "hostVer": "√",
2457
+ * "uniVer": "√",
2458
+ * "unixVer": "4.41"
2459
+ * },
2460
+ * "alipay": {
2461
+ * "hostVer": "√",
2462
+ * "uniVer": "√",
2463
+ * "unixVer": "x"
2464
+ * },
2465
+ * "baidu": {
2466
+ * "hostVer": "√",
2467
+ * "uniVer": "√",
2468
+ * "unixVer": "x"
2469
+ * },
2470
+ * "toutiao": {
2471
+ * "hostVer": "√",
2472
+ * "uniVer": "√",
2473
+ * "unixVer": "x"
2474
+ * },
2475
+ * "lark": {
2476
+ * "hostVer": "√",
2477
+ * "uniVer": "√",
2478
+ * "unixVer": "x"
2479
+ * },
2480
+ * "qq": {
2481
+ * "hostVer": "√",
2482
+ * "uniVer": "√",
2483
+ * "unixVer": "x"
2484
+ * },
2485
+ * "kuaishou": {
2486
+ * "hostVer": "√",
2487
+ * "uniVer": "√",
2488
+ * "unixVer": "x"
2489
+ * },
2490
+ * "jd": {
2491
+ * "hostVer": "√",
2492
+ * "uniVer": "√",
2493
+ * "unixVer": "x"
2494
+ * }
2495
+ * },
2496
+ * "web": {
2497
+ * "uniVer": "√",
2498
+ * "unixVer": "4.0"
2499
+ * }
2500
+ * }
2501
+ */
2502
+ complete?: NavigateBackCompleteCallback | null
2503
+ }
2504
+
2505
+ export interface Uni {
2506
+ /**
2507
+ * 保留当前页面,跳转到应用内的某个页面
2508
+ *
2509
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/router.html#navigateto
2510
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateto
2511
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateto
2512
2512
  * @uniPlatform {
2513
2513
  * "app": {
2514
2514
  * "android": {
@@ -2525,7 +2525,7 @@ export interface Uni {
2525
2525
  * "osVer": "3.0",
2526
2526
  * "uniVer": "4.23",
2527
2527
  * "unixVer": "4.61",
2528
- * "unixvVer": "5.0"
2528
+ * "unixVaporVer": "5.0"
2529
2529
  * }
2530
2530
  * },
2531
2531
  * "mp": {
@@ -2576,14 +2576,14 @@ export interface Uni {
2576
2576
  * }
2577
2577
  * }
2578
2578
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/route/wx.navigateTo.html
2579
- */
2580
- navigateTo(options: NavigateToOptions): Promise<NavigateToSuccess> | null
2581
- /**
2582
- * 关闭当前页面,跳转到应用内的某个页面
2583
- *
2584
- * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/router.html#redirectto
2585
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#redirectto
2586
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#redirectto
2579
+ */
2580
+ navigateTo(options: NavigateToOptions): Promise<NavigateToSuccess> | null
2581
+ /**
2582
+ * 关闭当前页面,跳转到应用内的某个页面
2583
+ *
2584
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/router.html#redirectto
2585
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#redirectto
2586
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#redirectto
2587
2587
  * @uniPlatform {
2588
2588
  * "app": {
2589
2589
  * "android": {
@@ -2600,7 +2600,7 @@ export interface Uni {
2600
2600
  * "osVer": "3.0",
2601
2601
  * "uniVer": "4.23",
2602
2602
  * "unixVer": "4.61",
2603
- * "unixvVer": "5.0"
2603
+ * "unixVaporVer": "5.0"
2604
2604
  * }
2605
2605
  * },
2606
2606
  * "mp": {
@@ -2651,14 +2651,14 @@ export interface Uni {
2651
2651
  * }
2652
2652
  * }
2653
2653
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/route/wx.redirectTo.html
2654
- */
2655
- redirectTo(options: RedirectToOptions): Promise<RedirectToSuccess> | null
2656
- /**
2657
- * 关闭所有页面,打开到应用内的某个页面
2658
- *
2659
- * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/router.html#relaunch
2660
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#relaunch
2661
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#relaunch
2654
+ */
2655
+ redirectTo(options: RedirectToOptions): Promise<RedirectToSuccess> | null
2656
+ /**
2657
+ * 关闭所有页面,打开到应用内的某个页面
2658
+ *
2659
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/router.html#relaunch
2660
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#relaunch
2661
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#relaunch
2662
2662
  * @uniPlatform {
2663
2663
  * "app": {
2664
2664
  * "android": {
@@ -2675,7 +2675,7 @@ export interface Uni {
2675
2675
  * "osVer": "3.0",
2676
2676
  * "uniVer": "4.23",
2677
2677
  * "unixVer": "4.61",
2678
- * "unixvVer": "5.0"
2678
+ * "unixVaporVer": "5.0"
2679
2679
  * }
2680
2680
  * },
2681
2681
  * "mp": {
@@ -2726,14 +2726,14 @@ export interface Uni {
2726
2726
  * }
2727
2727
  * }
2728
2728
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/route/wx.reLaunch.html
2729
- */
2730
- reLaunch(options: ReLaunchOptions): Promise<ReLaunchSuccess> | null
2731
- /**
2732
- * 跳转到 tabBar 页面,并关闭其他所有非 tabBar 页面
2733
- *
2734
- * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/router.html#switchtab
2735
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#switchtab
2736
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#switchtab
2729
+ */
2730
+ reLaunch(options: ReLaunchOptions): Promise<ReLaunchSuccess> | null
2731
+ /**
2732
+ * 跳转到 tabBar 页面,并关闭其他所有非 tabBar 页面
2733
+ *
2734
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/router.html#switchtab
2735
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#switchtab
2736
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#switchtab
2737
2737
  * @uniPlatform {
2738
2738
  * "app": {
2739
2739
  * "android": {
@@ -2750,7 +2750,7 @@ export interface Uni {
2750
2750
  * "osVer": "3.0",
2751
2751
  * "uniVer": "4.23",
2752
2752
  * "unixVer": "4.61",
2753
- * "unixvVer": "5.0"
2753
+ * "unixVaporVer": "5.0"
2754
2754
  * }
2755
2755
  * },
2756
2756
  * "mp": {
@@ -2801,14 +2801,14 @@ export interface Uni {
2801
2801
  * }
2802
2802
  * }
2803
2803
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/route/wx.switchTab.html
2804
- */
2805
- switchTab(options: SwitchTabOptions): Promise<SwitchTabSuccess> | null
2806
- /**
2807
- * 关闭当前页面,返回上一页面或多级页面
2808
- *
2809
- * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/router.html#navigateback
2810
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateback
2811
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateback
2804
+ */
2805
+ switchTab(options: SwitchTabOptions): Promise<SwitchTabSuccess> | null
2806
+ /**
2807
+ * 关闭当前页面,返回上一页面或多级页面
2808
+ *
2809
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/router.html#navigateback
2810
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateback
2811
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateback
2812
2812
  * @uniPlatform {
2813
2813
  * "app": {
2814
2814
  * "android": {
@@ -2825,7 +2825,7 @@ export interface Uni {
2825
2825
  * "osVer": "3.0",
2826
2826
  * "uniVer": "4.23",
2827
2827
  * "unixVer": "4.61",
2828
- * "unixvVer": "5.0"
2828
+ * "unixVaporVer": "5.0"
2829
2829
  * }
2830
2830
  * },
2831
2831
  * "mp": {
@@ -2876,8 +2876,8 @@ export interface Uni {
2876
2876
  * }
2877
2877
  * }
2878
2878
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/route/wx.navigateBack.html
2879
- */
2880
- navigateBack(
2881
- options?: NavigateBackOptions | null,
2882
- ): Promise<NavigateBackSuccess> | null
2883
- }
2879
+ */
2880
+ navigateBack(
2881
+ options?: NavigateBackOptions | null,
2882
+ ): Promise<NavigateBackSuccess> | null
2883
+ }