contacts.wxml 1.1 KB

123456789101112131415161718192021222324
  1. <van-search custom-class='search' value="{{ value }}" shape="round" background="#fff" placeholder="{{language['关键字']||'请输入搜索关键词'}}" bind:search='onSearch' bind:clear='onClear' />
  2. <view style="height: 20rpx;" />
  3. <Yl_ListBox id='ListBox' bind:getlist='getList'>
  4. <view class="box">
  5. <navigator url="#" class="item" wx:for="{{list}}" wx:key="index" data-item="{{item}}" bindtap="onClick">
  6. <view class="user">
  7. <view class="portrait">
  8. {{item.name[0]}}
  9. </view>
  10. <view class="exp">
  11. <view class="line-1">
  12. {{item.name}}
  13. <text class="phone">{{item.enterprisename}}</text>
  14. </view>
  15. <view class="phone">
  16. {{language[item.position]||item.position}}
  17. {{item.phonenumber}}
  18. </view>
  19. </view>
  20. </view>
  21. </navigator>
  22. </view>
  23. <My_empty wx:if="{{list.length==0}}" />
  24. </Yl_ListBox>