|
|
@@ -1,20 +1,15 @@
|
|
|
-<view class="df aic jcsb line">
|
|
|
- <view>航次搜索</view>
|
|
|
- <view>
|
|
|
- <input class="new-seach" confirm-type="search" bindconfirm="inputSearch" model:value="{{term}}" type="text" />
|
|
|
- </view>
|
|
|
+<DateBar></DateBar>
|
|
|
+<view class="search df aic">
|
|
|
+ <input model:value="{{term}}" confirm-type="search" bindconfirm="inputSearch" type="text" placeholder="航次筛选" placeholder-class="placeholder" />
|
|
|
+ <image src="../../../images/newUI/hmbb.png" class="avatar" bindtap="inputSearch"></image>
|
|
|
</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 class="df aic tabs">
|
|
|
+ <view class="tabsview tabsview-1" bindtap="changeStatus" data-status="{{0}}" style="color:{{status==0?'#363F4A':'#9199A3'}};border-bottom:{{status==0?'6rpx solid #0089FD':''}}">未报港</view>
|
|
|
+ <view class="tabsview" bindtap="changeStatus" data-status="{{1}}" style="color:{{status==1?'#363F4A':'#9199A3'}};border-bottom:{{status==1?'6rpx solid #0089FD':''}}">已报港</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 bindrefresherrefresh="scrollDownList" refresher-triggered="{{isFreshing}}" refresher-enabled="{{true}}" scroll-y="true" bindscrolltolower="scrollList" style="height:calc(100vh - 240rpx);padding-bottom: 100rpx">
|
|
|
+ <VoyageCard wx:for="{{list}}" wx:key="index" item="{{item}}">
|
|
|
+ <view catchtap="goToDetail" data-id="{{item.id}}" class="go-to">{{status==0?'去报港':'查看'}}</view>
|
|
|
+ </VoyageCard>
|
|
|
+ <!-- <view bindtap="scrollList" class="bottom-text">{{total==0?'暂无数据':(total>size*currentPage?'点击或滑动加载更多...':'已加载完毕')}}</view> -->
|
|
|
</scroll-view>
|