<navigator class="setclient-list-item" url="/packageA/setclient/detail?id={{item.sa_customersid}}" wx:for="{{list}}" wx:key="item.sys_enterpriseid" data-item="{{item}}">
    <view class="con">
        <view class="portrait {{item.enterprisename <=2?'min-portrait':''}}">
            {{handle.getName(item.enterprisename)}}
        </view>
        <view class="mian">
            <view class="label line-1">{{item.enterprisename}}</view>
            <view class="tag-box">
                <van-tag custom-class='tag' color='#E7EEFF' text-color='#3874F6' round>公海客户</van-tag>
            </view>
        </view>
        <view class="icon">
            <van-icon name="arrow" />
        </view>
    </view>
</navigator>
<My_empty wx:if="{{!list.length}}" />
<wxs module="handle">
    module.exports.getName = function (name) {
        return name.substring(0, 4)
    };
</wxs>