<van-collapse value="{{ activeNames }}" bind:change="onChange">
    <van-collapse-item content-class='content-class' title="{{item.teamleader[0].name+ (language['的团队']||'的团队') +' ('+item.total+')'}}" name="{{index}}" wx:for="{{teams}}" wx:key="index">
        <view class="head">
            <view class="search">
                <van-icon name="search" />
                <input type="text" placeholder="{{language['关键字']||'搜索关键字'}}" data-index="{{index}}" bindinput='onInput' />
            </view>
            <navigator wx:if="{{item.isleader}}" 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.isleader}}" />
        <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}}" />