<view><view class="status_bar"></view><view style="position:relative;top:40px;"><view style="position:fixed;z-index:100;"><uni-nav-bar vue-id="21dd00f7-1" left-icon="back" left-text="返回" title="设备分配" data-event-opts="{{[['^clickLeft',[['clickLeft']]]]}}" bind:clickLeft="__e" bind:__l="__l"></uni-nav-bar></view><view class="utabs"><view style="width:95%;margin:0 auto;"><u-tabs vue-id="21dd00f7-2" list="{{list}}" is-scroll="{{true}}" current="{{current}}" item-width="140" font-size="24" gutter="20" bar-width="60" active-color="#42b983" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" bind:__l="__l"></u-tabs></view></view><view class="bases_search"><view class="bases_search_text"><u-icon class="search" vue-id="21dd00f7-3" name="search" data-event-opts="{{[['^click',[['searchs']]]]}}" bind:click="__e" bind:__l="__l"></u-icon><input type="text" placeholder="请输入设备ID" data-event-opts="{{[['input',[['__set_model',['','inputdata','$event',[]]]]]]}}" value="{{inputdata}}" bindinput="__e"/></view></view><block wx:if="{{nonetf}}"><view class="loading">暂无可分配设备</view></block><view class="ass_list"><checkbox-group data-event-opts="{{[['change',[['checkboxchange',['$event']]]]]}}" class="che_group" bindchange="__e"><block wx:for="{{$root.l0}}" wx:for-item="items" wx:for-index="indexs" wx:key="id"><label><block wx:if="{{items.g0+1}}"><view class="equipment"><view class="equipment_top"><image class="equipment_top_img" src="{{'http://www.hnyfwlw.com:8006/bigdata_app/image/fourMoodBase/'+assignments.id+'.png'}}" mode></image><label class="equipment_top_name _span">{{assignments.type_name}}</label><checkbox class="ucheckbox" value="{{items.m0}}" checked="{{items.$orig.check}}" color="#42b983"></checkbox></view><view class="equipment_bot"><view class="equipment_bot_id _p">{{"设备ID："+items.$orig.id}}</view><view class="equipment_bot_name _p">{{"设备名称："+items.$orig.type_name}}</view><view class="equipment_state">在线</view></view></view></block></label></block></checkbox-group></view><view class="allocbtn"><button data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" class="cancel" bindtap="__e">取消分配</button><button data-event-opts="{{[['tap',[['canfirm',['$event']]]]]}}" class="canfirm" bindtap="__e">确定分配</button></view></view><block wx:if="{{isTop}}"><view data-event-opts="{{[['tap',[['top',['$event']]]]]}}" class="top" bindtap="__e"><image src="{{'http://www.hnyfwlw.com:8006/bigdata_app'+'/image/6209a98f0cb3b5086f2ca36152c9269.png'}}" mode></image></view></block></view>