<!-- 头部 样式使用list样式 -->
<view class="setclient-list-item" url="#">
    <view class="con">
        <view class="portrait {{detail.enterprisename <=2?'min-portrait':''}}">{{handle.getName(detail.enterprisename)}}</view>
        <view class="mian">
            <view class="label line-1">{{detail.enterprisename}}</view>
            <view class="tag-box">
                <Yl-tags id="Tags" add ownertable='sa_customers' ownerid='{{detail.sa_customersid}}' />
            </view>
        </view>
        <view class="extend">
            <Info />
        </view>
    </view>
</view>
<!-- 简介 -->
<Yl_Detail list="{{briefs}}">
    <!-- 团队管理 -->
    <Yl-group id='Group' slot='bottom' add ownertable='sa_customers' ownerid='{{detail.sa_customersid}}' />
</Yl_Detail>
<view style="height: 20rpx;" />
<!-- 功能 -->
<Yl_FunTabs list='{{tabsList}}' active='{{tabsActive}}' bind:onChenge="tabsChange">
    <Trace slot='跟进动态' id='Trace' ownertable='sa_customers' ownerid='{{detail.sa_customersid}}' />
    <Preview slot='详细信息' list1='{{list1}}' list2='{{list2}}' />
    <Address slot='客户地址' id='Address' />
    <Contacts slot='联系人' id='Contacts' />
    <Financing slot='客户财务信息' id="Financing" />
    <view style="height: 140rpx;" />
</Yl_FunTabs>
<!-- 底部 -->
<Yl_Tabbar list='{{tabbarList}}' bind:callback="tabbarOnClick" />
<!-- 处理四字 -->
<wxs module="handle">
    module.exports.getName = function (name) {
        return name.substring(0, 4)
    };
</wxs>