|
@@ -4,25 +4,26 @@
|
|
|
<RemotePicker bind:selectItem="selectCargoOwner" url="/user/cargoOwner/select" params="{{defaultParams}}" inputStyle="height:60rpx"></RemotePicker>
|
|
<RemotePicker bind:selectItem="selectCargoOwner" url="/user/cargoOwner/select" params="{{defaultParams}}" inputStyle="height:60rpx"></RemotePicker>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
-<block wx:if="{{cargoOwnerId}}">
|
|
|
|
|
- <view class="df aic jcsa tabs" wx:if="{{maintab!=3}}">
|
|
|
|
|
- <view class="tabsview" bindtap="changeStatus" data-status="{{1}}" style="color:{{status==1?'#0d8fcc':''}};border-bottom:{{status==1?'4rpx solid #0d8fcc':''}}">{{maintab==1?'执行中':'已拍照'}}</view>
|
|
|
|
|
- <view class="tabsview" bindtap="changeStatus" data-status="{{2}}" style="color:{{status==2?'#0d8fcc':''}};border-bottom:{{status==2?'4rpx solid #0d8fcc':''}}">{{maintab==1?'历史航次':'未拍照'}}</view>
|
|
|
|
|
|
|
+<!-- <block wx:if="{{cargoOwnerId}}"> -->
|
|
|
|
|
+<view class="df aic jcsa tabs" wx:if="{{maintab!=3}}">
|
|
|
|
|
+ <view class="tabsview" bindtap="changeStatus" data-status="{{1}}" style="color:{{status==1?'#0d8fcc':''}};border-bottom:{{status==1?'4rpx solid #0d8fcc':''}}">{{maintab==1?'执行中':'已拍照'}}</view>
|
|
|
|
|
+ <view class="tabsview" bindtap="changeStatus" data-status="{{2}}" style="color:{{status==2?'#0d8fcc':''}};border-bottom:{{status==2?'4rpx solid #0d8fcc':''}}">{{maintab==1?'历史航次':'未拍照'}}</view>
|
|
|
|
|
+</view>
|
|
|
|
|
+<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.discPort}}</view>
|
|
|
|
|
+ <view class="col-3">{{item.cargo}}</view>
|
|
|
|
|
+ <view class="col-4">{{item.transStatusName}}</view>
|
|
|
|
|
+ <image class="col-5" mode="aspectFit" style="width: 52rpx;height: 52rpx;" catchtap="call" data-phone="{{item.shipOwnerPhone}}" src="../../images/phone.png"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <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.discPort}}</view>
|
|
|
|
|
- <view class="col-3">{{item.cargo}}</view>
|
|
|
|
|
- <view class="col-4">{{item.transStatusName}}</view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view bindtap="scrollList" class="bottom-text">{{total==0?'暂无数据':(total>size*currentPage?'点击或滑动加载更多...':'已加载完毕')}}</view>
|
|
|
|
|
- </scroll-view>
|
|
|
|
|
-</block>
|
|
|
|
|
|
|
+ <view bindtap="scrollList" class="bottom-text">{{total==0?'暂无数据':(total>size*currentPage?'点击或滑动加载更多...':'已加载完毕')}}</view>
|
|
|
|
|
+</scroll-view>
|
|
|
|
|
+<!-- </block> -->
|
|
|
<view style="position: fixed;bottom: 0;">
|
|
<view style="position: fixed;bottom: 0;">
|
|
|
<view class="bottom-tabs df aic tac">
|
|
<view class="bottom-tabs df aic tac">
|
|
|
<view bindtap="changeMainTab" data-maintab="{{1}}" class="maintab1" style="color:{{maintab==1?'#fff':''}};background:{{maintab==1?'#0094FE':''}}" data-api="/voyage/list">我的航次</view>
|
|
<view bindtap="changeMainTab" data-maintab="{{1}}" class="maintab1" style="color:{{maintab==1?'#fff':''}};background:{{maintab==1?'#0094FE':''}}" data-api="/voyage/list">我的航次</view>
|
|
|
- <view bindtap="changeMainTab" data-maintab="{{2}}" class="maintab2" style="color:{{maintab==2?'#fff':'/dayReport/list'}};background:{{maintab==2?'#0094FE':''}}" data-api="/dayReport/list">我的日报</view>
|
|
|
|
|
|
|
+ <view bindtap="changeMainTab" data-maintab="{{2}}" class="maintab2" style="color:{{maintab==2?'#fff':''}};background:{{maintab==2?'#0094FE':''}}" data-api="/dayReport/list">我的日报</view>
|
|
|
<view bindtap="changeMainTab" data-maintab="{{3}}" class="maintab3" style="color:{{maintab==3?'#fff':''}};background:{{maintab==3?'#0094FE':''}}" data-api="/bill/list">我的单据</view>
|
|
<view bindtap="changeMainTab" data-maintab="{{3}}" class="maintab3" style="color:{{maintab==3?'#fff':''}};background:{{maintab==3?'#0094FE':''}}" data-api="/bill/list">我的单据</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|