distributionList.wxml 4.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <view>
  2. <view class="section">
  3. <image class="groupDay" src="../../images/groupDay.png"></image>
  4. <view class="picker">
  5. <picker bindchange="bindDateChange" fields="month" mode="date" value="{{date}}">
  6. <view class="choose-day">
  7. <text>{{chooseDate}}</text>
  8. <text class="iconfont icon-xiatiao"></text>
  9. </view>
  10. </picker>
  11. </view>
  12. <view class="income">
  13. <text>预计佣金:¥{{permoney}}</text>
  14. </view>
  15. </view>
  16. <view class="distributionList">
  17. <view class="nav">
  18. <view bindtap="switchNav" class="orderList_item {{currentTab==item.status?'on':''}}" data-current="{{item.status}}" wx:for="{{navList}}" wx:key="id">{{item.name}}</view>
  19. </view>
  20. <swiper bindchange="bindChange" class="swiper-box" current="{{currentTab}}" duration="300" style="height:{{containerHeight}}px">
  21. <swiper-item wx:for="{{navList}}" wx:for-item="navItem" wx:key="id">
  22. <scroll-view scrollY bindscrolltolower="getCurrentList" class="order-scroll-view" scrollTop="{{scrollTop}}" style="height: {{containerHeight}}px">
  23. <view class="noRecordCon" wx:if="{{order.length===0}}">
  24. <image class="noRecordImg" src="../../images/noRecord.png"></image>
  25. <view class="noRecord">还没有记录 快去分享吧~</view>
  26. </view>
  27. <block wx:else>
  28. <view class="item" wx:for="{{order}}" wx:key="id">
  29. <view class="distributionNum">
  30. <text class="distributionTime">{{item.order_num_alias}}</text>
  31. <text class="statusName">{{item.status_name}}</text>
  32. </view>
  33. <block wx:for="{{item.goods_list}}" wx:for-item="goods" wx:key="order_goods_id">
  34. <view class="spu">
  35. <image src='{{goods.goods_images}}' style="width:60px;height:60px;" class='i-class goodsImg' mode='widthFix'></image>
  36. <view class="detail">
  37. <view class="goodsName">{{goods.name}}</view>
  38. <view class="commission text-right">团单金额 ¥{{goods.total}} |
  39. <text wx:if="{{item.order_status_id!=11 && item.order_status_id!=6}}">预估</text>佣金 ¥{{goods.commision}}</view>
  40. <view class="i-flex i-flex-spb text-right text-gray fsz-26 mt5" wx:if="{{goods.has_refund_quantity>0}}">
  41. <span class="i-flex-item" bindtap="handleTipDialog">
  42. 佣金变化:<text class="red">¥{{goods.del_commision}}</text>
  43. <text class="iconfont icon-shuoming text-dark fsz-26" style="margin-left:10rpx;"></text>
  44. </span>
  45. </view>
  46. </view>
  47. </view>
  48. <!-- 维权 -->
  49. <view class="tips px15">
  50. <view class="red fsz-24 pb10" wx:if="{{item.order_status_id==7}}">已退款</view>
  51. <view wx:elif="{{goods.is_refund_state==1&&goods.refund_info}}">
  52. 退款金额:<text class="red" style="margin-right:5rpx;">¥{{goods.refund_info.ref_money}}</text>
  53. <text wx:if="{{goods.refund_info.state==0}}" class="bg-primary text-white tag">{{goods.refund_info.real_refund_quantity}}个 申请中</text>
  54. <text wx:if="{{goods.refund_info.state==3}}" class="bg-sucess text-white tag">{{goods.refund_info.real_refund_quantity}}个 退款成功</text>
  55. <text wx:if="{{goods.refund_info.state==4}}" class="bg-warning text-white tag">{{goods.refund_info.real_refund_quantity}}个 退款失败</text>
  56. </view>
  57. </view>
  58. </block>
  59. <view class="distributionCommision" wx:if="{{item.shipping_fare!='免运费' && item.delivery == 'tuanz_send'}}">
  60. <text class="fareCommision">配送收入: ¥{{item.shipping_fare}}</text>
  61. <text class="totalCommision">合计佣金: ¥{{item.total_commision}}(含配送)</text>
  62. </view>
  63. <view class="distributionCommision" wx:else>
  64. <text class="totalCommision" wx:if="{{item.order_status_id!=5&&item.order_status_id!=7}}">合计佣金: ¥{{item.total_commision}}</text>
  65. </view>
  66. </view>
  67. <i-loadMore tip="{{tip}}" wx:if="{{!isHideLoadMore}}"></i-loadMore>
  68. </block>
  69. </scroll-view>
  70. </swiper-item>
  71. </swiper>
  72. </view>
  73. <view bindtap="refresh" class="refresh">
  74. <text class="iconfont icon-shuaxin refreshImg"></text>
  75. <span>刷新</span>
  76. </view>
  77. <i-dialog visible="{{showTipDialog}}" text="您的”粉丝“购买的商品进行了申请售后,售后成功部分商品进行退款佣金发生变化。" confirmText="知道了" bind:confirm="handleTipDialog" bind:cancel="handleTipDialog" showCancel="{{false}}" iClass="dialogText" iBtn="dialogBtn" />
  78. </view>