diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000000000000000000000000000000000..1a3af920b098c1460143e5f5ef5174933e03cb54 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/.gitignore b/.gitignore index 4ad7b3d6dc1866b2cfbf34371fce162b9461ca41..f2126b3be1e90e9ea4198685c9f1c01c9f6afd61 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,15 @@ /unpackage /.hbuilderx /.vite -.DS_Store \ No newline at end of file +.DS_Store +<<<<<<< HEAD + +======= +>>>>>>> dev +env.js +jest.config.js +autotest.reporter.js +autotest.utils.js +pages/autotest/ +node_modules/ +vite.config.js \ No newline at end of file diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index ad7c2a6be83a79900b8cac13428e51381e113455..cc4f2a1a439679c447b2f3bbe509db8e8c8870c5 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -14,8 +14,9 @@ }, { "bundleId" : "io.dcloud.test123456", - "certificateFile" : "/Users/lizhongyi/Desktop/文件/证书/dev_123.p12", - "certificateProfileFile" : "/Users/lizhongyi/Desktop/文件/证书/io_dcloud_test123456.mobileprovision", + "certificateFile" : "/Users/lizhongyi/Desktop/newProfiles/dev_123.p12", + "certificateProfileFile" : "/Users/lizhongyi/Desktop/newProfiles/wildcard.mobileprovision", + "runSignStatus" : 1, "type" : "uni-app:app-ios" } ] diff --git a/App.uvue b/App.uvue new file mode 100644 index 0000000000000000000000000000000000000000..a1ead0e7dbceb3636d82303392c1df1e6b9f7a24 --- /dev/null +++ b/App.uvue @@ -0,0 +1,44 @@ + + + \ No newline at end of file diff --git a/jest.config.js b/jest.config.js deleted file mode 100644 index a54d98aa885205fac0907af57739237f3a96af78..0000000000000000000000000000000000000000 --- a/jest.config.js +++ /dev/null @@ -1,11 +0,0 @@ -module.exports = { - testTimeout: 10000, - reporters: [ - 'default' - ], - watchPathIgnorePatterns: ['/node_modules/', '/dist/', '/.git/'], - moduleFileExtensions: ['js', 'json'], - rootDir: __dirname, - testMatch: ["/pages/**/*test.[jt]s?(x)"], - testPathIgnorePatterns: ['/node_modules/'] -} diff --git a/main.uts b/main.uts new file mode 100644 index 0000000000000000000000000000000000000000..89d8f152127b8105c47b6ef81680535f4dbbb40c --- /dev/null +++ b/main.uts @@ -0,0 +1,9 @@ +import App from './App' + +import { createSSRApp } from 'vue' +export function createApp() { + const app = createSSRApp(App) + return { + app + } +} \ No newline at end of file diff --git a/manifest.json b/manifest.json index 1932231622c1913f146f5403b48c72a749a88f09..00c791648f04722c7fa535d0b412975bc39c8f52 100644 --- a/manifest.json +++ b/manifest.json @@ -1,72 +1,56 @@ { - "name": "uni-api", - "appid": "__UNI__ED9218B", - "description": "", - "versionName": "1.0.0", - "versionCode": "100", - "transformPx": false, - /* 5+App特有相关 */ - "app-plus": { - "usingComponents": true, - "nvueStyleCompiler": "uni-app", - "compilerVersion": 3, - "splashscreen": { - "alwaysShowBeforeRender": true, - "waiting": true, - "autoclose": true, - "delay": 0 - }, - /* 模块配置 */ - "modules": {}, - /* 应用发布信息 */ - "distribute": { - /* android打包配置 */ - "android": { - "permissions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - /* ios打包配置 */ - "ios": {}, - /* SDK配置 */ - "sdkConfigs": {} - } - }, - /* 快应用特有相关 */ - "quickapp": {}, - /* 小程序特有相关 */ - "mp-weixin": { - "appid": "", - "setting": { - "urlCheck": false - }, - "usingComponents": true - }, - "mp-alipay": { - "usingComponents": true - }, - "mp-baidu": { - "usingComponents": true - }, - "mp-toutiao": { - "usingComponents": true - }, - "uniStatistics": { - "enable": false - }, - "vueVersion": "2" + "name": "uni-api", + "appid": "__UNI__8BF79AC", + "description": "uts插件示例", + "versionName": "1.0.0", + "versionCode": "100", + "transformPx": false, + /* uni-app x 特有相关 */ + // "uni-app-x": {}, + /* uni-app特有相关 */ + "app-plus": { + "usingComponents": true, + "nvueStyleCompiler": "uni-app", + "compilerVersion": 3, + "splashscreen": { + "alwaysShowBeforeRender": true, + "waiting": true, + "autoclose": true, + "delay": 0 + }, + /* 模块配置 */ + "modules": {}, + /* 应用发布信息 */ + "distribute": { + /* android打包配置 */ + "android": {}, + /* ios打包配置 */ + "ios": {}, + /* SDK配置 */ + "sdkConfigs": {} + } + }, + /* 快应用特有相关 */ + "quickapp": {}, + /* 小程序特有相关 */ + "mp-weixin": { + "appid": "", + "setting": { + "urlCheck": false + }, + "usingComponents": true + }, + "mp-alipay": { + "usingComponents": true + }, + "mp-baidu": { + "usingComponents": true + }, + "mp-toutiao": { + "usingComponents": true + }, + "uniStatistics": { + "enable": false + }, + "vueVersion": "3" } diff --git a/pages.json b/pages.json index 24f82b827fe2c372169caf32fe7b9b2b28fa4037..6b058a78a8022bffc1842eddf82e1e2a39244841 100644 --- a/pages.json +++ b/pages.json @@ -1,17 +1,24 @@ -{ - "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages - { - "path": "pages/index/index", - "style": { - "navigationBarTitleText": "uni-app" - } - } - ], - "globalStyle": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "uni-app", - "navigationBarBackgroundColor": "#F8F8F8", - "backgroundColor": "#F8F8F8" - }, - "uniIdRouter": {} +{ + "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + { + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "uni-api" + } + }, + { + "path": "pages/test/test", + "style": { + "navigationBarTitleText": "测试示例", + "enablePullDownRefresh": false + } + } + ], + "globalStyle": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "uni-app", + "navigationBarBackgroundColor": "#F8F8F8", + "backgroundColor": "#F8F8F8" + }, + "uniIdRouter": {} } diff --git a/pages/index/index.nvue b/pages/index/index.nvue new file mode 100644 index 0000000000000000000000000000000000000000..9e69fe2576991e0e8484e8d591331c09a53ea43d --- /dev/null +++ b/pages/index/index.nvue @@ -0,0 +1,62 @@ + + + + + \ No newline at end of file diff --git a/pages/index/index.uvue b/pages/index/index.uvue new file mode 100644 index 0000000000000000000000000000000000000000..9e69fe2576991e0e8484e8d591331c09a53ea43d --- /dev/null +++ b/pages/index/index.uvue @@ -0,0 +1,62 @@ + + + + + \ No newline at end of file diff --git a/pages/test/test.uvue b/pages/test/test.uvue new file mode 100644 index 0000000000000000000000000000000000000000..cdec1a4d60473152a178a6c9ec075b05a4bb8a4b --- /dev/null +++ b/pages/test/test.uvue @@ -0,0 +1,28 @@ + + + + + \ No newline at end of file diff --git a/pages/index/index.vue b/pages/test/test.vue similarity index 51% rename from pages/index/index.vue rename to pages/test/test.vue index f64e148578503d6c5cbc4b004ab9acff01ac86a3..1c4825d882b6dc4df8065e2378108f03c3d7924d 100644 --- a/pages/index/index.vue +++ b/pages/test/test.vue @@ -1,277 +1,388 @@ -