<nav navName="物流信息"></nav>
<wxs src="../../filters/filter.wxs" module="filter"></wxs>
<view class="page">
  <view class="expresscon">
    <view class="titlebox">
      <view class="row">
        <view class="name">信息来源：</view>
        <view class="desc">{{express.logistics.company_name}}</view>
      </view>
      <view class="row">
        <view class="name">运单编号：</view>
        <view class="desc">{{express.logistics.logistics_no}}</view>
        <view class="copy" bindtap="copy" data-text="{{express.logistics.logistics_no}}" wx:if="{{express.logistics.logistics_no}}">复制</view>
      </view>
    </view>
    <view class="box">
      <view class="expressdesc"  wx:if="{{express.logistics.logistics_content.length>0}}">
        <view class="line" wx:if="{{express.logistics.logistics_content.length>0}}"></view>

      <view class="cell" wx:for="{{express.logistics.logistics_content}}" wx:key="time">
       <image src="{{img_host+'/step.png'}}" class="step" wx:if="{{express.logistics.logistics_status==3 && index==0}}"></image>
       <view class="circle" wx:else></view>
       <view class="date {{index==0?'active':''}}">
          <view class="day">{{filter.transforDay(item.ftime,'day')}}</view>
          <view class="time">{{filter.transforDay(item.ftime,'HM')}}</view>
       </view>
       <view class="desc {{index==0?'active':''}}">{{item.context}}</view>
      </view>
      <!-- <view class="cell">
       <image src="../../assets/images/step.png" class="step"></image>
       <view class="circle"></view>
       <view class="date">
          <view class="day">11-07</view>
          <view class="time">00:23 </view>
       </view>
       <view class="desc"> [北京市丰台区马家堡公司】已收入 
</view>
      </view> -->
    </view>
    <view class="expressdesc" wx:else>
         <view class="tips" style="margin-bottom:40rpx;">
           <view class="tip">未查询到物流信息 </view>
           <view class="tips">您可以到官网查询详细物流信息</view>
         </view>
    </view>
    </view>
  </view>
</view>