diff --git a/common/untool.js b/common/untool.js
index 9fee9ec..1770878 100644
--- a/common/untool.js
+++ b/common/untool.js
@@ -55,10 +55,10 @@ const confirmModal = (title) => {
})
}
-const showLoading = ()=> {
+const showLoading = (title)=> {
uni.showLoading({
mask: true,
- title: '加载中'
+ title: title || '加载中'
});
}
diff --git a/pages/print/bluetoothPrinter.vue b/pages/print/bluetoothPrinter.vue
index a663785..75a3519 100644
--- a/pages/print/bluetoothPrinter.vue
+++ b/pages/print/bluetoothPrinter.vue
@@ -1,54 +1,123 @@
-
-
-
- 选中的设备:{{deviceId}}
- 设备列表
-
-
-
-
- 设备服务列表
-
-
+
+
+
+ 蓝牙设备列表
+
+
+
+ {{item.name }}
+
+
+ 信号强度: {{item.RSSI}}dBm ({{Math.max(100+item.RSSI,0)}}%)
+
+
+ deviceId:{{item.deviceId}}
+
+
+ Service数量: {{item.advertisServiceUUIDs.length || 0}}
+
+
+
+
+
+
+ 服务列表
+
+
+
+ uuid: {{item.uuid}}
+
+
+
+
+
+
+ 特征值列表
+
+
+
+ uuid: {{item.uuid}}
+
+
+
+
+ write: {{item.properties.write}}
+
+
+ notify: {{item.properties.notify}}
+
+
+ indicate: {{item.properties.indicate}}
+
+
+
+
+
-
-
-
- 特征值
-
-
-
-
-
-
-
-
+
+
+
+
+
\ No newline at end of file