@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface Uni {
|
|
2
2
|
/**
|
|
3
3
|
* 开启监听系统主题变化
|
|
4
|
-
* @
|
|
4
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/theme.html#onosthemechange
|
|
5
5
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/theme.html#onosthemechange
|
|
6
6
|
* @uniPlatform
|
|
7
7
|
{
|
|
@@ -10,8 +10,7 @@ export interface Uni {
|
|
|
10
10
|
"osVer": "5.0",
|
|
11
11
|
"uniVer": "x",
|
|
12
12
|
"uniUtsPlugin": "x",
|
|
13
|
-
"unixVer": "4.18"
|
|
14
|
-
"unixUtsPlugin": "4.18"
|
|
13
|
+
"unixVer": "4.18"
|
|
15
14
|
},
|
|
16
15
|
"ios": {
|
|
17
16
|
"osVer": "12.0",
|
|
@@ -22,8 +21,8 @@ export interface Uni {
|
|
|
22
21
|
},
|
|
23
22
|
"harmony": {
|
|
24
23
|
"osVer": "5.0.0",
|
|
25
|
-
"uniVer": "4.
|
|
26
|
-
"unixVer": "4.
|
|
24
|
+
"uniVer": "4.71",
|
|
25
|
+
"unixVer": "4.71"
|
|
27
26
|
}
|
|
28
27
|
},
|
|
29
28
|
"mp": {
|
|
@@ -84,7 +83,7 @@ export interface Uni {
|
|
|
84
83
|
|
|
85
84
|
/**
|
|
86
85
|
* 取消监听系统主题变化
|
|
87
|
-
* @
|
|
86
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/theme.html#offosthemechange
|
|
88
87
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/theme.html#offosthemechange
|
|
89
88
|
* @uniPlatform
|
|
90
89
|
{
|
|
@@ -93,8 +92,7 @@ export interface Uni {
|
|
|
93
92
|
"osVer": "5.0",
|
|
94
93
|
"uniVer": "x",
|
|
95
94
|
"uniUtsPlugin": "x",
|
|
96
|
-
"unixVer": "4.18"
|
|
97
|
-
"unixUtsPlugin": "4.18"
|
|
95
|
+
"unixVer": "4.18"
|
|
98
96
|
},
|
|
99
97
|
"ios": {
|
|
100
98
|
"osVer": "12.0",
|
|
@@ -105,8 +103,8 @@ export interface Uni {
|
|
|
105
103
|
},
|
|
106
104
|
"harmony": {
|
|
107
105
|
"osVer": "5.0.0",
|
|
108
|
-
"uniVer": "4.
|
|
109
|
-
"unixVer": "4.
|
|
106
|
+
"uniVer": "4.71",
|
|
107
|
+
"unixVer": "4.71"
|
|
110
108
|
}
|
|
111
109
|
},
|
|
112
110
|
"mp": {
|
|
@@ -165,7 +163,7 @@ export interface Uni {
|
|
|
165
163
|
|
|
166
164
|
/**
|
|
167
165
|
* 设置应用主题
|
|
168
|
-
* @
|
|
166
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/theme.html#setapptheme
|
|
169
167
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/theme.html#setapptheme
|
|
170
168
|
* @uniPlatform
|
|
171
169
|
{
|
|
@@ -174,8 +172,7 @@ export interface Uni {
|
|
|
174
172
|
"osVer": "5.0",
|
|
175
173
|
"uniVer": "x",
|
|
176
174
|
"uniUtsPlugin": "x",
|
|
177
|
-
"unixVer": "4.18"
|
|
178
|
-
"unixUtsPlugin": "4.18"
|
|
175
|
+
"unixVer": "4.18"
|
|
179
176
|
},
|
|
180
177
|
"ios": {
|
|
181
178
|
"osVer": "12.0",
|
|
@@ -186,8 +183,8 @@ export interface Uni {
|
|
|
186
183
|
},
|
|
187
184
|
"harmony": {
|
|
188
185
|
"osVer": "5.0.0",
|
|
189
|
-
"uniVer": "4.
|
|
190
|
-
"unixVer": "4.
|
|
186
|
+
"uniVer": "4.71",
|
|
187
|
+
"unixVer": "4.71"
|
|
191
188
|
}
|
|
192
189
|
},
|
|
193
190
|
"mp": {
|
|
@@ -257,7 +254,7 @@ export interface Uni {
|
|
|
257
254
|
|
|
258
255
|
/**
|
|
259
256
|
* 开启监听应用主题变化
|
|
260
|
-
* @
|
|
257
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/theme.html#onappthemechange
|
|
261
258
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/theme.html#onappthemechange
|
|
262
259
|
* @uniPlatform
|
|
263
260
|
{
|
|
@@ -266,8 +263,7 @@ export interface Uni {
|
|
|
266
263
|
"osVer": "5.0",
|
|
267
264
|
"uniVer": "x",
|
|
268
265
|
"uniUtsPlugin": "x",
|
|
269
|
-
"unixVer": "4.18"
|
|
270
|
-
"unixUtsPlugin": "4.18"
|
|
266
|
+
"unixVer": "4.18"
|
|
271
267
|
},
|
|
272
268
|
"ios": {
|
|
273
269
|
"osVer": "12.0",
|
|
@@ -278,8 +274,8 @@ export interface Uni {
|
|
|
278
274
|
},
|
|
279
275
|
"harmony": {
|
|
280
276
|
"osVer": "5.0.0",
|
|
281
|
-
"uniVer": "4.
|
|
282
|
-
"unixVer": "4.
|
|
277
|
+
"uniVer": "4.71",
|
|
278
|
+
"unixVer": "4.71"
|
|
283
279
|
}
|
|
284
280
|
},
|
|
285
281
|
"mp": {
|
|
@@ -340,7 +336,7 @@ export interface Uni {
|
|
|
340
336
|
|
|
341
337
|
/**
|
|
342
338
|
* 取消监听应用主题变化
|
|
343
|
-
* @
|
|
339
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/theme.html#offappthemechange
|
|
344
340
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/theme.html#offappthemechange
|
|
345
341
|
* @uniPlatform
|
|
346
342
|
{
|
|
@@ -349,8 +345,7 @@ export interface Uni {
|
|
|
349
345
|
"osVer": "5.0",
|
|
350
346
|
"uniVer": "x",
|
|
351
347
|
"uniUtsPlugin": "x",
|
|
352
|
-
"unixVer": "4.18"
|
|
353
|
-
"unixUtsPlugin": "4.18"
|
|
348
|
+
"unixVer": "4.18"
|
|
354
349
|
},
|
|
355
350
|
"ios": {
|
|
356
351
|
"osVer": "12.0",
|
|
@@ -361,8 +356,8 @@ export interface Uni {
|
|
|
361
356
|
},
|
|
362
357
|
"harmony": {
|
|
363
358
|
"osVer": "5.0.0",
|
|
364
|
-
"uniVer": "4.
|
|
365
|
-
"unixVer": "4.
|
|
359
|
+
"uniVer": "4.71",
|
|
360
|
+
"unixVer": "4.71"
|
|
366
361
|
}
|
|
367
362
|
},
|
|
368
363
|
"web": {
|
|
@@ -380,7 +375,8 @@ export interface Uni {
|
|
|
380
375
|
/**
|
|
381
376
|
* 监听宿主题状态变化。
|
|
382
377
|
* @tutorial https://uniapp.dcloud.io/api/system/theme.html#onhostthemechange
|
|
383
|
-
* @
|
|
378
|
+
* @tutorial_uni_app https://uniapp.dcloud.io/api/system/theme.html#onhostthemechange
|
|
379
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/theme-change.html#onhostthemechange
|
|
384
380
|
* @uniPlatform {
|
|
385
381
|
* "app": {
|
|
386
382
|
* "android": {
|
|
@@ -395,8 +391,8 @@ export interface Uni {
|
|
|
395
391
|
* },
|
|
396
392
|
* "harmony": {
|
|
397
393
|
"osVer": "5.0.0",
|
|
398
|
-
"uniVer": "4.
|
|
399
|
-
"unixVer": "4.
|
|
394
|
+
"uniVer": "4.71",
|
|
395
|
+
"unixVer": "4.71"
|
|
400
396
|
* }
|
|
401
397
|
* },
|
|
402
398
|
* "mp": {
|
|
@@ -452,7 +448,8 @@ export interface Uni {
|
|
|
452
448
|
/**
|
|
453
449
|
* 取消监听宿主题状态变化。
|
|
454
450
|
* @tutorial https://uniapp.dcloud.io/api/system/theme.html#offhostthemechange
|
|
455
|
-
* @
|
|
451
|
+
* @tutorial_uni_app https://uniapp.dcloud.io/api/system/theme.html#offhostthemechange
|
|
452
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/theme-change.html#offhostthemechange
|
|
456
453
|
* @uniPlatform {
|
|
457
454
|
* "app": {
|
|
458
455
|
* "android": {
|
|
@@ -467,8 +464,8 @@ export interface Uni {
|
|
|
467
464
|
* },
|
|
468
465
|
* "harmony": {
|
|
469
466
|
"osVer": "5.0.0",
|
|
470
|
-
"uniVer": "4.
|
|
471
|
-
"unixVer": "4.
|
|
467
|
+
"uniVer": "4.71",
|
|
468
|
+
"unixVer": "4.71"
|
|
472
469
|
* }
|
|
473
470
|
* },
|
|
474
471
|
* "mp": {
|
|
@@ -525,7 +522,8 @@ export interface Uni {
|
|
|
525
522
|
* 监听系统主题状态变化。
|
|
526
523
|
* @deprecated 已废弃,在web、小程序上推荐使用 onHostThemeChange
|
|
527
524
|
* @tutorial https://uniapp.dcloud.io/api/system/theme.html#onthemechange
|
|
528
|
-
* @
|
|
525
|
+
* @tutorial_uni_app https://uniapp.dcloud.io/api/system/theme.html#onthemechange
|
|
526
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/theme-change.html#onthemechange
|
|
529
527
|
* @uniPlatform {
|
|
530
528
|
* "app": {
|
|
531
529
|
* "android": {
|
|
@@ -540,8 +538,8 @@ export interface Uni {
|
|
|
540
538
|
* },
|
|
541
539
|
* "harmony": {
|
|
542
540
|
* "osVer": "5.0.0",
|
|
543
|
-
* "uniVer": "4.
|
|
544
|
-
* "unixVer": "4.
|
|
541
|
+
* "uniVer": "4.71",
|
|
542
|
+
* "unixVer": "4.71"
|
|
545
543
|
* }
|
|
546
544
|
* },
|
|
547
545
|
* "mp": {
|
|
@@ -599,7 +597,8 @@ export interface Uni {
|
|
|
599
597
|
* 取消监听系统主题状态变化。
|
|
600
598
|
* @deprecated 已废弃,在web、小程序上推荐使用 offHostThemeChange
|
|
601
599
|
* @tutorial https://uniapp.dcloud.io/api/system/theme.html#offthemechange
|
|
602
|
-
* @
|
|
600
|
+
* @tutorial_uni_app https://uniapp.dcloud.io/api/system/theme.html#offthemechange
|
|
601
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/theme-change.html#offthemechange
|
|
603
602
|
* @uniPlatform {
|
|
604
603
|
* "app": {
|
|
605
604
|
* "android": {
|
|
@@ -614,8 +613,8 @@ export interface Uni {
|
|
|
614
613
|
* },
|
|
615
614
|
* "harmony": {
|
|
616
615
|
* "osVer": "5.0.0",
|
|
617
|
-
* "uniVer": "4.
|
|
618
|
-
* "unixVer": "4.
|
|
616
|
+
* "uniVer": "4.71",
|
|
617
|
+
* "unixVer": "4.71"
|
|
619
618
|
* }
|
|
620
619
|
* },
|
|
621
620
|
* "mp": {
|
|
@@ -678,8 +677,7 @@ export interface Uni {
|
|
|
678
677
|
"osVer": "5.0",
|
|
679
678
|
"uniVer": "x",
|
|
680
679
|
"uniUtsPlugin": "x",
|
|
681
|
-
"unixVer": "4.18"
|
|
682
|
-
"unixUtsPlugin": "4.18"
|
|
680
|
+
"unixVer": "4.18"
|
|
683
681
|
},
|
|
684
682
|
"ios": {
|
|
685
683
|
"osVer": "12.0",
|
|
@@ -690,8 +688,8 @@ export interface Uni {
|
|
|
690
688
|
},
|
|
691
689
|
"harmony": {
|
|
692
690
|
"osVer": "5.0.0",
|
|
693
|
-
"uniVer": "4.
|
|
694
|
-
"unixVer": "4.
|
|
691
|
+
"uniVer": "4.71",
|
|
692
|
+
"unixVer": "4.71"
|
|
695
693
|
}
|
|
696
694
|
},
|
|
697
695
|
"web": {
|
|
@@ -710,8 +708,7 @@ export type OsThemeChangeResult = {
|
|
|
710
708
|
"osVer": "5.0",
|
|
711
709
|
"uniVer": "x",
|
|
712
710
|
"uniUtsPlugin": "x",
|
|
713
|
-
"unixVer": "4.18"
|
|
714
|
-
"unixUtsPlugin": "4.18"
|
|
711
|
+
"unixVer": "4.18"
|
|
715
712
|
},
|
|
716
713
|
"ios": {
|
|
717
714
|
"osVer": "12.0",
|
|
@@ -722,8 +719,8 @@ export type OsThemeChangeResult = {
|
|
|
722
719
|
},
|
|
723
720
|
"harmony": {
|
|
724
721
|
"osVer": "5.0.0",
|
|
725
|
-
"uniVer": "4.
|
|
726
|
-
"unixVer": "4.
|
|
722
|
+
"uniVer": "4.71",
|
|
723
|
+
"unixVer": "4.71"
|
|
727
724
|
}
|
|
728
725
|
},
|
|
729
726
|
"web": {
|
|
@@ -752,8 +749,7 @@ export type OsThemeChangeResult = {
|
|
|
752
749
|
"osVer": "5.0",
|
|
753
750
|
"uniVer": "x",
|
|
754
751
|
"uniUtsPlugin": "x",
|
|
755
|
-
"unixVer": "4.18"
|
|
756
|
-
"unixUtsPlugin": "4.18"
|
|
752
|
+
"unixVer": "4.18"
|
|
757
753
|
},
|
|
758
754
|
"ios": {
|
|
759
755
|
"osVer": "12.0",
|
|
@@ -764,8 +760,8 @@ export type OsThemeChangeResult = {
|
|
|
764
760
|
},
|
|
765
761
|
"harmony": {
|
|
766
762
|
"osVer": "5.0.0",
|
|
767
|
-
"uniVer": "4.
|
|
768
|
-
"unixVer": "4.
|
|
763
|
+
"uniVer": "4.71",
|
|
764
|
+
"unixVer": "4.71"
|
|
769
765
|
}
|
|
770
766
|
},
|
|
771
767
|
"web": {
|
|
@@ -784,8 +780,7 @@ export type AppThemeChangeResult = {
|
|
|
784
780
|
"osVer": "5.0",
|
|
785
781
|
"uniVer": "x",
|
|
786
782
|
"uniUtsPlugin": "x",
|
|
787
|
-
"unixVer": "4.18"
|
|
788
|
-
"unixUtsPlugin": "4.18"
|
|
783
|
+
"unixVer": "4.18"
|
|
789
784
|
},
|
|
790
785
|
"ios": {
|
|
791
786
|
"osVer": "12.0",
|
|
@@ -796,8 +791,8 @@ export type AppThemeChangeResult = {
|
|
|
796
791
|
},
|
|
797
792
|
"harmony": {
|
|
798
793
|
"osVer": "5.0.0",
|
|
799
|
-
"uniVer": "4.
|
|
800
|
-
"unixVer": "4.
|
|
794
|
+
"uniVer": "4.71",
|
|
795
|
+
"unixVer": "4.71"
|
|
801
796
|
}
|
|
802
797
|
},
|
|
803
798
|
"web": {
|
|
@@ -849,8 +844,7 @@ export type SetAppThemeCompleteCallback = (result: any) => void;
|
|
|
849
844
|
"osVer": "5.0",
|
|
850
845
|
"uniVer": "x",
|
|
851
846
|
"uniUtsPlugin": "x",
|
|
852
|
-
"unixVer": "4.18"
|
|
853
|
-
"unixUtsPlugin": "4.18"
|
|
847
|
+
"unixVer": "4.18"
|
|
854
848
|
},
|
|
855
849
|
"ios": {
|
|
856
850
|
"osVer": "12.0",
|
|
@@ -861,8 +855,8 @@ export type SetAppThemeCompleteCallback = (result: any) => void;
|
|
|
861
855
|
},
|
|
862
856
|
"harmony": {
|
|
863
857
|
"osVer": "5.0.0",
|
|
864
|
-
"uniVer": "4.
|
|
865
|
-
"unixVer": "4.
|
|
858
|
+
"uniVer": "4.71",
|
|
859
|
+
"unixVer": "4.71"
|
|
866
860
|
}
|
|
867
861
|
},
|
|
868
862
|
"web": {
|
|
@@ -881,8 +875,7 @@ export type SetAppThemeOptions = {
|
|
|
881
875
|
"osVer": "5.0",
|
|
882
876
|
"uniVer": "x",
|
|
883
877
|
"uniUtsPlugin": "x",
|
|
884
|
-
"unixVer": "4.18"
|
|
885
|
-
"unixUtsPlugin": "4.18"
|
|
878
|
+
"unixVer": "4.18"
|
|
886
879
|
},
|
|
887
880
|
"ios": {
|
|
888
881
|
"osVer": "12.0",
|
|
@@ -893,8 +886,8 @@ export type SetAppThemeOptions = {
|
|
|
893
886
|
},
|
|
894
887
|
"harmony": {
|
|
895
888
|
"osVer": "5.0.0",
|
|
896
|
-
"uniVer": "4.
|
|
897
|
-
"unixVer": "4.
|
|
889
|
+
"uniVer": "4.71",
|
|
890
|
+
"unixVer": "4.71"
|
|
898
891
|
}
|
|
899
892
|
},
|
|
900
893
|
"web": {
|
|
@@ -927,8 +920,7 @@ export type SetAppThemeOptions = {
|
|
|
927
920
|
"osVer": "5.0",
|
|
928
921
|
"uniVer": "x",
|
|
929
922
|
"uniUtsPlugin": "x",
|
|
930
|
-
"unixVer": "4.18"
|
|
931
|
-
"unixUtsPlugin": "4.18"
|
|
923
|
+
"unixVer": "4.18"
|
|
932
924
|
},
|
|
933
925
|
"ios": {
|
|
934
926
|
"osVer": "12.0",
|
|
@@ -939,8 +931,8 @@ export type SetAppThemeOptions = {
|
|
|
939
931
|
},
|
|
940
932
|
"harmony": {
|
|
941
933
|
"osVer": "5.0.0",
|
|
942
|
-
"uniVer": "4.
|
|
943
|
-
"unixVer": "4.
|
|
934
|
+
"uniVer": "4.71",
|
|
935
|
+
"unixVer": "4.71"
|
|
944
936
|
}
|
|
945
937
|
},
|
|
946
938
|
"web": {
|
|
@@ -961,8 +953,7 @@ export type SetAppThemeOptions = {
|
|
|
961
953
|
"osVer": "5.0",
|
|
962
954
|
"uniVer": "x",
|
|
963
955
|
"uniUtsPlugin": "x",
|
|
964
|
-
"unixVer": "4.18"
|
|
965
|
-
"unixUtsPlugin": "4.18"
|
|
956
|
+
"unixVer": "4.18"
|
|
966
957
|
},
|
|
967
958
|
"ios": {
|
|
968
959
|
"osVer": "12.0",
|
|
@@ -973,8 +964,8 @@ export type SetAppThemeOptions = {
|
|
|
973
964
|
},
|
|
974
965
|
"harmony": {
|
|
975
966
|
"osVer": "5.0.0",
|
|
976
|
-
"uniVer": "4.
|
|
977
|
-
"unixVer": "4.
|
|
967
|
+
"uniVer": "4.71",
|
|
968
|
+
"unixVer": "4.71"
|
|
978
969
|
}
|
|
979
970
|
},
|
|
980
971
|
"web": {
|
|
@@ -995,8 +986,7 @@ export type SetAppThemeOptions = {
|
|
|
995
986
|
"osVer": "5.0",
|
|
996
987
|
"uniVer": "x",
|
|
997
988
|
"uniUtsPlugin": "x",
|
|
998
|
-
"unixVer": "4.18"
|
|
999
|
-
"unixUtsPlugin": "4.18"
|
|
989
|
+
"unixVer": "4.18"
|
|
1000
990
|
},
|
|
1001
991
|
"ios": {
|
|
1002
992
|
"osVer": "12.0",
|
|
@@ -1007,8 +997,8 @@ export type SetAppThemeOptions = {
|
|
|
1007
997
|
},
|
|
1008
998
|
"harmony": {
|
|
1009
999
|
"osVer": "5.0.0",
|
|
1010
|
-
"uniVer": "4.
|
|
1011
|
-
"unixVer": "4.
|
|
1000
|
+
"uniVer": "4.71",
|
|
1001
|
+
"unixVer": "4.71"
|
|
1012
1002
|
}
|
|
1013
1003
|
},
|
|
1014
1004
|
"web": {
|
|
@@ -1031,8 +1021,7 @@ export type SetAppThemeOptions = {
|
|
|
1031
1021
|
"osVer": "5.0",
|
|
1032
1022
|
"uniVer": "x",
|
|
1033
1023
|
"uniUtsPlugin": "x",
|
|
1034
|
-
"unixVer": "4.18"
|
|
1035
|
-
"unixUtsPlugin": "4.18"
|
|
1024
|
+
"unixVer": "4.18"
|
|
1036
1025
|
},
|
|
1037
1026
|
"ios": {
|
|
1038
1027
|
"osVer": "12.0",
|
|
@@ -1043,8 +1032,8 @@ export type SetAppThemeOptions = {
|
|
|
1043
1032
|
},
|
|
1044
1033
|
"harmony": {
|
|
1045
1034
|
"osVer": "5.0.0",
|
|
1046
|
-
"uniVer": "4.
|
|
1047
|
-
"unixVer": "4.
|
|
1035
|
+
"uniVer": "4.71",
|
|
1036
|
+
"unixVer": "4.71"
|
|
1048
1037
|
}
|
|
1049
1038
|
},
|
|
1050
1039
|
"web": {
|
|
@@ -1073,8 +1062,7 @@ export type AppThemeFail = IAppThemeFail;
|
|
|
1073
1062
|
"osVer": "5.0",
|
|
1074
1063
|
"uniVer": "x",
|
|
1075
1064
|
"uniUtsPlugin": "x",
|
|
1076
|
-
"unixVer": "4.18"
|
|
1077
|
-
"unixUtsPlugin": "4.18"
|
|
1065
|
+
"unixVer": "4.18"
|
|
1078
1066
|
},
|
|
1079
1067
|
"ios": {
|
|
1080
1068
|
"osVer": "12.0",
|
|
@@ -1085,8 +1073,8 @@ export type AppThemeFail = IAppThemeFail;
|
|
|
1085
1073
|
},
|
|
1086
1074
|
"harmony": {
|
|
1087
1075
|
"osVer": "5.0.0",
|
|
1088
|
-
"uniVer": "4.
|
|
1089
|
-
"unixVer": "4.
|
|
1076
|
+
"uniVer": "4.71",
|
|
1077
|
+
"unixVer": "4.71"
|
|
1090
1078
|
}
|
|
1091
1079
|
},
|
|
1092
1080
|
"web": {
|
|
@@ -1176,4 +1164,4 @@ export type OnThemeChangeCallbackResult = {
|
|
|
1176
1164
|
'dark'
|
|
1177
1165
|
};
|
|
1178
1166
|
|
|
1179
|
-
|
|
1167
|
+
type OnThemeChangeCallback = (result: OnThemeChangeCallbackResult) => void;
|
|
@@ -15,7 +15,8 @@ export interface Uni {
|
|
|
15
15
|
* }
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
|
-
* @
|
|
18
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/virtual-payment.html#requestvirtualpayment
|
|
19
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/plugins/virtualPayment.html
|
|
19
20
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/virtual-payment.html#requestvirtualpayment
|
|
20
21
|
* @uniPlatform {
|
|
21
22
|
* "app": {
|
|
@@ -83,7 +84,7 @@ export interface Uni {
|
|
|
83
84
|
|
|
84
85
|
/**
|
|
85
86
|
* @description 获取各平台虚拟支付的管理类,用于操作各平台专有的API。
|
|
86
|
-
* @
|
|
87
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/virtual-payment.html#getvirtualpaymentmanager
|
|
87
88
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/virtual-payment.html#getvirtualpaymentmanager
|
|
88
89
|
* @uniPlatform {
|
|
89
90
|
* "app": {
|
|
@@ -127,7 +128,7 @@ export interface VirtualPaymentManager {
|
|
|
127
128
|
* }
|
|
128
129
|
* });
|
|
129
130
|
* ```
|
|
130
|
-
* @
|
|
131
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/virtual-payment.html#restoretransactions
|
|
131
132
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/virtual-payment.html#restoretransactions
|
|
132
133
|
* @uniPlatform {
|
|
133
134
|
* "app": {
|
|
@@ -161,7 +162,7 @@ export interface VirtualPaymentManager {
|
|
|
161
162
|
* }
|
|
162
163
|
* });
|
|
163
164
|
* ```
|
|
164
|
-
* @
|
|
165
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/virtual-payment.html#getunfinishedtransactions
|
|
165
166
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/virtual-payment.html#getunfinishedtransactions
|
|
166
167
|
* @uniPlatform {
|
|
167
168
|
* "app": {
|
|
@@ -194,7 +195,7 @@ export interface VirtualPaymentManager {
|
|
|
194
195
|
* }
|
|
195
196
|
* });
|
|
196
197
|
* ```
|
|
197
|
-
* @
|
|
198
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/virtual-payment.html#finishtransaction
|
|
198
199
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/virtual-payment.html#finishtransaction
|
|
199
200
|
* @uniPlatform {
|
|
200
201
|
* "app": {
|