From 28d8000ad82b20e749f50dc1848f1e24ed588220 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sat, 21 Jun 2025 15:50:13 +0800 Subject: [PATCH 1/3] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0.gitignore?= =?UTF-8?q?=E5=B9=B6=E5=88=A0=E9=99=A4=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除src/pages.json和src/manifest.json配置文件 更新.gitignore以忽略src/types目录和删除的配置文件 --- .gitignore | 4 +- src/manifest.json | 113 ---------------------------------------------- src/pages.json | 65 -------------------------- 3 files changed, 3 insertions(+), 179 deletions(-) delete mode 100644 src/manifest.json delete mode 100644 src/pages.json diff --git a/.gitignore b/.gitignore index 5a73675..08eedd5 100644 --- a/.gitignore +++ b/.gitignore @@ -27,7 +27,9 @@ dist docs/.vitepress/dist docs/.vitepress/cache -types +src/types +src/pages.json +src/manifest.json # lock 文件还是不要了,我主要的版本写死就好了 # pnpm-lock.yaml diff --git a/src/manifest.json b/src/manifest.json deleted file mode 100644 index 791ddeb..0000000 --- a/src/manifest.json +++ /dev/null @@ -1,113 +0,0 @@ -{ - "name": "unibest", - "appid": "__UNI__D1E5001", - "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": { - "hdpi": "static/app/icons/72x72.png", - "xhdpi": "static/app/icons/96x96.png", - "xxhdpi": "static/app/icons/144x144.png", - "xxxhdpi": "static/app/icons/192x192.png" - }, - "ios": { - "appstore": "static/app/icons/1024x1024.png", - "ipad": { - "app": "static/app/icons/76x76.png", - "app@2x": "static/app/icons/152x152.png", - "notification": "static/app/icons/20x20.png", - "notification@2x": "static/app/icons/40x40.png", - "proapp@2x": "static/app/icons/167x167.png", - "settings": "static/app/icons/29x29.png", - "settings@2x": "static/app/icons/58x58.png", - "spotlight": "static/app/icons/40x40.png", - "spotlight@2x": "static/app/icons/80x80.png" - }, - "iphone": { - "app@2x": "static/app/icons/120x120.png", - "app@3x": "static/app/icons/180x180.png", - "notification@2x": "static/app/icons/40x40.png", - "notification@3x": "static/app/icons/60x60.png", - "settings@2x": "static/app/icons/58x58.png", - "settings@3x": "static/app/icons/87x87.png", - "spotlight@2x": "static/app/icons/80x80.png", - "spotlight@3x": "static/app/icons/120x120.png" - } - } - } - }, - "compatible": { - "ignoreVersion": true - } - }, - "quickapp": {}, - "mp-weixin": { - "appid": "wxa2abb91f64032a2b", - "setting": { - "urlCheck": false, - "es6": true, - "minified": true - }, - "usingComponents": true - }, - "mp-alipay": { - "usingComponents": true, - "styleIsolation": "shared" - }, - "mp-baidu": { - "usingComponents": true - }, - "mp-toutiao": { - "usingComponents": true - }, - "uniStatistics": { - "enable": false - }, - "vueVersion": "3", - "h5": { - "router": { - "base": "/" - } - } -} \ No newline at end of file diff --git a/src/pages.json b/src/pages.json deleted file mode 100644 index 15c7ff1..0000000 --- a/src/pages.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "globalStyle": { - "navigationStyle": "default", - "navigationBarTitleText": "unibest", - "navigationBarBackgroundColor": "#f8f8f8", - "navigationBarTextStyle": "black", - "backgroundColor": "#FFFFFF" - }, - "easycom": { - "autoscan": true, - "custom": { - "^fg-(.*)": "@/components/fg-$1/fg-$1.vue", - "^wd-(.*)": "wot-design-uni/components/wd-$1/wd-$1.vue", - "^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)": "z-paging/components/z-paging$1/z-paging$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": "首页", - "icon": "home", - "iconType": "wot" - }, - { - "iconPath": "static/tabbar/example.png", - "selectedIconPath": "static/tabbar/exampleHL.png", - "pagePath": "pages/about/about", - "text": "关于", - "icon": "i-carbon-code", - "iconType": "unocss" - } - ] - }, - "pages": [ - { - "path": "pages/index/index", - "type": "home", - "layout": "tabbar", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "首页" - } - }, - { - "path": "pages/about/about", - "type": "page", - "layout": "tabbar", - "style": { - "navigationBarTitleText": "关于" - } - } - ], - "subPackages": [] -} \ No newline at end of file From 4fc50a6bb53e371ae2b948f6f78a591bbbd9d2d1 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sat, 21 Jun 2025 15:53:24 +0800 Subject: [PATCH 2/3] =?UTF-8?q?Revert=20"chore:=20=E6=9B=B4=E6=96=B0.gitig?= =?UTF-8?q?nore=E5=B9=B6=E5=88=A0=E9=99=A4=E6=9C=AA=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=9A=84=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 28d8000ad82b20e749f50dc1848f1e24ed588220. --- .gitignore | 4 +- src/manifest.json | 113 ++++++++++++++++++++++++++++++++++++++++++++++ src/pages.json | 65 ++++++++++++++++++++++++++ 3 files changed, 179 insertions(+), 3 deletions(-) create mode 100644 src/manifest.json create mode 100644 src/pages.json diff --git a/.gitignore b/.gitignore index 08eedd5..5a73675 100644 --- a/.gitignore +++ b/.gitignore @@ -27,9 +27,7 @@ dist docs/.vitepress/dist docs/.vitepress/cache -src/types -src/pages.json -src/manifest.json +types # lock 文件还是不要了,我主要的版本写死就好了 # pnpm-lock.yaml diff --git a/src/manifest.json b/src/manifest.json new file mode 100644 index 0000000..791ddeb --- /dev/null +++ b/src/manifest.json @@ -0,0 +1,113 @@ +{ + "name": "unibest", + "appid": "__UNI__D1E5001", + "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": { + "hdpi": "static/app/icons/72x72.png", + "xhdpi": "static/app/icons/96x96.png", + "xxhdpi": "static/app/icons/144x144.png", + "xxxhdpi": "static/app/icons/192x192.png" + }, + "ios": { + "appstore": "static/app/icons/1024x1024.png", + "ipad": { + "app": "static/app/icons/76x76.png", + "app@2x": "static/app/icons/152x152.png", + "notification": "static/app/icons/20x20.png", + "notification@2x": "static/app/icons/40x40.png", + "proapp@2x": "static/app/icons/167x167.png", + "settings": "static/app/icons/29x29.png", + "settings@2x": "static/app/icons/58x58.png", + "spotlight": "static/app/icons/40x40.png", + "spotlight@2x": "static/app/icons/80x80.png" + }, + "iphone": { + "app@2x": "static/app/icons/120x120.png", + "app@3x": "static/app/icons/180x180.png", + "notification@2x": "static/app/icons/40x40.png", + "notification@3x": "static/app/icons/60x60.png", + "settings@2x": "static/app/icons/58x58.png", + "settings@3x": "static/app/icons/87x87.png", + "spotlight@2x": "static/app/icons/80x80.png", + "spotlight@3x": "static/app/icons/120x120.png" + } + } + } + }, + "compatible": { + "ignoreVersion": true + } + }, + "quickapp": {}, + "mp-weixin": { + "appid": "wxa2abb91f64032a2b", + "setting": { + "urlCheck": false, + "es6": true, + "minified": true + }, + "usingComponents": true + }, + "mp-alipay": { + "usingComponents": true, + "styleIsolation": "shared" + }, + "mp-baidu": { + "usingComponents": true + }, + "mp-toutiao": { + "usingComponents": true + }, + "uniStatistics": { + "enable": false + }, + "vueVersion": "3", + "h5": { + "router": { + "base": "/" + } + } +} \ No newline at end of file diff --git a/src/pages.json b/src/pages.json new file mode 100644 index 0000000..15c7ff1 --- /dev/null +++ b/src/pages.json @@ -0,0 +1,65 @@ +{ + "globalStyle": { + "navigationStyle": "default", + "navigationBarTitleText": "unibest", + "navigationBarBackgroundColor": "#f8f8f8", + "navigationBarTextStyle": "black", + "backgroundColor": "#FFFFFF" + }, + "easycom": { + "autoscan": true, + "custom": { + "^fg-(.*)": "@/components/fg-$1/fg-$1.vue", + "^wd-(.*)": "wot-design-uni/components/wd-$1/wd-$1.vue", + "^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)": "z-paging/components/z-paging$1/z-paging$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": "首页", + "icon": "home", + "iconType": "wot" + }, + { + "iconPath": "static/tabbar/example.png", + "selectedIconPath": "static/tabbar/exampleHL.png", + "pagePath": "pages/about/about", + "text": "关于", + "icon": "i-carbon-code", + "iconType": "unocss" + } + ] + }, + "pages": [ + { + "path": "pages/index/index", + "type": "home", + "layout": "tabbar", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "首页" + } + }, + { + "path": "pages/about/about", + "type": "page", + "layout": "tabbar", + "style": { + "navigationBarTitleText": "关于" + } + } + ], + "subPackages": [] +} \ No newline at end of file From 6402f8825fab0d839326482b52701e195081ed10 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sat, 21 Jun 2025 15:56:51 +0800 Subject: [PATCH 3/3] =?UTF-8?q?docs:=20=E4=BF=AE=E6=AD=A3=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0=E4=B8=ADVite=E7=9A=84=E7=89=88=E6=9C=AC=E5=8F=B7?= =?UTF-8?q?=E4=BB=8E6=E6=94=B9=E4=B8=BA5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 01b37fa..968a26a 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -60,7 +60,7 @@ safeAreaInsets = systemInfo.safeAreaInsets // #endif const author = ref('菲鸽') const description = ref( - 'unibest 是一个集成了多种工具和技术的 uniapp 开发模板,由 uniapp + Vue3 + Ts + Vite6 + UnoCss + VSCode 构建,模板具有代码提示、自动格式化、统一配置、代码片段等功能,并内置了许多常用的基本组件和基本功能,让你编写 uniapp 拥有 best 体验。', + 'unibest 是一个集成了多种工具和技术的 uniapp 开发模板,由 uniapp + Vue3 + Ts + Vite5 + UnoCss + VSCode 构建,模板具有代码提示、自动格式化、统一配置、代码片段等功能,并内置了许多常用的基本组件和基本功能,让你编写 uniapp 拥有 best 体验。', ) // 测试 uni API 自动引入 onLoad(() => {