billVoyageList.wxml 1.5 KB

123456789101112131415
  1. <DateBar></DateBar>
  2. <view class="search df aic">
  3. <input model:value="{{term}}" confirm-type="search" bindconfirm="inputSearch" type="text" placeholder="航次筛选" placeholder-class="placeholder" />
  4. <image src="../../../images/newUI/search.png" class="avatar" bindtap="inputSearch"></image>
  5. </view>
  6. <view class="df aic tabs">
  7. <view class="tabsview tabsview-1" bindtap="changeStatus" data-status="{{1}}" style="color:{{status==1?'#363F4A':'#9199A3'}};border-bottom:{{status==1?'6rpx solid #0089FD':''}}">单据</view>
  8. <view class="tabsview" bindtap="changeStatus" data-status="{{2}}" data-islab="{{true}}" style="color:{{status==2?'#363F4A':'#9199A3'}};border-bottom:{{status==2?'6rpx solid #0089FD':''}}">提单</view>
  9. </view>
  10. <scroll-view bindrefresherrefresh="scrollDownList" refresher-triggered="{{isFreshing}}" refresher-enabled="{{true}}" scroll-y="true" bindscrolltolower="scrollList" style="height:calc(100vh - 140rpx);padding-bottom: 200rpx;">
  11. <VoyageCard wx:for="{{list}}" wx:key="index" item="{{item}}" data-id="{{item.id}}" bindtap="goToDetail" data-index="{{index}}" data-medias="{{item.medias}}" data-trans="{{item.transStatusName}}">
  12. <image mode="aspectFit" style="width: 40rpx;height: 40rpx;" catchtap="call" data-phone="{{item.shipOwnerPhone}}" src="../../../images/newUI/phone.png"></image>
  13. </VoyageCard>
  14. <!-- <view bindtap="scrollList" class="bottom-text">{{total==0?'暂无数据':(total>size*currentPage?'点击或滑动加载更多...':'已加载完毕')}}</view> -->
  15. </scroll-view>