order_detail.wxml 3.7 KB
<!--pages/order_detail/order_detail.wxml-->

<view class='border_detailtop' wx:if='{{postdata.status==1}}'>
 <image src='../imgs/cbg@2x.png' class='bg'></image>
 <view class='detail_left'>
  <view class='topicon'>
   <image src='../imgs/cicon14@2x.png'></image>
  </view>
  <view>已下单</view>
 </view>
 <view class='detali_rigth detali_rigth1' bindtap='cancelorder'  id='{{postdata.id}}'>取消订单</view>
 <navigator class='detali_rigth' url='/pages/appointment/appintment?id={{postdata.id}}' hover-class="other-navigator-hover">修改订单</navigator>
 
</view>
<view class='border_detailtop' wx:if='{{postdata.status==2}}'>
 <image src='../imgs/cbg@2x.png' class='bg'></image>
 <view class='detail_left'>
  <view class='topicon'>
   <image src='../imgs/cicon15@2x.png'></image>
  </view>
  <view>已取货</view>
 </view>
 <navigator class='detali_rigth' url='/pages/wuliu/wuliu?id={{postdata.id}}' hover-class="other-navigator-hover">查看物流</navigator>
</view>
<view class='border_detailtop' wx:if='{{postdata.status==3}}'>
 <image src='../imgs/cbg@2x.png' class='bg'></image>
 <view class='detail_left'>
  <view class='topicon'>
   <image src='../imgs/cicon15@2x.png'></image>
  </view>
  <view>已到达</view>
 </view>
 <navigator class='detali_rigth' url='/pages/wuliu/wuliu?id={{postdata.id}}' hover-class="other-navigator-hover">查看物流</navigator>
</view>
<view class='border_detailtop' wx:if='{{postdata.status==4}}'>
 <image src='../imgs/cbg@2x.png' class='bg'></image>
 <view class='detail_left'>
  <view class='topicon'>
   <image src='../imgs/cicon15@2x.png'></image>
  </view>
  <view>已到绿色分检场</view>
 </view>
</view>
<view class='border_detailtop' wx:if='{{postdata.status==5}}'>
 <image src='../imgs/cbg@2x.png' class='bg'></image>
 <view class='detail_left'>
  <view class='topicon'>
   <image src='../imgs/cicon16@2x.png'></image>
  </view>
  <view>已分类</view>
 </view>
 <view></view>
</view>
<view class='border_detailtop' wx:if='{{postdata.status==5}}'>
 <image src='../imgs/cbg@2x.png' class='bg'></image>
 <view class='detail_left'>
  <view class='topicon'>
   <image src='../imgs/cicon17@2x.png'></image>
  </view>
  <view>已再生利用</view>
 </view>
 <view></view>
</view>
<view class='detalibox'>
 <view class='detail_item'>
  <view class='detail_left_txt'>寄件人</view>
  <view class='detail_rigth'>{{postdata.sender_name}} {{postdata.sender_phone}}</view>
 </view>
 <view class='detail_item'>
  <view class='detail_left_txt'>地 址</view>
  <view class='detail_rigth'>{{postdata.sender_city}}{{postdata.sender_county}}{{postdata.sender_address}}</view>
 </view>
</view>
<view class='detalibox'>
 <view class='detail_item'>
  <view class='detail_left_txt'>预约重量</view>
  <view class='detail_rigth'>{{postdata.totalWeight}}kg</view>
 </view>
 <view class='detail_item'>
  <view class='detail_left_txt'>预约时间</view>
  <view class='detail_rigth'>{{postdata.time}}</view>
 </view>

</view>
<view class='detalibox'>
 <view class='detail_item'>
  <view class='detail_left_txt'>订单编号</view>
  <view class='detail_rigth'>{{postdata.order_number}}</view>
 </view>
 <view class='detail_item'>
  <view class='detail_left_txt'>取货时间</view>
  <view class='detail_rigth'>09/24 14:00</view>
 </view>
 <view class='detail_item'>
  <view class='detail_left_txt'>委托快递</view>
  <view class='detail_rigth'>{{postdata.logistics_name}}</view>
 </view>
</view>
<view class='detalibox'>
 <view class='detail_item'>
  <view class='detail_left_txt'>备 注</view>
  <view class='detail_rigth'>{{postdata.remark}}</view>
 </view>
</view>
<view class='bottom_img' wx:if='{{postdata.status==4}}'>
 <image src='../imgs/cele02@2x.png'></image>
</view>
<import src="../template/template.wxml"></import>
<view>
 <template is="goindex" data></template>
</view>