user_index.wxml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;background-color: {{BackColor}};'>
  2. <view class="panel0 FlexRow" wx:if="{{User.IsPromoter==1 && IsPromotion}}">
  3. <view class="panel01Left panel01 FlexRow">
  4. <view>直属推荐</view>
  5. </view>
  6. <view class="panel01Right panel01 FlexRow" bindtap='goto' data-url="user_index?AgentCategory=ambassador" data-type="d">
  7. <view>大使计划</view>
  8. </view>
  9. </view>
  10. <view class="panel0 FlexRow" wx:if="{{User.IsPromoter==1 && !IsPromotion}}">
  11. <view class="panel02Left panel01 FlexRow" bindtap='goto' data-url="user_index?AgentCategory=promotion" data-type="d">
  12. <view>直属推荐</view>
  13. </view>
  14. <view class="panel02Right panel01 FlexRow">
  15. <view>大使计划</view>
  16. </view>
  17. </view>
  18. <image src='{{User.AvatarUrl}}' class="avatar" />
  19. <image wx:if="{{IsPromotion}}" src='../images/promotion_user_home_title01.png' class="promotion_user_home_title01" />
  20. <image wx:if="{{!IsPromotion}}" src='../images/promotion_partner_home_title01.png' class="promotion_user_home_title01" />
  21. <view wx:if="{{IsPromotion}}" class="text2" bindtap='goto' data-url="earnings_list?IsCheck=1&AgentCategory={{AgentCategory}}">{{Total}}</view>
  22. <view wx:if="{{!IsPromotion}}" class="text1" >{{Total}}</view>
  23. <blocl wx:if="{{!IsPromotion}}" bindtap='goto' data-url="earnings_list?IsCheck=1&AgentCategory={{AgentCategory}}">
  24. <view class="text9">大使收益</view>
  25. <view class="text10">{{Total2}}</view>
  26. </blocl>
  27. <!-- <scroll-view wx:if="{{IsPromotion}}" class="panelAD" scroll-x="true" bindscroll="scroll">
  28. <image src='../images/ad.png' class="adImage" />
  29. <image src='../images/ad.png' class="adImage" />
  30. </scroll-view> -->
  31. <view class="panelTitle FlexRow" wx:if="{{IsPromotion}}">
  32. <image src='../images/promotion_user_home_title02.png' class="promotion_user_home_title01" />
  33. </view>
  34. <view class="Null1" wx:if="{{!IsPromotion}}"></view>
  35. <view class="panel1 FlexColumn">
  36. <view class="panel11 FlexRow">
  37. <view class="panel112 FlexColumn" bindtap='goto' data-url="other_list?AgentCategory={{AgentCategory}}&ListType=预估新增收益">
  38. <view class="text3">{{EstimatedNewRevenueTotal}}</view>
  39. <view class="text4">预估新增收益</view>
  40. </view>
  41. <view class="panel112 FlexColumn" bindtap='goto' data-url="other_list?AgentCategory={{AgentCategory}}&ListType=可提现收益">
  42. <view class="text3">{{WithdrawableEarningsTotal}}</view>
  43. <view class="text4">可提现收益</view>
  44. </view>
  45. <view class="panel112 FlexColumn" bindtap='goto' data-url="earnings_list?IsCheck=0&AgentCategory={{AgentCategory}}">
  46. <view class="text3">{{WithdrawableEarnings}}</view>
  47. <view class="text4">即将到账</view>
  48. </view>
  49. </view>
  50. <view class="panel2_0 panel2 FlexRow">
  51. <view class="panel21 FlexRow" bindtap='goto' data-url="earnings_list?IsCheck=all&AgentCategory={{AgentCategory}}">
  52. 历史账单
  53. </view>
  54. <view class="line"></view>
  55. <view class="panel21 FlexRow" bindtap='goto' data-url="result_list?AgentCategory={{AgentCategory}}&ListType=成果记录">
  56. 成果记录
  57. </view>
  58. <view class="line"></view>
  59. <view class="panel21 FlexRow" bindtap='goto' data-url="other_list?AgentCategory={{AgentCategory}}&ListType=退款记录">
  60. 退款记录
  61. </view>
  62. </view>
  63. </view>
  64. <view class="panel12 panel1 FlexRow">
  65. <!-- <view class="panel112 FlexColumn" wx:if="{{!IsPromotion}}">
  66. <image src='../images/promotion_index_rules.png' class="promotion_index_rules" />
  67. <view class="text8">
  68. 大使计划规则
  69. </view>
  70. </view> -->
  71. <view class="panel112 FlexColumn" wx:if="{{!IsPromotion}}" bindtap="goto" data-url="result_list?AgentCategory={{AgentCategory}}&ListType=团队动态">
  72. <image src='../images/promotion_index_workbook.png' class="promotion_index_rules" />
  73. <view class="text8">
  74. 团队动态
  75. </view>
  76. </view>
  77. <view class="panel112 FlexColumn" bindtap="goto" data-url="../../pages_agent/marketing/shareuser">
  78. <image src='../images/promotion_index_code.png' class="promotion_index_rules" />
  79. <view class="text8">
  80. 我的推广物料
  81. </view>
  82. </view>
  83. <!--
  84. <view class="panel112 FlexColumn" wx:if="{{IsPromotion}}">
  85. <image src='../images/promotion_index_rules.png' class="promotion_index_rules" />
  86. <view class="text8">
  87. 推广计划规则
  88. </view>
  89. </view>
  90. <view class="panel112 FlexColumn" bindtap='goto' data-url="userinfo?AgentCategory={{AgentCategory}}">
  91. <image src='../images/promotion_index_userinfo.png' class="promotion_index_rules" />
  92. <view class="text8">
  93. 用户信息
  94. </view>
  95. </view>
  96. <view class="panel112 FlexColumn" bindtap='goto' data-url="message">
  97. <image src='../images/promotion_index_message.png' class="promotion_index_rules" />
  98. <view class="text8">
  99. 消息中心
  100. </view>
  101. <view class="textMessage">新消息</view>
  102. </view>
  103. -->
  104. </view>
  105. <block wx:if="{{IsPromotion}}">
  106. <view class="panelTitle FlexRow">
  107. <image src='../images/promotion_user_home_title03.png' class="promotion_user_home_title01" />
  108. </view>
  109. <view class="panel1 FlexColumn">
  110. <view class="panel111 FlexColumn" bindtap='goto' data-url="other_list?AgentCategory=promotion&ListType=近期报名">
  111. <view class="text3">{{NewUserCount}}</view>
  112. <view class="text4">新报名的朋友</view>
  113. </view>
  114. </view>
  115. <view class="panel3 FlexRow">
  116. <view class="panel13 panel1 FlexColumn" bindtap='goto' data-url="other_list?AgentCategory=promotion&ListType=报名步骤没做完">
  117. <text class="text6">别让这些朋友掉队\n在报名的路上</text>
  118. </view>
  119. <view class="panel14 panel1 FlexColumn" bindtap='goto' data-url="other_list?AgentCategory=promotion&ListType=未续费记录">
  120. <text class="text6">暂未续费\n的朋友</text>
  121. </view>
  122. </view>
  123. </block>
  124. <view style="height:100rpx;"></view>
  125. <!-- <view class="textBottom FlexRow" style="color:{{FrontColor}};">
  126. <view class="panel21 FlexRow" bindtap='goto' data-url="index">
  127. 返回活动
  128. </view>
  129. <view class="line2 line"></view>
  130. <view class="panel21 FlexRow">
  131. 联系客服
  132. </view>
  133. <view class="line2 line"></view>
  134. <view class="panel21 FlexRow" bindtap='gotoIndex'>
  135. 返回秒过
  136. </view>
  137. </view> -->
  138. </view>