order_detail.wxml 5.5 KB
<!--pages/order_detail/order_detail.wxml-->
<view class='border_detailtop' wx:if='{{postdata.status==-1}}'>
 <image src='https://wxapp.xianghejia.cn/imgs/cbg@2x.png' class='bg'></image>
 <view class='detail_left'>
  <view class='topicon'>
   <image src='https://wxapp.xianghejia.cn/imgs/cicon14@2x.png'></image>
  </view>
  <view>已取消</view>
 </view>
 <view class='detali_rigth ' bindtap='ifdetelorder' wx:if='{{postdata.status != -1}}' >删除订单</view>
</view>
<view class='border_detailtop' wx:if='{{postdata.status==1}}'>
 <image src='https://wxapp.xianghejia.cn/imgs/cbg@2x.png' class='bg'></image>
 <view class='detail_left'>
  <view class='topicon'>
   <image src='https://wxapp.xianghejia.cn/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='https://wxapp.xianghejia.cn/imgs/cbg@2x.png' class='bg'></image>
 <view class='detail_left'>
  <view class='topicon'>
   <image src='https://wxapp.xianghejia.cn/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='https://wxapp.xianghejia.cn/imgs/cbg@2x.png' class='bg'></image>
 <view class='detail_left'>
  <view class='topicon'>
   <image src='https://wxapp.xianghejia.cn/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='https://wxapp.xianghejia.cn/imgs/cbg@2x.png' class='bg'></image>
 <view class='detail_left'>
  <view class='topicon'>
   <image src='https://wxapp.xianghejia.cn/imgs/cicon15@2x.png'></image>
  </view>
  <view>已到绿色分检场</view>
 </view>
</view>
<view class='border_detailtop' wx:if='{{postdata.status==5}}'>
 <image src='https://wxapp.xianghejia.cn/imgs/cbg@2x.png' class='bg'></image>
 <view class='detail_left'>
  <view class='topicon'>
   <image src='https://wxapp.xianghejia.cn/imgs/cicon16@2x.png'></image>
  </view>
  <view>已分类</view>
 </view>
 <view></view>
</view>
<view class='border_detailtop' wx:if='{{postdata.status==6}}'>
 <image src='https://wxapp.xianghejia.cn/imgs/cbg@2x.png' class='bg'></image>
 <view class='detail_left'>
  <view class='topicon'>
   <image src='https://wxapp.xianghejia.cn/imgs/cicon17@2x.png'></image>
  </view>
  <view>已再生利用</view>
 </view>
 <view></view>
</view>
<view class='border_detailtop' wx:if='{{postdata.status==7}}'>
 <image src='https://wxapp.xianghejia.cn/imgs/cbg@2x.png' class='bg'></image>
 <view class='detail_left'>
  <view class='topicon'>
   <image src='https://wxapp.xianghejia.cn/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.weight_scope==null?'暂无':postdata.weight_scope}}</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' wx:if="{{postdata.get_time !='1970-01-01 08:00:00'}}">
  <view class='detail_left_txt'>取货时间</view>
  <view class='detail_rigth'>{{postdata.get_time}}</view>
 </view>
  <view class='detail_item' wx:if="{{postdata.reach_time !='1970-01-01 08:00:00'}}">
  <view class='detail_left_txt'>到达时间</view>
  <view class='detail_rigth'>{{postdata.reach_time}}</view>
 </view>
 <view class='detail_item' wx:if="{{postdata.classify_time !='1970-01-01 08:00:00'}}">
  <view class='detail_left_txt'>分类时间</view>
  <view class='detail_rigth'>{{postdata.classify_time}}</view>
 </view>
 <view class='detail_item' wx:if="{{postdata.rebirth_time !='1970-01-01 08:00:00'}}">
  <view class='detail_left_txt'>利用时间</view>
  <view class='detail_rigth'>{{postdata.rebirth_time}}</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='https://wxapp.xianghejia.cn/imgs/cele02@2x.png'></image>
</view>
<import src="../template/template.wxml"></import>
<view>
 <template is="goindex" data></template>
</view>