search.wxml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <view class="container" style="filter:blur({{myqr_blur}}rpx);padding-top:20rpx;">
  2. <!-- 搜索框 -->
  3. <view class="search-box">
  4. <image class="search-img" mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/jzmall/weixin/distribution/icon-search.png"></image>
  5. <input name="input" class="keywrod" focus="true" value="{{goodsName}}" confirm-type="search" bindconfirm="onKeywordConfirm" placeholder="输入商品名称搜索订单" />
  6. </view>
  7. <view class="no-order" wx:if="{{orderList.length <= 0}}">
  8. <view class="c">
  9. <text>还没有任何订单呢</text>
  10. </view>
  11. </view>
  12. <view class="orders">
  13. <view class="order" wx:for="{{orderList}}" wx:key="id">
  14. <!-- <view class="h">
  15. <view class="l">订单编号:{{item.orderSn}}</view>
  16. <view class="r">{{item.bookStatus}}</view>
  17. </view> -->
  18. <navigator url="/pages/ucenter/orderDetail/orderDetail?id={{item.id}}" open-type="redirect" >
  19. <view class="goods" wx:for="{{item.goodsList}}" wx:key="id" wx:for-item="gitem">
  20. <view class="img">
  21. <image src="{{gitem.picUrl}}"></image>
  22. </view>
  23. <view class="info">
  24. <text class="name">{{gitem.goodsName}}</text>
  25. <text class="number">规格:{{gitem.number}}</text>
  26. <text class="number">单价:{{gitem.price}}</text>
  27. </view>
  28. <view class="order-status">
  29. {{item.bookStatus}}
  30. </view>
  31. </view>
  32. </navigator>
  33. <view class="order-id-wrapper">
  34. <view>订单编号:{{item.orderSn}}</view>
  35. <image src="https://jzmall.lifejingzhi.com/file/jzmall/weixin/distribution/icon-copy-grey.png" bindtap="goCopyCode" mode="aspectFit" data-orderid="{{item.orderSn}}"/>
  36. </view>
  37. <view class="b">
  38. <view class="l">
  39. <!-- <view>{{item.orderStatusText}}</view> -->
  40. <view wx:if="{{item.orderType=='推广'}}">分享人:{{item.commissionFrom}}</view>
  41. <view wx:if="{{item.orderType=='推广'}}">购买人:{{item.buyer}}</view>
  42. </view>
  43. <view class="r">
  44. <view class="main-amount">
  45. <text>实付金额:¥{{item.actualPrice}}</text>
  46. </view>
  47. <view class="main-amount">
  48. <text>预计佣金:¥{{item.commissionEstimate}}</text>
  49. </view>
  50. </view>
  51. </view>
  52. <!-- 操作事件 -->
  53. <view class="order-item-operate" >
  54. <view class="order-item-result jz-color">
  55. {{item.orderStatusText}}
  56. </view>
  57. <view class="order-operate-wrapper">
  58. <view catchtap="payOrder" wx:if="{{item.handleOption.pay&&item.orderType=='自购'}}" data-id="{{item.id}}">去付款</view>
  59. <!-- <view catchtap="confirmOrder" wx:if="{{item.handleOption.confirm&&item.orderType=='自购'}}" data-id="{{item.id}}">待上门</view> -->
  60. <view catchtap="deleteOrder" wx:if="{{item.handleOption.delete&&item.orderType=='自购'}}" data-id="{{item.id}}">删除订单</view>
  61. <view catchtap="cancelOrder" wx:if="{{item.handleOption.cancel&&item.orderType=='自购'}}" data-id="{{item.id}}">取消订单</view>
  62. <view data-id="{{item.goodsList[0].goodsId}}" catchtap="shareFriendOrCircle" >分享商品</view>
  63. <view catchtap="viewService" data-id="{{item.id}}" wx:if="{{!(item.orderStatus==101||item.orderStatus==102||item.orderStatus==103)}}">查看服务</view>
  64. </view>
  65. </view>
  66. </view>
  67. </view>
  68. </view>