From f522ccee8622a852a5bb138ea92aab4463e49e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=B2=E9=B8=BD?= <1020103647@qq.com> Date: Wed, 20 Mar 2024 17:22:34 +0800 Subject: [PATCH] =?UTF-8?q?build:=202=E4=B8=AAjson=20=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E5=8A=A0=E5=85=A5=20.gitignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 +-- src/manifest.json | 77 +++++++++++++++++++++++++++++++++++++++++++++++ src/pages.json | 70 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 149 insertions(+), 2 deletions(-) create mode 100644 src/manifest.json create mode 100644 src/pages.json diff --git a/.gitignore b/.gitignore index 46d4eb5..d0914bc 100644 --- a/.gitignore +++ b/.gitignore @@ -32,8 +32,8 @@ components.d.ts uni-pages.d.ts # 插件生成的文件 -src/pages.json -src/manifest.json +# src/pages.json +# src/manifest.json # lock 文件还是不要了,我主要的版本写死就好了 # github actions 需要这些文件,所以留着 diff --git a/src/manifest.json b/src/manifest.json new file mode 100644 index 0000000..37837e0 --- /dev/null +++ b/src/manifest.json @@ -0,0 +1,77 @@ +{ + "name": "unibest", + "appid": "H5871D791", + "description": "", + "versionName": "1.0.0", + "versionCode": "100", + "transformPx": false, + "app-plus": { + "usingComponents": true, + "nvueStyleCompiler": "uni-app", + "compilerVersion": 3, + "splashscreen": { + "alwaysShowBeforeRender": true, + "waiting": true, + "autoclose": true, + "delay": 0 + }, + "modules": {}, + "distribute": { + "android": { + "permissions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "minSdkVersion": 30, + "targetSdkVersion": 30, + "abiFilters": ["armeabi-v7a", "arm64-v8a"] + }, + "ios": {}, + "sdkConfigs": {}, + "icons": { + "android": {}, + "ios": {} + } + } + }, + "quickapp": {}, + "mp-weixin": { + "appid": "wxa2abb91f64032a2b", + "setting": { + "urlCheck": false + }, + "usingComponents": true + }, + "mp-alipay": { + "usingComponents": true + }, + "mp-baidu": { + "usingComponents": true + }, + "mp-toutiao": { + "usingComponents": true + }, + "uniStatistics": { + "enable": false + }, + "vueVersion": "3", + "locale": "zh-Hans", + "h5": { + "router": { + "base": "/" + } + } +} diff --git a/src/pages.json b/src/pages.json new file mode 100644 index 0000000..a260715 --- /dev/null +++ b/src/pages.json @@ -0,0 +1,70 @@ +{ + "globalStyle": { + "navigationStyle": "default", + "navigationBarTitleText": "unibest", + "navigationBarBackgroundColor": "#f8f8f8", + "navigationBarTextStyle": "black", + "backgroundColor": "#FFFFFF" + }, + "easycom": { + "autoscan": true, + "custom": { + "^uv-(.*)": "@climblee/uv-ui/components/uv-$1/uv-$1.vue" + } + }, + "tabBar": { + "color": "#999999", + "selectedColor": "#018d71", + "backgroundColor": "#F8F8F8", + "borderStyle": "black", + "height": "50px", + "fontSize": "10px", + "iconWidth": "24px", + "spacing": "3px", + "list": [ + { + "iconPath": "static/tabbar/home.png", + "selectedIconPath": "static/tabbar/homeHL.png", + "pagePath": "pages/index/index", + "text": "首页" + }, + { + "iconPath": "static/tabbar/example.png", + "selectedIconPath": "static/tabbar/exampleHL.png", + "pagePath": "pages/index/about", + "text": "关于" + } + ] + }, + "pages": [ + { + "path": "pages/index/index", + "type": "home", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "首页" + } + }, + { + "path": "pages/index/about", + "type": "page", + "style": { + "navigationBarTitleText": "关于" + } + } + ], + "subPackages": [ + { + "root": "pages-sub", + "pages": [ + { + "path": "demo/index", + "type": "page", + "style": { + "navigationBarTitleText": "分包页面 标题" + } + } + ] + } + ] +}