logisticsDetails.wxml 4.42 KB

  <block wx:if="{{!isLoading}}">
  <view class='orderDetail'>
    <!-- <view class='logoContainer'>
        <image class='logo' src='{{data.logo}}'></image>
    </view> -->
    <view class='container'>
      <block wx:if="{{order_code}}">
        <view class='orderNum'>
          <text class='ordernum'>订单编号:{{order_code}}</text>
        </view>
      </block>
      <view class='orderNum'>
        <text class='ordernum'>物流公司:{{data.caption}}</text>
      </view>
      <view class='orderNum'>
        <text class='ordernum'>快递单号:{{data.express_number}}</text>
        <view class='copyContainer' bindtap='copy' data-copy_content="{{data.express_number}}">
    <text class='copy' >复制</text>
    </view>
      </view>
    </view>
  </view>
<block wx:if="{{order_code}}">
<view class='downloadAppContainer'>
  <view class='downloadApp'>
    <view class='logoView'>
      <image class='logo' style='mode: aspectFit;' src='./images/yoho@3x.png'></image> 
    </view>
  <text class='tips'>下载Yoho!Buy</text>
  <text class='tips'>领取¥99新人福利</text>
  </view>
</view>
</block>

<block wx:if="{{activityResources && activityResources.length > 0}}">
<view wx:if="{{activityResources[0].template_name=='newSingleImage'}}" style="width: {{activityResources[0].data.imageWidth}}rpx;height: {{activityResources[0].data.imageHeight}}rpx;margin-top: 20rpx;">
  <image class='bannerImage' bindtap='jumpByRule' data-jumpurl="{{activityResources[0].data.list[0].url}}" src="{{activityResources[0].data.list&&activityResources[0].data.list.length>0?activityResources[0].data.list[0].src:''}}"></image>
</view>
</block>

  <view class="detailTitleView" style='margin-top: 20rpx;'>
      <text class="detailTitle">物流详情</text>
  </view>

  <view class="line">
  </view>

<view class='cellContainer'>
  <view wx:if="{{firstItem}}" class="cell">
    <block>
      <view class="cellLeft">
        <view class="HLine">
          <image class="dot" src="{{dot1}}"></image> 
         </view>
      </view>
      <view class="cellRight" style="color: #444444;{{!moreDetails?'border: none;':''}}">
                   <text class="text1">{{firstItem.accept_address}}</text>
                  <text class="text2">{{firstItem.acceptTime}}</text> 
        <!-- <text class="text1">123</text>
        <text class="text2">123</text> -->
      </view>
    </block>
    </view>
    <!-- <view class="cellLine"></view>  -->

      <block wx:if="{{moreDetails}}" wx:for="{{list}}" wx:key="unique">
        <view class="cell">
          <block>
              <view class="cellLeft">
                <view class="HLine">
                  <image class="dot" src="{{dot2}}"></image> 
                </view>
              </view>
              <view class="cellRight" style="color: #b0b0b0;{{index==list.length-1?'border: none;':''}}">
                   <text class="text1">{{item.accept_address}}</text>
                  <text class="text2">{{item.acceptTime}}</text> 
                  <!-- <text class="text1">123</text>
                  <text class="text2">123</text> -->
              </view>
          </block>
        </view>
        <!-- <view class="cellLine"></view>  -->
      </block>

  <view class='logisticsDetailMore' bindtap='moreDetails'>
    <text class='text'>详细物流信息</text>
    <view class='arrowView'>
      <image class='arrow' src='./images/arrow_down.png' style="mode: aspectFit;{{moreDetails?'transform: rotate(180deg)':''}}"></image>
    </view>
  </view>
</view>

<block wx:if="{{resources && resources.length > 0}}">
  <view wx:if="{{resources[0].template_name=='newSingleImage'}}" style="width: {{resources[0].data.imageWidth}}rpx;height: {{resources[0].data.imageHeight}}rpx;margin-top: 20rpx;">
    <image class='bannerImage' bindtap='lookup' data-copy_content="已成功复制微信公众号,请到微信中关注我们" data-copy_type='copyWeChat' data-copy_url='Yoho_buy' src="{{resources[0].data.list&&resources[0].data.list.length>0?resources[0].data.list[0].src:''}}"></image>
  </view>
</block>

  <!--猜你喜欢列表-->
  <view class='titleContainer' style='margin-top: 20rpx;'>
    <view class='titleLine'></view>
    <view class='titleDesc'> 为你优选</view>
  </view>

    <view class="likeContainer">
    <block wx:for="{{recommdData}}" wx:key="{{index}}">
        <productListCell item="{{item}}" page-name="{{current_page_name}}"></productListCell>
    </block>
  </view>
</block>
<homenav id="homenav" isShow="{{isShowHomeNav}}"></homenav>