voyageManage.wxml 2.3 KB

1234567891011121314151617181920212223242526272829
  1. <view class="df aic jcsb line">
  2. <view>选择货主</view>
  3. <view>
  4. <RemotePicker bind:selectItem="selectCargoOwner" url="/user/cargoOwner/select" params="{{defaultParams}}" inputStyle="height:60rpx"></RemotePicker>
  5. </view>
  6. </view>
  7. <!-- <block wx:if="{{cargoOwnerId}}"> -->
  8. <view class="df aic jcsa tabs" wx:if="{{maintab!=3}}">
  9. <view class="tabsview" bindtap="changeStatus" data-status="{{1}}" style="color:{{status==1?'#0d8fcc':''}};border-bottom:{{status==1?'4rpx solid #0d8fcc':''}}">{{maintab==1?'执行中':'已拍照'}}</view>
  10. <view class="tabsview" bindtap="changeStatus" data-status="{{2}}" style="color:{{status==2?'#0d8fcc':''}};border-bottom:{{status==2?'4rpx solid #0d8fcc':''}}">{{maintab==1?'历史航次':'未拍照'}}</view>
  11. </view>
  12. <scroll-view bindrefresherrefresh="scrollDownList" refresher-triggered="{{isFreshing}}" refresher-enabled="{{true}}" scroll-y="true" style="height:calc(100vh - {{height}}rpx);background: #fff;">
  13. <view class="df aic jcsb list" wx:for="{{list}}" wx:key="index" data-id="{{item.id}}" bindtap="goToDetail" data-medias="{{item.medias}}" data-trans="{{item.transStatusName}}">
  14. <view class="col-1">{{item.shipName}}</view>
  15. <view class="col-2">{{item.loadPort}}-{{item.discPort}}</view>
  16. <view class="col-3">{{item.cargo}}</view>
  17. <view class="col-4">{{item.transStatusName}}</view>
  18. <image class="col-5" mode="aspectFit" style="width: 52rpx;height: 52rpx;" catchtap="call" data-phone="{{item.shipOwnerPhone}}" src="../../images/phone.png"></image>
  19. </view>
  20. <view bindtap="scrollList" class="bottom-text">{{total==0?'暂无数据':(total>size*currentPage?'点击或滑动加载更多...':'已加载完毕')}}</view>
  21. </scroll-view>
  22. <!-- </block> -->
  23. <view style="position: fixed;bottom: 0;">
  24. <view class="bottom-tabs df aic tac">
  25. <view bindtap="changeMainTab" data-maintab="{{1}}" class="maintab1" style="color:{{maintab==1?'#fff':''}};background:{{maintab==1?'#0094FE':''}}" data-api="/voyage/list">我的航次</view>
  26. <view bindtap="changeMainTab" data-maintab="{{2}}" class="maintab2" style="color:{{maintab==2?'#fff':''}};background:{{maintab==2?'#0094FE':''}}" data-api="/dayReport/list">我的日报</view>
  27. <view bindtap="changeMainTab" data-maintab="{{3}}" class="maintab3" style="color:{{maintab==3?'#fff':''}};background:{{maintab==3?'#0094FE':''}}" data-api="/bill/list">我的单据</view>
  28. </view>
  29. </view>