You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
1.5 KiB
1 lines
1.5 KiB
<scroll-view class="main-container" scroll-y="true" refresher-enabled="{{false}}"><view class="list-item" hover-class="list-item-hover" hover-start-time="0" hover-stay-time="100" data-event-opts="{{[['tap',[['listViewTap',['$0'],[[['deviceListDataShow','id',item.id,'id']]]]]]]}}" onTap="__e" a:for="{{deviceListDataShow}}" a:for-item="item" a:for-index="index" a:key="id"><block a:if="{{item.manufacturer==='eciot'}}"><image class="list-item-img" src="/static/img/ecble.png"></image></block><block a:else><image class="list-item-img" src="/static/img/ble.png"></image></block><text class="list-item-name">{{item.name}}</text><block a:if="{{item.rssi>=-41}}"><image class="list-item-rssi-img" src="/static/img/s5.png" mode="aspectFit"></image></block><block a:else><block a:if="{{item.rssi>=-55}}"><image class="list-item-rssi-img" src="/static/img/s4.png" mode="aspectFit"></image></block><block a:else><block a:if="{{item.rssi>=-65}}"><image class="list-item-rssi-img" src="/static/img/s3.png" mode="aspectFit"></image></block><block a:else><block a:if="{{item.rssi>=-75}}"><image class="list-item-rssi-img" src="/static/img/s2.png" mode="aspectFit"></image></block><block a:else><image class="list-item-rssi-img" src="/static/img/s1.png" mode="aspectFit"></image></block></block></block></block><text class="list-item-rssi">{{item.rssi}}</text><view class="list-item-line"></view></view><block a:if="{{deviceListDataShow.length==0}}"><view class="notice">- 未发现设备,请确认蓝牙是否打开 -</view></block><view class="gap"></view></scroll-view> |