018A UI部分完成了
This commit is contained in:
@ -34,7 +34,7 @@
|
||||
<view class="centertxt ">
|
||||
<view class="name" v-text="item.name"></view>
|
||||
<view class="id">
|
||||
<text>信号:{{110+item.RSSI>100?100:110+item.RSSI}}%</text>
|
||||
<text>信号:{{item.RSSI}}dBm</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="rightIco center">
|
||||
@ -71,7 +71,7 @@
|
||||
</view>
|
||||
|
||||
<view class="id">
|
||||
<text>信号:{{110+item.RSSI>100?100:110+item.RSSI}}%</text>
|
||||
<text>信号:{{item.RSSI}}dBm</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@ -377,6 +377,8 @@
|
||||
}
|
||||
these.EquipMents.push(device);
|
||||
}
|
||||
|
||||
these.EquipMents.sort((a, b) => b.RSSI - a.RSSI);//信号好的排前面,一般信号好的是目标设备
|
||||
}
|
||||
}, pagePath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user