groupList.wxml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <view>
  2. <view class="groupList">
  3. <view class="fixed-top">
  4. <view class="nav-bar">
  5. <view class="nav-bar-inner">
  6. <view bindtap="switchNav" wx:for="{{navList}}" wx:key="id" data-id='{{item.id}}' class="nav-bar-item {{currentTab == index ? 'current' : ''}}">{{item.name}}</view>
  7. </view>
  8. </view>
  9. <view class="search-box i-flex">
  10. <view class="filed">
  11. <picker bindchange="bindFiledChange" value="{{fieldIdx}}" range="{{searchfield}}" range-key="{{'name'}}">
  12. <view class="picker">{{searchfield[fieldIdx].name}} <text class="iconfont icon-xiatiao"></text></view>
  13. </picker>
  14. </view>
  15. <view class="search">
  16. <icon class="icon-search" size="14" type="search"></icon>
  17. <input bindconfirm="searchByKey" placeholder="请输入关键词" type="text" value="{{keyword}}" confirm-type="done"></input>
  18. </view>
  19. </view>
  20. </view>
  21. <view class='content-list'>
  22. <view class="noRecordCon" wx:if="{{order.length <= 0}}">
  23. <image class="noRecordImg" src="../../images/noRecord.png"></image>
  24. <view class="noRecord">您还没有相关的订单~</view>
  25. <navigator hoverClass="none" openType="switchTab" url="/lionfish_comshop/pages/index/index">
  26. <view class="goIndex">去购物</view>
  27. </navigator>
  28. </view>
  29. <block wx:else>
  30. <view class="item" wx:for="{{order}}" wx:key="order_id">
  31. <view class="" wx:for="{{item.goods_list}}" wx:for-item="goods" wx:key="order_goods_id">
  32. <view class="orderNum">
  33. <text>团单日期:{{item.createTime}}</text>
  34. <text class="{{item.order_status_id==11?'black':''}} statusName">{{item.status_name}}</text>
  35. </view>
  36. <view class="spu">
  37. <image src='{{goods.goods_images}}' class='i-class goodsImg' mode='widthFix'></image>
  38. <view class="detail">
  39. <view class="spuName i-flex">
  40. <text class="i-flex-item">{{goods.name}}</text>
  41. <view class="u-font-24 bule u-m-l-5" wx:if="{{item.payment_code=='cashon_delivery'}}">货到付款</view>
  42. </view>
  43. <view class="tips">
  44. <span>商品数量:{{goods.quantity}}</span>
  45. <span wx:if="{{goods.option_str !=''}}" class="last">规格:{{goods.option_str}}</span>
  46. </view>
  47. <view class="tips">
  48. <span>商品金额:¥{{goods.total}}</span>
  49. </view>
  50. <view class="tips i-flex i-flex-spb">
  51. <view>有效金额: <text class="red">¥{{goods.order_jishu}}</text></view>
  52. <view wx:if="{{goods.fen_type==1}}">佣金固定金额: <text class="red">{{goods.fen_gumoney}}</text></view>
  53. <view wx:if="{{goods.fen_type==0}}">佣金比例: <text class="red">{{goods.fen_bili}}%</text></view>
  54. </view>
  55. <view class="tips i-flex i-flex-spb">
  56. <view>团长配送费: <text class="red">¥{{goods.head_shipping_fare||0.00}}</text></view>
  57. <view bindtap="handleTipDialog" data-type="{{goods.fen_type==1}}">
  58. 实际佣金: <text class="red">¥{{goods.commision}}</text>
  59. <text class="iconfont icon-shuoming text-dark fsz-28" style="margin-left:10rpx;"></text>
  60. </view>
  61. </view>
  62. <!-- 维权 -->
  63. <view class="tips">
  64. <view class="red" wx:if="{{item.order_status_id==7}}">已退款</view>
  65. <view wx:elif="{{goods.is_refund_state==1&&goods.refund_info}}">
  66. 退款金额:<text class="red">¥{{goods.refund_info.ref_money}} </text>
  67. <text wx:if="{{goods.refund_info.state==0}}" class="bg-primary text-white tag">{{goods.refund_info.real_refund_quantity}}个 申请中</text>
  68. <text wx:if="{{goods.refund_info.state==3}}" class="bg-sucess text-white tag">{{goods.refund_info.real_refund_quantity}}个 退款成功</text>
  69. <text wx:if="{{goods.refund_info.state==4}}" class="bg-warning text-white tag">{{goods.refund_info.real_refund_quantity}}个 退款失败</text>
  70. </view>
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. <view class="song_button">
  76. <view class="goods-sign-btn" data-phone="{{item.shipping_tel}}" bindtap='callPhone'>
  77. <image src='../../images/phone.png'></image> {{item.shipping_name}}
  78. </view>
  79. <view class='song_button_item'>
  80. <view wx:if="{{currentTab==2}}" class="goods-sign-btn" data-order_id="{{item.order_id}}" bindtap='sign_one'>确认签收</view>
  81. <view class="goods-sign-btn gray" data-order_id="{{item.order_id}}" bindtap='goOrderDetail'>查看详情</view>
  82. </view>
  83. </view>
  84. </view>
  85. <i-loadMore tip="{{tip}}" wx:if="{{!isHideLoadMore}}"></i-loadMore>
  86. </block>
  87. </view>
  88. </view>
  89. <i-modal scrollUp="{{false}}" visible="{{showTipDialog}}">
  90. <view class="rule-modal bg-f w90p rounded">
  91. <view class="fsz-30 weight border-bottom text-center py10">佣金计算规则</view>
  92. <view class="p15 border-bottom fsz-24 line-height">
  93. <view class="mb5 i-flex"><view class="text-gray">佣金结算前:</view>有效金额=商品金额-退款金额</view>
  94. <view class="mb5 i-flex"><view class="text-gray">佣金结算后:</view>有效金额=商品金额</view>
  95. <view class="mb5 i-flex">
  96. <view class="text-gray">佣金固定金额:</view>
  97. <view class="i-flex-item">实际佣金(有效金额-退款金额)/有效金额*佣金固定金额</view>
  98. </view>
  99. <view class="mb5 i-flex" wx:if="{{fen_type==0}}">
  100. <view class="text-gray">商品配送费:</view>
  101. <view class="i-flex-item">商品配送费收入=有效金额/订单总金额*总配送费</view>
  102. </view>
  103. <block wx:else>
  104. <view class="mb5 i-flex">
  105. <view class="text-gray">商品配送费:</view>
  106. <view class="i-flex-item">
  107. <view>1. 商品配送费收入=有效金额/订单总金额*总配送费</view>
  108. <view>2. 退商品配送费=退款金额/有效金额*配送费</view>
  109. </view>
  110. </view>
  111. <view class="mb5 i-flex">
  112. <view class="text-gray">配送费结算时间:</view>
  113. <view class="i-flex-item">从确认收货或核销后开始,直到售后期<block wx:if="{{open_aftersale}}">{{open_aftersale_time||0}}天</block>结束,系统自动结算</view>
  114. </view>
  115. </block>
  116. <view class="mb5 i-flex">
  117. <view class="text-gray">佣金结算时间:</view>
  118. <view class="i-flex-item">从确认收货或核销后开始,直到售后期<block wx:if="{{open_aftersale}}">{{open_aftersale_time||0}}天</block>结束,系统自动结算</view>
  119. </view>
  120. <view class="mb5 red">最终可得佣金以实际计算结果为准</view>
  121. </view>
  122. <view class="fsz-30 bule text-center py10" bindtap="handleTipDialog">知道了</view>
  123. </view>
  124. </i-modal>
  125. </view>