<view class="example-search">
  <t-search model:value="{{value}}" bind:submit="onSubmit" bind:clear="onClear" placeholder="搜索" />
</view>
<t-pull-down-refresh value="{{baseRefresh.value}}" loadingProps="{{loadingProps}}" loadingTexts="{{['下拉刷新', '松手刷新', '正在刷新', '刷新完成']}}" bind:refresh="onPullDownRefresh" bind:scrolltolower="onReachBottom">
  <view style="padding:10px;">
    <t-card wx:for="{{list}}" wx:key="sa_orderid" data-item="{{item}}" bindtap="onClick">
      <view style="flex:1" slot="content">
        <view wx:if="{{item.type}}" class="flex-align-center flex-between card__header">
          <view>
            <t-tag class="mr-5" wx:if="{{item.type}}" variant="light" shape="round" theme="primary" size="small">{{item.type}}</t-tag>
          </view>
        </view>
        <view class="card__body">
          <view class="small ">
            经销商：{{item.enterprisename ||" --"}}
          </view>
          <view class="small colorInfo">
            联系人：{{item.contact ||" --"}}
          </view>
          <view class="small colorInfo">
            联系电话：{{item.phonenumber ||" --"}}
          </view>
          <view class="small colorInfo">
            地址：{{item.province?item.province+item.city+item.county+item.address: " --"}}
          </view>
        </view>
      </view>
    </t-card>
  </view>
</t-pull-down-refresh>