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 上