index.wxml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <t-popup visible="{{visible}}" bind:visible-change="onVisibleChange" placement="bottom">
  2. <view style="background-color: #fff;">
  3. <view class="example-search">
  4. <t-search model:value="{{value}}" bind:submit="onSubmit" bind:clear="onClear" placeholder="搜索" />
  5. </view>
  6. <t-pull-down-refresh
  7. value="{{baseRefresh.value}}"
  8. loadingProps="{{loadingProps}}"
  9. loadingTexts="{{['下拉刷新', '松手刷新', '正在刷新', '刷新完成']}}"
  10. bind:refresh="onPullDownRefresh"
  11. bind:scrolltolower="onReachBottom"
  12. >
  13. <view style="padding:10px;">
  14. <t-card wx:for="{{list}}" wx:key="sa_orderid" data-item="{{item}}" bindtap="onClick">
  15. <view style="flex:1" slot="content">
  16. <view class="flex-align-center flex-between card__header">
  17. <view>
  18. <t-tag class="mr-5" variant="light" shape="round" theme="primary" size="small">{{item.enterprisename}}</t-tag>
  19. <t-tag class="mr-5" variant="light" shape="round" theme="primary" size="small">{{item.type}}</t-tag>
  20. </view>
  21. </view>
  22. <view class="card__body">
  23. <view class="small colorInfo">
  24. 联系人:{{item.contact}}
  25. </view>
  26. <view class="small colorInfo">
  27. 联系电话:{{item.phonenumber}}
  28. </view>
  29. <view class="small colorInfo">
  30. 地址:{{item.province}}{{item.city}}{{item.county}}{{item.address}}
  31. </view>
  32. </view>
  33. </view>
  34. </t-card>
  35. </view>
  36. </t-pull-down-refresh>
  37. </view>
  38. </t-popup>