|
|
@@ -2,10 +2,9 @@
|
|
|
<view class="df aic jcsa tabs">
|
|
|
<view class="tabsview" bindtap="changeStatus" data-status="{{1}}" style="color:{{status==1?'#0d8fcc':''}};border-bottom:{{status==1?'4rpx solid #0d8fcc':''}}">运输中</view>
|
|
|
<view class="tabsview" bindtap="changeStatus" data-status="{{2}}" style="color:{{status==2?'#0d8fcc':''}};border-bottom:{{status==2?'4rpx solid #0d8fcc':''}}">卸货中</view>
|
|
|
+ <view class="tabsview" bindtap="changeStatus" wx:if="{{type=='voyage'}}" data-status="{{3}}" style="color:{{status==3?'#0d8fcc':''}};border-bottom:{{status==3?'4rpx solid #0d8fcc':''}}">历史航次</view>
|
|
|
</view>
|
|
|
-<scroll-view bindrefresherrefresh="scrollDownList"
|
|
|
-refresher-triggered="{{isFreshing}}"
|
|
|
-refresher-enabled="{{true}}" scroll-y="true" style="height:calc(100vh - {{height}}rpx);background: #fff;">
|
|
|
+<scroll-view bindrefresherrefresh="scrollDownList" refresher-triggered="{{isFreshing}}" refresher-enabled="{{true}}" scroll-y="true" style="height:calc(100vh - {{height}}rpx);background: #fff;">
|
|
|
<view class="df aic jcsb list" wx:for="{{list}}" wx:key="index" data-id="{{item.id}}" bindtap="goToDetail">
|
|
|
<view class="col-1">{{item.shipName}}</view>
|
|
|
<view class="col-2">{{item.loadPort}}-{{item.dischargeProt}}</view>
|