detail.wxml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!-- 头部 样式使用list样式 -->
  2. <view class="setclient-list-item" url="#">
  3. <view class="con">
  4. <view class="portrait {{detail.enterprisename <=2?'min-portrait':''}}">{{handle.getName(detail.enterprisename)}}</view>
  5. <view class="mian">
  6. <view class="label line-1">{{detail.enterprisename}}</view>
  7. <view class="tag-box">
  8. <Yl-tags id="Tags" add ownertable='sa_customers' ownerid='{{detail.sa_customersid}}' />
  9. </view>
  10. </view>
  11. <view class="extend">
  12. <Info />
  13. </view>
  14. </view>
  15. </view>
  16. <!-- 简介 -->
  17. <Yl_Detail list="{{briefs}}">
  18. <!-- 团队管理 -->
  19. <Yl-group id='Group' slot='bottom' add ownertable='sa_customers' ownerid='{{detail.sa_customersid}}' />
  20. </Yl_Detail>
  21. <view style="height: 20rpx;" />
  22. <!-- 功能 -->
  23. <Yl_FunTabs list='{{tabsList}}' active='{{tabsActive}}' bind:onChenge="tabsChange">
  24. <Trace slot='跟进动态' id='Trace' ownertable='sa_customers' ownerid='{{detail.sa_customersid}}' />
  25. <Preview slot='详细信息' list1='{{list1}}' list2='{{list2}}' />
  26. <Address slot='客户地址' id='Address' />
  27. <Contacts slot='联系人' id='Contacts' />
  28. <Financing slot='客户财务信息' id="Financing" />
  29. <view style="height: 140rpx;" />
  30. </Yl_FunTabs>
  31. <!-- 底部 -->
  32. <Yl_Tabbar list='{{tabbarList}}' bind:callback="tabbarOnClick" />
  33. <!-- 处理四字 -->
  34. <wxs module="handle">
  35. module.exports.getName = function (name) {
  36. return name.substring(0, 4)
  37. };
  38. </wxs>