index.wxml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <wxs src='../../pages/wxs/util.wxs' module='filter' />
  2. <popup show="{{showPopup}}" opacity='6'>
  3. <view class="pop_content">
  4. <view style="color:gray;line-height: 1.5;">你已被停用<text>{{organStatus?'机构':'分享家'}}</text>身份,无法再通过分享来获得佣金。可联系对应工作人员重新启用(注:未到账佣金不受影响,验票后到账)
  5. </view>
  6. <view class="btns" bindtap="closePopup">确定</view>
  7. </view>
  8. </popup>
  9. <view class="bg">
  10. <view class="subtitleColor-bg">
  11. <view class="userInfo">
  12. <image src='{{info.avatar}}' mode="aspectFill" lazy-load="true"></image>
  13. <view class="userName">{{info.nickname}}</view>
  14. <view class="level {{info.roleTypeDisable==1 ?'stop_user':(info.sharerInfo.levelMax==1?'ordinary':(info.sharerInfo.levelMax==2?'copper':(info.sharerInfo.levelMax==3?'silver':(info.sharerInfo.levelMax==4?'gold':(info.sharerInfo.levelMax==5?'super':'')))))}}" wx:if="{{info.roleType=='sharer'}}">
  15. <text class="icon icon-sharer-level"></text>
  16. <text>{{info.sharerInfo.levelMax==1?'普通':(info.sharerInfo.levelMax==2?'铜牌':(info.sharerInfo.levelMax==3?'银牌':(info.sharerInfo.levelMax==4?'金牌':(info.sharerInfo.levelMax==5?'超级':''))))}}</text>
  17. </view>
  18. <view wx:if="{{info.roleType=='organ'}}" class="level {{info.roleTypeDisable==1?'stop_user':'organTip'}}">机构</view>
  19. <view class="sharer-status font10" bindtap="showInstract" wx:if="{{info.roleTypeDisable==1 }}">已停用</view>
  20. </view>
  21. <view class="rule_ins" data-type="0" bindtap="jumptoIns">
  22. <text class="icon icon-exclamatory"></text>
  23. 规则说明
  24. </view>
  25. </view>
  26. <view class="modular modular-pad" style="margin-top:0">
  27. <view class="modal-title">佣金钱包</view>
  28. <view class="modal-label color_gray">
  29. <view class="tab-row">
  30. <view class="col" data-url="/pages/sharingHome/wallet" bindtap='navigatorURl'>
  31. <view class="price">¥<text>{{coin.coinTatal || '0.00'}}</text></view>
  32. <view>总佣金</view>
  33. </view>
  34. <view class="col" data-url="/pages/sharingHome/wallet" bindtap='navigatorURl'>
  35. <view class="price">¥<text>{{coin.coinBalance || '0.00'}}</text></view>
  36. <view>剩余佣金</view>
  37. </view>
  38. <!-- todo:内容 -->
  39. <view class="col" data-url="/pages/sharingHome/inviteUser?type=1&roleType={{info.roleType}}" bindtap='navigatorURl'>
  40. <view class="price"><text>{{invitee.directMemberNum || '0'}}</text>人</view>
  41. <view>下级会员</view>
  42. </view>
  43. </view>
  44. <view>
  45. <view class="row-flex">
  46. <view class="col-8 link" data-url="/pages/sharingHome/willAccount" bindtap='navigatorURl'>
  47. <view class="font12">¥<text class="font18 subtitleColor">{{coin.coinUnpaidAccount || '0.00'}}</text></view>
  48. <view class='label'>
  49. <text class="font12">即将入账</text>
  50. </view>
  51. </view>
  52. <view class="col-8 link line" data-url="/pages/sharingHome/wallet" bindtap='navigatorURl'>
  53. <view style="flex: 1;">
  54. <view class="font12">¥<text class="font18 subtitleColor">{{coin.coinReflect>0?coin.coinReflect:'0.00' }}</text></view>
  55. <view class='label'>
  56. <text class="font12">已提现</text>
  57. </view>
  58. </view>
  59. </view>
  60. <view class="col-8 link" data-url="/pages/sharingHome/wallet" bindtap='navigatorURl'>
  61. <view class="font12">¥<text class="font18 subtitleColor">{{coin.coinUsageAmount>0?coin.coinUsageAmount:'0.00'}}</text></view>
  62. <view class='label'>
  63. <text class="font12">已使用</text>
  64. </view>
  65. </view>
  66. </view>
  67. </view>
  68. </view>
  69. </view>
  70. <!-- <view class="share-num color_gray">
  71. <view class="share-num-item" data-url="/pages/sharingHome/inviteUser?type=0&roleType={{info.roleType}}" bindtap='navigatorURl'>
  72. <view class="person font12"><text class="subtitleColor">{{invitee.directMemberNum || 0}}</text>人</view>
  73. <view class="font12">一级会员</view>
  74. </view>
  75. <view class="share-num-item" data-url="/pages/sharingHome/inviteUser?type=1&roleType={{info.roleType}}" bindtap='navigatorURl'>
  76. <view class="person font12"><text class="subtitleColor">{{invitee.directSharerNum || 0}}</text>人</view>
  77. <view class="font12">{{info.roleType == 'sharer' ? '下级分享家':'下级机构'}}</view>
  78. </view>
  79. <view class="share-num-item" data-url="/pages/sharingHome/inviteUser?type=2&roleType={{info.roleType}}" bindtap='navigatorURl'>
  80. <view class="person font12"><text class="subtitleColor">{{invitee.indirectMemberNum || 0}}</text>人</view>
  81. <view class="font12">间接会员</view>
  82. </view>
  83. </view> -->
  84. <!-- <view class="modular modular-pad" wx:if="{{info.roleType=='sharer'}}">
  85. <view class="modal-title title-link ">
  86. <view class="share_title">
  87. <text>分享家等级</text>
  88. <text class="upgrade_ins subtitleColor" data-type="1" bindtap="jumptoIns">晋级说明 <text class="icon icon-arrow font12"></text></text>
  89. </view>
  90. </view>
  91. <view class="modal-label share_level">
  92. <view class="next-level">
  93. <view class="upgrade">
  94. {{info.sharerInfo.levelMax==5?'当前为':'升级至'}}<text class="subtitleColor">{{sharerLevelInfo.level}}</text>
  95. </view>
  96. <view class="power">
  97. <view class="power_title">可享权益:</view>
  98. <view class="power_item">1)邀请下级购买3天及以上活动的返佣比例提升:
  99. <text>
  100. <text class="subtitleColor">{{sharerLevelInfo.scaleCurrent+'%'+(info.sharerInfo.levelMax<5?('→'+sharerLevelInfo.scaleNext+'%'):'')}}</text><text class="icon icon-promote"></text>
  101. </text>
  102. </view>
  103. <view class="power_item">2)获得<text class="subtitleColor">{{sharerLevelInfo.price}}枚宝贝币</text>,可用来兑换抢购特权或购买抵现</view>
  104. <view class="power_item">3)获得<text class="subtitleColor">升级福利</text>({{filter.getSharerPower(info.sharerInfo.levelMax)}})</view>
  105. </view>
  106. </view>
  107. <block wx:if="{{info.sharerInfo.levelMax<5}}">
  108. <view class="method method_1">
  109. <view class="method_title">途径1</view>
  110. <view class="method_ins">邀请{{sharerLevelInfo.levelPlan1}}名新用户报名2天内活动({{sharerLevelInfo.level_exp1+'/'+sharerLevelInfo.levelPlan1}})</view>
  111. <view class="step_line">
  112. <view class="line"></view>
  113. <view class="cercle_box" style="{{'left:'+sharerLevelInfo.percent1}}">
  114. <view class="cercle"></view>
  115. </view>
  116. </view>
  117. </view>
  118. <view class="method method_2">
  119. <view class="method_title">途径2</view>
  120. <view class="method_ins">邀请{{sharerLevelInfo.levelPlan2}}名用户报名3天及以上活动({{sharerLevelInfo.level_exp2+'/'+sharerLevelInfo.levelPlan2}})</view>
  121. <view class="step_line">
  122. <view class="line"></view>
  123. <view class="cercle_box" style="{{'left:'+sharerLevelInfo.percent2}}">
  124. <view class="cercle"></view>
  125. </view>
  126. </view>
  127. <view class="tip">满足任意一个途径要求即可晋级</view>
  128. </view>
  129. </block>
  130. </view>
  131. </view> -->
  132. <view class="modular modular-pad">
  133. <view class="modal-label">
  134. <physicalForCard title="分销产品" icon="'icon-sale-product'" link="/pages/sharingHome/shareActivity"></physicalForCard>
  135. </view>
  136. </view>
  137. <!-- <view class="modular modular-pad" wx:if="{{info.roleType=='sharer'}}">
  138. <view class="modal-label">
  139. <physicalForCard title="分享家排行榜" icon="'icon-sharer-rank'" link="/pages/sharingHome/rankList"></physicalForCard>
  140. </view>
  141. </view> -->
  142. </view>
  143. <downTimer listData="{{swipeList}}" isShareGroup></downTimer>