|
@@ -35,11 +35,11 @@ Page({
|
|
|
isLogin: false,
|
|
|
greeting: "",
|
|
|
bannerList: [{
|
|
|
- "pic": "https://music-play.oss-cn-shenzhen.aliyuncs.com/device/20241028142233669038262.png"
|
|
|
- },
|
|
|
- {
|
|
|
- "pic": "https://music-play.oss-cn-shenzhen.aliyuncs.com/device/20240823145816541223911.png"
|
|
|
- }
|
|
|
+ "pic": "https://music-play.oss-cn-shenzhen.aliyuncs.com/device/20241028142233669038262.png"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "pic": "https://music-play.oss-cn-shenzhen.aliyuncs.com/device/20240823145816541223911.png"
|
|
|
+ }
|
|
|
],
|
|
|
autoplay: true,
|
|
|
interval: 3000, // 切换时间间隔
|
|
@@ -223,6 +223,7 @@ Page({
|
|
|
let hasBle = that.data.deviceList.find(item => {
|
|
|
return item.connectType == 1;
|
|
|
})
|
|
|
+ console.log("hasBle:", hasBle)
|
|
|
if (hasBle) {
|
|
|
///监听蓝牙设备
|
|
|
BtHelper.getInstance().initBluetoothAdapter();
|
|
@@ -263,7 +264,7 @@ Page({
|
|
|
case "connect":
|
|
|
lexin_subscribe.subscribeAllDevice();
|
|
|
break;
|
|
|
- ///再走有在线
|
|
|
+ ///再走有在线
|
|
|
case "message_onoffline":
|
|
|
lexin_connect.searchOnlineDevice(payloads, function (list) {
|
|
|
that.updateDeviceList(list, false, false);
|