<van-collapse value="{{ activeNames }}" bind:change="onChange">
    <van-collapse-item content-class='content-class' title="{{item.teamleader[0].name+'的团队 ('+item.total+')'}}" name="{{index}}" wx:for="{{teams}}" wx:key="index">
        <view class="head">
            <view class="search">
                <van-icon name="search" />
                <input type="text" placeholder="搜索关键字" data-index="{{index}}" bindinput='onInput' />
            </view><!--  wx:if="{{item.ismyteam}}" -->
            <navigator url="#" class="add" bindtap="toAdd">
                <van-icon name="plus" />
            </navigator>
        </view>
        <!--  teamleaderId='{{item.teamleader[0].userid}}' -->
        <List id='List' list='{{item.team}}' ownertable='{{ownertable}}' ownerid='{{ownerid}}' ismyteam="{{item.ismyteam}}" />
        <block wx:if="{{item.team.length==0}}">
            <My_empty />
            <view style="height: 30rpx;" />
        </block>
    </van-collapse-item>
</van-collapse>
<My_empty wx:if="{{teams.length==0}}" />