From 8d94ac7da769082dc7cd77261a65d9330db8319e Mon Sep 17 00:00:00 2001 From: subing008 <275120420@qq.com> Date: Thu, 14 Aug 2025 18:30:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DPCL11=E6=B2=A1=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=96=A4=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BLEPages/child/B68T.vue | 638 +++++++++++++++++++++++++++++++++++++ BLEPages/child/PCL11.vue | 5 +- BLEPages/child/SG616BT.vue | 469 +++++++++++++++++++++++++++ pages.json | 15 + 4 files changed, 1126 insertions(+), 1 deletion(-) create mode 100644 BLEPages/child/B68T.vue create mode 100644 BLEPages/child/SG616BT.vue diff --git a/BLEPages/child/B68T.vue b/BLEPages/child/B68T.vue new file mode 100644 index 0000000..d6fdaa8 --- /dev/null +++ b/BLEPages/child/B68T.vue @@ -0,0 +1,638 @@ + + + + + \ No newline at end of file diff --git a/BLEPages/child/PCL11.vue b/BLEPages/child/PCL11.vue index 92f471b..913e5d6 100644 --- a/BLEPages/child/PCL11.vue +++ b/BLEPages/child/PCL11.vue @@ -198,6 +198,9 @@ let num = msg.substring(3, 5) //小数点 let unit = msg.substring(1, 3) //单位 let dw1 = "kg" + if(unit == '01') { + dw1 = 'jin' + } if (unit == "10") { dw1 = "lb" } @@ -213,7 +216,7 @@ } } console.log("weight", type, weight, num, unit, dw1) - that.text = "您的体重是:" + weight + dw1 + that.text = "您的体重是:" + weight if (type == '1') { that.macAddr = device.macAddr that.deviceId = device.deviceId; diff --git a/BLEPages/child/SG616BT.vue b/BLEPages/child/SG616BT.vue new file mode 100644 index 0000000..004af9c --- /dev/null +++ b/BLEPages/child/SG616BT.vue @@ -0,0 +1,469 @@ + + + + + \ No newline at end of file diff --git a/pages.json b/pages.json index 4c1a498..9abd5e2 100644 --- a/pages.json +++ b/pages.json @@ -323,6 +323,21 @@ "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#F9FAFC" } + }, + { + "path": "child/SG616BT", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#F9FAFC" + } + }, + { + "path" : "child/B68T", + "style" : + { + "navigationBarTitleText" : "" + } } ] }],