index.wxml 1.5 KB

123456789101112131415161718192021222324252627282930
  1. <view class="example-search">
  2. <t-search model:value="{{value}}" bind:submit="onSubmit" bind:clear="onClear" placeholder="{{language['关键字']||'搜索'}}" />
  3. </view>
  4. <t-pull-down-refresh value="{{baseRefresh.value}}" loadingProps="{{loadingProps}}" loadingTexts="{{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">{{language[item.type]||item.type}}</t-tag>
  11. </view>
  12. </view>
  13. <view class="card__body">
  14. <view class="small ">
  15. {{language['企业']||'企业'}}:{{item.enterprisename ||" --"}}
  16. </view>
  17. <view class="small colorInfo">
  18. {{language['联系人']||'联系人'}}:{{item.contact ||" --"}}
  19. </view>
  20. <view class="small colorInfo">
  21. {{language['联系电话']||'联系电话'}}:{{item.phonenumber ||" --"}}
  22. </view>
  23. <view class="small colorInfo">
  24. {{language['地址']||'地址'}}地址:{{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>