From 052a7116c5bcee67d5f9e8006ed8608e266ff1f7 Mon Sep 17 00:00:00 2001 From: liub Date: Thu, 27 Nov 2025 10:53:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=93=9D=E7=89=99=E6=90=9C=E7=B4=A2=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=BF=AE=E6=94=B9,=E6=B7=BB=E5=8A=A0=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E7=AD=9B=E9=80=89=EF=BC=8C=E4=BB=8E=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E8=BF=9B=E5=85=A5=E6=97=B6=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=B8=A6=E4=B8=8A=E8=93=9D=E7=89=99=E5=90=8D=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/common/addBLE/addEquip.vue | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/pages/common/addBLE/addEquip.vue b/pages/common/addBLE/addEquip.vue index d0fa275..f91c2be 100644 --- a/pages/common/addBLE/addEquip.vue +++ b/pages/common/addBLE/addEquip.vue @@ -51,9 +51,13 @@ 搜索设备 刷新 + + + + v-show="item.name.indexOf(search)>-1"> @@ -148,6 +152,7 @@ } }, + search:'',//筛选 PairEquip: [], //已配对设备 EquipMents: [], //搜索出来的设备 device: null, @@ -171,6 +176,7 @@ } }, onLoad(option) { + debugger; let search = option.search; these = this; eventChannel = this.getOpenerEventChannel(); @@ -367,6 +373,10 @@ eventChannel.on('detailData', function(rec) { console.log("接收到父页面的参数:", rec); these.device = rec.data; + if(rec.data.bluetoothName){ + these.search=rec.data.bluetoothName.replace('JQZM-',''); + } + startValidDevice(); these.refreshBleList(); }); @@ -805,10 +815,10 @@ padding: 30rpx; box-sizing: border-box; width: 100%; - height: calc(100% - 300rpx); + height: calc(100% - 240rpx); overflow-y: scroll; position: absolute; - top: 300rpx; + top: 240rpx; left: 0rpx; } @@ -830,16 +840,17 @@ align-content: center; align-items: center; justify-content: space-between; - margin-bottom: 20rpx; + margin-bottom:30rpx; } .list { min-height: 120rpx; + } .searchList { width: 100%; - height: calc(100% - 186rpx); + height: calc(100% - 260rpx); overflow-y: scroll; } @@ -1010,4 +1021,12 @@ filter: none !important; -webkit-filter: none !important; } + + .uni-mt-5 { + background-color: #000000; + } + + .uni-easyinput__content { + background-color: #121212 !important; + } \ No newline at end of file