From 033300f0274182f8ae062d373b9d909567da2d56 Mon Sep 17 00:00:00 2001
From: WindowBird <13870814+windows-bird@user.noreply.gitee.com>
Date: Wed, 3 Sep 2025 13:45:50 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0-=E6=B7=BB=E5=8A=A0=E8=AE=BE?=
=?UTF-8?q?=E5=A4=87=E8=B0=83=E8=AF=95=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
page_user/luru/bind_mac.vue | 140 +++++++++++++++++++-----------------
1 file changed, 75 insertions(+), 65 deletions(-)
diff --git a/page_user/luru/bind_mac.vue b/page_user/luru/bind_mac.vue
index 562bcc5..f1b2da8 100644
--- a/page_user/luru/bind_mac.vue
+++ b/page_user/luru/bind_mac.vue
@@ -29,19 +29,19 @@
type="text"
/>
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ 卡商:{{ kaname }}
+ 请点击选择卡商
+
+
+
+ 版本:{{ hardwareInfo.version }}
+ 请点击选择版本
+
+
+ 版本介绍:{{ hardwareInfo.instructions }}
+
+
确认添加
-
-
-
-
+
+ 返回
+ 蓝牙链接
+ 响铃寻车
-
-
-
-
-
-
+ 蓝牙开锁
+ 蓝牙关锁
+ 进入烧录
+ 设备重启
+ 接口响铃
+
@@ -498,27 +498,31 @@ export default {
})
},
open() {
- let vm = this // 将外部的 this 绑定到 vm 上
- uni.getNetworkType({
- success(res) {
- if (res.networkType !== 'none') {
- uni.getConnectedBluetoothDevices({
- success(res) {
- console.log('已连接的蓝牙设备信息:', res)
- xBlufi.notifySendCustomData({
- customData: '11open',
- })
- },
- fail(err) {
- uni.hideLoading()
- console.error('获取已连接蓝牙设备信息失败:', err)
- },
- })
- } else {
- console.log('手机未连接网络')
- }
- },
- })
+ xBlufi.notifySendCustomData({
+ customData: '11open',
+ })
+ xBlufi.notifySendCustomData({
+ customData: 'open',
+ })
+ // let vm = this // 将外部的 this 绑定到 vm 上
+ // uni.getNetworkType({
+ // success(res) {
+ // if (res.networkType !== 'none') {
+ // uni.getConnectedBluetoothDevices({
+ // success(res) {
+ // console.log('已连接的蓝牙设备信息:', res)
+
+ // },
+ // fail(err) {
+ // uni.hideLoading()
+ // console.error('获取已连接蓝牙设备信息失败:', err)
+ // },
+ // })
+ // } else {
+ // console.log('手机未连接网络')
+ // }
+ // },
+ // })
},
shaoru() {
let vm = this // 将外部的 this 绑定到 vm 上
@@ -544,27 +548,33 @@ export default {
})
},
close() {
- let vm = this // 将外部的 this 绑定到 vm 上
- uni.getNetworkType({
- success(res) {
- if (res.networkType !== 'none') {
- uni.getConnectedBluetoothDevices({
- success(res) {
- console.log('已连接的蓝牙设备信息:', res)
- xBlufi.notifySendCustomData({
- customData: '11close',
- })
- },
- fail(err) {
- uni.hideLoading()
- console.error('获取已连接蓝牙设备信息失败:', err)
- },
- })
- } else {
- console.log('手机未连接网络')
- }
- },
- })
+ xBlufi.notifySendCustomData({
+ customData: '11close',
+ })
+ xBlufi.notifySendCustomData({
+ customData: 'close',
+ })
+ // let vm = this // 将外部的 this 绑定到 vm 上
+ // uni.getNetworkType({
+ // success(res) {
+ // if (res.networkType !== 'none') {
+ // uni.getConnectedBluetoothDevices({
+ // success(res) {
+ // console.log('已连接的蓝牙设备信息:', res)
+ // xBlufi.notifySendCustomData({
+ // customData: '11close',
+ // })
+ // },
+ // fail(err) {
+ // uni.hideLoading()
+ // console.error('获取已连接蓝牙设备信息失败:', err)
+ // },
+ // })
+ // } else {
+ // console.log('手机未连接网络')
+ // }
+ // },
+ // })
},
ring() {
let vm = this // 将外部的 this 绑定到 vm 上