From 2493bb7113fd21e64836ed912ff9ff72ed0fcd1e Mon Sep 17 00:00:00 2001 From: liub Date: Fri, 7 Nov 2025 11:57:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90100?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 192 ++++-- pages.json | 67 +- pages/100/HBY100.vue | 1077 ++++++++++++++++++++++-------- pages/4877/BJQ4877.vue | 12 +- pages/6155/deviceDetail.vue | 13 +- pages/6331/AudioManager.vue | 22 - pages/6331/BJQ6331.vue | 12 +- pages/650/HBY650.vue | 12 +- pages/670/HBY670.vue | 19 +- pages/7305/BJQ7305.vue | 12 +- pages/common/addBLE/LinkBle.vue | 100 +-- pages/common/index/index.vue | 67 +- static/images/4877/4877equip.png | Bin 41350 -> 0 bytes utils/BleHelper.js | 4 +- utils/BleReceive.js | 52 +- utils/Common.js | 144 ++-- 16 files changed, 1278 insertions(+), 527 deletions(-) delete mode 100644 pages/6331/AudioManager.vue delete mode 100644 static/images/4877/4877equip.png diff --git a/App.vue b/App.vue index edb4820..eb826f1 100644 --- a/App.vue +++ b/App.vue @@ -3,7 +3,7 @@ import upgrade from '@/utils/update.js' export default { - onLaunch: function() { + onLaunch: function() { //以下代码仅在开发时使用,否则会出现不可预知的问题。 //清除登陆之外的所有信息; // let store=uni.getStorageInfoSync(); @@ -28,24 +28,29 @@ // }); // uni.clearStorageSync(); //以上代码仅在开发时使用,否则会出现不可预知的问题。 - - + + // #ifdef APP-PLUS + var appid = plus.runtime.appid; + console.log('应用的 appid 为:' + appid); + // #endif }, onShow: function() { console.log('App Show'); //将检查更新换到onshow,因为苹果用户喜欢一直挂着 - uni.getSystemInfo({success:function(res){ - if(res.uniPlatform=='app'){ - bleTool.getBleTool(); - let appid=plus.runtime.appid; - if(appid!=='HBuilder'){ - console.log("appid=",appid); + uni.getSystemInfo({ + success: function(res) { + if (res.uniPlatform == 'app') { + bleTool.getBleTool(); + let appid = plus.runtime.appid; + if (appid !== 'HBuilder') { + console.log("appid=", appid); upgrade.checkAndUpdateWgt(); } - - + + } - }}); + } + }); }, onHide: function() { console.log('App Hide'); @@ -55,66 +60,117 @@ + font-family: "PingFang SC"; + src: url("~@/static/fonts/PingFangSC.ttf") format("opentype"); + } + + @font-face { + font-family: "PingFangBold"; + src: url("~@/static/fonts/PingFangBold.ttf") format("opentype"); + } + \ No newline at end of file diff --git a/pages.json b/pages.json index 2382871..c89a492 100644 --- a/pages.json +++ b/pages.json @@ -252,34 +252,71 @@ } }, { - "path" : "pages/6331/BJQ6331", - "style" : - { - "navigationBarTitleText" : "BJQ6331" + "path": "pages/6331/BJQ6331", + "style": { + "navigationBarTitleText": "BJQ6331" + } + }, + + { + "path": "pages/4877/BJQ4877", + "style": { + "navigationBarTitleText": "BJQ 4877" } }, { - "path" : "pages/6331/AudioManager", - "style" : - { - "navigationBarTitleText" : "语音管理" + "path": "pages/100/HBY100", + "style": { + "navigationBarTitleText": "HBY 100" } }, { - "path" : "pages/4877/BJQ4877", - "style" : - { - "navigationBarTitleText" : "BJQ 4877" + "path": "pages/common/audioManager/AudioList", + "style": { + "navigationBarTitleText": "语音管理", + "disableScroll":true, + "app-plus": { + "bounce":"none", + "titleNView": { + "buttons": [ + + { + "color": "#00000000", + "text": "删", + "fontSize": "10", + "float": "right", + "fontWeight": "normal" + + }, + { + "color": "#ffffffde", + "text": "编辑", + "fontSize": "14", + "float": "right", + "fontWeight": "normal" + + }, + { + "color": "#ffffffde", + "text": "取消", + "fontSize": "14", + "float": "right", + "fontWeight": "normal" + + } + ] + } + } } }, { - "path" : "pages/100/HBY100", + "path" : "pages/common/audioManager/Recording", "style" : { - "navigationBarTitleText" : "HBY 100" + "navigationBarTitleText" : "录制语音" } } - + ], "tabBar": { diff --git a/pages/100/HBY100.vue b/pages/100/HBY100.vue index 56849d9..334b9ca 100644 --- a/pages/100/HBY100.vue +++ b/pages/100/HBY100.vue @@ -1,9 +1,9 @@