express.wxml 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. <view class="page">
  2. <view class="page-col">
  3. <view class="column">
  4. <text>快递公司</text>
  5. <text>{{datas.expressCompanyName && datas.expNo ? datas.expressCompanyName : '自提'}}</text>
  6. </view>
  7. <view class="column">
  8. <text>快递单号</text>
  9. <view>
  10. <text>{{datas.expressCompanyName && datas.expNo ? datas.expNo : '无快递单号'}}</text>
  11. <text class="copy" data-number="{{datas.expNo}}" bindtap="copyExpNo" wx:if="{{datas.expNo}}">复制</text>
  12. </view>
  13. </view>
  14. <view class="column" style="border:0;">
  15. <text>物流信息</text>
  16. <text class="sign" wx:if="{{datas.expressCompanyName && datas.expNo}}">{{datas.state == 1?'已揽件':datas.state == 2?'在途中':datas.state == 3?'已完成':datas.state == 4?'问题件':'暂无'}}</text>
  17. <text wx:else>无</text>
  18. </view>
  19. </view>
  20. <view class="page-col padding" wx:if="{{datas.list.length > 0}}">
  21. <!-- -->
  22. <view class="express" wx:for="{{datas.list}}" wx:key="unique">
  23. <view class="left-exp">
  24. <view class="day sign">{{item.AcceptTime}}</view>
  25. <!-- <view class="time sign">16:05</view> -->
  26. </view>
  27. <view class="right-exp sign"><view class="icon {{datas.state == 3 && index == 0 ?'icon-complete':'icon-step'}}"><text class="path1"></text><text class="path2"></text></view>{{item.AcceptStation}}</view>
  28. </view>
  29. </view>
  30. <view class="page-col noExp" wx:if="{{datas.list.length == 0 && datas.expressCompanyName != ''}}">
  31. 暂无物流信息,请到快递官网查询
  32. </view>
  33. </view>