<van-tabs active="{{ active }}" bind:change="onChange" title-active-color='var(--assist)' color='var(--assist)'>
    <van-tab title="我的联系人" />
    <van-tab title="企业联系人" />
</van-tabs>

<van-search custom-class='search' value="{{ value }}" shape="round" background="#fff" placeholder="搜索姓名、手机号" bind:search='onSearch' bind:clear='onClear' />
<view style="height: 20rpx;" />
<view class="box">
    <navigator url="#" class="item" wx:for="{{list}}" wx:key="index" data-item="{{item}}" bindtap="onClick">
        <view class="user">
            <view class="portrait">
                {{item.name[0]}}
            </view>
            <view class="exp">
                <view class="line-1">
                    {{item.name}}
                    <text class="phone">{{item.enterprisename}}</text>
                </view>
                <view class="phone">
                    {{item.position}}
                    {{item.phonenumber}}
                </view>
            </view>
        </view>
    </navigator>
</view>

<My_empty wx:if="{{list.length==0}}" />
<view style="height: 130rpx;" />
<view class="footer">
    <van-button custom-class='base add' bindtap="created">创建\n联系人</van-button>
</view>