@dcloudio/uni-app-x 0.7.59 → 0.7.61
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 +2 -2
- package/types/app.d.ts +24 -9
- package/types/native/IUniElement.d.ts +1 -3
- package/types/native/UniCustomElement.d.ts +2 -2
- package/types/native/UniFormControl.d.ts +1 -1
- package/types/native/UniInputChangeEvent.d.ts +31 -0
- package/types/native/UniPage.d.ts +10 -2
- package/types/native/UniSwiperAnimationFinishEvent.d.ts +1 -0
- package/types/native/UniSwiperChangeEvent.d.ts +1 -0
- package/types/native/WebViewStyles.d.ts +1 -1
- package/types/native/global.d.ts +14 -0
- package/types/native/index.d.ts +1 -0
- package/types/page.d.ts +134 -22
- package/types/uni/uni-camera-global.d.ts +4 -0
- package/types/uni/uni-camera.d.ts +10 -9
- package/types/uni/uts-plugin-api/global.d.ts +1 -0
- package/types/uni/uts-plugin-api/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +77 -433
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +9 -6
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +10 -8
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/global.d.ts +16 -0
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +569 -139
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +7 -6
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +22 -37
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +12 -16
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +5 -3
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +5 -0
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +34 -15
- package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +32 -61
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +45 -80
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +5 -3
- package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +13 -11
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +16 -15
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +12 -10
- package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +88 -4
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +54 -7
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +246 -236
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +5 -5
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/global.d.ts +38 -0
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/index.d.ts +19 -0
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +1783 -107
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +16 -20
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +209 -451
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +80 -698
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +10 -8
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +474 -184
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +755 -405
- package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/global.d.ts +16 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +40 -0
- package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +10 -15
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +116 -124
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +11 -11
- package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +5 -5
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +25 -26
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +54 -84
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +71 -89
- package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +10 -10
- package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +300 -6
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +347 -10
- package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +25 -33
- package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +20 -20
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +18 -18
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +70 -82
- package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +6 -5
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +49 -72
- package/types/uni/uts-plugin-biz/global.d.ts +11 -0
- package/types/uni/uts-plugin-biz/index.d.ts +11 -0
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +60 -3
- package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +6 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/global.d.ts +52 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/index.d.ts +25 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/interface.d.ts +445 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/global.d.ts +48 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/index.d.ts +23 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/interface.d.ts +138 -0
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +28 -12
- package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/global.d.ts +18 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/interface.d.ts +45 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +21 -16
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +16 -2
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +8 -1
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +153 -6
- package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +37 -44
- package/types/uni/uts-plugin-extend/global.d.ts +0 -2
- package/types/uni/uts-plugin-extend/index.d.ts +0 -2
- package/types/uni-cloud/interface.d.ts +13 -9
- package/types/vue/LifeCycle.d.ts +723 -1
- package/types/uni/uts-plugin-api/.temp/uni-actionSheet/utssdk/interface.uts +0 -554
- package/types/uni/uts-plugin-api/.temp/uni-addPhoneContact/utssdk/interface.uts +0 -224
- package/types/uni/uts-plugin-api/.temp/uni-arrayBufferToBase64/utssdk/interface.uts +0 -77
- package/types/uni/uts-plugin-api/.temp/uni-authentication/utssdk/interface.uts +0 -365
- package/types/uni/uts-plugin-api/.temp/uni-base64ToArrayBuffer/utssdk/interface.uts +0 -77
- package/types/uni/uts-plugin-api/.temp/uni-canvas/utssdk/interface.uts +0 -972
- package/types/uni/uts-plugin-api/.temp/uni-chooseLocation/utssdk/interface.uts +0 -410
- package/types/uni/uts-plugin-api/.temp/uni-chooseMedia/utssdk/interface.uts +0 -459
- package/types/uni/uts-plugin-api/.temp/uni-clipboard/utssdk/interface.uts +0 -203
- package/types/uni/uts-plugin-api/.temp/uni-createInnerAudioContext/utssdk/interface.uts +0 -2613
- package/types/uni/uts-plugin-api/.temp/uni-createIntersectionObserver/utssdk/interface.uts +0 -152
- package/types/uni/uts-plugin-api/.temp/uni-createRequestPermissionListener/utssdk/interface.uts +0 -61
- package/types/uni/uts-plugin-api/.temp/uni-createSelectorQuery/utssdk/interface.uts +0 -548
- package/types/uni/uts-plugin-api/.temp/uni-createWebviewContext/utssdk/interface.uts +0 -137
- package/types/uni/uts-plugin-api/.temp/uni-dialogPage/utssdk/interface.uts +0 -1380
- package/types/uni/uts-plugin-api/.temp/uni-document/utssdk/interface.uts +0 -76
- package/types/uni/uts-plugin-api/.temp/uni-event/utssdk/interface.uts +0 -338
- package/types/uni/uts-plugin-api/.temp/uni-exit/utssdk/interface.uts +0 -102
- package/types/uni/uts-plugin-api/.temp/uni-file/utssdk/interface.uts +0 -384
- package/types/uni/uts-plugin-api/.temp/uni-fileSystemManager/utssdk/interface.uts +0 -5316
- package/types/uni/uts-plugin-api/.temp/uni-getAccessibilityInfo/utssdk/interface.uts +0 -35
- package/types/uni/uts-plugin-api/.temp/uni-getAppAuthorizeSetting/utssdk/interface.uts +0 -616
- package/types/uni/uts-plugin-api/.temp/uni-getAppBaseInfo/utssdk/interface.uts +0 -2157
- package/types/uni/uts-plugin-api/.temp/uni-getBackgroundAudioManager/utssdk/interface.uts +0 -895
- package/types/uni/uts-plugin-api/.temp/uni-getDeviceInfo/utssdk/interface.uts +0 -1755
- package/types/uni/uts-plugin-api/.temp/uni-getElementById/utssdk/interface.uts +0 -82
- package/types/uni/uts-plugin-api/.temp/uni-getEnterOptionsSync/utssdk/interface.uts +0 -295
- package/types/uni/uts-plugin-api/.temp/uni-getLaunchOptionsSync/utssdk/interface.uts +0 -299
- package/types/uni/uts-plugin-api/.temp/uni-getLocation/utssdk/interface.uts +0 -1764
- package/types/uni/uts-plugin-api/.temp/uni-getLocation-system/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent-uni1/utssdk/interface.uts +0 -736
- package/types/uni/uts-plugin-api/.temp/uni-getNetworkType/utssdk/interface.uts +0 -274
- package/types/uni/uts-plugin-api/.temp/uni-getPerformance/utssdk/interface.uts +0 -198
- package/types/uni/uts-plugin-api/.temp/uni-getProvider/utssdk/interface.uts +0 -634
- package/types/uni/uts-plugin-api/.temp/uni-getRecorderManager/utssdk/interface.uts +0 -980
- package/types/uni/uts-plugin-api/.temp/uni-getSystemInfo/utssdk/interface.uts +0 -5550
- package/types/uni/uts-plugin-api/.temp/uni-getSystemSetting/utssdk/interface.uts +0 -501
- package/types/uni/uts-plugin-api/.temp/uni-installApk/utssdk/interface.uts +0 -83
- package/types/uni/uts-plugin-api/.temp/uni-interceptor/utssdk/interface.uts +0 -169
- package/types/uni/uts-plugin-api/.temp/uni-keyboard/utssdk/interface.uts +0 -102
- package/types/uni/uts-plugin-api/.temp/uni-loadFontFace/utssdk/interface.uts +0 -580
- package/types/uni/uts-plugin-api/.temp/uni-makePhoneCall/utssdk/interface.uts +0 -100
- package/types/uni/uts-plugin-api/.temp/uni-media/utssdk/interface.uts +0 -2980
- package/types/uni/uts-plugin-api/.temp/uni-modal/utssdk/interface.uts +0 -190
- package/types/uni/uts-plugin-api/.temp/uni-navigationBar/utssdk/interface.uts +0 -1002
- package/types/uni/uts-plugin-api/.temp/uni-network/utssdk/interface.uts +0 -3620
- package/types/uni/uts-plugin-api/.temp/uni-oauth/utssdk/interface.uts +0 -1592
- package/types/uni/uts-plugin-api/.temp/uni-oauth-huawei/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-openAppAuthorizeSetting/utssdk/interface.uts +0 -254
- package/types/uni/uts-plugin-api/.temp/uni-openDocument/utssdk/interface.uts +0 -112
- package/types/uni/uts-plugin-api/.temp/uni-pageScrollTo/utssdk/interface.uts +0 -153
- package/types/uni/uts-plugin-api/.temp/uni-payment/utssdk/interface.uts +0 -833
- package/types/uni/uts-plugin-api/.temp/uni-payment-alipay/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-payment-huawei/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-payment-wxpay/utssdk/interface.uts +0 -3
- package/types/uni/uts-plugin-api/.temp/uni-previewImage/utssdk/interface.uts +0 -518
- package/types/uni/uts-plugin-api/.temp/uni-privacy/utssdk/interface.uts +0 -560
- package/types/uni/uts-plugin-api/.temp/uni-prompt/utssdk/interface.uts +0 -2607
- package/types/uni/uts-plugin-api/.temp/uni-pullDownRefresh/utssdk/interface.uts +0 -189
- package/types/uni/uts-plugin-api/.temp/uni-requestMerchantTransfer/utssdk/interface.uts +0 -710
- package/types/uni/uts-plugin-api/.temp/uni-route/utssdk/interface.uts +0 -2695
- package/types/uni/uts-plugin-api/.temp/uni-rpx2px/utssdk/interface.uts +0 -80
- package/types/uni/uts-plugin-api/.temp/uni-scanCode/utssdk/interface.uts +0 -130
- package/types/uni/uts-plugin-api/.temp/uni-shareWithSystem/utssdk/interface.uts +0 -719
- package/types/uni/uts-plugin-api/.temp/uni-sse/utssdk/interface.uts +0 -277
- package/types/uni/uts-plugin-api/.temp/uni-storage/utssdk/interface.uts +0 -1020
- package/types/uni/uts-plugin-api/.temp/uni-tabBar/utssdk/interface.uts +0 -1148
- package/types/uni/uts-plugin-api/.temp/uni-theme/utssdk/interface.uts +0 -1059
- package/types/uni/uts-plugin-api/.temp/uni-virtualPayment/utssdk/interface.uts +0 -1660
- package/types/uni/uts-plugin-api/.temp/uni-websocket/utssdk/interface.uts +0 -1941
- package/types/uni/uts-plugin-biz/.temp/uni-ad/utssdk/interface.uts +0 -726
- package/types/uni/uts-plugin-biz/.temp/uni-crash/utssdk/interface.uts +0 -89
- package/types/uni/uts-plugin-biz/.temp/uni-facialRecognitionVerify/utssdk/interface.uts +0 -212
- package/types/uni/uts-plugin-biz/.temp/uni-map-tencent/utssdk/interface.uts +0 -2359
- package/types/uni/uts-plugin-biz/.temp/uni-push/utssdk/interface.uts +0 -960
- package/types/uni/uts-plugin-biz/.temp/uni-secure-network/utssdk/interface.uts +0 -204
- package/types/uni/uts-plugin-biz/.temp/uni-verify/utssdk/interface.uts +0 -730
- package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +0 -221
- package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +0 -935
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/global.d.ts +0 -14
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +0 -1670
|
@@ -416,7 +416,7 @@ export type PreviewImageOptions = {
|
|
|
416
416
|
* "ios": {
|
|
417
417
|
* "osVer": "5.0",
|
|
418
418
|
* "uniVer": "√",
|
|
419
|
-
* "unixVer": "
|
|
419
|
+
* "unixVer": "4.71"
|
|
420
420
|
* },
|
|
421
421
|
* "harmony": {
|
|
422
422
|
* "osVer": "x",
|
|
@@ -780,8 +780,8 @@ export interface Uni {
|
|
|
780
780
|
* }
|
|
781
781
|
* })
|
|
782
782
|
* ```
|
|
783
|
-
* @
|
|
784
|
-
* @
|
|
783
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/image.html#unipreviewimageobject
|
|
784
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/preview-image.html
|
|
785
785
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/preview-image.html
|
|
786
786
|
* @autotest {
|
|
787
787
|
generated:false
|
|
@@ -866,8 +866,8 @@ export interface Uni {
|
|
|
866
866
|
* }
|
|
867
867
|
* })
|
|
868
868
|
* ```
|
|
869
|
-
* @
|
|
870
|
-
* @
|
|
869
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/image.html#closepreviewimage
|
|
870
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/preview-image.html#closepreviewimage
|
|
871
871
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/preview-image.html#closepreviewimage
|
|
872
872
|
* @autotest {
|
|
873
873
|
generated:false
|
|
@@ -2,15 +2,16 @@ export interface Uni {
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* 开启监听隐私协议状态改变
|
|
5
|
-
* @
|
|
5
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/privacy.html#onprivacyauthorizationchange
|
|
6
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/privacy.html#onprivacyauthorizationchange
|
|
7
|
+
* @uniPlatform
|
|
6
8
|
{
|
|
7
9
|
"app": {
|
|
8
10
|
"android": {
|
|
9
11
|
"osVer": "5.0",
|
|
10
12
|
"uniVer": "4.31",
|
|
11
13
|
"uniUtsPlugin": "4.31",
|
|
12
|
-
"unixVer": "4.31"
|
|
13
|
-
"unixUtsPlugin": "4.31"
|
|
14
|
+
"unixVer": "4.31"
|
|
14
15
|
},
|
|
15
16
|
"ios": {
|
|
16
17
|
"osVer": "12.0",
|
|
@@ -41,16 +42,17 @@ export interface Uni {
|
|
|
41
42
|
|
|
42
43
|
/**
|
|
43
44
|
* 取消监听隐私协议状态改变
|
|
45
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/privacy.html#offprivacyauthorizationchange
|
|
46
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/privacy.html#offprivacyauthorizationchange
|
|
44
47
|
* @param {number} id 开启监听隐私协议状态改变返回的id
|
|
45
|
-
* @uniPlatform
|
|
48
|
+
* @uniPlatform
|
|
46
49
|
{
|
|
47
50
|
"app": {
|
|
48
51
|
"android": {
|
|
49
52
|
"osVer": "5.0",
|
|
50
53
|
"uniVer": "4.31",
|
|
51
54
|
"uniUtsPlugin": "4.31",
|
|
52
|
-
"unixVer": "4.31"
|
|
53
|
-
"unixUtsPlugin": "4.31"
|
|
55
|
+
"unixVer": "4.31"
|
|
54
56
|
},
|
|
55
57
|
"ios": {
|
|
56
58
|
"osVer": "12.0",
|
|
@@ -79,14 +81,15 @@ export interface Uni {
|
|
|
79
81
|
|
|
80
82
|
/**
|
|
81
83
|
* 获取隐私协议状态
|
|
84
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/privacy.html#getprivacysetting
|
|
85
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/privacy.html#getprivacysetting
|
|
82
86
|
* @uniPlatform {
|
|
83
87
|
* "app": {
|
|
84
88
|
* "android": {
|
|
85
89
|
* "osVer": "5.0",
|
|
86
90
|
* "uniVer": "4.31",
|
|
87
91
|
* "uniUtsPlugin": "4.31",
|
|
88
|
-
* "unixVer": "4.31"
|
|
89
|
-
* "unixUtsPlugin": "4.31"
|
|
92
|
+
* "unixVer": "4.31"
|
|
90
93
|
* },
|
|
91
94
|
* "ios": {
|
|
92
95
|
* "osVer": "12.0",
|
|
@@ -168,15 +171,16 @@ export interface Uni {
|
|
|
168
171
|
|
|
169
172
|
/**
|
|
170
173
|
* 重置隐私协议状态为未同意
|
|
171
|
-
* @
|
|
174
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/privacy.html#resetprivacyauthorization
|
|
175
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/privacy.html#resetprivacyauthorization
|
|
176
|
+
* @uniPlatform
|
|
172
177
|
{
|
|
173
178
|
"app": {
|
|
174
179
|
"android": {
|
|
175
180
|
"osVer": "5.0",
|
|
176
181
|
"uniVer": "4.31",
|
|
177
182
|
"uniUtsPlugin": "4.31",
|
|
178
|
-
"unixVer": "4.31"
|
|
179
|
-
"unixUtsPlugin": "4.31"
|
|
183
|
+
"unixVer": "4.31"
|
|
180
184
|
},
|
|
181
185
|
"ios": {
|
|
182
186
|
"osVer": "12.0",
|
|
@@ -213,15 +217,14 @@ export type OnPrivacyAuthorizationChangeCallback = (res: PrivacyChangeResult) =>
|
|
|
213
217
|
export type PrivacyChangeResult = {
|
|
214
218
|
/**
|
|
215
219
|
* 是否需要用户授权隐私协议(用户之前同意过返回false,没同意过则返回true)
|
|
216
|
-
* @uniPlatform
|
|
220
|
+
* @uniPlatform
|
|
217
221
|
{
|
|
218
222
|
"app": {
|
|
219
223
|
"android": {
|
|
220
224
|
"osVer": "5.0",
|
|
221
225
|
"uniVer": "4.31",
|
|
222
226
|
"uniUtsPlugin": "4.31",
|
|
223
|
-
"unixVer": "4.31"
|
|
224
|
-
"unixUtsPlugin": "4.31"
|
|
227
|
+
"unixVer": "4.31"
|
|
225
228
|
},
|
|
226
229
|
"ios": {
|
|
227
230
|
"osVer": "12.0",
|
|
@@ -255,15 +258,14 @@ export type ResetPrivacyAuthorization = () => void
|
|
|
255
258
|
export type GetPrivacySettingSuccessResult = {
|
|
256
259
|
/**
|
|
257
260
|
* 是否需要用户授权隐私协议(用户之前同意过返回false,没同意过则返回true)
|
|
258
|
-
* @uniPlatform
|
|
261
|
+
* @uniPlatform
|
|
259
262
|
{
|
|
260
263
|
"app": {
|
|
261
264
|
"android": {
|
|
262
265
|
"osVer": "5.0",
|
|
263
266
|
"uniVer": "4.31",
|
|
264
267
|
"uniUtsPlugin": "4.31",
|
|
265
|
-
"unixVer": "4.31"
|
|
266
|
-
"unixUtsPlugin": "4.31"
|
|
268
|
+
"unixVer": "4.31"
|
|
267
269
|
},
|
|
268
270
|
"ios": {
|
|
269
271
|
"osVer": "12.0",
|
|
@@ -382,15 +384,14 @@ export type GetPrivacySettingOptions = {
|
|
|
382
384
|
/**
|
|
383
385
|
* 接口调用成功的回调函数
|
|
384
386
|
* @defaultValue null
|
|
385
|
-
* @uniPlatform
|
|
387
|
+
* @uniPlatform
|
|
386
388
|
{
|
|
387
389
|
"app": {
|
|
388
390
|
"android": {
|
|
389
391
|
"osVer": "5.0",
|
|
390
392
|
"uniVer": "4.31",
|
|
391
393
|
"uniUtsPlugin": "4.31",
|
|
392
|
-
"unixVer": "4.31"
|
|
393
|
-
"unixUtsPlugin": "4.31"
|
|
394
|
+
"unixVer": "4.31"
|
|
394
395
|
},
|
|
395
396
|
"ios": {
|
|
396
397
|
"osVer": "12.0",
|
|
@@ -458,15 +459,14 @@ export type GetPrivacySettingOptions = {
|
|
|
458
459
|
/**
|
|
459
460
|
* 接口调用失败的回调函数
|
|
460
461
|
* @defaultValue null
|
|
461
|
-
* @uniPlatform
|
|
462
|
+
* @uniPlatform
|
|
462
463
|
{
|
|
463
464
|
"app": {
|
|
464
465
|
"android": {
|
|
465
466
|
"osVer": "5.0",
|
|
466
467
|
"uniVer": "4.31",
|
|
467
468
|
"uniUtsPlugin": "4.31",
|
|
468
|
-
"unixVer": "4.31"
|
|
469
|
-
"unixUtsPlugin": "4.31"
|
|
469
|
+
"unixVer": "4.31"
|
|
470
470
|
},
|
|
471
471
|
"ios": {
|
|
472
472
|
"osVer": "12.0",
|
|
@@ -534,15 +534,14 @@ export type GetPrivacySettingOptions = {
|
|
|
534
534
|
/**
|
|
535
535
|
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
536
536
|
* @defaultValue null
|
|
537
|
-
* @uniPlatform
|
|
537
|
+
* @uniPlatform
|
|
538
538
|
{
|
|
539
539
|
"app": {
|
|
540
540
|
"android": {
|
|
541
541
|
"osVer": "5.0",
|
|
542
542
|
"uniVer": "4.31",
|
|
543
543
|
"uniUtsPlugin": "4.31",
|
|
544
|
-
"unixVer": "4.31"
|
|
545
|
-
"unixUtsPlugin": "4.31"
|
|
544
|
+
"unixVer": "4.31"
|
|
546
545
|
},
|
|
547
546
|
"ios": {
|
|
548
547
|
"osVer": "12.0",
|
|
@@ -184,8 +184,7 @@ export type Icon =
|
|
|
184
184
|
"osVer": "5.0",
|
|
185
185
|
"uniVer": "√",
|
|
186
186
|
"uniUtsPlugin": "3.91",
|
|
187
|
-
"unixVer": "3.91"
|
|
188
|
-
"unixUtsPlugin": "3.91"
|
|
187
|
+
"unixVer": "3.91"
|
|
189
188
|
},
|
|
190
189
|
"ios": {
|
|
191
190
|
"osVer": "12.0",
|
|
@@ -253,8 +252,7 @@ export type Icon =
|
|
|
253
252
|
"osVer": "5.0",
|
|
254
253
|
"uniVer": "√",
|
|
255
254
|
"uniUtsPlugin": "3.91",
|
|
256
|
-
"unixVer": "3.91"
|
|
257
|
-
"unixUtsPlugin": "3.91"
|
|
255
|
+
"unixVer": "3.91"
|
|
258
256
|
},
|
|
259
257
|
"ios": {
|
|
260
258
|
"osVer": "12.0",
|
|
@@ -322,8 +320,7 @@ export type Icon =
|
|
|
322
320
|
"osVer": "5.0",
|
|
323
321
|
"uniVer": "√",
|
|
324
322
|
"uniUtsPlugin": "x",
|
|
325
|
-
"unixVer": "x"
|
|
326
|
-
"unixUtsPlugin": "x"
|
|
323
|
+
"unixVer": "x"
|
|
327
324
|
},
|
|
328
325
|
"ios": {
|
|
329
326
|
"osVer": "12.0",
|
|
@@ -391,8 +388,7 @@ export type Icon =
|
|
|
391
388
|
"osVer": "5.0",
|
|
392
389
|
"uniVer": "√",
|
|
393
390
|
"uniUtsPlugin": "3.91",
|
|
394
|
-
"unixVer": "3.91"
|
|
395
|
-
"unixUtsPlugin": "3.91"
|
|
391
|
+
"unixVer": "3.91"
|
|
396
392
|
},
|
|
397
393
|
"ios": {
|
|
398
394
|
"osVer": "12.0",
|
|
@@ -460,8 +456,7 @@ export type Icon =
|
|
|
460
456
|
"osVer": "5.0",
|
|
461
457
|
"uniVer": "√",
|
|
462
458
|
"uniUtsPlugin": "3.91",
|
|
463
|
-
"unixVer": "3.91"
|
|
464
|
-
"unixUtsPlugin": "3.91"
|
|
459
|
+
"unixVer": "3.91"
|
|
465
460
|
},
|
|
466
461
|
"ios": {
|
|
467
462
|
"osVer": "12.0",
|
|
@@ -529,8 +524,7 @@ export type Icon =
|
|
|
529
524
|
"osVer": "5.0",
|
|
530
525
|
"uniVer": "√",
|
|
531
526
|
"uniUtsPlugin": "3.91",
|
|
532
|
-
"unixVer": "3.91"
|
|
533
|
-
"unixUtsPlugin": "3.91"
|
|
527
|
+
"unixVer": "3.91"
|
|
534
528
|
},
|
|
535
529
|
"ios": {
|
|
536
530
|
"osVer": "12.0",
|
|
@@ -603,8 +597,7 @@ export type ShowToastPosition =
|
|
|
603
597
|
"osVer": "5.0",
|
|
604
598
|
"uniVer": "√",
|
|
605
599
|
"uniUtsPlugin": "3.91",
|
|
606
|
-
"unixVer": "3.91"
|
|
607
|
-
"unixUtsPlugin": "3.91"
|
|
600
|
+
"unixVer": "3.91"
|
|
608
601
|
},
|
|
609
602
|
"ios": {
|
|
610
603
|
"osVer": "12.0",
|
|
@@ -677,8 +670,7 @@ export type ShowToastPosition =
|
|
|
677
670
|
"osVer": "5.0",
|
|
678
671
|
"uniVer": "√",
|
|
679
672
|
"uniUtsPlugin": "3.91",
|
|
680
|
-
"unixVer": "3.91"
|
|
681
|
-
"unixUtsPlugin": "3.91"
|
|
673
|
+
"unixVer": "3.91"
|
|
682
674
|
},
|
|
683
675
|
"ios": {
|
|
684
676
|
"osVer": "12.0",
|
|
@@ -751,8 +743,7 @@ export type ShowToastPosition =
|
|
|
751
743
|
"osVer": "5.0",
|
|
752
744
|
"uniVer": "√",
|
|
753
745
|
"uniUtsPlugin": "3.91",
|
|
754
|
-
"unixVer": "3.91"
|
|
755
|
-
"unixUtsPlugin": "3.91"
|
|
746
|
+
"unixVer": "3.91"
|
|
756
747
|
},
|
|
757
748
|
"ios": {
|
|
758
749
|
"osVer": "12.0",
|
|
@@ -830,8 +821,7 @@ export type ShowToastOptions = {
|
|
|
830
821
|
"osVer": "5.0",
|
|
831
822
|
"uniVer": "√",
|
|
832
823
|
"uniUtsPlugin": "3.91",
|
|
833
|
-
"unixVer": "3.91"
|
|
834
|
-
"unixUtsPlugin": "3.91"
|
|
824
|
+
"unixVer": "3.91"
|
|
835
825
|
},
|
|
836
826
|
"ios": {
|
|
837
827
|
"osVer": "12.0",
|
|
@@ -905,8 +895,7 @@ export type ShowToastOptions = {
|
|
|
905
895
|
"osVer": "5.0",
|
|
906
896
|
"uniVer": "√",
|
|
907
897
|
"uniUtsPlugin": "3.91",
|
|
908
|
-
"unixVer": "3.91"
|
|
909
|
-
"unixUtsPlugin": "3.91"
|
|
898
|
+
"unixVer": "3.91"
|
|
910
899
|
},
|
|
911
900
|
"ios": {
|
|
912
901
|
"osVer": "12.0",
|
|
@@ -979,8 +968,7 @@ export type ShowToastOptions = {
|
|
|
979
968
|
"osVer": "5.0",
|
|
980
969
|
"uniVer": "√",
|
|
981
970
|
"uniUtsPlugin": "3.91",
|
|
982
|
-
"unixVer": "3.91"
|
|
983
|
-
"unixUtsPlugin": "3.91"
|
|
971
|
+
"unixVer": "3.91"
|
|
984
972
|
},
|
|
985
973
|
"ios": {
|
|
986
974
|
"osVer": "12.0",
|
|
@@ -1054,8 +1042,7 @@ export type ShowToastOptions = {
|
|
|
1054
1042
|
"osVer": "5.0",
|
|
1055
1043
|
"uniVer": "√",
|
|
1056
1044
|
"uniUtsPlugin": "3.91",
|
|
1057
|
-
"unixVer": "3.91"
|
|
1058
|
-
"unixUtsPlugin": "3.91"
|
|
1045
|
+
"unixVer": "3.91"
|
|
1059
1046
|
},
|
|
1060
1047
|
"ios": {
|
|
1061
1048
|
"osVer": "12.0",
|
|
@@ -1129,8 +1116,7 @@ export type ShowToastOptions = {
|
|
|
1129
1116
|
"osVer": "5.0",
|
|
1130
1117
|
"uniVer": "√",
|
|
1131
1118
|
"uniUtsPlugin": "3.91",
|
|
1132
|
-
"unixVer": "3.91"
|
|
1133
|
-
"unixUtsPlugin": "3.91"
|
|
1119
|
+
"unixVer": "3.91"
|
|
1134
1120
|
},
|
|
1135
1121
|
"ios": {
|
|
1136
1122
|
"osVer": "12.0",
|
|
@@ -1203,8 +1189,7 @@ export type ShowToastOptions = {
|
|
|
1203
1189
|
"osVer": "5.0",
|
|
1204
1190
|
"uniVer": "√",
|
|
1205
1191
|
"uniUtsPlugin": "3.91",
|
|
1206
|
-
"unixVer": "3.91"
|
|
1207
|
-
"unixUtsPlugin": "3.91"
|
|
1192
|
+
"unixVer": "3.91"
|
|
1208
1193
|
},
|
|
1209
1194
|
"ios": {
|
|
1210
1195
|
"osVer": "12.0",
|
|
@@ -1277,8 +1262,7 @@ export type ShowToastOptions = {
|
|
|
1277
1262
|
"osVer": "5.0",
|
|
1278
1263
|
"uniVer": "√",
|
|
1279
1264
|
"uniUtsPlugin": "3.91",
|
|
1280
|
-
"unixVer": "3.91"
|
|
1281
|
-
"unixUtsPlugin": "3.91"
|
|
1265
|
+
"unixVer": "3.91"
|
|
1282
1266
|
},
|
|
1283
1267
|
"ios": {
|
|
1284
1268
|
"osVer": "12.0",
|
|
@@ -1351,8 +1335,7 @@ export type ShowToastOptions = {
|
|
|
1351
1335
|
"osVer": "5.0",
|
|
1352
1336
|
"uniVer": "√",
|
|
1353
1337
|
"uniUtsPlugin": "3.91",
|
|
1354
|
-
"unixVer": "3.91"
|
|
1355
|
-
"unixUtsPlugin": "3.91"
|
|
1338
|
+
"unixVer": "3.91"
|
|
1356
1339
|
},
|
|
1357
1340
|
"ios": {
|
|
1358
1341
|
"osVer": "12.0",
|
|
@@ -1425,8 +1408,7 @@ export type ShowToastOptions = {
|
|
|
1425
1408
|
"osVer": "5.0",
|
|
1426
1409
|
"uniVer": "√",
|
|
1427
1410
|
"uniUtsPlugin": "3.91",
|
|
1428
|
-
"unixVer": "3.91"
|
|
1429
|
-
"unixUtsPlugin": "3.91"
|
|
1411
|
+
"unixVer": "3.91"
|
|
1430
1412
|
},
|
|
1431
1413
|
"ios": {
|
|
1432
1414
|
"osVer": "12.0",
|
|
@@ -1497,8 +1479,8 @@ export type ShowToastOptions = {
|
|
|
1497
1479
|
* 弹出toast
|
|
1498
1480
|
*
|
|
1499
1481
|
* @param {ShowToastOptions} options
|
|
1500
|
-
* @
|
|
1501
|
-
* @
|
|
1482
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showtoast
|
|
1483
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showtoast
|
|
1502
1484
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showtoast
|
|
1503
1485
|
* @uniPlatform
|
|
1504
1486
|
{
|
|
@@ -1507,8 +1489,7 @@ export type ShowToastOptions = {
|
|
|
1507
1489
|
"osVer": "5.0",
|
|
1508
1490
|
"uniVer": "√",
|
|
1509
1491
|
"uniUtsPlugin": "3.91",
|
|
1510
|
-
"unixVer": "3.91"
|
|
1511
|
-
"unixUtsPlugin": "3.91"
|
|
1492
|
+
"unixVer": "3.91"
|
|
1512
1493
|
},
|
|
1513
1494
|
"ios": {
|
|
1514
1495
|
"osVer": "12.0",
|
|
@@ -1577,8 +1558,8 @@ export type ShowToast = (options: ShowToastOptions) => void
|
|
|
1577
1558
|
* uni.hideToast函数定义
|
|
1578
1559
|
* 隐藏toast
|
|
1579
1560
|
*
|
|
1580
|
-
* @
|
|
1581
|
-
* @
|
|
1561
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#hidetoast
|
|
1562
|
+
* @tutorial_uni_app https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hidetoast
|
|
1582
1563
|
* @uniPlatform
|
|
1583
1564
|
{
|
|
1584
1565
|
"app": {
|
|
@@ -1586,8 +1567,7 @@ export type ShowToast = (options: ShowToastOptions) => void
|
|
|
1586
1567
|
"osVer": "5.0",
|
|
1587
1568
|
"uniVer": "√",
|
|
1588
1569
|
"uniUtsPlugin": "3.91",
|
|
1589
|
-
"unixVer": "3.91"
|
|
1590
|
-
"unixUtsPlugin": "3.91"
|
|
1570
|
+
"unixVer": "3.91"
|
|
1591
1571
|
},
|
|
1592
1572
|
"ios": {
|
|
1593
1573
|
"osVer": "12.0",
|
|
@@ -2060,8 +2040,8 @@ export type ShowLoadingOptions = {
|
|
|
2060
2040
|
* 弹出loading
|
|
2061
2041
|
*
|
|
2062
2042
|
* @param {ShowLoadingOptions} options
|
|
2063
|
-
* @
|
|
2064
|
-
* @
|
|
2043
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showloading
|
|
2044
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showloading
|
|
2065
2045
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showloading
|
|
2066
2046
|
* @uniPlatform
|
|
2067
2047
|
{
|
|
@@ -2070,8 +2050,7 @@ export type ShowLoadingOptions = {
|
|
|
2070
2050
|
"osVer": "5.0",
|
|
2071
2051
|
"uniVer": "√",
|
|
2072
2052
|
"uniUtsPlugin": "3.91",
|
|
2073
|
-
"unixVer": "3.91"
|
|
2074
|
-
"unixUtsPlugin": "3.91"
|
|
2053
|
+
"unixVer": "3.91"
|
|
2075
2054
|
},
|
|
2076
2055
|
"ios": {
|
|
2077
2056
|
"osVer": "12.0",
|
|
@@ -2139,8 +2118,8 @@ export type ShowLoading = (options: ShowLoadingOptions) => void
|
|
|
2139
2118
|
/**
|
|
2140
2119
|
* uni.hideLoading函数定义
|
|
2141
2120
|
* 隐藏loading
|
|
2142
|
-
* @
|
|
2143
|
-
* @
|
|
2121
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#hideloading
|
|
2122
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hideloading
|
|
2144
2123
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hideloading
|
|
2145
2124
|
* @uniPlatform
|
|
2146
2125
|
{
|
|
@@ -2149,8 +2128,7 @@ export type ShowLoading = (options: ShowLoadingOptions) => void
|
|
|
2149
2128
|
"osVer": "5.0",
|
|
2150
2129
|
"uniVer": "√",
|
|
2151
2130
|
"uniUtsPlugin": "3.91",
|
|
2152
|
-
"unixVer": "3.91"
|
|
2153
|
-
"unixUtsPlugin": "3.91"
|
|
2131
|
+
"unixVer": "3.91"
|
|
2154
2132
|
},
|
|
2155
2133
|
"ios": {
|
|
2156
2134
|
"osVer": "12.0",
|
|
@@ -3016,8 +2994,8 @@ export type ShowModalOptions = {
|
|
|
3016
2994
|
* 弹出modal
|
|
3017
2995
|
*
|
|
3018
2996
|
* @param {ShowModalOptions} options
|
|
3019
|
-
* @
|
|
3020
|
-
* @
|
|
2997
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showmodal
|
|
2998
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showmodal
|
|
3021
2999
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showmodal
|
|
3022
3000
|
* @uniPlatform
|
|
3023
3001
|
{
|
|
@@ -3026,8 +3004,7 @@ export type ShowModalOptions = {
|
|
|
3026
3004
|
"osVer": "5.0",
|
|
3027
3005
|
"uniVer": "√",
|
|
3028
3006
|
"uniUtsPlugin": "x",
|
|
3029
|
-
"unixVer": "3.91"
|
|
3030
|
-
"unixUtsPlugin": "3.91"
|
|
3007
|
+
"unixVer": "3.91"
|
|
3031
3008
|
},
|
|
3032
3009
|
"ios": {
|
|
3033
3010
|
"osVer": "12.0",
|
|
@@ -3713,8 +3690,8 @@ export type ShowActionSheetOptions = {
|
|
|
3713
3690
|
* 弹出actionSheet
|
|
3714
3691
|
*
|
|
3715
3692
|
* @param {ShowActionSheetOptions} options
|
|
3716
|
-
* @
|
|
3717
|
-
* @
|
|
3693
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showactionsheet
|
|
3694
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showactionsheet
|
|
3718
3695
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showactionsheet
|
|
3719
3696
|
* @uniPlatform
|
|
3720
3697
|
{
|
|
@@ -3723,8 +3700,7 @@ export type ShowActionSheetOptions = {
|
|
|
3723
3700
|
"osVer": "5.0",
|
|
3724
3701
|
"uniVer": "√",
|
|
3725
3702
|
"uniUtsPlugin": "x",
|
|
3726
|
-
"unixVer": "3.91"
|
|
3727
|
-
"unixUtsPlugin": "3.91"
|
|
3703
|
+
"unixVer": "3.91"
|
|
3728
3704
|
},
|
|
3729
3705
|
"ios": {
|
|
3730
3706
|
"osVer": "12.0",
|
|
@@ -3804,8 +3780,8 @@ export interface Uni {
|
|
|
3804
3780
|
* @remark
|
|
3805
3781
|
* - showLoading 和 showToast 同时只能显示一个
|
|
3806
3782
|
* - showToast 应与 hideToast 配对使用
|
|
3807
|
-
* @
|
|
3808
|
-
* @
|
|
3783
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showtoast
|
|
3784
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showtoast
|
|
3809
3785
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showtoast
|
|
3810
3786
|
* @uniPlatform {
|
|
3811
3787
|
* "app": {
|
|
@@ -3813,8 +3789,7 @@ export interface Uni {
|
|
|
3813
3789
|
* "osVer": "5.0",
|
|
3814
3790
|
* "uniVer": "√",
|
|
3815
3791
|
* "uniUtsPlugin": "3.91",
|
|
3816
|
-
* "unixVer": "3.91"
|
|
3817
|
-
* "unixUtsPlugin": "3.91"
|
|
3792
|
+
* "unixVer": "3.91"
|
|
3818
3793
|
* },
|
|
3819
3794
|
* "ios": {
|
|
3820
3795
|
* "osVer": "12.0",
|
|
@@ -3886,8 +3861,8 @@ export interface Uni {
|
|
|
3886
3861
|
```typescript
|
|
3887
3862
|
uni.hideToast();
|
|
3888
3863
|
```
|
|
3889
|
-
* @
|
|
3890
|
-
* @
|
|
3864
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#hidetoast
|
|
3865
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hidetoast
|
|
3891
3866
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hidetoast
|
|
3892
3867
|
* @uniPlatform {
|
|
3893
3868
|
* "app": {
|
|
@@ -3895,8 +3870,7 @@ export interface Uni {
|
|
|
3895
3870
|
* "osVer": "5.0",
|
|
3896
3871
|
* "uniVer": "√",
|
|
3897
3872
|
* "uniUtsPlugin": "3.91",
|
|
3898
|
-
* "unixVer": "3.91"
|
|
3899
|
-
* "unixUtsPlugin": "3.91"
|
|
3873
|
+
* "unixVer": "3.91"
|
|
3900
3874
|
* },
|
|
3901
3875
|
* "ios": {
|
|
3902
3876
|
* "osVer": "12.0",
|
|
@@ -3973,8 +3947,8 @@ export interface Uni {
|
|
|
3973
3947
|
* @remark
|
|
3974
3948
|
* - showLoading 和 showToast 同时只能显示一个
|
|
3975
3949
|
* - showToast 应与 hideToast 配对使用
|
|
3976
|
-
* @
|
|
3977
|
-
* @
|
|
3950
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showloading
|
|
3951
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showloading
|
|
3978
3952
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showloading
|
|
3979
3953
|
* @uniPlatform {
|
|
3980
3954
|
* "app": {
|
|
@@ -3982,8 +3956,7 @@ export interface Uni {
|
|
|
3982
3956
|
* "osVer": "5.0",
|
|
3983
3957
|
* "uniVer": "√",
|
|
3984
3958
|
* "uniUtsPlugin": "3.91",
|
|
3985
|
-
* "unixVer": "3.91"
|
|
3986
|
-
* "unixUtsPlugin": "3.91"
|
|
3959
|
+
* "unixVer": "3.91"
|
|
3987
3960
|
* },
|
|
3988
3961
|
* "ios": {
|
|
3989
3962
|
* "osVer": "12.0",
|
|
@@ -4061,8 +4034,8 @@ export interface Uni {
|
|
|
4061
4034
|
uni.hideLoading();
|
|
4062
4035
|
}, 2000);
|
|
4063
4036
|
```
|
|
4064
|
-
* @
|
|
4065
|
-
* @
|
|
4037
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#hideloading
|
|
4038
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hideloading
|
|
4066
4039
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hideloading
|
|
4067
4040
|
* @uniPlatform {
|
|
4068
4041
|
* "app": {
|
|
@@ -4070,8 +4043,7 @@ export interface Uni {
|
|
|
4070
4043
|
* "osVer": "5.0",
|
|
4071
4044
|
* "uniVer": "√",
|
|
4072
4045
|
* "uniUtsPlugin": "3.91",
|
|
4073
|
-
* "unixVer": "3.91"
|
|
4074
|
-
* "unixUtsPlugin": "3.91"
|
|
4046
|
+
* "unixVer": "3.91"
|
|
4075
4047
|
* },
|
|
4076
4048
|
* "ios": {
|
|
4077
4049
|
* "osVer": "12.0",
|
|
@@ -4153,8 +4125,8 @@ export interface Uni {
|
|
|
4153
4125
|
}
|
|
4154
4126
|
});
|
|
4155
4127
|
```
|
|
4156
|
-
* @
|
|
4157
|
-
* @
|
|
4128
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showmodal
|
|
4129
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showmodal
|
|
4158
4130
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showmodal
|
|
4159
4131
|
* @uniPlatform {
|
|
4160
4132
|
* "app": {
|
|
@@ -4162,8 +4134,7 @@ export interface Uni {
|
|
|
4162
4134
|
* "osVer": "5.0",
|
|
4163
4135
|
* "uniVer": "√",
|
|
4164
4136
|
* "uniUtsPlugin": "x",
|
|
4165
|
-
* "unixVer": "3.91"
|
|
4166
|
-
* "unixUtsPlugin": "3.91"
|
|
4137
|
+
* "unixVer": "3.91"
|
|
4167
4138
|
* },
|
|
4168
4139
|
* "ios": {
|
|
4169
4140
|
* "osVer": "12.0",
|
|
@@ -4244,8 +4215,8 @@ export interface Uni {
|
|
|
4244
4215
|
}
|
|
4245
4216
|
});
|
|
4246
4217
|
```
|
|
4247
|
-
* @
|
|
4248
|
-
* @
|
|
4218
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showactionsheet
|
|
4219
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showactionsheet
|
|
4249
4220
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showactionsheet
|
|
4250
4221
|
* @uniPlatform {
|
|
4251
4222
|
* "app": {
|
|
@@ -4253,8 +4224,7 @@ export interface Uni {
|
|
|
4253
4224
|
* "osVer": "5.0",
|
|
4254
4225
|
* "uniVer": "√",
|
|
4255
4226
|
* "uniUtsPlugin": "x",
|
|
4256
|
-
* "unixVer": "3.91"
|
|
4257
|
-
* "unixUtsPlugin": "3.91"
|
|
4227
|
+
* "unixVer": "3.91"
|
|
4258
4228
|
* },
|
|
4259
4229
|
* "ios": {
|
|
4260
4230
|
* "osVer": "12.0",
|
|
@@ -173,8 +173,8 @@ export interface Uni {
|
|
|
173
173
|
/**
|
|
174
174
|
* 开始下拉刷新
|
|
175
175
|
*
|
|
176
|
-
* @
|
|
177
|
-
* @
|
|
176
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/pulldown.html#startpulldownrefresh
|
|
177
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/pull-down-refresh.html#startpulldownrefresh
|
|
178
178
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/pull-down-refresh.html#startpulldownrefresh
|
|
179
179
|
* @uniPlatform {
|
|
180
180
|
* "app": {
|
|
@@ -249,8 +249,8 @@ export interface Uni {
|
|
|
249
249
|
/**
|
|
250
250
|
* 停止当前页面下拉刷新
|
|
251
251
|
*
|
|
252
|
-
* @
|
|
253
|
-
* @
|
|
252
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/pulldown.html#stoppulldownrefresh
|
|
253
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/pull-down-refresh.html#stoppulldownrefresh
|
|
254
254
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/pull-down-refresh.html#stoppulldownrefresh
|
|
255
255
|
* @uniPlatform {
|
|
256
256
|
* "app": {
|