@@ -1082,5 +1082,6 @@ | |||
height: 150rpx; | |||
margin: 30rpx 0; | |||
margin-bottom: 0; | |||
width: 100%; | |||
} | |||
</style> |
@@ -67,10 +67,12 @@ | |||
const gotoNextStep = () => { | |||
noticeUser(() => { | |||
console.log("11111") | |||
uni.openBluetoothAdapter() | |||
/* 判断是否打开蓝牙 */ | |||
uni.getBluetoothAdapterState({ | |||
success(res) { | |||
console.log("2222",res) | |||
//如果res.avaliable==false 说明没打开蓝牙 反之则打开 | |||
if (res.available == false) { | |||
uni.showToast({ |