From 8c4807f35dca71ad7d5bbc4870fa57294e450b8a Mon Sep 17 00:00:00 2001 From: woody Date: Fri, 10 Oct 2025 14:55:43 +0800 Subject: [PATCH 1/2] =?UTF-8?q?chore:=20=E6=89=93=E5=8C=85=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 131 +++++++++++++++++++++--------------------- pages/index/index.vue | 53 ++++------------- 2 files changed, 78 insertions(+), 106 deletions(-) diff --git a/manifest.json b/manifest.json index a903045..bb75340 100644 --- a/manifest.json +++ b/manifest.json @@ -1,34 +1,34 @@ { - "name": "qyj_console", - "appid": "__UNI__31B4587", - "description": "", - "versionName": "1.0.0", - "versionCode": "100", - "transformPx": false, + "name" : "qyj_console", + "appid" : "__UNI__31B4587", + "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 + "app-plus" : { + "usingComponents" : true, + "nvueStyleCompiler" : "uni-app", + "compilerVersion" : 3, + "splashscreen" : { + "alwaysShowBeforeRender" : true, + "waiting" : true, + "autoclose" : true, + "delay" : 0 }, /* 模块配置 */ - "modules": { - "Bluetooth": {}, - "Barcode": {}, - "Camera": {}, - "Fingerprint": {}, - "FaceID": {} + "modules" : { + "Bluetooth" : {}, + "Barcode" : {}, + "Camera" : {}, + "Fingerprint" : {}, + "FaceID" : {} }, /* 应用发布信息 */ - "distribute": { + "distribute" : { /* android打包配置 */ - "android": { - "permissions": [ + "android" : { + "permissions" : [ "", "", "", @@ -45,66 +45,67 @@ "", "" ], - "abiFilters": [ - "armeabi-v7a", - "arm64-v8a", - "x86" - ] + "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ] }, /* ios打包配置 */ - "ios": { - "dSYMs": false + "ios" : { + "dSYMs" : false }, /* SDK配置 */ - "sdkConfigs": { - "push": {} + "sdkConfigs" : { + "push" : {} } } }, /* 快应用特有相关 */ - "quickapp": {}, + "quickapp" : {}, /* 小程序特有相关 */ - "mp-weixin": { - "appid": "wxe26d23c09932e93b", - "setting": { - "urlCheck": false, - "es6": false, - "minified": false + "mp-weixin" : { + "appid" : "wxe26d23c09932e93b", + "setting" : { + "urlCheck" : false, + "es6" : false, + "minified" : false }, - "usingComponents": true + "usingComponents" : true }, - "mp-alipay": { - "usingComponents": true + "mp-alipay" : { + "usingComponents" : true }, - "mp-baidu": { - "usingComponents": true + "mp-baidu" : { + "usingComponents" : true }, - "mp-toutiao": { - "usingComponents": true + "mp-toutiao" : { + "usingComponents" : true }, - "uniStatistics": { - "enable": false + "uniStatistics" : { + "enable" : false }, - "vueVersion": "2", - "h5": { - "template": "index.html", - "router": { - "mode": "hash" + "vueVersion" : "2", + "h5" : { + "template" : "index.html", + "router" : { + "mode" : "hash" }, - "devServer": { - "https": false, - "port": 8000, - "disableHostCheck": true, - "proxy": { - "/prod-api": { - "target": "http://192.168.0.104:8080", - "changeOrigin": true, - "pathRewrite": { - "^/prod-api": "" + "devServer" : { + "https" : false, + "port" : 8000, + "disableHostCheck" : true, + "proxy" : { + "/prod-api" : { + "target" : "http://192.168.0.104:8080", + "changeOrigin" : true, + "pathRewrite" : { + "^/prod-api" : "" } } } + }, + "optimization" : { + "treeShaking" : { + "enable" : true + } } }, - "fallbackLocale": "zh-Hans" + "fallbackLocale" : "zh-Hans" } diff --git a/pages/index/index.vue b/pages/index/index.vue index 71006c1..d668a13 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,9 +1,9 @@