index.wxml 1.4 KB

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