完成100
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<view class="content contentBg">
|
||||
<view class="eq">
|
||||
<view class="leftImg" @click.stop="previewImg(formData.img)">
|
||||
<image class="img" :src="formData.img" mode="aspectFit"></image>
|
||||
<view class="leftImg" @click.stop="previewImg(device.devicePic?device.devicePic:formData.img)">
|
||||
<image class="img" :src="device.devicePic?device.devicePic:formData.img" mode="aspectFit"></image>
|
||||
</view>
|
||||
<view class="rightTxt">
|
||||
<view class="row">
|
||||
@ -26,6 +26,10 @@
|
||||
<text class="lbl">设备名称</text>
|
||||
<text class="value">{{device.deviceName}}</text>
|
||||
</view>
|
||||
<view class="item">
|
||||
<text class="lbl">Mac地址</text>
|
||||
<text class="value">{{device.deviceMac}}</text>
|
||||
</view>
|
||||
<view class="item">
|
||||
<text class="lbl">蓝牙名称</text>
|
||||
<text class="value">{{device.bluetoothName}}</text>
|
||||
@ -308,7 +312,7 @@
|
||||
usrToggle: true,
|
||||
},
|
||||
formData: {
|
||||
img: '/static/images/6155/DeviceDetail/equip.png',
|
||||
img: '/static/images/common/BJQ6331.png',
|
||||
battary: '',
|
||||
xuhang: '',
|
||||
blename: '',
|
||||
@ -395,7 +399,7 @@
|
||||
}
|
||||
these.formData.blename = f.name ? f.name : "Unname";
|
||||
these.formData.deviceName = device.deviceName;
|
||||
these.formData.img = device.devicePic;
|
||||
|
||||
|
||||
these.formData.deviceId = f.deviceId;
|
||||
ble.LinkBlue(f.deviceId, f.writeServiceId, f.wirteCharactId, f.notifyCharactId).then(res => {
|
||||
|
||||
Reference in New Issue
Block a user