开关
This commit is contained in:
parent
b0f9987eac
commit
8be8b404c9
|
@ -312,7 +312,7 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 点击进行下一步
|
// 点击进行下一步
|
||||||
btnxia(){
|
btnxia(){
|
||||||
if(this.isActive.length == 0){
|
if(this.isActive.length == 0){
|
||||||
// uni.showModal({
|
// uni.showModal({
|
||||||
|
|
|
@ -306,7 +306,7 @@
|
||||||
onLoad: function(option) {
|
onLoad: function(option) {
|
||||||
// 传过来的蓝牙信息
|
// 传过来的蓝牙信息
|
||||||
this.Binddevice()
|
this.Binddevice()
|
||||||
this.objlist = option
|
this.objlist = option
|
||||||
setTimeout(() =>{
|
setTimeout(() =>{
|
||||||
if(this.ver_data == ''){
|
if(this.ver_data == ''){
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
电压 --
|
电压 --
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="info_bot">
|
<view class="info_bot">
|
||||||
MAC号:{{mac}}
|
MAC号:{{mac}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
@ -342,7 +342,7 @@
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// 发送开关
|
// 发送开关
|
||||||
createBLEConnections(e) {
|
createBLEConnections(e) {
|
||||||
let Bluetoothmac = e.name.substring(5)
|
let Bluetoothmac = e.name.substring(5)
|
||||||
|
|
|
@ -279,7 +279,7 @@
|
||||||
this.mapScale = 15
|
this.mapScale = 15
|
||||||
clearTimeout(timer);
|
clearTimeout(timer);
|
||||||
}, 500);
|
}, 500);
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -1174,7 +1174,7 @@
|
||||||
url: '/page_fenbao/device/wifivideo?deviceId=' + this
|
url: '/page_fenbao/device/wifivideo?deviceId=' + this
|
||||||
.qrResult + '&name=' + this.name
|
.qrResult + '&name=' + this.name
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '目前仅支持安卓和iOS系统',
|
title: '目前仅支持安卓和iOS系统',
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
|
@ -1234,7 +1234,7 @@
|
||||||
this.ljljflag = true
|
this.ljljflag = true
|
||||||
this.Binddevice()
|
this.Binddevice()
|
||||||
this.getljlj()
|
this.getljlj()
|
||||||
// this.cztime = ''
|
// this.cztime = ''
|
||||||
// this.danwei = ''
|
// this.danwei = ''
|
||||||
// this.btnmsk = false
|
// this.btnmsk = false
|
||||||
// this.shibaiflag = false
|
// this.shibaiflag = false
|
||||||
|
|
|
@ -549,7 +549,7 @@
|
||||||
|
|
||||||
// 获取自身位置从而获得附近店铺
|
// 获取自身位置从而获得附近店铺
|
||||||
getMyLocation() {
|
getMyLocation() {
|
||||||
uni.getLocation({
|
uni.getLocation({
|
||||||
type: 'wgs84',
|
type: 'wgs84',
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
console.log(res,'resresres');
|
console.log(res,'resresres');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user