voyageList.wxml 1.3 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/hmbb.png" class="avatar" bindtap="inputSearch"></image>
  5. </view>
  6. <view class="df aic tabs">
  7. <view class="tabsview tabsview-1" bindtap="changeStatus" data-status="{{0}}" style="color:{{status==0?'#363F4A':'#9199A3'}};border-bottom:{{status==0?'6rpx solid #0089FD':''}}">未报港</view>
  8. <view class="tabsview" bindtap="changeStatus" data-status="{{1}}" style="color:{{status==1?'#363F4A':'#9199A3'}};border-bottom:{{status==1?'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 - 240rpx);padding-bottom: 100rpx">
  11. <VoyageCard wx:for="{{list}}" wx:key="index" item="{{item}}">
  12. <view catchtap="goToDetail" data-id="{{item.id}}" class="go-to">{{status==0?'去报港':'查看'}}</view>
  13. </VoyageCard>
  14. <!-- <view bindtap="scrollList" class="bottom-text">{{total==0?'暂无数据':(total>size*currentPage?'点击或滑动加载更多...':'已加载完毕')}}</view> -->
  15. </scroll-view>