<view class="content">
    <text class="status">二维码ID：{{qrCode}}</text>
    <text class="status">适配器状态：{{status}}</text>
    <text class="sousuo">是否搜索：{{sousuo}}</text>
    <button bindtap="scan" class="button" type="primary">扫码</button>
</view>
<view class="venues_list">
    <view class="venues_item" wx:for="{{devices}}" wx:key="{{test}}">
        <text class="status">设备名称:{{item.name}}</text>
        <text class="status">设备ID:{{item.deviceId}}</text>
        <text class="status">连接状态:{{connectedDeviceId==item.deviceId?'已连接':'未连接'}}</text>
        <view class="section"></view>
        <view class="section">
            <button bindtap="connectTO" class="button" id="{{item.deviceId}}" type="warn">连接</button>
        </view>
    </view>
</view>
