| 1234567891011121314151617181920 |
- <view class="df aic jcsb line">
- <view>航次搜索</view>
- <view>
- <input class="new-seach" confirm-type="search" bindconfirm="inputSearch" model:value="{{term}}" type="text" />
- </view>
- </view>
- <view class="df aic jcsa tabs">
- <view class="tabsview" bindtap="changeStatus" data-status="{{0}}" style="color:{{status==0?'#0d8fcc':''}};border-bottom:{{status==0?'4rpx solid #0d8fcc':''}}">未报港</view>
- <view class="tabsview" bindtap="changeStatus" data-status="{{1}}" style="color:{{status==1?'#0d8fcc':''}};border-bottom:{{status==1?'4rpx solid #0d8fcc':''}}">已报港</view>
- </view>
- <scroll-view bindrefresherrefresh="scrollDownList" refresher-triggered="{{isFreshing}}" refresher-enabled="{{true}}" scroll-y="true" bindscrolltolower="scrollList" style="height:calc(100vh - 140rpx);padding-bottom: 100rpx;background: #fff;">
- <view class="df aic jcsb list" wx:for="{{list}}" wx:key="index" bindtap="goToDetail" data-id="{{item.id}}">
- <view class="col-1">{{item.shipName}}</view>
- <view class="col-2">{{item.loadPort}}-{{item.discPort}}</view>
- <view class="col-3">{{item.cargo}}</view>
- <view class="col-4">{{item.transStatusName}}</view>
- <view class="col-5" style="color:#0d8fcc">{{status==0?'去报港':'查看'}}</view>
- </view>
- <view bindtap="scrollList" class="bottom-text">{{total==0?'暂无数据':(total>size*currentPage?'点击或滑动加载更多...':'已加载完毕')}}</view>
- </scroll-view>
|