business-card.wxml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <view class="container">
  2. <view class="search-w">
  3. <search-bar class="search-bar" bindinput="bindinput" />
  4. <view class="scan" bindtap="toScan"></view>
  5. </view>
  6. <view class="my-card-w">
  7. <view class="title m-t-32">我的名片</view>
  8. <view class="my-card-content" bindtap="toBusinessCard" data-id="{{ my_info.viewerId }}">
  9. <view class="card">
  10. <card scale="0.33" info="{{ my_info }}" />
  11. </view>
  12. <view class="info-item">
  13. <view class="title">{{ my_info.name }}</view>
  14. <view class="info-type">{{ my_info.companyPosition || '' }}</view>
  15. <view class="info-type company">{{ my_info.companyName || '' }}</view>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="friend-card-w">
  20. <view class="title m-t-32">收到的名片({{ business_list.length }})</view>
  21. <view class="friend-card-content">
  22. <view class="friend-card-item" wx:for="{{business_list}}" wx:key="{{index}}" bindtap="toBusinessCard" data-id="{{ item.viewerId }}">
  23. <view class="card">
  24. <card scale="0.33" info="{{ item }}" />
  25. </view>
  26. <view class="info-item" >
  27. <view class="title">{{ item.name }}</view>
  28. <view class="info-type">{{ item.companyPosition || '' }}</view>
  29. <view class="info-type company">{{ item.companyName || '' }}</view>
  30. <view class="call">
  31. <icon icon="maps_call" catchtap="callPhone" data-phone="{{ item.phoneNum }}" />
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. </view>