|
@@ -15,7 +15,7 @@
|
|
|
<view>装货港</view> <text class="mr20">:</text> {{loadPort}}
|
|
<view>装货港</view> <text class="mr20">:</text> {{loadPort}}
|
|
|
</view>
|
|
</view>
|
|
|
<view class="df item">
|
|
<view class="df item">
|
|
|
- <view>卸货港</view> <text class="mr20">:</text> {{discPort}}
|
|
|
|
|
|
|
+ <view>卸货港</view> <text class="mr20">:</text> {{detailInfos[0].portName}}
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="df aic mt10 fz24 c3">
|
|
<view class="df aic mt10 fz24 c3">
|
|
@@ -30,46 +30,49 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view style="position: relative;">
|
|
<view style="position: relative;">
|
|
|
<scroll-view class="card" scroll-y="true" style="height:calc(100vh - 760rpx);position: relative;z-index: 20;" lower-threshold="50">
|
|
<scroll-view class="card" scroll-y="true" style="height:calc(100vh - 760rpx);position: relative;z-index: 20;" lower-threshold="50">
|
|
|
- <view class="{{['df','mb20','mb40']}}" style="position: relative;z-index: 2;">
|
|
|
|
|
- <view class="{{['mr30','title-circle']}}" style="background: green;"></view>
|
|
|
|
|
- <view class="text">
|
|
|
|
|
- <view class="in-text df">
|
|
|
|
|
- <view class="card-title" style="color:#000;width: 250rpx;margin-right: 30rpx;">卸货港</view>
|
|
|
|
|
- <view class="card-title" style="color: #000;">{{arrivalDiscPortTime?"实际到港时间":"预计到港时间"}}</view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="in-text df">
|
|
|
|
|
- <view style="width: 250rpx;margin-right: 30rpx;">{{discPort}}</view>
|
|
|
|
|
- <view>{{arrivalDiscPortTime||expectedArrivalTime}}</view>
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <view wx:for="{{detailInfos}}" wx:for-index="index0" wx:for-item="item0" wx:if="{{item0.setSailTime}}">
|
|
|
|
|
+ <view class="{{['df','mb20']}}" style="position: relative;z-index: 2;">
|
|
|
|
|
+ <view class="{{['mr30','title-circle']}}" style="background: green;"></view>
|
|
|
|
|
+ <view class="text">
|
|
|
|
|
+ <view class="in-text df">
|
|
|
|
|
+ <view class="card-title" style="color:#000;width: 250rpx;margin-right: 30rpx;">卸货港 #{{item0.sort}}</view>
|
|
|
|
|
+ <view class="card-title" style="color: #000;">{{item0.arrivalDiscPortTime?"实际到港时间":"预计到港时间"}}</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="in-text df">
|
|
|
|
|
+ <view style="width: 250rpx;margin-right: 30rpx;">{{item0.portName}}</view>
|
|
|
|
|
+ <view>{{item0.arrivalDiscPortTime||item0.expectedArrivalTime}}</view>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
- <view class="{{['df','mb20',index==transInfos.length-1?'mb40':'']}}" style="position: relative;z-index: 2;" wx:for="{{transInfos}}" wx:key="index">
|
|
|
|
|
- <view class="{{['mr30',index==0?'title-circle transInfos':'circle',arrivalDiscPortTime?'greyback':'']}}"></view>
|
|
|
|
|
- <view class="text">
|
|
|
|
|
- <view wx:if="{{index==0}}" class="card-title">运输中</view>
|
|
|
|
|
- <view class="in-text df">
|
|
|
|
|
- <view style="width: 250rpx;margin-right: 30rpx;">{{item.createTime}}</view>
|
|
|
|
|
- <view>{{item.province}}/{{item.city}}/{{item.district}}</view>
|
|
|
|
|
|
|
+ <view class="{{['df','mb20',index==transInfos.length-1?'mb40':'']}}" style="position: relative;z-index: 2;" wx:for="{{item0.transInfos}}" wx:key="index">
|
|
|
|
|
+ <view class="{{['mr30',index==0?'title-circle transInfos':'circle',arrivalDiscPortTime?'greyback':'']}}"></view>
|
|
|
|
|
+ <view class="text">
|
|
|
|
|
+ <view wx:if="{{index==0}}" class="card-title">运输中</view>
|
|
|
|
|
+ <view class="in-text df">
|
|
|
|
|
+ <view style="width: 250rpx;margin-right: 30rpx;">{{item.createTime}}</view>
|
|
|
|
|
+ <view>{{item.province}}/{{item.city}}/{{item.district}}</view>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
- <view class="{{['df','mb20',index==loadingInfos.length-1?'mb40':'']}}" style="position: relative;z-index: 2;" wx:for="{{loadingInfos}}" wx:key="index">
|
|
|
|
|
- <view class="{{['mr30',index==0?'title-circle':'circle']}}"></view>
|
|
|
|
|
- <view class="text">
|
|
|
|
|
- <view wx:if="{{index==0}}" class="card-title">装货中</view>
|
|
|
|
|
- <view class="in-text df">
|
|
|
|
|
- <view style="width: 250rpx;margin-right: 30rpx;">{{item.createTime}}</view>
|
|
|
|
|
- <view>{{item.province}}/{{item.city}}/{{item.district}}</view>
|
|
|
|
|
|
|
+ <view class="{{['df','mb20',index==loadingInfos.length-1?'mb40':'']}}" style="position: relative;z-index: 2;" wx:for="{{loadingInfos}}" wx:key="index">
|
|
|
|
|
+ <view class="{{['mr30',index==0?'title-circle':'circle']}}"></view>
|
|
|
|
|
+ <view class="text">
|
|
|
|
|
+ <view wx:if="{{index==0}}" class="card-title">装货中</view>
|
|
|
|
|
+ <view class="in-text df">
|
|
|
|
|
+ <view style="width: 250rpx;margin-right: 30rpx;">{{item.createTime}}</view>
|
|
|
|
|
+ <view>{{item.province}}/{{item.city}}/{{item.district}}</view>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
- <view class="{{['df','mb20','mb40']}}" style="position: relative;z-index: 2;">
|
|
|
|
|
- <view class="{{['mr30','title-circle']}}"></view>
|
|
|
|
|
- <view class="text">
|
|
|
|
|
- <view class="card-title">开航</view>
|
|
|
|
|
- <view class="in-text df">
|
|
|
|
|
- <view style="width: 250rpx;margin-right: 30rpx;">{{setSailTime}}</view>
|
|
|
|
|
- <view></view>
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <view class="{{['df','mb50']}}" style="position: relative;z-index: 2;">
|
|
|
|
|
+ <view class="{{['mr30','title-circle']}}"></view>
|
|
|
|
|
+ <view class="text">
|
|
|
|
|
+ <view class="in-text df">
|
|
|
|
|
+ <view class="card-title" style="color:#000;width: 250rpx;margin-right: 30rpx;">开航</view>
|
|
|
|
|
+ <view class="card-title" style="color: #000;">{{item0.setSailTime}}</view>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -94,6 +97,11 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view wx:if="{{tab==4}}">
|
|
<view wx:if="{{tab==4}}">
|
|
|
|
|
+ <scroll-view scroll-x="true" style="width: 100%;">
|
|
|
|
|
+ <view class="df jcsa" style="min-width: 110vw">
|
|
|
|
|
+ <view class="{{['port-btns',currentPortId == item.portId?'current-port-btn':'','mr20']}}" wx:for="{{voyage.voyageDetails}}" bindtap="changePort" data-id="{{item.portId}}">{{item.portName}}</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </scroll-view>
|
|
|
<view class="df aic jcsb pb20" style="border-bottom: 2rpx solid #ddd;">
|
|
<view class="df aic jcsb pb20" style="border-bottom: 2rpx solid #ddd;">
|
|
|
<view bindtap="changeInfoType" data-type="ship" style="color:{{infoType=='ship'?'#0d8fcc':''}};border-bottom:{{infoType=='ship'?'2rpx solid #0d8fcc':''}}">船舶卸货记录</view>
|
|
<view bindtap="changeInfoType" data-type="ship" style="color:{{infoType=='ship'?'#0d8fcc':''}};border-bottom:{{infoType=='ship'?'2rpx solid #0d8fcc':''}}">船舶卸货记录</view>
|
|
|
<view bindtap="changeInfoType" data-type="truck" style="color:{{infoType=='truck'?'#0d8fcc':''}};border-bottom:{{infoType=='truck'?'2rpx solid #0d8fcc':''}}">汽车装货记录</view>
|
|
<view bindtap="changeInfoType" data-type="truck" style="color:{{infoType=='truck'?'#0d8fcc':''}};border-bottom:{{infoType=='truck'?'2rpx solid #0d8fcc':''}}">汽车装货记录</view>
|