|
|
@@ -1,39 +1,36 @@
|
|
|
-<block wx:if="{{isLogin}}">
|
|
|
- <map enable-zoom="{{false}}" enable-scroll="{{false}}" markers="{{markers}}" include-points="{{points}}" style="width: 100%;height: 400rpx;" name="map"></map>
|
|
|
- <view class="df aic jcsb p20" style="border-bottom: 1px solid #999;border-top: 1px solid #999;">
|
|
|
- <view class="tabsview" bindtap="changeTab" data-tab="{{2}}" style="color:{{tab==2?'#0d8fcc':''}};border-bottom:{{tab==2?'2rpx solid #0d8fcc':''}}">航次信息</view>
|
|
|
- <view class="tabsview" bindtap="changeTab" data-tab="{{3}}" style="color:{{tab==3?'#0d8fcc':''}};border-bottom:{{tab==3?'2rpx solid #0d8fcc':''}}">单据信息</view>
|
|
|
- <view class="tabsview" bindtap="changeTab" data-tab="{{4}}" style="color:{{tab==4?'#0d8fcc':''}};border-bottom:{{tab==4?'2rpx solid #0d8fcc':''}}">卸货信息</view>
|
|
|
- <view class="tabsview" bindtap="changeTab" data-tab="{{5}}" style="color:{{tab==5?'#0d8fcc':''}};border-bottom:{{tab==5?'2rpx solid #0d8fcc':''}}">航次照片</view>
|
|
|
- </view>
|
|
|
+<!-- <map enable-zoom="{{false}}" enable-scroll="{{false}}" markers="{{markers}}" include-points="{{points}}" latitude="{{latitude}}" longitude="{{longitude}}" style="width: 100%;height: 294rpx;" name="map" class="map"></map> -->
|
|
|
+<view style="width: 100%;height: 294rpx;"></view>
|
|
|
+<view class="df aic jcsa tabs" style="margin-bottom:32rpx">
|
|
|
+ <view class="tabsview {{tab==2?'current-tab':''}}" bindtap="changeTab" data-tab="{{2}}">航次信息</view>
|
|
|
+ <view class="tabsview {{tab==3?'current-tab':''}}" bindtap="changeTab" data-tab="{{3}}">卸货信息</view>
|
|
|
+ <view class="tabsview {{tab==4?'current-tab':''}}" bindtap="changeTab" data-tab="{{4}}">单据信息</view>
|
|
|
+ <view class="tabsview {{tab==5?'current-tab':''}}" bindtap="changeTab" data-tab="{{5}}">航次照片</view>
|
|
|
+</view>
|
|
|
+<scroll-view scroll-y="true" class="scroll" style="{{tab==2?'':'background:#fff'}}" lower-threshold="50">
|
|
|
<view class="type2" wx:if="{{tab==2}}">
|
|
|
- <view class="card">
|
|
|
- <view style="padding: 10rpx 0;border-bottom: 4rpx solid #ddd;">{{shipName}}</view>
|
|
|
- <view>
|
|
|
- <view class="df aic mt20 fs24 c3">
|
|
|
- <view class="df item">
|
|
|
- <view>装货港</view> <text class="mr20">:</text> {{loadPort}}
|
|
|
- </view>
|
|
|
- <view class="df item">
|
|
|
- <view>卸货港</view> <text class="mr20">:</text> {{detailInfos[0].portName}}
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="df aic mt10 fs24 c3">
|
|
|
- <view class="df item">
|
|
|
- <view>货种</view> <text class="mr20">:</text> {{cargo}}
|
|
|
- </view>
|
|
|
- <view class="df item">
|
|
|
- <view>吨位</view> <text class="mr20">:</text> {{tons}}
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+ <view class="card mb20">
|
|
|
+ <view class="line">
|
|
|
+ <view class="title">装货港</view>
|
|
|
+ <view class="content">{{loadPort}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="line">
|
|
|
+ <view class="title">卸货港</view>
|
|
|
+ <view class="content">{{detailInfos[0].portName}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="line">
|
|
|
+ <view class="title">货种</view>
|
|
|
+ <view class="content">{{cargo}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="line" style="margin-bottom:0;">
|
|
|
+ <view class="title">吨位</view>
|
|
|
+ <view class="content">{{tons}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<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;background: #fff;" lower-threshold="50">
|
|
|
<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="{{['df','mb20']}}" style="position: relative;">
|
|
|
+ <view class="{{['mr30','title-circle']}}" style="background: green;z-index: 55;"></view>
|
|
|
<view class="text">
|
|
|
<view class="in-text df">
|
|
|
<view class="card-title" style="color:#000;width: 250rpx;margin-right: 30rpx;">卸货港 #{{item0.sort}}</view>
|
|
|
@@ -45,7 +42,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</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="{{['df','mb20',index==transInfos.length-1?'mb40':'']}}" style="position: relative;" 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>
|
|
|
@@ -55,7 +52,7 @@
|
|
|
</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="{{['df','mb20',index==loadingInfos.length-1?'mb40':'']}}" style="position: relative;" 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>
|
|
|
@@ -66,7 +63,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="{{['df','mb50']}}" style="position: relative;z-index: 2;">
|
|
|
+ <view class="{{['df','mb50']}}" style="position: relative;;">
|
|
|
<view class="{{['mr30','title-circle']}}"></view>
|
|
|
<view class="text">
|
|
|
<view class="in-text df">
|
|
|
@@ -80,80 +77,68 @@
|
|
|
<view class="long-line"></view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <scroll-view wx:else scroll-y="true" style="height:calc(100vh - 494rpx);padding: 30rpx 50rpx;font-size: 28rpx;color:#222" lower-threshold="50" bindscrolltolower="test">
|
|
|
-
|
|
|
-
|
|
|
- <view wx:if="{{tab==3}}">
|
|
|
- <view>保险单</view>
|
|
|
- <view wx:for="{{policys}}" wx:key="index" style="text-align: center;">
|
|
|
- <image data-src="{{item.viewUrl}}" bindtap="previewImage" src="{{item.viewUrl}}" style="width: 60%;height: 240rpx;" mode="aspectFit"></image>
|
|
|
- <view wx:if="{{policys.length&&policys.length!=1}}" class="mt10 mb10" style="border-bottom: 2rpx solid #eee;"></view>
|
|
|
- </view>
|
|
|
- <view class="mt30 mb30" style="border-bottom: 2rpx solid #ccc;"></view>
|
|
|
- <view>运单</view>
|
|
|
- <view wx:for="{{waybills}}" wx:key="index" style="text-align: center;">
|
|
|
- <image data-src="{{item.viewUrl}}" bindtap="previewImage" src="{{item.viewUrl}}" style="width: 60%;height: 240rpx;" mode="aspectFit"></image>
|
|
|
- <view wx:if="{{waybills.length&&waybills.length!=1}}" class="mt10 mb10" style="border-bottom: 2rpx solid #eee;"></view>
|
|
|
- </view>
|
|
|
+ <view class="type3" wx:if="{{tab==4}}">
|
|
|
+ <view class="title">保险单</view>
|
|
|
+ <view wx:for="{{policys}}" wx:if="{{policys.length}}" wx:key="index" style="text-align: center;">
|
|
|
+ <image data-src="{{item.viewUrl}}" bindtap="previewImage" src="{{item.viewUrl}}" style="width: 60%;height: 240rpx;" mode="aspectFit"></image>
|
|
|
+ <view wx:if="{{policys.length&&policys.length!=1}}" class="mt20 mb20"></view>
|
|
|
</view>
|
|
|
- <view wx:if="{{tab==4}}">
|
|
|
- <scroll-view scroll-x="{{true}}" style="white-space: nowrap;">
|
|
|
- <view class="{{['port-btns',currentPortId == item.portId?'current-port-btn':'','mr20']}}" wx:for="{{voyage.voyageDetails}}" bindtap="changePort" data-id="{{item.portId}}">{{item.portName}}</view>
|
|
|
- </scroll-view>
|
|
|
- <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="truck" style="color:{{infoType=='truck'?'#0d8fcc':''}};border-bottom:{{infoType=='truck'?'2rpx solid #0d8fcc':''}}">汽车装货记录</view>
|
|
|
- </view>
|
|
|
- <view class="ship-discharge-list" wx:if="{{infoType=='ship'}}">
|
|
|
- <view class="df aic jcsb mb20 mt10 fs22">
|
|
|
- <view>卸货时间</view>
|
|
|
- <view>卸货吨位</view>
|
|
|
- <view>卸货件数</view>
|
|
|
- <view>磅单</view>
|
|
|
- </view>
|
|
|
- <view wx:for="{{shipDischargeList}}" wx:key="index" class="df aic jcsb mb20 fs22">
|
|
|
- <view>{{item.dischargeTime}}</view>
|
|
|
- <view>{{item.dischargeTons||''}}</view>
|
|
|
- <view>{{item.dischargePieces||''}}</view>
|
|
|
- <view wx:if="{{item.files&&item.files.length}}" bindtap="previewImage" data-src="{{item.files[0].viewUrl}}" data-files="{{item.files}}">查看</view>
|
|
|
- <view wx:else>暂无</view>
|
|
|
- </view>
|
|
|
- <view bindtap="scrollShip" class="bottom-text">{{shipDischargeTotal==0?'暂无数据':(shipDischargeTotal>pageSize*shipDischargeCurrentPage?'点击或滑动加载更多...':'已加载完毕')}}</view>
|
|
|
+ <view wx:if="{{policys.length==0}}" class="no-data">暂无数据</view>
|
|
|
+ <view class="title">运单</view>
|
|
|
+ <view wx:for="{{waybills}}" wx:if="{{waybills.length}}" class="mt20 mb20" wx:key="index" style="text-align: center;">
|
|
|
+ <image data-src="{{item.viewUrl}}" bindtap="previewImage" src="{{item.viewUrl}}" style="width: 60%;height: 240rpx;" mode="aspectFit"></image>
|
|
|
+ </view>
|
|
|
+ <view wx:if="{{waybills.length==0}}" class="no-data">暂无数据</view>
|
|
|
+ </view>
|
|
|
+ <view wx:if="{{tab==3}}">
|
|
|
+ <PortsBar arr="{{voyage.voyageDetails}}" key="portId" currentIndex="{{tab3CurrentDischargeIndex}}" label="portName" bind:tapTab="changePort"></PortsBar>
|
|
|
+ <view class="info-types df aic">
|
|
|
+ <view bindtap="changeInfoType" style="margin-right: 36rpx;" class="{{infoType=='ship'?'current-type':''}}" data-type="ship">船舶卸货记录</view>
|
|
|
+ <view bindtap="changeInfoType" class="{{infoType=='truck'?'current-type':''}}" data-type="truck">汽车装货记录</view>
|
|
|
+ </view>
|
|
|
+ <view class="ship-discharge-list" wx:if="{{infoType=='ship'}}">
|
|
|
+ <view class="df aic jcsb th" wx:if="{{shipDischargeList.length}}">
|
|
|
+ <view class="tr tr-time">卸货时间</view>
|
|
|
+ <view class="tr tr-4">卸货吨位</view>
|
|
|
+ <view class="tr tr-4">卸货件数</view>
|
|
|
+ <view class="tr tr-2">磅单</view>
|
|
|
</view>
|
|
|
- <view class="truck-load-list" wx:if="{{infoType=='truck'}}">
|
|
|
- <view class="df aic jcsb mb20 mt10 fs22">
|
|
|
- <view>车号</view>
|
|
|
- <view>毛重</view>
|
|
|
- <view>皮重</view>
|
|
|
- <view>净重</view>
|
|
|
- <view>称重时间</view>
|
|
|
- <view>单据</view>
|
|
|
- </view>
|
|
|
- <view wx:for="{{truckLoadList}}" wx:key="index" class="df aic jcsb mb20 fs22">
|
|
|
- <view>{{item.carNum}}</view>
|
|
|
- <view>{{item.grossWeight}}</view>
|
|
|
- <view>{{item.tare}}</view>
|
|
|
- <view>{{item.netWeight}}</view>
|
|
|
- <view>{{item.weighTime}}</view>
|
|
|
- <view wx:if="{{item.file}}" bindtap="previewImage" data-src="{{item.file.viewUrl}}">查看</view>
|
|
|
- <view wx:else>暂无</view>
|
|
|
- </view>
|
|
|
- <view bindtap="scrollTruck" class="bottom-text">{{truckLoadTotal==0?'暂无数据':(truckLoadTotal>pageSize*truckLoadCurrentPage?'点击或滑动加载更多...':'已加载完毕')}}</view>
|
|
|
+ <view wx:else="" class="no-data">暂无数据</view>
|
|
|
+ <view wx:for="{{shipDischargeList}}" wx:key="index" class="df aic jcsb td">
|
|
|
+ <view class="tr tr-time">{{item.dischargeTime}}</view>
|
|
|
+ <view class="tr tr-4">{{item.dischargeTons||''}}</view>
|
|
|
+ <view class="tr tr-4">{{item.dischargePieces||''}}</view>
|
|
|
+ <view class="tr tr-2" wx:if="{{item.files&&item.files.length}}" style="color: #0089FD;" bindtap="previewImage" data-src="{{item.files[0].viewUrl}}" data-files="{{item.files}}">查看</view>
|
|
|
+ <view class="tr tr-2" wx:else>暂无</view>
|
|
|
</view>
|
|
|
+ <!-- <view bindtap="scrollShip" class="bottom-text">{{shipDischargeTotal==0?'暂无数据':(shipDischargeTotal>pageSize*shipDischargeCurrentPage?'点击或滑动加载更多...':'已加载完毕')}}</view> -->
|
|
|
</view>
|
|
|
- <view wx:if="{{tab==5}}">
|
|
|
- <view wx:for="{{medias}}" wx:key="index" style="margin-bottom:50rpx;">
|
|
|
- <view style="color: #0c81b8;padding-bottom: 10rpx;margin-bottom: 20rpx; border-bottom: 4rpx dashed rgb(197, 194, 194);">{{item.createTime}}</view>
|
|
|
- <image data-src="{{item.viewUrl}}" bindtap="previewImage" src="{{item.viewUrl}}" style="width: 90%;" mode="aspectFit"></image>
|
|
|
+ <view class="truck-load-list" wx:if="{{infoType=='truck'}}">
|
|
|
+ <view wx:if="{{truckLoadList.length}}" class="df aic jcsb th">
|
|
|
+ <view class="tr tr-car-num">车号</view>
|
|
|
+ <view class="tr tr-3">毛重</view>
|
|
|
+ <view class="tr tr-3">皮重</view>
|
|
|
+ <view class="tr tr-3">净重</view>
|
|
|
+ <view class="tr tr-time">称重时间</view>
|
|
|
+ <view class="tr tr-2">单据</view>
|
|
|
+ </view>
|
|
|
+ <view wx:else="" class="no-data">暂无数据</view>
|
|
|
+ <view wx:for="{{truckLoadList}}" wx:key="index" class="df aic jcsb td">
|
|
|
+ <view class="tr tr-car-num">{{item.carNum}}</view>
|
|
|
+ <view class="tr tr-3">{{item.grossWeight}}</view>
|
|
|
+ <view class="tr tr-3">{{item.tare}}</view>
|
|
|
+ <view class="tr tr-3">{{item.netWeight}}</view>
|
|
|
+ <view class="tr tr-time">{{item.weighTime}}</view>
|
|
|
+ <view class="tr tr-2" wx:if="{{item.file}}" style="color: #0089FD;" bindtap="previewImage" data-src="{{item.file.viewUrl}}">查看</view>
|
|
|
+ <view class="tr tr-2" wx:else>暂无</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </scroll-view>
|
|
|
-</block>
|
|
|
-<block wx:else>
|
|
|
- <image style="margin:0 auto;display:block;width: 400rpx;margin-top: 10vh;height: 140rpx;" mode="aspectFit" src="https://6875-huihenduo-2gx127w7f837b584-1255802371.tcb.qcloud.la/miniapp-static/%E6%B1%87%E5%BE%88%E5%A4%9Alogo-%E5%B7%A6%E5%8F%B3.png?sign=fcd18f89de727b0193395cd2d44a730a&t=1647417257"></image>
|
|
|
- <view style="margin-top: 100rpx;font-size: 50rpx;color: #333;text-align: center;">汇很多运输管家先行版
|
|
|
</view>
|
|
|
- <view class="df jcc" style="position:absolute;bottom: 15vh;width: 100%;">
|
|
|
- <PhoneButton type="primary" bindloginEvent="loginEvent">登录以查看分享</PhoneButton>
|
|
|
+ <view class="type5" wx:if="{{tab==5}}">
|
|
|
+ <view wx:if="{{medias.length}}" wx:for="{{medias}}" wx:key="index">
|
|
|
+ <view class="timer">{{item.createTime}}</view>
|
|
|
+ <image data-src="{{item.viewUrl}}" class="type5-img" bindtap="previewImage" src="{{item.viewUrl}}" mode="aspectFit"></image>
|
|
|
+ </view>
|
|
|
+ <view wx:if="{{medias.length==0}}" class="no-data">暂无照片</view>
|
|
|
</view>
|
|
|
-</block>
|
|
|
+</scroll-view>
|