logistics.wxml 2.4 KB
<!-- 商品 -->
<view class="block">
  <view>
    <!-- <view class="show_good">
    <image src="{{item.kuaidi.product_image}}" mode="aspectFill"/>
     <view class="dai" wx:if="{{item.kuaidi.State==0}}">待取件</view>
                      <view class="dai" wx:if="{{item.kuaidi.State==1}}">已揽收</view>
                      <view class="dai" wx:if="{{item.kuaidi.State==2}}">在途中</view>
                      <view class="dai" wx:if="{{item.kuaidi.State==3}}">已签收</view>
                      <view class="dai" wx:if="{{item.kuaidi.State==4}}">问题件</view>
  </view> -->

    <!-- 物流 -->
    <view class="logistics">
      <view class="address_info" wx:if="{{info.length>1}}">【收获地址】{{detail.address_area}}{{detail.address_address}} {{detail.address_mobile}}
      </view>
      <view class="info" wx:for="{{info}}" wx:key='' bindtap="selectinfo" data-index="{{index}}">
        <view class="right">
          <view class="name">
            <text>{{item.kuaidi.name}} {{item.kuaidi.LogisticCode}}</text>
            <text class="copyAction" bindtap="copy" data-num="{{item.kuaidi.LogisticCode}}">复制</text>
          </view>
          <view class="pack" wx:if="{{item.kuaidi.goods_number&&item.kuaidi.goods_number>0}}">当前快递含有{{item.kuaidi.goods_number}}个商品</view>
        </view>
        <view class="name" style="display: flex;">
            <text>订单详情 您的订单总计{{sum}}件商品,本包裹发货{{item.goods_number}}件商品。请注意查验货品,如有疑问请及时联系我方客服。</text>
        </view>
        <view class="order_box {{item.open?'':'normalHeight'}}">
          <view class="order_item" wx:for="{{item.kuaidi.Traces}}" wx:key="index">
            <view class="time_box">
              <view class="date">{{item.AcceptTime}}</view>
            </view>
            <view class="status_img">
              <image src="/images/icon_62.png" mode="widthFix" />
              <view class="line" />
            </view> 
            <view class="status_info"> 
              <view class="status_word">{{item.Remark?item.Remark:''}}</view>
              <view class="status_word">{{item.AcceptStation}}</view>
            </view>
          </view>

        </view>
        <view class="look_more" wx:if="{{item.kuaidi.Traces.length>2}}" bindtap="lookMoreInfo" data-index='{{index}}'>点击查看更多物流详情</view>
      </view>
    </view>
  </view>
</view>