From c2bfcba5d6557311f359b1bc96be79496b1c5729 Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Tue, 5 Sep 2023 15:32:27 +0800 Subject: [PATCH] chore: uni-app-x api --- docs/uni-app-x/_sidebar.md | 128 ++++++++++++------ docs/uni-app-x/api/$emit.md | 15 ++ docs/uni-app-x/api/$off.md | 15 ++ docs/uni-app-x/api/$on.md | 15 ++ docs/uni-app-x/api/$once.md | 15 ++ docs/uni-app-x/api/chooseVideo.md | 15 ++ docs/uni-app-x/api/compressImage.md | 15 ++ docs/uni-app-x/api/compressVideo.md | 15 ++ docs/uni-app-x/api/createInnerAudioContext.md | 15 ++ docs/uni-app-x/api/createSelectorQuery.md | 15 ++ docs/uni-app-x/api/getAccessibilityInfo.md | 15 ++ docs/uni-app-x/api/getApp.md | 15 ++ .../api/getBackgroundAudioManager.md | 15 ++ docs/uni-app-x/api/getCurrentPages.md | 15 ++ docs/uni-app-x/api/getFileSystemManager.md | 15 ++ docs/uni-app-x/api/getImageInfo.md | 15 ++ docs/uni-app-x/api/getLaunchOptionsSync.md | 15 ++ docs/uni-app-x/api/getRecorderManager.md | 15 ++ docs/uni-app-x/api/getVideoInfo.md | 15 ++ docs/uni-app-x/api/hideTabBar.md | 15 ++ docs/uni-app-x/api/hideTabBarRedDot.md | 15 ++ docs/uni-app-x/api/loadFontFace.md | 15 ++ docs/uni-app-x/api/navigateBack.md | 15 ++ docs/uni-app-x/api/navigateTo.md | 15 ++ docs/uni-app-x/api/onTabBarMidButtonTap.md | 15 ++ docs/uni-app-x/api/openAppAuthorizeSetting.md | 15 ++ docs/uni-app-x/api/pageScrollTo.md | 15 ++ docs/uni-app-x/api/reLaunch.md | 15 ++ docs/uni-app-x/api/redirectTo.md | 15 ++ docs/uni-app-x/api/removeTabBarBadge.md | 15 ++ docs/uni-app-x/api/saveVideoToPhotosAlbum.md | 15 ++ docs/uni-app-x/api/setNavigationBarColor.md | 15 ++ docs/uni-app-x/api/setTabBarBadge.md | 15 ++ docs/uni-app-x/api/setTabBarItem.md | 15 ++ docs/uni-app-x/api/setTabBarStyle.md | 15 ++ docs/uni-app-x/api/showTabBar.md | 15 ++ docs/uni-app-x/api/showTabBarRedDot.md | 15 ++ docs/uni-app-x/api/startPullDownRefresh.md | 15 ++ docs/uni-app-x/api/stopPullDownRefresh.md | 15 ++ docs/uni-app-x/api/switchTab.md | 15 ++ docs/uni-app-x/api/uploadFile.md | 15 ++ docs/uni-app-x/readme.md | 27 ++-- package.json | 4 +- 43 files changed, 708 insertions(+), 51 deletions(-) create mode 100644 docs/uni-app-x/api/$emit.md create mode 100644 docs/uni-app-x/api/$off.md create mode 100644 docs/uni-app-x/api/$on.md create mode 100644 docs/uni-app-x/api/$once.md create mode 100644 docs/uni-app-x/api/chooseVideo.md create mode 100644 docs/uni-app-x/api/compressImage.md create mode 100644 docs/uni-app-x/api/compressVideo.md create mode 100644 docs/uni-app-x/api/createInnerAudioContext.md create mode 100644 docs/uni-app-x/api/createSelectorQuery.md create mode 100644 docs/uni-app-x/api/getAccessibilityInfo.md create mode 100644 docs/uni-app-x/api/getApp.md create mode 100644 docs/uni-app-x/api/getBackgroundAudioManager.md create mode 100644 docs/uni-app-x/api/getCurrentPages.md create mode 100644 docs/uni-app-x/api/getFileSystemManager.md create mode 100644 docs/uni-app-x/api/getImageInfo.md create mode 100644 docs/uni-app-x/api/getLaunchOptionsSync.md create mode 100644 docs/uni-app-x/api/getRecorderManager.md create mode 100644 docs/uni-app-x/api/getVideoInfo.md create mode 100644 docs/uni-app-x/api/hideTabBar.md create mode 100644 docs/uni-app-x/api/hideTabBarRedDot.md create mode 100644 docs/uni-app-x/api/loadFontFace.md create mode 100644 docs/uni-app-x/api/navigateBack.md create mode 100644 docs/uni-app-x/api/navigateTo.md create mode 100644 docs/uni-app-x/api/onTabBarMidButtonTap.md create mode 100644 docs/uni-app-x/api/openAppAuthorizeSetting.md create mode 100644 docs/uni-app-x/api/pageScrollTo.md create mode 100644 docs/uni-app-x/api/reLaunch.md create mode 100644 docs/uni-app-x/api/redirectTo.md create mode 100644 docs/uni-app-x/api/removeTabBarBadge.md create mode 100644 docs/uni-app-x/api/saveVideoToPhotosAlbum.md create mode 100644 docs/uni-app-x/api/setNavigationBarColor.md create mode 100644 docs/uni-app-x/api/setTabBarBadge.md create mode 100644 docs/uni-app-x/api/setTabBarItem.md create mode 100644 docs/uni-app-x/api/setTabBarStyle.md create mode 100644 docs/uni-app-x/api/showTabBar.md create mode 100644 docs/uni-app-x/api/showTabBarRedDot.md create mode 100644 docs/uni-app-x/api/startPullDownRefresh.md create mode 100644 docs/uni-app-x/api/stopPullDownRefresh.md create mode 100644 docs/uni-app-x/api/switchTab.md create mode 100644 docs/uni-app-x/api/uploadFile.md diff --git a/docs/uni-app-x/_sidebar.md b/docs/uni-app-x/_sidebar.md index f9d409202..765609aef 100644 --- a/docs/uni-app-x/_sidebar.md +++ b/docs/uni-app-x/_sidebar.md @@ -33,46 +33,94 @@ * [web-view](component/web-view.md) * [animation-view](component/animation-view.md) * API - * [exit](api/exit.md) - * [previewImage](api/previewImage.md) - * [closePreviewImage](api/closePreviewImage.md) - * [showToast](api/showToast.md) - * [hideToast](api/hideToast.md) - * [showLoading](api/showLoading.md) - * [hideLoading](api/hideLoading.md) - * [showModal](api/showModal.md) - * [showActionSheet](api/showActionSheet.md) - * [getNetworkType](api/getNetworkType.md) - * [request](api/request.md) - * [downloadFile](api/downloadFile.md) - * [connectSocket](api/connectSocket.md) - * [onSocketOpen](api/onSocketOpen.md) - * [onSocketError](api/onSocketError.md) - * [sendSocketMessage](api/sendSocketMessage.md) - * [onSocketMessage](api/onSocketMessage.md) - * [closeSocket](api/closeSocket.md) - * [onSocketClose](api/onSocketClose.md) - * [setStorage](api/setStorage.md) - * [setStorageSync](api/setStorageSync.md) - * [getStorage](api/getStorage.md) - * [getStorageSync](api/getStorageSync.md) - * [getStorageInfo](api/getStorageInfo.md) - * [getStorageInfoSync](api/getStorageInfoSync.md) - * [removeStorage](api/removeStorage.md) - * [removeStorageSync](api/removeStorageSync.md) - * [clearStorage](api/clearStorage.md) - * [clearStorageSync](api/clearStorageSync.md) - * [getLocation](api/getLocation.md) - * [getLocation](api/getLocation.md) - * [chooseImage](api/chooseImage.md) - * [saveImageToPhotosAlbum](api/saveImageToPhotosAlbum.md) - * [getAppBaseInfo](api/getAppBaseInfo.md) - * [getDeviceInfo](api/getDeviceInfo.md) - * [getAppAuthorizeSetting](api/getAppAuthorizeSetting.md) - * [getSystemInfo](api/getSystemInfo.md) - * [getSystemInfoSync](api/getSystemInfoSync.md) - * [getWindowInfo](api/getWindowInfo.md) - * [getSystemSetting](api/getSystemSetting.md) + * 基础 + * [getApp](api/getApp.md) + * [getCurrentPages](api/getCurrentPages.md) + * [$on](api/$on.md) + * [$off](api/$off.md) + * [$once](api/$once.md) + * [$emit](api/$emit.md) + * [exit](api/exit.md) + * 路由 + * [getLaunchOptionsSync](api/getLaunchOptionsSync.md) + * [navigateTo](api/navigateTo.md) + * [redirectTo](api/redirectTo.md) + * [reLaunch](api/reLaunch.md) + * [switchTab](api/switchTab.md) + * [navigateBack](api/navigateBack.md) + * [setNavigationBarColor](api/setNavigationBarColor.md) + * [setTabBarBadge](api/setTabBarBadge.md) + * [removeTabBarBadge](api/removeTabBarBadge.md) + * [setTabBarItem](api/setTabBarItem.md) + * [setTabBarStyle](api/setTabBarStyle.md) + * [hideTabBar](api/hideTabBar.md) + * [showTabBar](api/showTabBar.md) + * [showTabBarRedDot](api/showTabBarRedDot.md) + * [hideTabBarRedDot](api/hideTabBarRedDot.md) + * 界面 + * [loadFontFace](api/loadFontFace.md) + * [pageScrollTo](api/pageScrollTo.md) + * [startPullDownRefresh](api/startPullDownRefresh.md) + * [stopPullDownRefresh](api/stopPullDownRefresh.md) + * [onTabBarMidButtonTap](api/onTabBarMidButtonTap.md) + * [previewImage](api/previewImage.md) + * [closePreviewImage](api/closePreviewImage.md) + * [showToast](api/showToast.md) + * [hideToast](api/hideToast.md) + * [showLoading](api/showLoading.md) + * [hideLoading](api/hideLoading.md) + * [showModal](api/showModal.md) + * [showActionSheet](api/showActionSheet.md) + * 组件 + * [createSelectorQuery](api/createSelectorQuery.md) + * 网络 + * [getNetworkType](api/getNetworkType.md) + * [request](api/request.md) + * [uploadFile](api/uploadFile.md) + * [downloadFile](api/downloadFile.md) + * [connectSocket](api/connectSocket.md) + * [onSocketOpen](api/onSocketOpen.md) + * [onSocketError](api/onSocketError.md) + * [sendSocketMessage](api/sendSocketMessage.md) + * [onSocketMessage](api/onSocketMessage.md) + * [closeSocket](api/closeSocket.md) + * [onSocketClose](api/onSocketClose.md) + * 存储 + * [setStorage](api/setStorage.md) + * [setStorageSync](api/setStorageSync.md) + * [getStorage](api/getStorage.md) + * [getStorageSync](api/getStorageSync.md) + * [getStorageInfo](api/getStorageInfo.md) + * [getStorageInfoSync](api/getStorageInfoSync.md) + * [removeStorage](api/removeStorage.md) + * [removeStorageSync](api/removeStorageSync.md) + * [clearStorage](api/clearStorage.md) + * [clearStorageSync](api/clearStorageSync.md) + * 定位 + * [getLocation](api/getLocation.md) + * 媒体 + * [createInnerAudioContext](api/createInnerAudioContext.md) + * [getBackgroundAudioManager](api/getBackgroundAudioManager.md) + * [getFileSystemManager](api/getFileSystemManager.md) + * [chooseImage](api/chooseImage.md) + * [getImageInfo](api/getImageInfo.md) + * [saveImageToPhotosAlbum](api/saveImageToPhotosAlbum.md) + * [compressImage](api/compressImage.md) + * [chooseVideo](api/chooseVideo.md) + * [getVideoInfo](api/getVideoInfo.md) + * [saveVideoToPhotosAlbum](api/saveVideoToPhotosAlbum.md) + * [compressVideo](api/compressVideo.md) + * 设备 + * [getAppAuthorizeSetting](api/getAppAuthorizeSetting.md) + * [getAppBaseInfo](api/getAppBaseInfo.md) + * [getDeviceInfo](api/getDeviceInfo.md) + * [getSystemInfo](api/getSystemInfo.md) + * [getSystemInfoSync](api/getSystemInfoSync.md) + * [getWindowInfo](api/getWindowInfo.md) + * [getSystemSetting](api/getSystemSetting.md) + * [openAppAuthorizeSetting](api/openAppAuthorizeSetting.md) + * [getAccessibilityInfo](api/getAccessibilityInfo.md) + * [getRecorderManager](api/getRecorderManager.md) * CSS * [CSS概述](css/README.md) * [align-content](css/align-content.md) diff --git a/docs/uni-app-x/api/$emit.md b/docs/uni-app-x/api/$emit.md new file mode 100644 index 000000000..86e7bfc16 --- /dev/null +++ b/docs/uni-app-x/api/$emit.md @@ -0,0 +1,15 @@ +## uni.$emit(eventName, args) @$emit + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/$off.md b/docs/uni-app-x/api/$off.md new file mode 100644 index 000000000..0167dde57 --- /dev/null +++ b/docs/uni-app-x/api/$off.md @@ -0,0 +1,15 @@ +## uni.$off(eventName, callback) @$off + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/$on.md b/docs/uni-app-x/api/$on.md new file mode 100644 index 000000000..57ebdb1ea --- /dev/null +++ b/docs/uni-app-x/api/$on.md @@ -0,0 +1,15 @@ +## uni.$on(eventName, callback) @$on + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/$once.md b/docs/uni-app-x/api/$once.md new file mode 100644 index 000000000..c8a4cc6fc --- /dev/null +++ b/docs/uni-app-x/api/$once.md @@ -0,0 +1,15 @@ +## uni.$once(eventName, callback) @$once + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/chooseVideo.md b/docs/uni-app-x/api/chooseVideo.md new file mode 100644 index 000000000..ade1358da --- /dev/null +++ b/docs/uni-app-x/api/chooseVideo.md @@ -0,0 +1,15 @@ +## uni.chooseVideo(options) @choosevideo + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/compressImage.md b/docs/uni-app-x/api/compressImage.md new file mode 100644 index 000000000..ad1bc60b3 --- /dev/null +++ b/docs/uni-app-x/api/compressImage.md @@ -0,0 +1,15 @@ +## uni.compressImage(options) @compressimage + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/compressVideo.md b/docs/uni-app-x/api/compressVideo.md new file mode 100644 index 000000000..a7e78ac2e --- /dev/null +++ b/docs/uni-app-x/api/compressVideo.md @@ -0,0 +1,15 @@ +## uni.compressVideo(options) @compressvideo + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/createInnerAudioContext.md b/docs/uni-app-x/api/createInnerAudioContext.md new file mode 100644 index 000000000..6872c8fe8 --- /dev/null +++ b/docs/uni-app-x/api/createInnerAudioContext.md @@ -0,0 +1,15 @@ +## uni.createInnerAudioContext() @createinneraudiocontext + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/createSelectorQuery.md b/docs/uni-app-x/api/createSelectorQuery.md new file mode 100644 index 000000000..e5cc1ee18 --- /dev/null +++ b/docs/uni-app-x/api/createSelectorQuery.md @@ -0,0 +1,15 @@ +## uni.createSelectorQuery() @createselectorquery + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/getAccessibilityInfo.md b/docs/uni-app-x/api/getAccessibilityInfo.md new file mode 100644 index 000000000..3870bdd3f --- /dev/null +++ b/docs/uni-app-x/api/getAccessibilityInfo.md @@ -0,0 +1,15 @@ +## uni.getAccessibilityInfo() @getaccessibilityinfo + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/getApp.md b/docs/uni-app-x/api/getApp.md new file mode 100644 index 000000000..9dce3b211 --- /dev/null +++ b/docs/uni-app-x/api/getApp.md @@ -0,0 +1,15 @@ +## uni.getApp(opts?) @getapp + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/getBackgroundAudioManager.md b/docs/uni-app-x/api/getBackgroundAudioManager.md new file mode 100644 index 000000000..517339526 --- /dev/null +++ b/docs/uni-app-x/api/getBackgroundAudioManager.md @@ -0,0 +1,15 @@ +## uni.getBackgroundAudioManager() @getbackgroundaudiomanager + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/getCurrentPages.md b/docs/uni-app-x/api/getCurrentPages.md new file mode 100644 index 000000000..bd034a06b --- /dev/null +++ b/docs/uni-app-x/api/getCurrentPages.md @@ -0,0 +1,15 @@ +## uni.getCurrentPages() @getcurrentpages + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/getFileSystemManager.md b/docs/uni-app-x/api/getFileSystemManager.md new file mode 100644 index 000000000..5cd493951 --- /dev/null +++ b/docs/uni-app-x/api/getFileSystemManager.md @@ -0,0 +1,15 @@ +## uni.getFileSystemManager() @getfilesystemmanager + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/getImageInfo.md b/docs/uni-app-x/api/getImageInfo.md new file mode 100644 index 000000000..6ffcede64 --- /dev/null +++ b/docs/uni-app-x/api/getImageInfo.md @@ -0,0 +1,15 @@ +## uni.getImageInfo(options) @getimageinfo + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/getLaunchOptionsSync.md b/docs/uni-app-x/api/getLaunchOptionsSync.md new file mode 100644 index 000000000..293829840 --- /dev/null +++ b/docs/uni-app-x/api/getLaunchOptionsSync.md @@ -0,0 +1,15 @@ +## uni.getLaunchOptionsSync() @getlaunchoptionssync + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/getRecorderManager.md b/docs/uni-app-x/api/getRecorderManager.md new file mode 100644 index 000000000..1accf2c6f --- /dev/null +++ b/docs/uni-app-x/api/getRecorderManager.md @@ -0,0 +1,15 @@ +## uni.getRecorderManager() @getrecordermanager + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/getVideoInfo.md b/docs/uni-app-x/api/getVideoInfo.md new file mode 100644 index 000000000..5ad6f21e7 --- /dev/null +++ b/docs/uni-app-x/api/getVideoInfo.md @@ -0,0 +1,15 @@ +## uni.getVideoInfo(options) @getvideoinfo + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/hideTabBar.md b/docs/uni-app-x/api/hideTabBar.md new file mode 100644 index 000000000..42736de72 --- /dev/null +++ b/docs/uni-app-x/api/hideTabBar.md @@ -0,0 +1,15 @@ +## uni.hideTabBar(options?) @hidetabbar + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/hideTabBarRedDot.md b/docs/uni-app-x/api/hideTabBarRedDot.md new file mode 100644 index 000000000..86ddd0901 --- /dev/null +++ b/docs/uni-app-x/api/hideTabBarRedDot.md @@ -0,0 +1,15 @@ +## uni.hideTabBarRedDot(options) @hidetabbarreddot + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/loadFontFace.md b/docs/uni-app-x/api/loadFontFace.md new file mode 100644 index 000000000..6e46a9db7 --- /dev/null +++ b/docs/uni-app-x/api/loadFontFace.md @@ -0,0 +1,15 @@ +## uni.loadFontFace(options) @loadfontface + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/navigateBack.md b/docs/uni-app-x/api/navigateBack.md new file mode 100644 index 000000000..6ecbf54e7 --- /dev/null +++ b/docs/uni-app-x/api/navigateBack.md @@ -0,0 +1,15 @@ +## uni.navigateBack(options?) @navigateback + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/navigateTo.md b/docs/uni-app-x/api/navigateTo.md new file mode 100644 index 000000000..326d4e721 --- /dev/null +++ b/docs/uni-app-x/api/navigateTo.md @@ -0,0 +1,15 @@ +## uni.navigateTo(options) @navigateto + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/onTabBarMidButtonTap.md b/docs/uni-app-x/api/onTabBarMidButtonTap.md new file mode 100644 index 000000000..56dc96061 --- /dev/null +++ b/docs/uni-app-x/api/onTabBarMidButtonTap.md @@ -0,0 +1,15 @@ +## uni.onTabBarMidButtonTap(options) @ontabbarmidbuttontap + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/openAppAuthorizeSetting.md b/docs/uni-app-x/api/openAppAuthorizeSetting.md new file mode 100644 index 000000000..1d3f3aa83 --- /dev/null +++ b/docs/uni-app-x/api/openAppAuthorizeSetting.md @@ -0,0 +1,15 @@ +## uni.openAppAuthorizeSetting(options) @openappauthorizesetting + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/pageScrollTo.md b/docs/uni-app-x/api/pageScrollTo.md new file mode 100644 index 000000000..3c9cb9301 --- /dev/null +++ b/docs/uni-app-x/api/pageScrollTo.md @@ -0,0 +1,15 @@ +## uni.pageScrollTo(options) @pagescrollto + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/reLaunch.md b/docs/uni-app-x/api/reLaunch.md new file mode 100644 index 000000000..5d94b84cb --- /dev/null +++ b/docs/uni-app-x/api/reLaunch.md @@ -0,0 +1,15 @@ +## uni.reLaunch(options) @relaunch + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/redirectTo.md b/docs/uni-app-x/api/redirectTo.md new file mode 100644 index 000000000..31f7501bb --- /dev/null +++ b/docs/uni-app-x/api/redirectTo.md @@ -0,0 +1,15 @@ +## uni.redirectTo(options) @redirectto + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/removeTabBarBadge.md b/docs/uni-app-x/api/removeTabBarBadge.md new file mode 100644 index 000000000..886636756 --- /dev/null +++ b/docs/uni-app-x/api/removeTabBarBadge.md @@ -0,0 +1,15 @@ +## uni.removeTabBarBadge(options) @removetabbarbadge + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/saveVideoToPhotosAlbum.md b/docs/uni-app-x/api/saveVideoToPhotosAlbum.md new file mode 100644 index 000000000..d49679180 --- /dev/null +++ b/docs/uni-app-x/api/saveVideoToPhotosAlbum.md @@ -0,0 +1,15 @@ +## uni.saveVideoToPhotosAlbum(options) @savevideotophotosalbum + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/setNavigationBarColor.md b/docs/uni-app-x/api/setNavigationBarColor.md new file mode 100644 index 000000000..d87084121 --- /dev/null +++ b/docs/uni-app-x/api/setNavigationBarColor.md @@ -0,0 +1,15 @@ +## uni.setNavigationBarColor(options) @setnavigationbarcolor + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/setTabBarBadge.md b/docs/uni-app-x/api/setTabBarBadge.md new file mode 100644 index 000000000..5f0597033 --- /dev/null +++ b/docs/uni-app-x/api/setTabBarBadge.md @@ -0,0 +1,15 @@ +## uni.setTabBarBadge(options) @settabbarbadge + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/setTabBarItem.md b/docs/uni-app-x/api/setTabBarItem.md new file mode 100644 index 000000000..575a3657c --- /dev/null +++ b/docs/uni-app-x/api/setTabBarItem.md @@ -0,0 +1,15 @@ +## uni.setTabBarItem(options) @settabbaritem + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/setTabBarStyle.md b/docs/uni-app-x/api/setTabBarStyle.md new file mode 100644 index 000000000..34be42db3 --- /dev/null +++ b/docs/uni-app-x/api/setTabBarStyle.md @@ -0,0 +1,15 @@ +## uni.setTabBarStyle(options) @settabbarstyle + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/showTabBar.md b/docs/uni-app-x/api/showTabBar.md new file mode 100644 index 000000000..921e0348a --- /dev/null +++ b/docs/uni-app-x/api/showTabBar.md @@ -0,0 +1,15 @@ +## uni.showTabBar(options?) @showtabbar + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/showTabBarRedDot.md b/docs/uni-app-x/api/showTabBarRedDot.md new file mode 100644 index 000000000..784f22beb --- /dev/null +++ b/docs/uni-app-x/api/showTabBarRedDot.md @@ -0,0 +1,15 @@ +## uni.showTabBarRedDot(options) @showtabbarreddot + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/startPullDownRefresh.md b/docs/uni-app-x/api/startPullDownRefresh.md new file mode 100644 index 000000000..d2c7707ea --- /dev/null +++ b/docs/uni-app-x/api/startPullDownRefresh.md @@ -0,0 +1,15 @@ +## uni.startPullDownRefresh(options?) @startpulldownrefresh + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/stopPullDownRefresh.md b/docs/uni-app-x/api/stopPullDownRefresh.md new file mode 100644 index 000000000..c77db359b --- /dev/null +++ b/docs/uni-app-x/api/stopPullDownRefresh.md @@ -0,0 +1,15 @@ +## uni.stopPullDownRefresh() @stoppulldownrefresh + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/switchTab.md b/docs/uni-app-x/api/switchTab.md new file mode 100644 index 000000000..5caad364d --- /dev/null +++ b/docs/uni-app-x/api/switchTab.md @@ -0,0 +1,15 @@ +## uni.switchTab(options) @switchtab + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/api/uploadFile.md b/docs/uni-app-x/api/uploadFile.md new file mode 100644 index 000000000..d75409903 --- /dev/null +++ b/docs/uni-app-x/api/uploadFile.md @@ -0,0 +1,15 @@ +## uni.uploadFile(options) @uploadfile + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/uni-app-x/readme.md b/docs/uni-app-x/readme.md index 7f33dcef9..266d2c2fc 100644 --- a/docs/uni-app-x/readme.md +++ b/docs/uni-app-x/readme.md @@ -145,9 +145,7 @@ uni自带API,如下为目前支持的清单。 * [x] uni.$once * [x] uni.$off -### 路由 -* [x] getApp -* [x] getCurrentPages +### 路由 * [x] uni.navigateTo * [x] uni.redirectTo * [x] uni.reLaunch @@ -178,6 +176,7 @@ uni自带API,如下为目前支持的清单。 * [x] uni.closePreviewImage * [x] uni.startPullDownRefresh * [x] uni.stopPullDownRefresh +* [x] uni.onTabBarMidButtonTap ### 组件 * [x] uni.createVideoContext @@ -188,17 +187,26 @@ uni自带API,如下为目前支持的清单。 * [x] uni.uploadFile * [x] uni.downloadFile * [x] uni.getNetworkType -* [x] uni-websocket的一系列API +* [x] uni.websocket的一系列API ### 存储 -* [x] uni-storage的一系列API +* [x] uni.storage的一系列API ### 定位 * [x] uni.getLocation 一期仅支持系统定位和腾讯定位 ### 媒体 * [x] uni.chooseImage 仅支持相册,不支持相机 +* [x] uni.chooseVideo +* [x] uni.getImageInfo +* [x] uni.getVideoInfo +* [x] uni.compressImage +* [x] uni.compressVideo * [x] uni.saveImageToPhotosAlbum +* [x] uni.saveVideoToPhotosAlbum +* [x] uni.createInnerAudioContext +* [x] uni.getBackgroundAudioManager +* [x] uni.getFileSystemManager ### 设备 * [x] uni.getSystemInfo @@ -208,10 +216,11 @@ uni自带API,如下为目前支持的清单。 * [x] uni.getAppBaseInfo * [x] uni.getSystemSetting * [x] uni.getAppAuthorizeSetting -* [x] uni-getbatteryinfo //已有uts插件 -* [x] uni-memeorywarning //已有uts插件 -* [x] uni-wifi //已有uts插件 -* [x] uni-usercapturescreen //已有uts插件 +* [x] uni.getbatteryinfo //已有uts插件 +* [x] uni.memeorywarning //已有uts插件 +* [x] uni.wifi //已有uts插件 +* [x] uni.usercapturescreen //已有uts插件 +* [x] uni.openAppAuthorizeSetting ### 性能 * [x] uni.getPerformance diff --git a/package.json b/package.json index 3acf32c32..3589cc857 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ }, "scripts": { "dev": "vuepress dev docs", - "build": "node --max_old_space_size=3072 ./node_modules/vuepress/cli.js build docs --no-cache", - "build-lite": "cross-env DOCS_LITE=true node --max_old_space_size=3072 ./node_modules/vuepress/cli.js build docs-lite --no-cache" + "build": "node --max_old_space_size=4096 ./node_modules/vuepress/cli.js build docs --no-cache", + "build-lite": "cross-env DOCS_LITE=true node --max_old_space_size=4096 ./node_modules/vuepress/cli.js build docs-lite --no-cache" }, "repository": { "type": "git", -- GitLab