@dcloudio/uni-app-x 0.7.111 → 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.
- package/package.json +1 -1
- package/types/dom2-internal/UniNativeView.d.ts +1 -0
- package/types/dom2-internal/UniPage.d.ts +16 -0
- package/types/dom2-internal/sharedData.d.ts +9 -14
- package/types/native/CSSStyleDeclaration.d.ts +172 -172
- package/types/native/CanvasRenderingContext2D.d.ts +4720 -4720
- package/types/native/DrawableContext.d.ts +1893 -1893
- package/types/native/IUniElement.d.ts +7468 -7461
- package/types/native/IUniNativeViewElement.d.ts +327 -327
- package/types/native/SnapshotOptions.d.ts +337 -62
- package/types/native/UniPage.d.ts +1305 -1305
- package/types/native/UniResizeObserver.d.ts +749 -749
- package/types/native/UniSwiperAnimationFinishEvent.d.ts +59 -59
- package/types/native/UniSwiperChangeEvent.d.ts +58 -58
- package/types/page.d.ts +3154 -3112
- package/types/uni/uts-plugin-api/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/index.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +1672 -911
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +126 -126
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +14 -14
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +154 -154
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +14 -14
- package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/global.d.ts +55 -0
- package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/index.d.ts +27 -0
- package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/interface.d.ts +1155 -0
- package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/global.d.ts +9 -6
- package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/index.d.ts +5 -3
- package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +978 -972
- package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/global.d.ts +25 -0
- package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/index.d.ts +12 -0
- package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -0
- package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +358 -358
- package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +8 -8
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +78 -78
- package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +490 -479
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -214
- package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/interface.d.ts +126 -126
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +30 -30
- package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/global.d.ts +39 -0
- package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/index.d.ts +19 -0
- package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +856 -0
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +338 -338
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +147 -147
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +397 -397
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +6363 -6359
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +554 -554
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2149 -2149
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1340 -1340
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1707 -1707
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +307 -307
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +310 -310
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +5 -5
- package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +129 -129
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +757 -757
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +5881 -5879
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +442 -442
- package/types/uni/uts-plugin-api/lib/uni-input/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-api/lib/uni-input/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-api/lib/uni-input/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +171 -171
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +536 -536
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +2914 -2910
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +24 -24
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +208 -208
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +785 -785
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4243 -4243
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1979 -1963
- package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +5 -3
- package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +229 -229
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +753 -753
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +84 -84
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +790 -788
- package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +447 -447
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +498 -498
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +1552 -1548
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +58 -58
- package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +30 -30
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2513 -2513
- package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +81 -81
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +351 -351
- package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +107 -107
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +584 -584
- package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -722
- package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/interface.d.ts +292 -292
- package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +358 -358
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +657 -657
- package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1010 -1010
- package/types/uni/uts-plugin-api/lib/uni-video/utssdk/global.d.ts +47 -0
- package/types/uni/uts-plugin-api/lib/uni-video/utssdk/index.d.ts +23 -0
- package/types/uni/uts-plugin-api/lib/uni-video/utssdk/interface.d.ts +926 -0
- package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/global.d.ts +29 -0
- package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/index.d.ts +14 -0
- package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +452 -0
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1442 -1442
- package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +220 -220
- package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +65 -65
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +981 -981
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +26 -26
- package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +1155 -0
- package/types/uni/uts-plugin-component/.temp/uni-camera.d.ts +38 -0
- package/types/uni/uts-plugin-component/.temp/uni-camera.ts +52 -0
- package/types/uni/uts-plugin-component/.temp/uni-canvas/utssdk/interface.uts +976 -0
- package/types/uni/uts-plugin-component/.temp/uni-canvas-dom2/utssdk/interface.uts +976 -0
- package/types/uni/uts-plugin-component/.temp/uni-editor.d.ts +171 -0
- package/types/uni/uts-plugin-component/.temp/uni-editor.ts +237 -0
- package/types/uni/uts-plugin-component/.temp/uni-form.d.ts +2 -0
- package/types/uni/uts-plugin-component/.temp/uni-form.ts +1 -0
- package/types/uni/uts-plugin-component/.temp/uni-input/utssdk/interface.uts +0 -0
- package/types/uni/uts-plugin-component/.temp/uni-map-tencent.d.ts +56 -0
- package/types/uni/uts-plugin-component/.temp/uni-map-tencent.ts +88 -0
- package/types/uni/uts-plugin-component/.temp/uni-match-media.d.ts +2 -0
- package/types/uni/uts-plugin-component/.temp/uni-match-media.ts +2 -0
- package/types/uni/uts-plugin-component/.temp/uni-navigator.d.ts +2 -0
- package/types/uni/uts-plugin-component/.temp/uni-navigator.ts +1 -0
- package/types/uni/uts-plugin-component/.temp/uni-page-container.d.ts +0 -0
- package/types/uni/uts-plugin-component/.temp/uni-page-container.ts +2 -0
- package/types/uni/uts-plugin-component/.temp/uni-progress.d.ts +2 -0
- package/types/uni/uts-plugin-component/.temp/uni-progress.ts +1 -0
- package/types/uni/uts-plugin-component/.temp/uni-rich-text.d.ts +7 -0
- package/types/uni/uts-plugin-component/.temp/uni-rich-text.ts +12 -0
- package/types/uni/uts-plugin-component/.temp/uni-textarea/utssdk/interface.uts +0 -0
- package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +936 -0
- package/types/uni/uts-plugin-component/.temp/uni-video.d.ts +134 -0
- package/types/uni/uts-plugin-component/.temp/uni-video.ts +180 -0
- package/types/uni/uts-plugin-component/.temp/uni-web-view/utssdk/interface.uts +452 -0
- package/types/uni/uts-plugin-component/.temp/uni-web-view.d.ts +51 -0
- package/types/uni/uts-plugin-component/.temp/uni-web-view.ts +86 -0
- package/types/uni/uts-plugin-component/global.d.ts +79 -0
- package/types/uni/uts-plugin-component/index.d.ts +79 -0
- package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/global.d.ts +29 -0
- package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/index.d.ts +14 -0
- package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/interface.d.ts +1673 -0
- package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/global.d.ts +25 -0
- package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/index.d.ts +12 -0
- package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/interface.d.ts +226 -0
- package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +79 -0
- package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/global.d.ts +59 -0
- package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/index.d.ts +29 -0
- package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +371 -0
- package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +79 -0
- package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +978 -976
- package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -976
- package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/global.d.ts +25 -0
- package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/index.d.ts +12 -0
- package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/interface.d.ts +423 -0
- package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/global.d.ts +33 -0
- package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/index.d.ts +16 -0
- package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/interface.d.ts +499 -0
- package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/global.d.ts +45 -0
- package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/index.d.ts +22 -0
- package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/interface.d.ts +217 -0
- package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/global.d.ts +33 -0
- package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/index.d.ts +16 -0
- package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +3379 -0
- package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +153 -0
- package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +19 -0
- package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +61 -0
- package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/interface.d.ts +560 -0
- package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/global.d.ts +15 -0
- package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/index.d.ts +7 -0
- package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -0
- package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/global.d.ts +23 -0
- package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/interface.d.ts +158 -0
- package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +29 -0
- package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +14 -0
- package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +2304 -0
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +39 -0
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +19 -0
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +856 -0
- package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/global.d.ts +25 -0
- package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/index.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/interface.d.ts +181 -0
- package/types/uni/uts-plugin-component/lib/uni-event/utssdk/global.d.ts +17 -0
- package/types/uni/uts-plugin-component/lib/uni-event/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-component/lib/uni-event/utssdk/interface.d.ts +338 -0
- package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/global.d.ts +27 -0
- package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/index.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/interface.d.ts +147 -0
- package/types/uni/uts-plugin-component/lib/uni-file/utssdk/global.d.ts +81 -0
- package/types/uni/uts-plugin-component/lib/uni-file/utssdk/index.d.ts +40 -0
- package/types/uni/uts-plugin-component/lib/uni-file/utssdk/interface.d.ts +397 -0
- package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/global.d.ts +151 -0
- package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/index.d.ts +75 -0
- package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/interface.d.ts +6428 -0
- package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +37 -0
- package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +6 -0
- package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +620 -0
- package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/global.d.ts +15 -0
- package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/index.d.ts +7 -0
- package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2220 -0
- package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +17 -0
- package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1406 -0
- package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/global.d.ts +15 -0
- package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/index.d.ts +7 -0
- package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1774 -0
- package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/global.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +82 -0
- package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +6 -0
- package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +374 -0
- package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +6 -0
- package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +377 -0
- package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +736 -0
- package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/global.d.ts +33 -0
- package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/index.d.ts +16 -0
- package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/interface.d.ts +420 -0
- package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/global.d.ts +23 -0
- package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/interface.d.ts +199 -0
- package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/global.d.ts +37 -0
- package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/index.d.ts +18 -0
- package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/interface.d.ts +757 -0
- package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/global.d.ts +33 -0
- package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/index.d.ts +16 -0
- package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/interface.d.ts +6084 -0
- package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/global.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/index.d.ts +6 -0
- package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/interface.d.ts +508 -0
- package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/global.d.ts +25 -0
- package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/index.d.ts +12 -0
- package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/interface.d.ts +125 -0
- package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/global.d.ts +17 -0
- package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/interface.d.ts +171 -0
- package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/global.d.ts +45 -0
- package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/index.d.ts +22 -0
- package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +234 -0
- package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/global.d.ts +29 -0
- package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/index.d.ts +14 -0
- package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/interface.d.ts +603 -0
- package/types/uni/uts-plugin-component/lib/uni-location/utssdk/global.d.ts +61 -0
- package/types/uni/uts-plugin-component/lib/uni-location/utssdk/index.d.ts +30 -0
- package/types/uni/uts-plugin-component/lib/uni-location/utssdk/interface.d.ts +3443 -0
- package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/interface.d.ts +3 -0
- package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/interface.d.ts +3 -0
- package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/global.d.ts +29 -0
- package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/index.d.ts +14 -0
- package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +386 -0
- package/types/uni/uts-plugin-component/lib/uni-media/utssdk/global.d.ts +157 -0
- package/types/uni/uts-plugin-component/lib/uni-media/utssdk/index.d.ts +78 -0
- package/types/uni/uts-plugin-component/lib/uni-media/utssdk/interface.d.ts +5245 -0
- package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +43 -0
- package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +21 -0
- package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +291 -0
- package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/global.d.ts +69 -0
- package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/index.d.ts +34 -0
- package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/interface.d.ts +1047 -0
- package/types/uni/uts-plugin-component/lib/uni-network/utssdk/global.d.ts +109 -0
- package/types/uni/uts-plugin-component/lib/uni-network/utssdk/index.d.ts +54 -0
- package/types/uni/uts-plugin-component/lib/uni-network/utssdk/interface.d.ts +4462 -0
- package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/global.d.ts +71 -0
- package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/index.d.ts +35 -0
- package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +2142 -0
- package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/interface.d.ts +1 -0
- package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/global.d.ts +17 -0
- package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/interface.d.ts +48 -0
- package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +25 -0
- package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +12 -0
- package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +256 -0
- package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/global.d.ts +29 -0
- package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/index.d.ts +14 -0
- package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/interface.d.ts +823 -0
- package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/global.d.ts +27 -0
- package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/index.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +155 -0
- package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/global.d.ts +33 -0
- package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/index.d.ts +16 -0
- package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/interface.d.ts +856 -0
- package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/interface.d.ts +3 -0
- package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/interface.d.ts +1 -0
- package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/interface.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/global.d.ts +19 -0
- package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/interface.d.ts +26 -0
- package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/global.d.ts +47 -0
- package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/index.d.ts +23 -0
- package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/interface.d.ts +520 -0
- package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +31 -0
- package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +15 -0
- package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +568 -0
- package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/global.d.ts +33 -0
- package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/index.d.ts +16 -0
- package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/interface.d.ts +1693 -0
- package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/global.d.ts +29 -0
- package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/index.d.ts +14 -0
- package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/interface.d.ts +191 -0
- package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/interface.d.ts +2999 -0
- package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +713 -0
- package/types/uni/uts-plugin-component/lib/uni-route/utssdk/global.d.ts +59 -0
- package/types/uni/uts-plugin-component/lib/uni-route/utssdk/index.d.ts +29 -0
- package/types/uni/uts-plugin-component/lib/uni-route/utssdk/interface.d.ts +2731 -0
- package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/global.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/interface.d.ts +81 -0
- package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/global.d.ts +25 -0
- package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/index.d.ts +12 -0
- package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/interface.d.ts +429 -0
- package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/global.d.ts +57 -0
- package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/index.d.ts +28 -0
- package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +314 -0
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +41 -0
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +20 -0
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +584 -0
- package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +3 -0
- package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/global.d.ts +27 -0
- package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/index.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -0
- package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +47 -0
- package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +23 -0
- package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +446 -0
- package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/interface.d.ts +330 -0
- package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/global.d.ts +79 -0
- package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/index.d.ts +39 -0
- package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/interface.d.ts +1030 -0
- package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/global.d.ts +149 -0
- package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/index.d.ts +74 -0
- package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/interface.d.ts +1221 -0
- package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/global.d.ts +53 -0
- package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/index.d.ts +26 -0
- package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/interface.d.ts +1141 -0
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +0 -22
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +862 -872
- package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/global.d.ts +4 -14
- package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/index.d.ts +2 -7
- package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/interface.d.ts +14 -51
- package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/global.d.ts +113 -0
- package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/index.d.ts +56 -0
- package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/interface.d.ts +1661 -0
- package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +17 -17
- package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/global.d.ts +59 -0
- package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/index.d.ts +29 -0
- package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/interface.d.ts +1939 -0
- package/types/vue/LifeCycle.d.ts +865 -854
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export type SetTabBarBadgeSuccess = AsyncApiSuccessResult
|
|
2
|
-
export type SetTabBarBadgeSuccessCallback = (
|
|
3
|
-
result: SetTabBarBadgeSuccess,
|
|
4
|
-
) => void
|
|
5
|
-
/**
|
|
6
|
-
* 错误码
|
|
7
|
-
*/
|
|
8
|
-
export type SetTabBarErrorCode =
|
|
9
|
-
/**
|
|
10
|
-
* TabBar 不存在
|
|
11
|
-
*/
|
|
12
|
-
100 |
|
|
13
|
-
/**
|
|
14
|
-
* 参数错误
|
|
15
|
-
*/
|
|
16
|
-
200;
|
|
17
|
-
|
|
18
|
-
export interface SetTabBarFail extends IUniError {
|
|
19
|
-
errCode: SetTabBarErrorCode
|
|
20
|
-
}
|
|
21
|
-
export type SetTabBarBadgeFail = SetTabBarFail
|
|
22
|
-
export type SetTabBarBadgeFailCallback = (result: SetTabBarBadgeFail) => void
|
|
23
|
-
export type SetTabBarBadgeComplete = AsyncApiResult
|
|
24
|
-
export type SetTabBarBadgeCompleteCallback = (
|
|
25
|
-
result: SetTabBarBadgeComplete,
|
|
26
|
-
) => void
|
|
27
|
-
export type SetTabBarBadgeOptions = {
|
|
28
|
-
/**
|
|
1
|
+
export type SetTabBarBadgeSuccess = AsyncApiSuccessResult
|
|
2
|
+
export type SetTabBarBadgeSuccessCallback = (
|
|
3
|
+
result: SetTabBarBadgeSuccess,
|
|
4
|
+
) => void
|
|
5
|
+
/**
|
|
6
|
+
* 错误码
|
|
7
|
+
*/
|
|
8
|
+
export type SetTabBarErrorCode =
|
|
9
|
+
/**
|
|
10
|
+
* TabBar 不存在
|
|
11
|
+
*/
|
|
12
|
+
100 |
|
|
13
|
+
/**
|
|
14
|
+
* 参数错误
|
|
15
|
+
*/
|
|
16
|
+
200;
|
|
17
|
+
|
|
18
|
+
export interface SetTabBarFail extends IUniError {
|
|
19
|
+
errCode: SetTabBarErrorCode
|
|
20
|
+
}
|
|
21
|
+
export type SetTabBarBadgeFail = SetTabBarFail
|
|
22
|
+
export type SetTabBarBadgeFailCallback = (result: SetTabBarBadgeFail) => void
|
|
23
|
+
export type SetTabBarBadgeComplete = AsyncApiResult
|
|
24
|
+
export type SetTabBarBadgeCompleteCallback = (
|
|
25
|
+
result: SetTabBarBadgeComplete,
|
|
26
|
+
) => void
|
|
27
|
+
export type SetTabBarBadgeOptions = {
|
|
28
|
+
/**
|
|
29
29
|
* tabBar的哪一项,从左边算起,索引从0开始
|
|
30
30
|
* @uniPlatform {
|
|
31
31
|
* "mp": {
|
|
@@ -71,9 +71,9 @@ export type SetTabBarBadgeOptions = {
|
|
|
71
71
|
* }
|
|
72
72
|
* }
|
|
73
73
|
* }
|
|
74
|
-
*/
|
|
75
|
-
index: number
|
|
76
|
-
/**
|
|
74
|
+
*/
|
|
75
|
+
index: number
|
|
76
|
+
/**
|
|
77
77
|
* 显示的文本,不超过 3 个半角字符
|
|
78
78
|
* @uniPlatform {
|
|
79
79
|
* "mp": {
|
|
@@ -119,9 +119,9 @@ export type SetTabBarBadgeOptions = {
|
|
|
119
119
|
* }
|
|
120
120
|
* }
|
|
121
121
|
* }
|
|
122
|
-
*/
|
|
123
|
-
text: string
|
|
124
|
-
/**
|
|
122
|
+
*/
|
|
123
|
+
text: string
|
|
124
|
+
/**
|
|
125
125
|
* 接口调用成功的回调函数
|
|
126
126
|
* @uniPlatform {
|
|
127
127
|
* "mp": {
|
|
@@ -167,9 +167,9 @@ export type SetTabBarBadgeOptions = {
|
|
|
167
167
|
* }
|
|
168
168
|
* }
|
|
169
169
|
* }
|
|
170
|
-
*/
|
|
171
|
-
success?: SetTabBarBadgeSuccessCallback
|
|
172
|
-
/**
|
|
170
|
+
*/
|
|
171
|
+
success?: SetTabBarBadgeSuccessCallback
|
|
172
|
+
/**
|
|
173
173
|
* 接口调用失败的回调函数
|
|
174
174
|
* @uniPlatform {
|
|
175
175
|
* "mp": {
|
|
@@ -215,9 +215,9 @@ export type SetTabBarBadgeOptions = {
|
|
|
215
215
|
* }
|
|
216
216
|
* }
|
|
217
217
|
* }
|
|
218
|
-
*/
|
|
219
|
-
fail?: SetTabBarBadgeFailCallback
|
|
220
|
-
/**
|
|
218
|
+
*/
|
|
219
|
+
fail?: SetTabBarBadgeFailCallback
|
|
220
|
+
/**
|
|
221
221
|
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
222
222
|
* @uniPlatform {
|
|
223
223
|
* "mp": {
|
|
@@ -263,24 +263,24 @@ export type SetTabBarBadgeOptions = {
|
|
|
263
263
|
* }
|
|
264
264
|
* }
|
|
265
265
|
* }
|
|
266
|
-
*/
|
|
267
|
-
complete?: SetTabBarBadgeCompleteCallback
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
export type RemoveTabBarBadgeSuccess = AsyncApiSuccessResult
|
|
271
|
-
export type RemoveTabBarBadgeSuccessCallback = (
|
|
272
|
-
result: RemoveTabBarBadgeSuccess,
|
|
273
|
-
) => void
|
|
274
|
-
export type RemoveTabBarBadgeFail = SetTabBarFail
|
|
275
|
-
export type RemoveTabBarBadgeFailCallback = (
|
|
276
|
-
result: RemoveTabBarBadgeFail,
|
|
277
|
-
) => void
|
|
278
|
-
export type RemoveTabBarBadgeComplete = AsyncApiResult
|
|
279
|
-
export type RemoveTabBarBadgeCompleteCallback = (
|
|
280
|
-
result: RemoveTabBarBadgeComplete,
|
|
281
|
-
) => void
|
|
282
|
-
export type RemoveTabBarBadgeOptions = {
|
|
283
|
-
/**
|
|
266
|
+
*/
|
|
267
|
+
complete?: SetTabBarBadgeCompleteCallback
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export type RemoveTabBarBadgeSuccess = AsyncApiSuccessResult
|
|
271
|
+
export type RemoveTabBarBadgeSuccessCallback = (
|
|
272
|
+
result: RemoveTabBarBadgeSuccess,
|
|
273
|
+
) => void
|
|
274
|
+
export type RemoveTabBarBadgeFail = SetTabBarFail
|
|
275
|
+
export type RemoveTabBarBadgeFailCallback = (
|
|
276
|
+
result: RemoveTabBarBadgeFail,
|
|
277
|
+
) => void
|
|
278
|
+
export type RemoveTabBarBadgeComplete = AsyncApiResult
|
|
279
|
+
export type RemoveTabBarBadgeCompleteCallback = (
|
|
280
|
+
result: RemoveTabBarBadgeComplete,
|
|
281
|
+
) => void
|
|
282
|
+
export type RemoveTabBarBadgeOptions = {
|
|
283
|
+
/**
|
|
284
284
|
* tabBar的哪一项,从左边算起,索引从0开始
|
|
285
285
|
* @uniPlatform {
|
|
286
286
|
* "mp": {
|
|
@@ -326,9 +326,9 @@ export type RemoveTabBarBadgeOptions = {
|
|
|
326
326
|
* }
|
|
327
327
|
* }
|
|
328
328
|
* }
|
|
329
|
-
*/
|
|
330
|
-
index: number
|
|
331
|
-
/**
|
|
329
|
+
*/
|
|
330
|
+
index: number
|
|
331
|
+
/**
|
|
332
332
|
* 接口调用成功的回调函数
|
|
333
333
|
* @uniPlatform {
|
|
334
334
|
* "mp": {
|
|
@@ -374,9 +374,9 @@ export type RemoveTabBarBadgeOptions = {
|
|
|
374
374
|
* }
|
|
375
375
|
* }
|
|
376
376
|
* }
|
|
377
|
-
*/
|
|
378
|
-
success?: RemoveTabBarBadgeSuccessCallback
|
|
379
|
-
/**
|
|
377
|
+
*/
|
|
378
|
+
success?: RemoveTabBarBadgeSuccessCallback
|
|
379
|
+
/**
|
|
380
380
|
* 接口调用失败的回调函数
|
|
381
381
|
* @uniPlatform {
|
|
382
382
|
* "mp": {
|
|
@@ -422,9 +422,9 @@ export type RemoveTabBarBadgeOptions = {
|
|
|
422
422
|
* }
|
|
423
423
|
* }
|
|
424
424
|
* }
|
|
425
|
-
*/
|
|
426
|
-
fail?: RemoveTabBarBadgeFailCallback
|
|
427
|
-
/**
|
|
425
|
+
*/
|
|
426
|
+
fail?: RemoveTabBarBadgeFailCallback
|
|
427
|
+
/**
|
|
428
428
|
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
429
429
|
* @uniPlatform {
|
|
430
430
|
* "mp": {
|
|
@@ -470,44 +470,44 @@ export type RemoveTabBarBadgeOptions = {
|
|
|
470
470
|
* }
|
|
471
471
|
* }
|
|
472
472
|
* }
|
|
473
|
-
*/
|
|
474
|
-
complete?: RemoveTabBarBadgeCompleteCallback
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
export type SetTabBarItemSuccess = AsyncApiSuccessResult
|
|
478
|
-
export type SetTabBarItemSuccessCallback = (
|
|
479
|
-
result: SetTabBarItemSuccess,
|
|
480
|
-
) => void
|
|
481
|
-
export type SetTabBarItemFail = SetTabBarFail
|
|
482
|
-
export type SetTabBarItemFailCallback = (result: SetTabBarItemFail) => void
|
|
483
|
-
export type SetTabBarItemComplete = AsyncApiResult
|
|
484
|
-
export type SetTabBarItemCompleteCallback = (
|
|
485
|
-
result: SetTabBarItemComplete,
|
|
486
|
-
) => void
|
|
487
|
-
export type SetTabBarItemIconFontOptions = {
|
|
488
|
-
/**
|
|
489
|
-
* 字库 Unicode 码
|
|
490
|
-
*/
|
|
491
|
-
text: string
|
|
492
|
-
/**
|
|
493
|
-
* 选中后字库 Unicode 码
|
|
494
|
-
*/
|
|
495
|
-
selectedText: string
|
|
496
|
-
/**
|
|
497
|
-
* 字体图标字号(px)
|
|
498
|
-
*/
|
|
499
|
-
fontSize?: string
|
|
500
|
-
/**
|
|
501
|
-
* 字体图标颜色
|
|
502
|
-
*/
|
|
503
|
-
color?: string
|
|
504
|
-
/**
|
|
505
|
-
* 字体图标选中颜色
|
|
506
|
-
*/
|
|
507
|
-
selectedColor?: string
|
|
508
|
-
}
|
|
509
|
-
export type SetTabBarItemOptions = {
|
|
510
|
-
/**
|
|
473
|
+
*/
|
|
474
|
+
complete?: RemoveTabBarBadgeCompleteCallback
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
export type SetTabBarItemSuccess = AsyncApiSuccessResult
|
|
478
|
+
export type SetTabBarItemSuccessCallback = (
|
|
479
|
+
result: SetTabBarItemSuccess,
|
|
480
|
+
) => void
|
|
481
|
+
export type SetTabBarItemFail = SetTabBarFail
|
|
482
|
+
export type SetTabBarItemFailCallback = (result: SetTabBarItemFail) => void
|
|
483
|
+
export type SetTabBarItemComplete = AsyncApiResult
|
|
484
|
+
export type SetTabBarItemCompleteCallback = (
|
|
485
|
+
result: SetTabBarItemComplete,
|
|
486
|
+
) => void
|
|
487
|
+
export type SetTabBarItemIconFontOptions = {
|
|
488
|
+
/**
|
|
489
|
+
* 字库 Unicode 码
|
|
490
|
+
*/
|
|
491
|
+
text: string
|
|
492
|
+
/**
|
|
493
|
+
* 选中后字库 Unicode 码
|
|
494
|
+
*/
|
|
495
|
+
selectedText: string
|
|
496
|
+
/**
|
|
497
|
+
* 字体图标字号(px)
|
|
498
|
+
*/
|
|
499
|
+
fontSize?: string
|
|
500
|
+
/**
|
|
501
|
+
* 字体图标颜色
|
|
502
|
+
*/
|
|
503
|
+
color?: string
|
|
504
|
+
/**
|
|
505
|
+
* 字体图标选中颜色
|
|
506
|
+
*/
|
|
507
|
+
selectedColor?: string
|
|
508
|
+
}
|
|
509
|
+
export type SetTabBarItemOptions = {
|
|
510
|
+
/**
|
|
511
511
|
* tabBar 的哪一项,从左边算起,索引从0开始
|
|
512
512
|
* @uniPlatform {
|
|
513
513
|
* "mp": {
|
|
@@ -553,9 +553,9 @@ export type SetTabBarItemOptions = {
|
|
|
553
553
|
* }
|
|
554
554
|
* }
|
|
555
555
|
* }
|
|
556
|
-
*/
|
|
557
|
-
index: number
|
|
558
|
-
/**
|
|
556
|
+
*/
|
|
557
|
+
index: number
|
|
558
|
+
/**
|
|
559
559
|
* tab 上按钮文字
|
|
560
560
|
* @uniPlatform {
|
|
561
561
|
* "mp": {
|
|
@@ -601,9 +601,9 @@ export type SetTabBarItemOptions = {
|
|
|
601
601
|
* }
|
|
602
602
|
* }
|
|
603
603
|
* }
|
|
604
|
-
*/
|
|
605
|
-
text?: string
|
|
606
|
-
/**
|
|
604
|
+
*/
|
|
605
|
+
text?: string
|
|
606
|
+
/**
|
|
607
607
|
* 图片路径
|
|
608
608
|
* @uniPlatform {
|
|
609
609
|
* "mp": {
|
|
@@ -649,9 +649,9 @@ export type SetTabBarItemOptions = {
|
|
|
649
649
|
* }
|
|
650
650
|
* }
|
|
651
651
|
* }
|
|
652
|
-
*/
|
|
653
|
-
iconPath?: string
|
|
654
|
-
/**
|
|
652
|
+
*/
|
|
653
|
+
iconPath?: string
|
|
654
|
+
/**
|
|
655
655
|
* 选中时的图片路径
|
|
656
656
|
* @uniPlatform {
|
|
657
657
|
* "mp": {
|
|
@@ -697,78 +697,78 @@ export type SetTabBarItemOptions = {
|
|
|
697
697
|
* }
|
|
698
698
|
* }
|
|
699
699
|
* }
|
|
700
|
-
*/
|
|
701
|
-
selectedIconPath?: string
|
|
702
|
-
/**
|
|
703
|
-
* 页面绝对路径
|
|
704
|
-
* @uniPlatform {
|
|
705
|
-
* "app": {
|
|
706
|
-
* "android": {
|
|
707
|
-
* "osVer": "x",
|
|
708
|
-
* "uniVer": "x",
|
|
709
|
-
* "unixVer": "x"
|
|
710
|
-
* },
|
|
711
|
-
* "ios": {
|
|
712
|
-
* "osVer": "x",
|
|
713
|
-
* "uniVer": "x",
|
|
714
|
-
* "unixVer": "x"
|
|
715
|
-
* },
|
|
716
|
-
* "harmony": {
|
|
717
|
-
* "osVer": "x",
|
|
718
|
-
* "uniVer": "x",
|
|
719
|
-
* "unixVer": "x"
|
|
720
|
-
* }
|
|
721
|
-
* },
|
|
722
|
-
* "mp": {
|
|
723
|
-
* "weixin": {
|
|
724
|
-
* "hostVer": "x",
|
|
725
|
-
* "uniVer": "x",
|
|
726
|
-
* "unixVer": "x"
|
|
727
|
-
* },
|
|
728
|
-
* "alipay": {
|
|
729
|
-
* "hostVer": "x",
|
|
730
|
-
* "uniVer": "x",
|
|
731
|
-
* "unixVer": "x"
|
|
732
|
-
* },
|
|
733
|
-
* "baidu": {
|
|
734
|
-
* "hostVer": "x",
|
|
735
|
-
* "uniVer": "x",
|
|
736
|
-
* "unixVer": "x"
|
|
737
|
-
* },
|
|
738
|
-
* "toutiao": {
|
|
739
|
-
* "hostVer": "x",
|
|
740
|
-
* "uniVer": "x",
|
|
741
|
-
* "unixVer": "x"
|
|
742
|
-
* },
|
|
743
|
-
* "lark": {
|
|
744
|
-
* "hostVer": "x",
|
|
745
|
-
* "uniVer": "x",
|
|
746
|
-
* "unixVer": "x"
|
|
747
|
-
* },
|
|
748
|
-
* "qq": {
|
|
749
|
-
* "hostVer": "x",
|
|
750
|
-
* "uniVer": "x",
|
|
751
|
-
* "unixVer": "x"
|
|
752
|
-
* },
|
|
753
|
-
* "kuaishou": {
|
|
754
|
-
* "hostVer": "x",
|
|
755
|
-
* "uniVer": "x",
|
|
756
|
-
* "unixVer": "x"
|
|
757
|
-
* },
|
|
758
|
-
* "jd": {
|
|
759
|
-
* "hostVer": "x",
|
|
760
|
-
* "uniVer": "x",
|
|
761
|
-
* "unixVer": "x"
|
|
762
|
-
* }
|
|
763
|
-
* },
|
|
764
|
-
* "web": {
|
|
765
|
-
* "uniVer": "√",
|
|
766
|
-
* "unixVer": "√"
|
|
767
|
-
* }
|
|
768
|
-
* }
|
|
769
|
-
*/
|
|
770
|
-
pagePath?: string
|
|
771
|
-
/**
|
|
700
|
+
*/
|
|
701
|
+
selectedIconPath?: string
|
|
702
|
+
/**
|
|
703
|
+
* 页面绝对路径
|
|
704
|
+
* @uniPlatform {
|
|
705
|
+
* "app": {
|
|
706
|
+
* "android": {
|
|
707
|
+
* "osVer": "x",
|
|
708
|
+
* "uniVer": "x",
|
|
709
|
+
* "unixVer": "x"
|
|
710
|
+
* },
|
|
711
|
+
* "ios": {
|
|
712
|
+
* "osVer": "x",
|
|
713
|
+
* "uniVer": "x",
|
|
714
|
+
* "unixVer": "x"
|
|
715
|
+
* },
|
|
716
|
+
* "harmony": {
|
|
717
|
+
* "osVer": "x",
|
|
718
|
+
* "uniVer": "x",
|
|
719
|
+
* "unixVer": "x"
|
|
720
|
+
* }
|
|
721
|
+
* },
|
|
722
|
+
* "mp": {
|
|
723
|
+
* "weixin": {
|
|
724
|
+
* "hostVer": "x",
|
|
725
|
+
* "uniVer": "x",
|
|
726
|
+
* "unixVer": "x"
|
|
727
|
+
* },
|
|
728
|
+
* "alipay": {
|
|
729
|
+
* "hostVer": "x",
|
|
730
|
+
* "uniVer": "x",
|
|
731
|
+
* "unixVer": "x"
|
|
732
|
+
* },
|
|
733
|
+
* "baidu": {
|
|
734
|
+
* "hostVer": "x",
|
|
735
|
+
* "uniVer": "x",
|
|
736
|
+
* "unixVer": "x"
|
|
737
|
+
* },
|
|
738
|
+
* "toutiao": {
|
|
739
|
+
* "hostVer": "x",
|
|
740
|
+
* "uniVer": "x",
|
|
741
|
+
* "unixVer": "x"
|
|
742
|
+
* },
|
|
743
|
+
* "lark": {
|
|
744
|
+
* "hostVer": "x",
|
|
745
|
+
* "uniVer": "x",
|
|
746
|
+
* "unixVer": "x"
|
|
747
|
+
* },
|
|
748
|
+
* "qq": {
|
|
749
|
+
* "hostVer": "x",
|
|
750
|
+
* "uniVer": "x",
|
|
751
|
+
* "unixVer": "x"
|
|
752
|
+
* },
|
|
753
|
+
* "kuaishou": {
|
|
754
|
+
* "hostVer": "x",
|
|
755
|
+
* "uniVer": "x",
|
|
756
|
+
* "unixVer": "x"
|
|
757
|
+
* },
|
|
758
|
+
* "jd": {
|
|
759
|
+
* "hostVer": "x",
|
|
760
|
+
* "uniVer": "x",
|
|
761
|
+
* "unixVer": "x"
|
|
762
|
+
* }
|
|
763
|
+
* },
|
|
764
|
+
* "web": {
|
|
765
|
+
* "uniVer": "√",
|
|
766
|
+
* "unixVer": "√"
|
|
767
|
+
* }
|
|
768
|
+
* }
|
|
769
|
+
*/
|
|
770
|
+
pagePath?: string
|
|
771
|
+
/**
|
|
772
772
|
* 字体图标,优先级高于 iconPath
|
|
773
773
|
* @uniPlatform {
|
|
774
774
|
* "mp": {
|
|
@@ -814,9 +814,9 @@ export type SetTabBarItemOptions = {
|
|
|
814
814
|
* }
|
|
815
815
|
* }
|
|
816
816
|
* }
|
|
817
|
-
*/
|
|
818
|
-
iconfont?: SetTabBarItemIconFontOptions
|
|
819
|
-
/**
|
|
817
|
+
*/
|
|
818
|
+
iconfont?: SetTabBarItemIconFontOptions
|
|
819
|
+
/**
|
|
820
820
|
* tab 是否显示
|
|
821
821
|
* @uniPlatform {
|
|
822
822
|
* "mp": {
|
|
@@ -862,9 +862,9 @@ export type SetTabBarItemOptions = {
|
|
|
862
862
|
* }
|
|
863
863
|
* }
|
|
864
864
|
* }
|
|
865
|
-
*/
|
|
866
|
-
visible?: boolean
|
|
867
|
-
/**
|
|
865
|
+
*/
|
|
866
|
+
visible?: boolean
|
|
867
|
+
/**
|
|
868
868
|
* 接口调用成功的回调函数
|
|
869
869
|
* @uniPlatform {
|
|
870
870
|
* "mp": {
|
|
@@ -910,9 +910,9 @@ export type SetTabBarItemOptions = {
|
|
|
910
910
|
* }
|
|
911
911
|
* }
|
|
912
912
|
* }
|
|
913
|
-
*/
|
|
914
|
-
success?: SetTabBarItemSuccessCallback
|
|
915
|
-
/**
|
|
913
|
+
*/
|
|
914
|
+
success?: SetTabBarItemSuccessCallback
|
|
915
|
+
/**
|
|
916
916
|
* 接口调用失败的回调函数
|
|
917
917
|
* @uniPlatform {
|
|
918
918
|
* "mp": {
|
|
@@ -958,9 +958,9 @@ export type SetTabBarItemOptions = {
|
|
|
958
958
|
* }
|
|
959
959
|
* }
|
|
960
960
|
* }
|
|
961
|
-
*/
|
|
962
|
-
fail?: SetTabBarItemFailCallback
|
|
963
|
-
/**
|
|
961
|
+
*/
|
|
962
|
+
fail?: SetTabBarItemFailCallback
|
|
963
|
+
/**
|
|
964
964
|
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
965
965
|
* @uniPlatform {
|
|
966
966
|
* "mp": {
|
|
@@ -1006,76 +1006,76 @@ export type SetTabBarItemOptions = {
|
|
|
1006
1006
|
* }
|
|
1007
1007
|
* }
|
|
1008
1008
|
* }
|
|
1009
|
-
*/
|
|
1010
|
-
complete?: SetTabBarItemCompleteCallback
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
export type MidButtonIconFont = {
|
|
1014
|
-
/**
|
|
1015
|
-
* 字库 Unicode 码
|
|
1016
|
-
*/
|
|
1017
|
-
text?: string
|
|
1018
|
-
/**
|
|
1019
|
-
* 选中后字库 Unicode 码
|
|
1020
|
-
*/
|
|
1021
|
-
selectedText?: string
|
|
1022
|
-
/**
|
|
1023
|
-
* 字体图标字号(px)
|
|
1024
|
-
*/
|
|
1025
|
-
fontSize?: string
|
|
1026
|
-
/**
|
|
1027
|
-
* 字体图标颜色
|
|
1028
|
-
*/
|
|
1029
|
-
color?: string
|
|
1030
|
-
/**
|
|
1031
|
-
* 字体图标选中颜色
|
|
1032
|
-
*/
|
|
1033
|
-
selectedColor?: string
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
export type MidButtonOptions = {
|
|
1037
|
-
/**
|
|
1038
|
-
* 中间按钮的宽度,tabBar 其它项为减去此宽度后平分,默认值为与其它项平分宽度。默认 80px
|
|
1039
|
-
*/
|
|
1040
|
-
width?: string
|
|
1041
|
-
/**
|
|
1042
|
-
* 中间按钮的高度,可以大于 tabBar 高度,达到中间凸起的效果。默认 50px
|
|
1043
|
-
*/
|
|
1044
|
-
height?: string
|
|
1045
|
-
/**
|
|
1046
|
-
* 中间按钮的文字
|
|
1047
|
-
*/
|
|
1048
|
-
text?: string
|
|
1049
|
-
/**
|
|
1050
|
-
* 中间按钮的图片路径
|
|
1051
|
-
*/
|
|
1052
|
-
iconPath?: string
|
|
1053
|
-
/**
|
|
1054
|
-
* 图片宽度(高度等比例缩放)。默认 24px
|
|
1055
|
-
*/
|
|
1056
|
-
iconWidth?: string
|
|
1057
|
-
/**
|
|
1058
|
-
* 中间按钮的背景图片路径
|
|
1059
|
-
*/
|
|
1060
|
-
backgroundImage?: string
|
|
1061
|
-
/**
|
|
1062
|
-
* 字体图标,优先级高于 iconPath
|
|
1063
|
-
*/
|
|
1064
|
-
iconfont?: MidButtonIconFont
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
export type SetTabBarStyleSuccess = AsyncApiSuccessResult
|
|
1068
|
-
export type SetTabBarStyleSuccessCallback = (
|
|
1069
|
-
result: SetTabBarStyleSuccess,
|
|
1070
|
-
) => void
|
|
1071
|
-
export type SetTabBarStyleFail = SetTabBarFail
|
|
1072
|
-
export type SetTabBarStyleFailCallback = (result: SetTabBarStyleFail) => void
|
|
1073
|
-
export type SetTabBarStyleComplete = AsyncApiResult
|
|
1074
|
-
export type SetTabBarStyleCompleteCallback = (
|
|
1075
|
-
result: SetTabBarStyleComplete,
|
|
1076
|
-
) => void
|
|
1077
|
-
export type SetTabBarStyleOptions = {
|
|
1078
|
-
/**
|
|
1009
|
+
*/
|
|
1010
|
+
complete?: SetTabBarItemCompleteCallback
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
export type MidButtonIconFont = {
|
|
1014
|
+
/**
|
|
1015
|
+
* 字库 Unicode 码
|
|
1016
|
+
*/
|
|
1017
|
+
text?: string
|
|
1018
|
+
/**
|
|
1019
|
+
* 选中后字库 Unicode 码
|
|
1020
|
+
*/
|
|
1021
|
+
selectedText?: string
|
|
1022
|
+
/**
|
|
1023
|
+
* 字体图标字号(px)
|
|
1024
|
+
*/
|
|
1025
|
+
fontSize?: string
|
|
1026
|
+
/**
|
|
1027
|
+
* 字体图标颜色
|
|
1028
|
+
*/
|
|
1029
|
+
color?: string
|
|
1030
|
+
/**
|
|
1031
|
+
* 字体图标选中颜色
|
|
1032
|
+
*/
|
|
1033
|
+
selectedColor?: string
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
export type MidButtonOptions = {
|
|
1037
|
+
/**
|
|
1038
|
+
* 中间按钮的宽度,tabBar 其它项为减去此宽度后平分,默认值为与其它项平分宽度。默认 80px
|
|
1039
|
+
*/
|
|
1040
|
+
width?: string
|
|
1041
|
+
/**
|
|
1042
|
+
* 中间按钮的高度,可以大于 tabBar 高度,达到中间凸起的效果。默认 50px
|
|
1043
|
+
*/
|
|
1044
|
+
height?: string
|
|
1045
|
+
/**
|
|
1046
|
+
* 中间按钮的文字
|
|
1047
|
+
*/
|
|
1048
|
+
text?: string
|
|
1049
|
+
/**
|
|
1050
|
+
* 中间按钮的图片路径
|
|
1051
|
+
*/
|
|
1052
|
+
iconPath?: string
|
|
1053
|
+
/**
|
|
1054
|
+
* 图片宽度(高度等比例缩放)。默认 24px
|
|
1055
|
+
*/
|
|
1056
|
+
iconWidth?: string
|
|
1057
|
+
/**
|
|
1058
|
+
* 中间按钮的背景图片路径
|
|
1059
|
+
*/
|
|
1060
|
+
backgroundImage?: string
|
|
1061
|
+
/**
|
|
1062
|
+
* 字体图标,优先级高于 iconPath
|
|
1063
|
+
*/
|
|
1064
|
+
iconfont?: MidButtonIconFont
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
export type SetTabBarStyleSuccess = AsyncApiSuccessResult
|
|
1068
|
+
export type SetTabBarStyleSuccessCallback = (
|
|
1069
|
+
result: SetTabBarStyleSuccess,
|
|
1070
|
+
) => void
|
|
1071
|
+
export type SetTabBarStyleFail = SetTabBarFail
|
|
1072
|
+
export type SetTabBarStyleFailCallback = (result: SetTabBarStyleFail) => void
|
|
1073
|
+
export type SetTabBarStyleComplete = AsyncApiResult
|
|
1074
|
+
export type SetTabBarStyleCompleteCallback = (
|
|
1075
|
+
result: SetTabBarStyleComplete,
|
|
1076
|
+
) => void
|
|
1077
|
+
export type SetTabBarStyleOptions = {
|
|
1078
|
+
/**
|
|
1079
1079
|
* tab 上的文字默认颜色
|
|
1080
1080
|
* @uniPlatform {
|
|
1081
1081
|
* "mp": {
|
|
@@ -1121,9 +1121,9 @@ export type SetTabBarStyleOptions = {
|
|
|
1121
1121
|
* }
|
|
1122
1122
|
* }
|
|
1123
1123
|
* }
|
|
1124
|
-
*/
|
|
1125
|
-
color?: string | string.ColorString
|
|
1126
|
-
/**
|
|
1124
|
+
*/
|
|
1125
|
+
color?: string | string.ColorString
|
|
1126
|
+
/**
|
|
1127
1127
|
* tab 上的文字选中时的颜色
|
|
1128
1128
|
* @uniPlatform {
|
|
1129
1129
|
* "mp": {
|
|
@@ -1169,9 +1169,9 @@ export type SetTabBarStyleOptions = {
|
|
|
1169
1169
|
* }
|
|
1170
1170
|
* }
|
|
1171
1171
|
* }
|
|
1172
|
-
*/
|
|
1173
|
-
selectedColor?: string | string.ColorString
|
|
1174
|
-
/**
|
|
1172
|
+
*/
|
|
1173
|
+
selectedColor?: string | string.ColorString
|
|
1174
|
+
/**
|
|
1175
1175
|
* tab 的背景色
|
|
1176
1176
|
* @uniPlatform {
|
|
1177
1177
|
* "mp": {
|
|
@@ -1217,9 +1217,9 @@ export type SetTabBarStyleOptions = {
|
|
|
1217
1217
|
* }
|
|
1218
1218
|
* }
|
|
1219
1219
|
* }
|
|
1220
|
-
*/
|
|
1221
|
-
backgroundColor?: string | string.ColorString
|
|
1222
|
-
/**
|
|
1220
|
+
*/
|
|
1221
|
+
backgroundColor?: string | string.ColorString
|
|
1222
|
+
/**
|
|
1223
1223
|
* 图片背景
|
|
1224
1224
|
* @uniPlatform {
|
|
1225
1225
|
* "mp": {
|
|
@@ -1265,9 +1265,9 @@ export type SetTabBarStyleOptions = {
|
|
|
1265
1265
|
* }
|
|
1266
1266
|
* }
|
|
1267
1267
|
* }
|
|
1268
|
-
*/
|
|
1269
|
-
backgroundImage?: string
|
|
1270
|
-
/**
|
|
1268
|
+
*/
|
|
1269
|
+
backgroundImage?: string
|
|
1270
|
+
/**
|
|
1271
1271
|
* 背景图平铺方式
|
|
1272
1272
|
* @uniPlatform {
|
|
1273
1273
|
* "mp": {
|
|
@@ -1313,97 +1313,97 @@ export type SetTabBarStyleOptions = {
|
|
|
1313
1313
|
* }
|
|
1314
1314
|
* }
|
|
1315
1315
|
* }
|
|
1316
|
-
*/
|
|
1317
|
-
backgroundRepeat?:
|
|
1318
|
-
/**
|
|
1319
|
-
* 背景图片在垂直方向和水平方向平铺
|
|
1320
|
-
*/
|
|
1321
|
-
'repeat' |
|
|
1322
|
-
/**
|
|
1323
|
-
* 背景图片在水平方向平铺,垂直方向拉伸
|
|
1324
|
-
*/
|
|
1325
|
-
'repeat-x' |
|
|
1326
|
-
/**
|
|
1327
|
-
* 背景图片在垂直方向平铺,水平方向拉伸
|
|
1328
|
-
*/
|
|
1329
|
-
'repeat-y' |
|
|
1330
|
-
/**
|
|
1331
|
-
* 背景图片在垂直方向和水平方向都拉伸
|
|
1332
|
-
*/
|
|
1333
|
-
'no-repeat'
|
|
1334
|
-
|
|
1335
|
-
/**
|
|
1336
|
-
* tabbar上边框的颜色(优先级高于 borderStyle)
|
|
1337
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarstyle
|
|
1338
|
-
* @uniPlatform {
|
|
1339
|
-
* "app": {
|
|
1340
|
-
* "android": {
|
|
1341
|
-
* "osVer": "5.0",
|
|
1342
|
-
* "uniVer": "x",
|
|
1343
|
-
* "unixVer": "x"
|
|
1344
|
-
* },
|
|
1345
|
-
* "ios": {
|
|
1346
|
-
* "osVer": "12.0",
|
|
1347
|
-
* "uniVer": "x",
|
|
1348
|
-
* "unixVer": "4.23"
|
|
1349
|
-
* },
|
|
1350
|
-
* "harmony": {
|
|
1351
|
-
* "osVer": "3.0",
|
|
1352
|
-
* "uniVer": "4.23",
|
|
1353
|
-
* "unixVer": "4.61",
|
|
1354
|
-
* "
|
|
1355
|
-
* }
|
|
1356
|
-
* },
|
|
1357
|
-
* "mp": {
|
|
1358
|
-
* "weixin": {
|
|
1359
|
-
* "hostVer": "√",
|
|
1360
|
-
* "uniVer": "√",
|
|
1361
|
-
* "unixVer": "4.41"
|
|
1362
|
-
* },
|
|
1363
|
-
* "alipay": {
|
|
1364
|
-
* "hostVer": "√",
|
|
1365
|
-
* "uniVer": "√",
|
|
1366
|
-
* "unixVer": "x"
|
|
1367
|
-
* },
|
|
1368
|
-
* "baidu": {
|
|
1369
|
-
* "hostVer": "√",
|
|
1370
|
-
* "uniVer": "√",
|
|
1371
|
-
* "unixVer": "x"
|
|
1372
|
-
* },
|
|
1373
|
-
* "toutiao": {
|
|
1374
|
-
* "hostVer": "√",
|
|
1375
|
-
* "uniVer": "√",
|
|
1376
|
-
* "unixVer": "x"
|
|
1377
|
-
* },
|
|
1378
|
-
* "lark": {
|
|
1379
|
-
* "hostVer": "√",
|
|
1380
|
-
* "uniVer": "√",
|
|
1381
|
-
* "unixVer": "x"
|
|
1382
|
-
* },
|
|
1383
|
-
* "qq": {
|
|
1384
|
-
* "hostVer": "√",
|
|
1385
|
-
* "uniVer": "√",
|
|
1386
|
-
* "unixVer": "x"
|
|
1387
|
-
* },
|
|
1388
|
-
* "kuaishou": {
|
|
1389
|
-
* "hostVer": "√",
|
|
1390
|
-
* "uniVer": "√",
|
|
1391
|
-
* "unixVer": "x"
|
|
1392
|
-
* },
|
|
1393
|
-
* "jd": {
|
|
1394
|
-
* "hostVer": "√",
|
|
1395
|
-
* "uniVer": "√",
|
|
1396
|
-
* "unixVer": "x"
|
|
1397
|
-
* }
|
|
1398
|
-
* },
|
|
1399
|
-
* "web": {
|
|
1400
|
-
* "uniVer": "x",
|
|
1401
|
-
* "unixVer": "4.23"
|
|
1402
|
-
* }
|
|
1403
|
-
* }
|
|
1404
|
-
*/
|
|
1405
|
-
borderColor?: string | string.ColorString
|
|
1406
|
-
/**
|
|
1316
|
+
*/
|
|
1317
|
+
backgroundRepeat?:
|
|
1318
|
+
/**
|
|
1319
|
+
* 背景图片在垂直方向和水平方向平铺
|
|
1320
|
+
*/
|
|
1321
|
+
'repeat' |
|
|
1322
|
+
/**
|
|
1323
|
+
* 背景图片在水平方向平铺,垂直方向拉伸
|
|
1324
|
+
*/
|
|
1325
|
+
'repeat-x' |
|
|
1326
|
+
/**
|
|
1327
|
+
* 背景图片在垂直方向平铺,水平方向拉伸
|
|
1328
|
+
*/
|
|
1329
|
+
'repeat-y' |
|
|
1330
|
+
/**
|
|
1331
|
+
* 背景图片在垂直方向和水平方向都拉伸
|
|
1332
|
+
*/
|
|
1333
|
+
'no-repeat'
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* tabbar上边框的颜色(优先级高于 borderStyle)
|
|
1337
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarstyle
|
|
1338
|
+
* @uniPlatform {
|
|
1339
|
+
* "app": {
|
|
1340
|
+
* "android": {
|
|
1341
|
+
* "osVer": "5.0",
|
|
1342
|
+
* "uniVer": "x",
|
|
1343
|
+
* "unixVer": "x"
|
|
1344
|
+
* },
|
|
1345
|
+
* "ios": {
|
|
1346
|
+
* "osVer": "12.0",
|
|
1347
|
+
* "uniVer": "x",
|
|
1348
|
+
* "unixVer": "4.23"
|
|
1349
|
+
* },
|
|
1350
|
+
* "harmony": {
|
|
1351
|
+
* "osVer": "3.0",
|
|
1352
|
+
* "uniVer": "4.23",
|
|
1353
|
+
* "unixVer": "4.61",
|
|
1354
|
+
* "unixVaporVer": "x"
|
|
1355
|
+
* }
|
|
1356
|
+
* },
|
|
1357
|
+
* "mp": {
|
|
1358
|
+
* "weixin": {
|
|
1359
|
+
* "hostVer": "√",
|
|
1360
|
+
* "uniVer": "√",
|
|
1361
|
+
* "unixVer": "4.41"
|
|
1362
|
+
* },
|
|
1363
|
+
* "alipay": {
|
|
1364
|
+
* "hostVer": "√",
|
|
1365
|
+
* "uniVer": "√",
|
|
1366
|
+
* "unixVer": "x"
|
|
1367
|
+
* },
|
|
1368
|
+
* "baidu": {
|
|
1369
|
+
* "hostVer": "√",
|
|
1370
|
+
* "uniVer": "√",
|
|
1371
|
+
* "unixVer": "x"
|
|
1372
|
+
* },
|
|
1373
|
+
* "toutiao": {
|
|
1374
|
+
* "hostVer": "√",
|
|
1375
|
+
* "uniVer": "√",
|
|
1376
|
+
* "unixVer": "x"
|
|
1377
|
+
* },
|
|
1378
|
+
* "lark": {
|
|
1379
|
+
* "hostVer": "√",
|
|
1380
|
+
* "uniVer": "√",
|
|
1381
|
+
* "unixVer": "x"
|
|
1382
|
+
* },
|
|
1383
|
+
* "qq": {
|
|
1384
|
+
* "hostVer": "√",
|
|
1385
|
+
* "uniVer": "√",
|
|
1386
|
+
* "unixVer": "x"
|
|
1387
|
+
* },
|
|
1388
|
+
* "kuaishou": {
|
|
1389
|
+
* "hostVer": "√",
|
|
1390
|
+
* "uniVer": "√",
|
|
1391
|
+
* "unixVer": "x"
|
|
1392
|
+
* },
|
|
1393
|
+
* "jd": {
|
|
1394
|
+
* "hostVer": "√",
|
|
1395
|
+
* "uniVer": "√",
|
|
1396
|
+
* "unixVer": "x"
|
|
1397
|
+
* }
|
|
1398
|
+
* },
|
|
1399
|
+
* "web": {
|
|
1400
|
+
* "uniVer": "x",
|
|
1401
|
+
* "unixVer": "4.23"
|
|
1402
|
+
* }
|
|
1403
|
+
* }
|
|
1404
|
+
*/
|
|
1405
|
+
borderColor?: string | string.ColorString
|
|
1406
|
+
/**
|
|
1407
1407
|
* tabbar上边框的颜色
|
|
1408
1408
|
* @uniPlatform {
|
|
1409
1409
|
* "mp": {
|
|
@@ -1449,10 +1449,10 @@ export type SetTabBarStyleOptions = {
|
|
|
1449
1449
|
* }
|
|
1450
1450
|
* }
|
|
1451
1451
|
* }
|
|
1452
|
-
*/
|
|
1453
|
-
borderStyle?: 'black' | 'white'
|
|
1454
|
-
/**
|
|
1455
|
-
* tabbar 中间按钮 仅在 list 项为偶数时有效
|
|
1452
|
+
*/
|
|
1453
|
+
borderStyle?: 'black' | 'white'
|
|
1454
|
+
/**
|
|
1455
|
+
* tabbar 中间按钮 仅在 list 项为偶数时有效
|
|
1456
1456
|
* @internal
|
|
1457
1457
|
* @uniPlatform {
|
|
1458
1458
|
* "mp": {
|
|
@@ -1498,9 +1498,9 @@ export type SetTabBarStyleOptions = {
|
|
|
1498
1498
|
* }
|
|
1499
1499
|
* }
|
|
1500
1500
|
* }
|
|
1501
|
-
*/
|
|
1502
|
-
midButton?: MidButtonOptions
|
|
1503
|
-
/**
|
|
1501
|
+
*/
|
|
1502
|
+
midButton?: MidButtonOptions
|
|
1503
|
+
/**
|
|
1504
1504
|
* 接口调用成功的回调函数
|
|
1505
1505
|
* @uniPlatform {
|
|
1506
1506
|
* "mp": {
|
|
@@ -1546,9 +1546,9 @@ export type SetTabBarStyleOptions = {
|
|
|
1546
1546
|
* }
|
|
1547
1547
|
* }
|
|
1548
1548
|
* }
|
|
1549
|
-
*/
|
|
1550
|
-
success?: SetTabBarStyleSuccessCallback
|
|
1551
|
-
/**
|
|
1549
|
+
*/
|
|
1550
|
+
success?: SetTabBarStyleSuccessCallback
|
|
1551
|
+
/**
|
|
1552
1552
|
* 接口调用失败的回调函数
|
|
1553
1553
|
* @uniPlatform {
|
|
1554
1554
|
* "mp": {
|
|
@@ -1594,9 +1594,9 @@ export type SetTabBarStyleOptions = {
|
|
|
1594
1594
|
* }
|
|
1595
1595
|
* }
|
|
1596
1596
|
* }
|
|
1597
|
-
*/
|
|
1598
|
-
fail?: SetTabBarStyleFailCallback
|
|
1599
|
-
/**
|
|
1597
|
+
*/
|
|
1598
|
+
fail?: SetTabBarStyleFailCallback
|
|
1599
|
+
/**
|
|
1600
1600
|
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
1601
1601
|
* @uniPlatform {
|
|
1602
1602
|
* "mp": {
|
|
@@ -1642,18 +1642,18 @@ export type SetTabBarStyleOptions = {
|
|
|
1642
1642
|
* }
|
|
1643
1643
|
* }
|
|
1644
1644
|
* }
|
|
1645
|
-
*/
|
|
1646
|
-
complete?: SetTabBarStyleCompleteCallback
|
|
1647
|
-
}
|
|
1648
|
-
|
|
1649
|
-
export type HideTabBarSuccess = AsyncApiSuccessResult
|
|
1650
|
-
export type HideTabBarSuccessCallback = (result: HideTabBarSuccess) => void
|
|
1651
|
-
export type HideTabBarFail = SetTabBarFail
|
|
1652
|
-
export type HideTabBarFailCallback = (result: HideTabBarFail) => void
|
|
1653
|
-
export type HideTabBarComplete = AsyncApiResult
|
|
1654
|
-
export type HideTabBarCompleteCallback = (result: HideTabBarComplete) => void
|
|
1655
|
-
export type HideTabBarOptions = {
|
|
1656
|
-
/**
|
|
1645
|
+
*/
|
|
1646
|
+
complete?: SetTabBarStyleCompleteCallback
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
export type HideTabBarSuccess = AsyncApiSuccessResult
|
|
1650
|
+
export type HideTabBarSuccessCallback = (result: HideTabBarSuccess) => void
|
|
1651
|
+
export type HideTabBarFail = SetTabBarFail
|
|
1652
|
+
export type HideTabBarFailCallback = (result: HideTabBarFail) => void
|
|
1653
|
+
export type HideTabBarComplete = AsyncApiResult
|
|
1654
|
+
export type HideTabBarCompleteCallback = (result: HideTabBarComplete) => void
|
|
1655
|
+
export type HideTabBarOptions = {
|
|
1656
|
+
/**
|
|
1657
1657
|
* 是否需要动画效果
|
|
1658
1658
|
* @uniPlatform {
|
|
1659
1659
|
* "mp": {
|
|
@@ -1699,9 +1699,9 @@ export type HideTabBarOptions = {
|
|
|
1699
1699
|
* }
|
|
1700
1700
|
* }
|
|
1701
1701
|
* }
|
|
1702
|
-
*/
|
|
1703
|
-
animation?: boolean
|
|
1704
|
-
/**
|
|
1702
|
+
*/
|
|
1703
|
+
animation?: boolean
|
|
1704
|
+
/**
|
|
1705
1705
|
* 接口调用成功的回调函数
|
|
1706
1706
|
* @uniPlatform {
|
|
1707
1707
|
* "mp": {
|
|
@@ -1747,9 +1747,9 @@ export type HideTabBarOptions = {
|
|
|
1747
1747
|
* }
|
|
1748
1748
|
* }
|
|
1749
1749
|
* }
|
|
1750
|
-
*/
|
|
1751
|
-
success?: HideTabBarSuccessCallback
|
|
1752
|
-
/**
|
|
1750
|
+
*/
|
|
1751
|
+
success?: HideTabBarSuccessCallback
|
|
1752
|
+
/**
|
|
1753
1753
|
* 接口调用失败的回调函数
|
|
1754
1754
|
* @uniPlatform {
|
|
1755
1755
|
* "mp": {
|
|
@@ -1795,9 +1795,9 @@ export type HideTabBarOptions = {
|
|
|
1795
1795
|
* }
|
|
1796
1796
|
* }
|
|
1797
1797
|
* }
|
|
1798
|
-
*/
|
|
1799
|
-
fail?: HideTabBarFailCallback
|
|
1800
|
-
/**
|
|
1798
|
+
*/
|
|
1799
|
+
fail?: HideTabBarFailCallback
|
|
1800
|
+
/**
|
|
1801
1801
|
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
1802
1802
|
* @uniPlatform {
|
|
1803
1803
|
* "mp": {
|
|
@@ -1843,18 +1843,18 @@ export type HideTabBarOptions = {
|
|
|
1843
1843
|
* }
|
|
1844
1844
|
* }
|
|
1845
1845
|
* }
|
|
1846
|
-
*/
|
|
1847
|
-
complete?: HideTabBarCompleteCallback
|
|
1848
|
-
}
|
|
1849
|
-
|
|
1850
|
-
export type ShowTabBarSuccess = AsyncApiSuccessResult
|
|
1851
|
-
export type ShowTabBarSuccessCallback = (result: ShowTabBarSuccess) => void
|
|
1852
|
-
export type ShowTabBarFail = SetTabBarFail
|
|
1853
|
-
export type ShowTabBarFailCallback = (result: ShowTabBarFail) => void
|
|
1854
|
-
export type ShowTabBarComplete = AsyncApiResult
|
|
1855
|
-
export type ShowTabBarCompleteCallback = (result: ShowTabBarComplete) => void
|
|
1856
|
-
export type ShowTabBarOptions = {
|
|
1857
|
-
/**
|
|
1846
|
+
*/
|
|
1847
|
+
complete?: HideTabBarCompleteCallback
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
export type ShowTabBarSuccess = AsyncApiSuccessResult
|
|
1851
|
+
export type ShowTabBarSuccessCallback = (result: ShowTabBarSuccess) => void
|
|
1852
|
+
export type ShowTabBarFail = SetTabBarFail
|
|
1853
|
+
export type ShowTabBarFailCallback = (result: ShowTabBarFail) => void
|
|
1854
|
+
export type ShowTabBarComplete = AsyncApiResult
|
|
1855
|
+
export type ShowTabBarCompleteCallback = (result: ShowTabBarComplete) => void
|
|
1856
|
+
export type ShowTabBarOptions = {
|
|
1857
|
+
/**
|
|
1858
1858
|
* 是否需要动画效果
|
|
1859
1859
|
* @uniPlatform {
|
|
1860
1860
|
* "mp": {
|
|
@@ -1900,9 +1900,9 @@ export type ShowTabBarOptions = {
|
|
|
1900
1900
|
* }
|
|
1901
1901
|
* }
|
|
1902
1902
|
* }
|
|
1903
|
-
*/
|
|
1904
|
-
animation?: boolean
|
|
1905
|
-
/**
|
|
1903
|
+
*/
|
|
1904
|
+
animation?: boolean
|
|
1905
|
+
/**
|
|
1906
1906
|
* 接口调用成功的回调函数
|
|
1907
1907
|
* @uniPlatform {
|
|
1908
1908
|
* "mp": {
|
|
@@ -1948,9 +1948,9 @@ export type ShowTabBarOptions = {
|
|
|
1948
1948
|
* }
|
|
1949
1949
|
* }
|
|
1950
1950
|
* }
|
|
1951
|
-
*/
|
|
1952
|
-
success?: ShowTabBarSuccessCallback
|
|
1953
|
-
/**
|
|
1951
|
+
*/
|
|
1952
|
+
success?: ShowTabBarSuccessCallback
|
|
1953
|
+
/**
|
|
1954
1954
|
* 接口调用失败的回调函数
|
|
1955
1955
|
* @uniPlatform {
|
|
1956
1956
|
* "mp": {
|
|
@@ -1996,9 +1996,9 @@ export type ShowTabBarOptions = {
|
|
|
1996
1996
|
* }
|
|
1997
1997
|
* }
|
|
1998
1998
|
* }
|
|
1999
|
-
*/
|
|
2000
|
-
fail?: ShowTabBarFailCallback
|
|
2001
|
-
/**
|
|
1999
|
+
*/
|
|
2000
|
+
fail?: ShowTabBarFailCallback
|
|
2001
|
+
/**
|
|
2002
2002
|
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
2003
2003
|
* @uniPlatform {
|
|
2004
2004
|
* "mp": {
|
|
@@ -2044,24 +2044,24 @@ export type ShowTabBarOptions = {
|
|
|
2044
2044
|
* }
|
|
2045
2045
|
* }
|
|
2046
2046
|
* }
|
|
2047
|
-
*/
|
|
2048
|
-
complete?: ShowTabBarCompleteCallback
|
|
2049
|
-
}
|
|
2050
|
-
|
|
2051
|
-
export type ShowTabBarRedDotSuccess = AsyncApiSuccessResult
|
|
2052
|
-
export type ShowTabBarRedDotSuccessCallback = (
|
|
2053
|
-
result: ShowTabBarRedDotSuccess,
|
|
2054
|
-
) => void
|
|
2055
|
-
export type ShowTabBarRedDotFail = SetTabBarFail
|
|
2056
|
-
export type ShowTabBarRedDotFailCallback = (
|
|
2057
|
-
result: ShowTabBarRedDotFail,
|
|
2058
|
-
) => void
|
|
2059
|
-
export type ShowTabBarRedDotComplete = AsyncApiResult
|
|
2060
|
-
export type ShowTabBarRedDotCompleteCallback = (
|
|
2061
|
-
result: ShowTabBarRedDotComplete,
|
|
2062
|
-
) => void
|
|
2063
|
-
export type ShowTabBarRedDotOptions = {
|
|
2064
|
-
/**
|
|
2047
|
+
*/
|
|
2048
|
+
complete?: ShowTabBarCompleteCallback
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
export type ShowTabBarRedDotSuccess = AsyncApiSuccessResult
|
|
2052
|
+
export type ShowTabBarRedDotSuccessCallback = (
|
|
2053
|
+
result: ShowTabBarRedDotSuccess,
|
|
2054
|
+
) => void
|
|
2055
|
+
export type ShowTabBarRedDotFail = SetTabBarFail
|
|
2056
|
+
export type ShowTabBarRedDotFailCallback = (
|
|
2057
|
+
result: ShowTabBarRedDotFail,
|
|
2058
|
+
) => void
|
|
2059
|
+
export type ShowTabBarRedDotComplete = AsyncApiResult
|
|
2060
|
+
export type ShowTabBarRedDotCompleteCallback = (
|
|
2061
|
+
result: ShowTabBarRedDotComplete,
|
|
2062
|
+
) => void
|
|
2063
|
+
export type ShowTabBarRedDotOptions = {
|
|
2064
|
+
/**
|
|
2065
2065
|
* tabBar的哪一项,从左边算起,索引从0开始
|
|
2066
2066
|
* @uniPlatform {
|
|
2067
2067
|
* "mp": {
|
|
@@ -2107,9 +2107,9 @@ export type ShowTabBarRedDotOptions = {
|
|
|
2107
2107
|
* }
|
|
2108
2108
|
* }
|
|
2109
2109
|
* }
|
|
2110
|
-
*/
|
|
2111
|
-
index: number
|
|
2112
|
-
/**
|
|
2110
|
+
*/
|
|
2111
|
+
index: number
|
|
2112
|
+
/**
|
|
2113
2113
|
* 接口调用成功的回调函数
|
|
2114
2114
|
* @uniPlatform {
|
|
2115
2115
|
* "mp": {
|
|
@@ -2155,9 +2155,9 @@ export type ShowTabBarRedDotOptions = {
|
|
|
2155
2155
|
* }
|
|
2156
2156
|
* }
|
|
2157
2157
|
* }
|
|
2158
|
-
*/
|
|
2159
|
-
success?: ShowTabBarRedDotSuccessCallback
|
|
2160
|
-
/**
|
|
2158
|
+
*/
|
|
2159
|
+
success?: ShowTabBarRedDotSuccessCallback
|
|
2160
|
+
/**
|
|
2161
2161
|
* 接口调用失败的回调函数
|
|
2162
2162
|
* @uniPlatform {
|
|
2163
2163
|
* "mp": {
|
|
@@ -2203,9 +2203,9 @@ export type ShowTabBarRedDotOptions = {
|
|
|
2203
2203
|
* }
|
|
2204
2204
|
* }
|
|
2205
2205
|
* }
|
|
2206
|
-
*/
|
|
2207
|
-
fail?: ShowTabBarRedDotFailCallback
|
|
2208
|
-
/**
|
|
2206
|
+
*/
|
|
2207
|
+
fail?: ShowTabBarRedDotFailCallback
|
|
2208
|
+
/**
|
|
2209
2209
|
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
2210
2210
|
* @uniPlatform {
|
|
2211
2211
|
* "mp": {
|
|
@@ -2251,24 +2251,24 @@ export type ShowTabBarRedDotOptions = {
|
|
|
2251
2251
|
* }
|
|
2252
2252
|
* }
|
|
2253
2253
|
* }
|
|
2254
|
-
*/
|
|
2255
|
-
complete?: ShowTabBarRedDotCompleteCallback
|
|
2256
|
-
}
|
|
2257
|
-
|
|
2258
|
-
export type HideTabBarRedDotSuccess = AsyncApiSuccessResult
|
|
2259
|
-
export type HideTabBarRedDotSuccessCallback = (
|
|
2260
|
-
result: HideTabBarRedDotSuccess,
|
|
2261
|
-
) => void
|
|
2262
|
-
export type HideTabBarRedDotFail = SetTabBarFail
|
|
2263
|
-
export type HideTabBarRedDotFailCallback = (
|
|
2264
|
-
result: HideTabBarRedDotFail,
|
|
2265
|
-
) => void
|
|
2266
|
-
export type HideTabBarRedDotComplete = AsyncApiResult
|
|
2267
|
-
export type HideTabBarRedDotCompleteCallback = (
|
|
2268
|
-
result: HideTabBarRedDotComplete,
|
|
2269
|
-
) => void
|
|
2270
|
-
export type HideTabBarRedDotOptions = {
|
|
2271
|
-
/**
|
|
2254
|
+
*/
|
|
2255
|
+
complete?: ShowTabBarRedDotCompleteCallback
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
export type HideTabBarRedDotSuccess = AsyncApiSuccessResult
|
|
2259
|
+
export type HideTabBarRedDotSuccessCallback = (
|
|
2260
|
+
result: HideTabBarRedDotSuccess,
|
|
2261
|
+
) => void
|
|
2262
|
+
export type HideTabBarRedDotFail = SetTabBarFail
|
|
2263
|
+
export type HideTabBarRedDotFailCallback = (
|
|
2264
|
+
result: HideTabBarRedDotFail,
|
|
2265
|
+
) => void
|
|
2266
|
+
export type HideTabBarRedDotComplete = AsyncApiResult
|
|
2267
|
+
export type HideTabBarRedDotCompleteCallback = (
|
|
2268
|
+
result: HideTabBarRedDotComplete,
|
|
2269
|
+
) => void
|
|
2270
|
+
export type HideTabBarRedDotOptions = {
|
|
2271
|
+
/**
|
|
2272
2272
|
* tabBar的哪一项,从左边算起,索引从0开始
|
|
2273
2273
|
* @uniPlatform {
|
|
2274
2274
|
* "mp": {
|
|
@@ -2314,9 +2314,9 @@ export type HideTabBarRedDotOptions = {
|
|
|
2314
2314
|
* }
|
|
2315
2315
|
* }
|
|
2316
2316
|
* }
|
|
2317
|
-
*/
|
|
2318
|
-
index: number
|
|
2319
|
-
/**
|
|
2317
|
+
*/
|
|
2318
|
+
index: number
|
|
2319
|
+
/**
|
|
2320
2320
|
* 接口调用成功的回调函数
|
|
2321
2321
|
* @uniPlatform {
|
|
2322
2322
|
* "mp": {
|
|
@@ -2362,9 +2362,9 @@ export type HideTabBarRedDotOptions = {
|
|
|
2362
2362
|
* }
|
|
2363
2363
|
* }
|
|
2364
2364
|
* }
|
|
2365
|
-
*/
|
|
2366
|
-
success?: HideTabBarRedDotSuccessCallback
|
|
2367
|
-
/**
|
|
2365
|
+
*/
|
|
2366
|
+
success?: HideTabBarRedDotSuccessCallback
|
|
2367
|
+
/**
|
|
2368
2368
|
* 接口调用失败的回调函数
|
|
2369
2369
|
* @uniPlatform {
|
|
2370
2370
|
* "mp": {
|
|
@@ -2410,9 +2410,9 @@ export type HideTabBarRedDotOptions = {
|
|
|
2410
2410
|
* }
|
|
2411
2411
|
* }
|
|
2412
2412
|
* }
|
|
2413
|
-
*/
|
|
2414
|
-
fail?: HideTabBarRedDotFailCallback
|
|
2415
|
-
/**
|
|
2413
|
+
*/
|
|
2414
|
+
fail?: HideTabBarRedDotFailCallback
|
|
2415
|
+
/**
|
|
2416
2416
|
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
2417
2417
|
* @uniPlatform {
|
|
2418
2418
|
* "mp": {
|
|
@@ -2458,29 +2458,29 @@ export type HideTabBarRedDotOptions = {
|
|
|
2458
2458
|
* }
|
|
2459
2459
|
* }
|
|
2460
2460
|
* }
|
|
2461
|
-
*/
|
|
2462
|
-
complete?: HideTabBarRedDotCompleteCallback
|
|
2463
|
-
}
|
|
2464
|
-
|
|
2465
|
-
export type OnTabBarMidButtonTapCallback = () => void
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
export type SetTabBarBadge = (options: SetTabBarBadgeOptions) => void
|
|
2469
|
-
export type RemoveTabBarBadge = (options: RemoveTabBarBadgeOptions) => void
|
|
2470
|
-
export type SetTabBarItem = (options: SetTabBarItemOptions) => void
|
|
2471
|
-
export type SetTabBarStyle = (options: SetTabBarStyleOptions) => void
|
|
2472
|
-
export type ShowTabBar = (options?: ShowTabBarOptions | null) => void
|
|
2473
|
-
export type HideTabBar = (options?: HideTabBarOptions | null) => void
|
|
2474
|
-
export type ShowTabBarRedDot = (options: ShowTabBarRedDotOptions) => void
|
|
2475
|
-
export type HideTabBarRedDot = (options: HideTabBarRedDotOptions) => void
|
|
2476
|
-
|
|
2477
|
-
export interface Uni {
|
|
2478
|
-
/**
|
|
2479
|
-
* 为 tabBar 某一项的右上角添加文本
|
|
2480
|
-
*
|
|
2481
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#settabbarbadge
|
|
2482
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarbadge
|
|
2483
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarbadge
|
|
2461
|
+
*/
|
|
2462
|
+
complete?: HideTabBarRedDotCompleteCallback
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
export type OnTabBarMidButtonTapCallback = () => void
|
|
2466
|
+
|
|
2467
|
+
|
|
2468
|
+
export type SetTabBarBadge = (options: SetTabBarBadgeOptions) => void
|
|
2469
|
+
export type RemoveTabBarBadge = (options: RemoveTabBarBadgeOptions) => void
|
|
2470
|
+
export type SetTabBarItem = (options: SetTabBarItemOptions) => void
|
|
2471
|
+
export type SetTabBarStyle = (options: SetTabBarStyleOptions) => void
|
|
2472
|
+
export type ShowTabBar = (options?: ShowTabBarOptions | null) => void
|
|
2473
|
+
export type HideTabBar = (options?: HideTabBarOptions | null) => void
|
|
2474
|
+
export type ShowTabBarRedDot = (options: ShowTabBarRedDotOptions) => void
|
|
2475
|
+
export type HideTabBarRedDot = (options: HideTabBarRedDotOptions) => void
|
|
2476
|
+
|
|
2477
|
+
export interface Uni {
|
|
2478
|
+
/**
|
|
2479
|
+
* 为 tabBar 某一项的右上角添加文本
|
|
2480
|
+
*
|
|
2481
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#settabbarbadge
|
|
2482
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarbadge
|
|
2483
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarbadge
|
|
2484
2484
|
* @uniPlatform {
|
|
2485
2485
|
* "app": {
|
|
2486
2486
|
* "android": {
|
|
@@ -2497,7 +2497,7 @@ export interface Uni {
|
|
|
2497
2497
|
* "osVer": "3.0",
|
|
2498
2498
|
* "uniVer": "4.23",
|
|
2499
2499
|
* "unixVer": "4.61",
|
|
2500
|
-
* "
|
|
2500
|
+
* "unixVaporVer": "x"
|
|
2501
2501
|
* }
|
|
2502
2502
|
* },
|
|
2503
2503
|
* "mp": {
|
|
@@ -2548,16 +2548,16 @@ export interface Uni {
|
|
|
2548
2548
|
* }
|
|
2549
2549
|
* }
|
|
2550
2550
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/tab-bar/wx.setTabBarBadge.html
|
|
2551
|
-
*/
|
|
2552
|
-
setTabBarBadge(
|
|
2553
|
-
options: SetTabBarBadgeOptions,
|
|
2554
|
-
): Promise<SetTabBarBadgeSuccess> | null
|
|
2555
|
-
/**
|
|
2556
|
-
* 移除 tabBar 某一项右上角的文本
|
|
2557
|
-
*
|
|
2558
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#removetabbarbadge
|
|
2559
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#removetabbarbadge
|
|
2560
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#removetabbarbadge
|
|
2551
|
+
*/
|
|
2552
|
+
setTabBarBadge(
|
|
2553
|
+
options: SetTabBarBadgeOptions,
|
|
2554
|
+
): Promise<SetTabBarBadgeSuccess> | null
|
|
2555
|
+
/**
|
|
2556
|
+
* 移除 tabBar 某一项右上角的文本
|
|
2557
|
+
*
|
|
2558
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#removetabbarbadge
|
|
2559
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#removetabbarbadge
|
|
2560
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#removetabbarbadge
|
|
2561
2561
|
* @uniPlatform {
|
|
2562
2562
|
* "app": {
|
|
2563
2563
|
* "android": {
|
|
@@ -2574,7 +2574,7 @@ export interface Uni {
|
|
|
2574
2574
|
* "osVer": "3.0",
|
|
2575
2575
|
* "uniVer": "4.23",
|
|
2576
2576
|
* "unixVer": "4.61",
|
|
2577
|
-
* "
|
|
2577
|
+
* "unixVaporVer": "x"
|
|
2578
2578
|
* }
|
|
2579
2579
|
* },
|
|
2580
2580
|
* "mp": {
|
|
@@ -2625,16 +2625,16 @@ export interface Uni {
|
|
|
2625
2625
|
* }
|
|
2626
2626
|
* }
|
|
2627
2627
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/tab-bar/wx.removeTabBarBadge.html
|
|
2628
|
-
*/
|
|
2629
|
-
removeTabBarBadge(
|
|
2630
|
-
options: RemoveTabBarBadgeOptions,
|
|
2631
|
-
): Promise<RemoveTabBarBadgeSuccess> | null
|
|
2632
|
-
/**
|
|
2633
|
-
* 动态设置 tabBar 某一项的内容
|
|
2634
|
-
*
|
|
2635
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#settabbaritem
|
|
2636
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbaritem
|
|
2637
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbaritem
|
|
2628
|
+
*/
|
|
2629
|
+
removeTabBarBadge(
|
|
2630
|
+
options: RemoveTabBarBadgeOptions,
|
|
2631
|
+
): Promise<RemoveTabBarBadgeSuccess> | null
|
|
2632
|
+
/**
|
|
2633
|
+
* 动态设置 tabBar 某一项的内容
|
|
2634
|
+
*
|
|
2635
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#settabbaritem
|
|
2636
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbaritem
|
|
2637
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbaritem
|
|
2638
2638
|
* @uniPlatform {
|
|
2639
2639
|
* "app": {
|
|
2640
2640
|
* "android": {
|
|
@@ -2651,7 +2651,7 @@ export interface Uni {
|
|
|
2651
2651
|
* "osVer": "3.0",
|
|
2652
2652
|
* "uniVer": "4.23",
|
|
2653
2653
|
* "unixVer": "4.61",
|
|
2654
|
-
* "
|
|
2654
|
+
* "unixVaporVer": "x"
|
|
2655
2655
|
* }
|
|
2656
2656
|
* },
|
|
2657
2657
|
* "mp": {
|
|
@@ -2702,16 +2702,16 @@ export interface Uni {
|
|
|
2702
2702
|
* }
|
|
2703
2703
|
* }
|
|
2704
2704
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/tab-bar/wx.setTabBarItem.html
|
|
2705
|
-
*/
|
|
2706
|
-
setTabBarItem(
|
|
2707
|
-
options: SetTabBarItemOptions,
|
|
2708
|
-
): Promise<SetTabBarItemSuccess> | null
|
|
2709
|
-
/**
|
|
2710
|
-
* 动态设置 tabBar 的整体样式
|
|
2711
|
-
*
|
|
2712
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#settabbarstyle
|
|
2713
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarstyle
|
|
2714
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarstyle
|
|
2705
|
+
*/
|
|
2706
|
+
setTabBarItem(
|
|
2707
|
+
options: SetTabBarItemOptions,
|
|
2708
|
+
): Promise<SetTabBarItemSuccess> | null
|
|
2709
|
+
/**
|
|
2710
|
+
* 动态设置 tabBar 的整体样式
|
|
2711
|
+
*
|
|
2712
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#settabbarstyle
|
|
2713
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarstyle
|
|
2714
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarstyle
|
|
2715
2715
|
* @uniPlatform {
|
|
2716
2716
|
* "app": {
|
|
2717
2717
|
* "android": {
|
|
@@ -2778,16 +2778,16 @@ export interface Uni {
|
|
|
2778
2778
|
* }
|
|
2779
2779
|
* }
|
|
2780
2780
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/tab-bar/wx.setTabBarStyle.html
|
|
2781
|
-
*/
|
|
2782
|
-
setTabBarStyle(
|
|
2783
|
-
options: SetTabBarStyleOptions,
|
|
2784
|
-
): Promise<SetTabBarStyleSuccess> | null
|
|
2785
|
-
/**
|
|
2786
|
-
* 隐藏 tabBar
|
|
2787
|
-
*
|
|
2788
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#hidetabbar
|
|
2789
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbar
|
|
2790
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbar
|
|
2781
|
+
*/
|
|
2782
|
+
setTabBarStyle(
|
|
2783
|
+
options: SetTabBarStyleOptions,
|
|
2784
|
+
): Promise<SetTabBarStyleSuccess> | null
|
|
2785
|
+
/**
|
|
2786
|
+
* 隐藏 tabBar
|
|
2787
|
+
*
|
|
2788
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#hidetabbar
|
|
2789
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbar
|
|
2790
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbar
|
|
2791
2791
|
* @uniPlatform {
|
|
2792
2792
|
* "app": {
|
|
2793
2793
|
* "android": {
|
|
@@ -2804,7 +2804,7 @@ export interface Uni {
|
|
|
2804
2804
|
* "osVer": "3.0",
|
|
2805
2805
|
* "uniVer": "4.23",
|
|
2806
2806
|
* "unixVer": "4.61",
|
|
2807
|
-
* "
|
|
2807
|
+
* "unixVaporVer": "x"
|
|
2808
2808
|
* }
|
|
2809
2809
|
* },
|
|
2810
2810
|
* "mp": {
|
|
@@ -2855,16 +2855,16 @@ export interface Uni {
|
|
|
2855
2855
|
* }
|
|
2856
2856
|
* }
|
|
2857
2857
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/tab-bar/wx.hideTabBar.html
|
|
2858
|
-
*/
|
|
2859
|
-
hideTabBar(
|
|
2860
|
-
options?: HideTabBarOptions | null,
|
|
2861
|
-
): Promise<HideTabBarSuccess> | null
|
|
2862
|
-
/**
|
|
2863
|
-
* 显示 tabBar
|
|
2864
|
-
*
|
|
2865
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#showtabbar
|
|
2866
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbar
|
|
2867
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbar
|
|
2858
|
+
*/
|
|
2859
|
+
hideTabBar(
|
|
2860
|
+
options?: HideTabBarOptions | null,
|
|
2861
|
+
): Promise<HideTabBarSuccess> | null
|
|
2862
|
+
/**
|
|
2863
|
+
* 显示 tabBar
|
|
2864
|
+
*
|
|
2865
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#showtabbar
|
|
2866
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbar
|
|
2867
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbar
|
|
2868
2868
|
* @uniPlatform {
|
|
2869
2869
|
* "app": {
|
|
2870
2870
|
* "android": {
|
|
@@ -2881,7 +2881,7 @@ export interface Uni {
|
|
|
2881
2881
|
* "osVer": "3.0",
|
|
2882
2882
|
* "uniVer": "4.23",
|
|
2883
2883
|
* "unixVer": "4.61",
|
|
2884
|
-
* "
|
|
2884
|
+
* "unixVaporVer": "x"
|
|
2885
2885
|
* }
|
|
2886
2886
|
* },
|
|
2887
2887
|
* "mp": {
|
|
@@ -2932,16 +2932,16 @@ export interface Uni {
|
|
|
2932
2932
|
* }
|
|
2933
2933
|
* }
|
|
2934
2934
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/tab-bar/wx.showTabBar.html
|
|
2935
|
-
*/
|
|
2936
|
-
showTabBar(
|
|
2937
|
-
options?: ShowTabBarOptions | null,
|
|
2938
|
-
): Promise<ShowTabBarSuccess> | null
|
|
2939
|
-
/**
|
|
2940
|
-
* 显示 tabBar 某一项的右上角的红点
|
|
2941
|
-
*
|
|
2942
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#showtabbarreddot
|
|
2943
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbarreddot
|
|
2944
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbarreddot
|
|
2935
|
+
*/
|
|
2936
|
+
showTabBar(
|
|
2937
|
+
options?: ShowTabBarOptions | null,
|
|
2938
|
+
): Promise<ShowTabBarSuccess> | null
|
|
2939
|
+
/**
|
|
2940
|
+
* 显示 tabBar 某一项的右上角的红点
|
|
2941
|
+
*
|
|
2942
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#showtabbarreddot
|
|
2943
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbarreddot
|
|
2944
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbarreddot
|
|
2945
2945
|
* @uniPlatform {
|
|
2946
2946
|
* "app": {
|
|
2947
2947
|
* "android": {
|
|
@@ -2958,7 +2958,7 @@ export interface Uni {
|
|
|
2958
2958
|
* "osVer": "3.0",
|
|
2959
2959
|
* "uniVer": "4.23",
|
|
2960
2960
|
* "unixVer": "4.61",
|
|
2961
|
-
* "
|
|
2961
|
+
* "unixVaporVer": "x"
|
|
2962
2962
|
* }
|
|
2963
2963
|
* },
|
|
2964
2964
|
* "mp": {
|
|
@@ -3009,16 +3009,16 @@ export interface Uni {
|
|
|
3009
3009
|
* }
|
|
3010
3010
|
* }
|
|
3011
3011
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/tab-bar/wx.showTabBarRedDot.html
|
|
3012
|
-
*/
|
|
3013
|
-
showTabBarRedDot(
|
|
3014
|
-
options: ShowTabBarRedDotOptions,
|
|
3015
|
-
): Promise<ShowTabBarRedDotSuccess> | null
|
|
3016
|
-
/**
|
|
3017
|
-
* 隐藏 tabBar 某一项的右上角的红点
|
|
3018
|
-
*
|
|
3019
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#hidetabbarreddot
|
|
3020
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbarreddot
|
|
3021
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbarreddot
|
|
3012
|
+
*/
|
|
3013
|
+
showTabBarRedDot(
|
|
3014
|
+
options: ShowTabBarRedDotOptions,
|
|
3015
|
+
): Promise<ShowTabBarRedDotSuccess> | null
|
|
3016
|
+
/**
|
|
3017
|
+
* 隐藏 tabBar 某一项的右上角的红点
|
|
3018
|
+
*
|
|
3019
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#hidetabbarreddot
|
|
3020
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbarreddot
|
|
3021
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbarreddot
|
|
3022
3022
|
* @uniPlatform {
|
|
3023
3023
|
* "app": {
|
|
3024
3024
|
* "android": {
|
|
@@ -3035,7 +3035,7 @@ export interface Uni {
|
|
|
3035
3035
|
* "osVer": "3.0",
|
|
3036
3036
|
* "uniVer": "4.23",
|
|
3037
3037
|
* "unixVer": "4.61",
|
|
3038
|
-
* "
|
|
3038
|
+
* "unixVaporVer": "x"
|
|
3039
3039
|
* }
|
|
3040
3040
|
* },
|
|
3041
3041
|
* "mp": {
|
|
@@ -3086,80 +3086,80 @@ export interface Uni {
|
|
|
3086
3086
|
* }
|
|
3087
3087
|
* }
|
|
3088
3088
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/tab-bar/wx.hideTabBarRedDot.html
|
|
3089
|
-
*/
|
|
3090
|
-
hideTabBarRedDot(
|
|
3091
|
-
options: HideTabBarRedDotOptions,
|
|
3092
|
-
): Promise<HideTabBarRedDotSuccess> | null
|
|
3093
|
-
/**
|
|
3094
|
-
* 监听中间按钮的点击事件
|
|
3095
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#ontabbarmidbuttontap
|
|
3096
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/on-tab-bar-mid-button-tap.html
|
|
3097
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/on-tab-bar-mid-button-tap.html
|
|
3098
|
-
* @uniPlatform {
|
|
3099
|
-
* "app": {
|
|
3100
|
-
* "android": {
|
|
3101
|
-
* "osVer": "5.0",
|
|
3102
|
-
* "uniVer": "√",
|
|
3103
|
-
* "unixVer": "x"
|
|
3104
|
-
* },
|
|
3105
|
-
* "ios": {
|
|
3106
|
-
* "osVer": "12.0",
|
|
3107
|
-
* "uniVer": "√",
|
|
3108
|
-
* "unixVer": "x"
|
|
3109
|
-
* },
|
|
3110
|
-
* "harmony": {
|
|
3111
|
-
* "osVer": "x",
|
|
3112
|
-
* "uniVer": "x",
|
|
3113
|
-
* "unixVer": "x"
|
|
3114
|
-
* }
|
|
3115
|
-
* },
|
|
3116
|
-
* "mp": {
|
|
3117
|
-
* "weixin": {
|
|
3118
|
-
* "hostVer": "x",
|
|
3119
|
-
* "uniVer": "x",
|
|
3120
|
-
* "unixVer": "x"
|
|
3121
|
-
* },
|
|
3122
|
-
* "alipay": {
|
|
3123
|
-
* "hostVer": "x",
|
|
3124
|
-
* "uniVer": "x",
|
|
3125
|
-
* "unixVer": "x"
|
|
3126
|
-
* },
|
|
3127
|
-
* "baidu": {
|
|
3128
|
-
* "hostVer": "x",
|
|
3129
|
-
* "uniVer": "x",
|
|
3130
|
-
* "unixVer": "x"
|
|
3131
|
-
* },
|
|
3132
|
-
* "toutiao": {
|
|
3133
|
-
* "hostVer": "√",
|
|
3134
|
-
* "uniVer": "√",
|
|
3135
|
-
* "unixVer": "x"
|
|
3136
|
-
* },
|
|
3137
|
-
* "lark": {
|
|
3138
|
-
* "hostVer": "x",
|
|
3139
|
-
* "uniVer": "x",
|
|
3140
|
-
* "unixVer": "x"
|
|
3141
|
-
* },
|
|
3142
|
-
* "qq": {
|
|
3143
|
-
* "hostVer": "√",
|
|
3144
|
-
* "uniVer": "√",
|
|
3145
|
-
* "unixVer": "x"
|
|
3146
|
-
* },
|
|
3147
|
-
* "kuaishou": {
|
|
3148
|
-
* "hostVer": "x",
|
|
3149
|
-
* "uniVer": "x",
|
|
3150
|
-
* "unixVer": "x"
|
|
3151
|
-
* },
|
|
3152
|
-
* "jd": {
|
|
3153
|
-
* "hostVer": "x",
|
|
3154
|
-
* "uniVer": "x",
|
|
3155
|
-
* "unixVer": "x"
|
|
3156
|
-
* }
|
|
3157
|
-
* },
|
|
3158
|
-
* "web": {
|
|
3159
|
-
* "uniVer": "√",
|
|
3160
|
-
* "unixVer": "4.0"
|
|
3161
|
-
* }
|
|
3162
|
-
* }
|
|
3163
|
-
*/
|
|
3164
|
-
onTabBarMidButtonTap(options: OnTabBarMidButtonTapCallback): void
|
|
3165
|
-
}
|
|
3089
|
+
*/
|
|
3090
|
+
hideTabBarRedDot(
|
|
3091
|
+
options: HideTabBarRedDotOptions,
|
|
3092
|
+
): Promise<HideTabBarRedDotSuccess> | null
|
|
3093
|
+
/**
|
|
3094
|
+
* 监听中间按钮的点击事件
|
|
3095
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#ontabbarmidbuttontap
|
|
3096
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/on-tab-bar-mid-button-tap.html
|
|
3097
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/on-tab-bar-mid-button-tap.html
|
|
3098
|
+
* @uniPlatform {
|
|
3099
|
+
* "app": {
|
|
3100
|
+
* "android": {
|
|
3101
|
+
* "osVer": "5.0",
|
|
3102
|
+
* "uniVer": "√",
|
|
3103
|
+
* "unixVer": "x"
|
|
3104
|
+
* },
|
|
3105
|
+
* "ios": {
|
|
3106
|
+
* "osVer": "12.0",
|
|
3107
|
+
* "uniVer": "√",
|
|
3108
|
+
* "unixVer": "x"
|
|
3109
|
+
* },
|
|
3110
|
+
* "harmony": {
|
|
3111
|
+
* "osVer": "x",
|
|
3112
|
+
* "uniVer": "x",
|
|
3113
|
+
* "unixVer": "x"
|
|
3114
|
+
* }
|
|
3115
|
+
* },
|
|
3116
|
+
* "mp": {
|
|
3117
|
+
* "weixin": {
|
|
3118
|
+
* "hostVer": "x",
|
|
3119
|
+
* "uniVer": "x",
|
|
3120
|
+
* "unixVer": "x"
|
|
3121
|
+
* },
|
|
3122
|
+
* "alipay": {
|
|
3123
|
+
* "hostVer": "x",
|
|
3124
|
+
* "uniVer": "x",
|
|
3125
|
+
* "unixVer": "x"
|
|
3126
|
+
* },
|
|
3127
|
+
* "baidu": {
|
|
3128
|
+
* "hostVer": "x",
|
|
3129
|
+
* "uniVer": "x",
|
|
3130
|
+
* "unixVer": "x"
|
|
3131
|
+
* },
|
|
3132
|
+
* "toutiao": {
|
|
3133
|
+
* "hostVer": "√",
|
|
3134
|
+
* "uniVer": "√",
|
|
3135
|
+
* "unixVer": "x"
|
|
3136
|
+
* },
|
|
3137
|
+
* "lark": {
|
|
3138
|
+
* "hostVer": "x",
|
|
3139
|
+
* "uniVer": "x",
|
|
3140
|
+
* "unixVer": "x"
|
|
3141
|
+
* },
|
|
3142
|
+
* "qq": {
|
|
3143
|
+
* "hostVer": "√",
|
|
3144
|
+
* "uniVer": "√",
|
|
3145
|
+
* "unixVer": "x"
|
|
3146
|
+
* },
|
|
3147
|
+
* "kuaishou": {
|
|
3148
|
+
* "hostVer": "x",
|
|
3149
|
+
* "uniVer": "x",
|
|
3150
|
+
* "unixVer": "x"
|
|
3151
|
+
* },
|
|
3152
|
+
* "jd": {
|
|
3153
|
+
* "hostVer": "x",
|
|
3154
|
+
* "uniVer": "x",
|
|
3155
|
+
* "unixVer": "x"
|
|
3156
|
+
* }
|
|
3157
|
+
* },
|
|
3158
|
+
* "web": {
|
|
3159
|
+
* "uniVer": "√",
|
|
3160
|
+
* "unixVer": "4.0"
|
|
3161
|
+
* }
|
|
3162
|
+
* }
|
|
3163
|
+
*/
|
|
3164
|
+
onTabBarMidButtonTap(options: OnTabBarMidButtonTapCallback): void
|
|
3165
|
+
}
|