index.wxml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!--
  2. - Copyright (C) 2018-2019
  3. - All rights reserved, Designed By www.joolun.com
  4. - 注意:
  5. - 本软件为www.joolun.com开发研制,项目使用请保留此说明
  6. -->
  7. <view class="flex justify-end">
  8. <button class="cu-btn radius margin-right shadow-blur service" open-type="contact" bindcontact="handleContact" wx:if="{{contact}}">
  9. <view class="cuIcon-servicefill text-white"></view>
  10. <text class="text-white">客服</text>
  11. </button>
  12. <button class="cu-btn radius margin-right shadow-blur delete-order" bindtap="orderDel" loading="{{loading}}"
  13. disabled="{{loading}}" type="" wx:if="{{orderInfo.status == '5' && orderInfo.isPay == '0'}}">
  14. <text class="text-white">删除订单</text>
  15. </button>
  16. <button class="cu-btn radius margin-right shadow-blur cancel-order" bindtap="orderCancel" loading="{{loading}}"
  17. disabled="{{loading}}" type="" wx:if="{{orderInfo.isPay == '0' && !orderInfo.status}}">
  18. <text class="text-white">取消订单</text>
  19. </button>
  20. <button class="cu-btn radius margin-right shadow-blur check-logistics" bindtap="orderLogistics" loading="{{loading}}"
  21. disabled="{{loading}}" type="" wx:if="{{orderInfo.deliveryWay == '1' && (orderInfo.status == '2' || orderInfo.status == '3' || orderInfo.status == '4')}}">
  22. <text class="text-white">查看物流</text>
  23. </button>
  24. <button class="cu-btn radius margin-right shadow-blur payment" bindtap="unifiedOrder" loading="{{loading}}"
  25. disabled="{{loading}}" type="" wx:if="{{orderInfo.isPay == '0' && !orderInfo.status}}">
  26. <text class="text-white">付款</text>
  27. </button>
  28. <!-- <button class="cu-btn round line-red margin-right" bindtap="urgeOrder" loading="{{loading}}"
  29. disabled="{{loading}}" type="" wx:if="{{orderInfo.status == '1'}}">
  30. 提醒卖家发货
  31. </button> -->
  32. <button class="cu-btn radius margin-right shadow-blur confirm-goods" bindtap="orderReceive" loading="{{loading}}"
  33. disabled="{{loading}}" type="" wx:if="{{orderInfo.status == '2'}}">
  34. <text class="text-white">确认收货</text>
  35. </button>
  36. <button class="cu-btn radius margin-right shadow-blur evaluation" bindtap="orderAppraise" loading="{{loading}}"
  37. disabled="{{loading}}" type="" wx:if="{{orderInfo.status == '3' && orderInfo.appraisesStatus == '0'}}">
  38. <text class="text-white">评价</text>
  39. </button>
  40. </view>