diff --git a/pages.json b/pages.json
index 7dc7966c71d30fc68320f4b5629d686d4e160782..748034479f8580baaa4cfd458f32c5fb9cf24f53 100644
--- a/pages.json
+++ b/pages.json
@@ -238,6 +238,12 @@
"navigationBarTitleText": ""
}
},
+ {
+ "path": "pages/component/mixin-datacom/mixin-datacom",
+ "style": {
+ "navigationBarTitleText": "mixinDatacom"
+ }
+ },
// #endif
{
"path": "pages/tabBar/API",
@@ -345,7 +351,7 @@
}
},
{
- "path": "pages/API/filemanager/filemanager",
+ "path": "pages/API/get-file-manager/get-file-manager",
"style": {
"navigationBarTitleText": "沙盒文件管理"
}
@@ -579,7 +585,7 @@
}
},
{
- "path": "pages/API/uni-verify/uni-verify",
+ "path": "pages/API/get-univerify-manager/get-univerify-manager",
"style": {
"navigationBarTitleText": "uni-verify",
"enablePullDownRefresh": false
diff --git a/pages/API/filemanager/filemanager.test.js b/pages/API/get-file-manager/get-file-manager.js
similarity index 100%
rename from pages/API/filemanager/filemanager.test.js
rename to pages/API/get-file-manager/get-file-manager.js
diff --git a/pages/API/filemanager/filemanager.uvue b/pages/API/get-file-manager/get-file-manager.uvue
similarity index 98%
rename from pages/API/filemanager/filemanager.uvue
rename to pages/API/get-file-manager/get-file-manager.uvue
index 16ac6b6da893885bf46b24d24c00dfcf87f8f604..625093b03cd413ac66b8f69fe5dabd39083745f6 100644
--- a/pages/API/filemanager/filemanager.uvue
+++ b/pages/API/get-file-manager/get-file-manager.uvue
@@ -52,8 +52,9 @@
*/
basePath: uni.env.USER_DATA_PATH,
copyToBasePath: uni.env.USER_DATA_PATH,
- globalTempPath:uni.env.TEMP_PATH,
- globalRootPath:uni.env.ROOT_PATH,
+ globalTempPath:uni.env.CACHE_PATH,
+ globalRootPath:uni.env.SANDBOX_PATH,
+ globalInnerRootPath:uni.env.ANDROID_INTERNAL_SANDBOX_PATH,
globalAppResourcePath:uni.env.APP_RESOURCE_PATH,
globalUserDataPath:uni.env.USER_DATA_PATH
diff --git a/pages/API/uni-verify/uni-verify.uvue b/pages/API/get-univerify-manager/get-univerify-manager.uvue
similarity index 100%
rename from pages/API/uni-verify/uni-verify.uvue
rename to pages/API/get-univerify-manager/get-univerify-manager.uvue
diff --git a/pages/component/mixin-datacom/datacom.uvue b/pages/component/mixin-datacom/datacom.uvue
new file mode 100644
index 0000000000000000000000000000000000000000..491b3aa499892da7b94a15393518abf44b550f21
--- /dev/null
+++ b/pages/component/mixin-datacom/datacom.uvue
@@ -0,0 +1,67 @@
+
+
+ Loading...
+
+ 请求错误:{{mixinDatacomError}}
+
+
+
+
+
+
+ {{item}}
+
+
+
+
+
+
+
+
+
diff --git a/pages/component/mixin-datacom/mixin-datacom.test.js b/pages/component/mixin-datacom/mixin-datacom.test.js
new file mode 100644
index 0000000000000000000000000000000000000000..eacca4bf63914e558228eea2063a815f3b5bb963
--- /dev/null
+++ b/pages/component/mixin-datacom/mixin-datacom.test.js
@@ -0,0 +1,14 @@
+const PAGE_PATH = '/pages/component/mixin-datacom/mixin-datacom'
+
+describe('mixin-datacom', () => {
+ let page
+ beforeAll(async () => {
+ page = await program.reLaunch(PAGE_PATH)
+ await page.waitFor(500)
+ })
+ it('mixinDatacomGet', async () => {
+ const datacom = await page.$('.datacom')
+ const childCount = await datacom.$$('.list-item')
+ expect(childCount > 0).toBe(true)
+ })
+})
diff --git a/pages/component/mixin-datacom/mixin-datacom.uvue b/pages/component/mixin-datacom/mixin-datacom.uvue
new file mode 100644
index 0000000000000000000000000000000000000000..9f3ce40507fb2956b862afbcd1ec55b377048240
--- /dev/null
+++ b/pages/component/mixin-datacom/mixin-datacom.uvue
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue
index c183237762c17c5cb8df61d058d70256e40d5d0a..d7fe8868e656c3ec3054deb130e23f567971f11e 100644
--- a/pages/tabBar/API.uvue
+++ b/pages/tabBar/API.uvue
@@ -405,7 +405,7 @@
pages: [
{
name: 'fileSystemManager沙盒文件管理',
- url: 'filemanager'
+ url: 'get-file-manager'
},
] as Page[],
},
@@ -438,7 +438,7 @@
pages: [
{
name: '一键登录',
- url: 'uni-verify',
+ url: 'get-univerify-manager',
},
{
name: '实人认证',
diff --git a/pages/tabBar/component.uvue b/pages/tabBar/component.uvue
index 3b0f091dd1f1b9bbd8cc745b7727939dc1d4299a..583dfbb32e1506cf283abc650af86351a565fd40 100644
--- a/pages/tabBar/component.uvue
+++ b/pages/tabBar/component.uvue
@@ -240,6 +240,11 @@ export default {
name: '联系人',
enable: true,
url: '/pages/component/unicloud-db-contacts/list'
+ },
+ {
+ name: 'mixinDatacom',
+ enable: true,
+ url: '/pages/component/mixin-datacom/mixin-datacom'
}
] as Page[],
},