From 2d09878787469d75cf5fe2f51a257a99b450e04f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A6=85=E9=A5=BC?= <2815246336@qq.com> Date: Thu, 4 Sep 2025 19:40:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=AB=E7=A0=81=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.js | 4 +- manifest.json | 110 +-- pages.json | 8 +- pages/work/inspection/scanSign/scanSign.vue | 114 ++- .../mumu-getQrcode/mumu-getQrcode.vue | 704 +++++++++--------- 5 files changed, 464 insertions(+), 476 deletions(-) diff --git a/config.js b/config.js index 5252cd8..c598822 100644 --- a/config.js +++ b/config.js @@ -1,9 +1,9 @@ // 应用全局配置 module.exports = { // baseUrl: 'http://172.16.129.101:8080/dev-api/', - //baseUrl: 'http://pasd.gxsdxy.cn/prod-api/', + baseUrl: 'https://pasd.gxsdxy.cn/prod-api/', // baseUrl: 'http://172.16.129.101:8080',//172.16.129.101 - baseUrl: 'http://192.168.100.106:8080', + // baseUrl: 'http://localhost:8080', // 应用信息 appInfo: { // 应用名称 diff --git a/manifest.json b/manifest.json index 72e5227..d175ed9 100644 --- a/manifest.json +++ b/manifest.json @@ -1,31 +1,31 @@ { - "name": "平安水电移动端", - "appid": "__UNI__3CA192A", - "description": "", - "versionName": "1.1.0", - "versionCode": "100", - "transformPx": false, - "app-plus": { - "usingComponents": true, - "nvueCompiler": "uni-app", - "splashscreen": { - "alwaysShowBeforeRender": true, - "waiting": true, - "autoclose": true, - "delay": 0 + "name" : "平安水电移动端", + "appid" : "__UNI__3CA192A", + "description" : "", + "versionName" : "1.1.0", + "versionCode" : "100", + "transformPx" : false, + "app-plus" : { + "usingComponents" : true, + "nvueCompiler" : "uni-app", + "splashscreen" : { + "alwaysShowBeforeRender" : true, + "waiting" : true, + "autoclose" : true, + "delay" : 0 }, - "modules": {}, - "permission": { - "Camera": { - "description": "需要访问相机以实现扫码功能" + "modules" : {}, + "permission" : { + "Camera" : { + "description" : "需要访问相机以实现扫码功能" }, - "Flashlight": { - "description": "需要访问闪光灯以支持扫码补光" + "Flashlight" : { + "description" : "需要访问闪光灯以支持扫码补光" } }, - "distribute": { - "android": { - "permissions": [ + "distribute" : { + "android" : { + "permissions" : [ "", "", "", @@ -45,49 +45,49 @@ "" ] }, - "ios": { - "permissions": { - "Camera": { - "description": "需要访问相机以实现扫码功能" + "ios" : { + "permissions" : { + "Camera" : { + "description" : "需要访问相机以实现扫码功能" }, - "PhotoLibraryAdd": { - "description": "需要访问相册以保存图片" + "PhotoLibraryAdd" : { + "description" : "需要访问相册以保存图片" } } }, - "sdkConfigs": {} + "sdkConfigs" : {} } }, - "quickapp": {}, - "mp-weixin": { - "appid": "wx6caa681653417faa", - "setting": { - "urlCheck": false, - "es6": false, - "minified": true, - "postcss": true + "quickapp" : {}, + "mp-weixin" : { + "appid" : "wx6caa681653417faa", + "setting" : { + "urlCheck" : false, + "es6" : false, + "minified" : true, + "postcss" : true }, - "optimization": { - "subPackages": true + "optimization" : { + "subPackages" : true }, - "permission": { - "scope.camera": { - "desc": "需要访问相机以实现扫码功能" + "permission" : { + "scope.camera" : { + "desc" : "需要访问相机以实现扫码功能" } }, - "usingComponents": true + "usingComponents" : true }, - "vueVersion": "2", - "h5": { - "template": "static/index.html", - "devServer": { - "port": 9090, - "https": false + "vueVersion" : "2", + "h5" : { + "template" : "static/index.html", + "devServer" : { + "port" : 9090, + "https" : false }, - "title": "RuoYi-App", - "router": { - "mode": "hash", - "base": "./" + "title" : "RuoYi-App", + "router" : { + "mode" : "hash", + "base" : "./" } } -} \ No newline at end of file +} diff --git a/pages.json b/pages.json index 88d07e4..243877c 100644 --- a/pages.json +++ b/pages.json @@ -95,13 +95,15 @@ { "path": "pages/work/inspection/scanSign/scanSign", "style": { - "navigationBarTitleText": "扫一扫" + "navigationBarTitleText": "扫一扫", + "navigationStyle": "custom" } }, { "path": "pages/work/inspection/scanSign/scanSign2", "style": { - "navigationBarTitleText": "扫一扫" + "navigationBarTitleText": "扫一扫", + "navigationStyle": "custom" } }, { @@ -154,7 +156,7 @@ "text": "工作台" }, { - "pagePath": "pages/work/inspection/scanSign/scanSign2", + "pagePath": "pages/work/inspection/scanSign/scanSign", "iconPath": "static/images/tabbar/scan2.png", "selectedIconPath": "static/images/tabbar/scan2.png", "text": "扫一扫" diff --git a/pages/work/inspection/scanSign/scanSign.vue b/pages/work/inspection/scanSign/scanSign.vue index 354615c..b3b4826 100644 --- a/pages/work/inspection/scanSign/scanSign.vue +++ b/pages/work/inspection/scanSign/scanSign.vue @@ -1,79 +1,75 @@ + + \ No newline at end of file diff --git a/uni_modules/mumu-getQrcode/components/mumu-getQrcode/mumu-getQrcode.vue b/uni_modules/mumu-getQrcode/components/mumu-getQrcode/mumu-getQrcode.vue index d5bf054..77230c6 100644 --- a/uni_modules/mumu-getQrcode/components/mumu-getQrcode/mumu-getQrcode.vue +++ b/uni_modules/mumu-getQrcode/components/mumu-getQrcode/mumu-getQrcode.vue @@ -1,42 +1,28 @@