user_index.wxml 6.1 KB

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