diff --git a/pages/API/element-takesnapshot/element-takesnapshot.uvue b/pages/API/element-takesnapshot/element-takesnapshot.uvue index d3fbad334dc87012cd2d49603f12015f6a144882..56e7b735464715bfb516c8f8ce1b6ae26af0505b 100644 --- a/pages/API/element-takesnapshot/element-takesnapshot.uvue +++ b/pages/API/element-takesnapshot/element-takesnapshot.uvue @@ -7,7 +7,7 @@ - + @@ -15,6 +15,7 @@ export default { data() { return { + mode: "center",//aspectFit snapImage: "/static/uni.png" } }, @@ -25,6 +26,7 @@ success: function (res) { console.log(res.tempFilePath) this.snapImage = res.tempFilePath + this.mode = 'widthFix' uni.showToast({ title: '截图成功,路径:' + res.tempFilePath, icon: "none" diff --git a/pages/API/save-image-to-photos-album/save-image-to-photos-album.uvue b/pages/API/save-image-to-photos-album/save-image-to-photos-album.uvue index fb129136fc8575b50afaf4263cf41202e1c92b3e..0a9ab02a8c16372161a1bdebd7d7c5fa80f7f2fc 100644 --- a/pages/API/save-image-to-photos-album/save-image-to-photos-album.uvue +++ b/pages/API/save-image-to-photos-album/save-image-to-photos-album.uvue @@ -2,7 +2,7 @@ - + @@ -39,4 +39,4 @@ \ No newline at end of file + diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue index 624c7986f2b63d8afc3693b2a927ec57841e22cc..c183237762c17c5cb8df61d058d70256e40d5d0a 100644 --- a/pages/tabBar/API.uvue +++ b/pages/tabBar/API.uvue @@ -397,9 +397,14 @@ name: 'storage(key-value存储)', url: 'storage', api: ["getStorageInfo", "getStorageInfoSync", "getStorage", "getStorageSync", "setStorage", "setStorageSync", "removeStorage", "removeStorageSync", "clearStorage", "clearStorageSync"] - }, + } + ] as Page[], + },{ + id: 'file', + name: '文件', + pages: [ { - name: '沙盒文件管理', + name: 'fileSystemManager沙盒文件管理', url: 'filemanager' }, ] as Page[], @@ -426,6 +431,7 @@ }, ] as Page[], }, + // #ifdef APP { id: 'login', name: '登录与认证', @@ -439,7 +445,8 @@ url: 'facial-recognition-verify', } ] as Page[], - }, + }, + // #endif /* { id: "rewarded-video-ad", url: "rewarded-video-ad", diff --git a/pages/template/list-news/list-news.uvue b/pages/template/list-news/list-news.uvue index b574bb8f3adff6c5e162cf368bf2180325068f61..146ce780cb220aa49848c13aa3daa9e0ff48ff3d 100644 --- a/pages/template/list-news/list-news.uvue +++ b/pages/template/list-news/list-news.uvue @@ -1,7 +1,7 @@