contribution.wxml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <view class="bg">
  2. <view class="con-top">
  3. <view class="top-part">
  4. <view class="top-text">现有平台合伙人</view>
  5. <view class="top-count">{{pinfo.platfrom_pcount}}人</view>
  6. <view class="clear"></view>
  7. </view>
  8. <view class="top-main">
  9. <view class="main-top">
  10. <view class="main-left">
  11. <view class="left-text">我的平台贡献值</view>
  12. <view class="left-count">{{pinfo.self_contribute}}</view>
  13. </view>
  14. <view class="line"></view>
  15. <view class="main-right">
  16. <view class="right-text">平台贡献值总值</view>
  17. <view class="right-count">{{pinfo.plat_contribute}}</view>
  18. </view>
  19. <view class="clear"></view>
  20. </view>
  21. <view class="myper">我的股权占比</view>
  22. <view class="percount" wx:if="{{!pinfo.self_contribute == 0 && !pinfo.plat_contribute == 0}}"><text style="color:#eab86a">{{pinfo.self_contribute}}</text> / {{pinfo.plat_contribute}} * {{cinfo.config.stock_proportion}}% = {{sum}}%</view>
  23. <view class="percount" wx:if="{{pinfo.self_contribute == 0 && pinfo.plat_contribute == 0}}">0%</view>
  24. <view class="percount" wx:if="{{pinfo.self_contribute == 0 && !pinfo.plat_contribute == 0}}">0%</view>
  25. <view class="main-bottom">{{cinfo.config.contribute_rule}}</view>
  26. </view>
  27. </view>
  28. <view class="con-no" wx:if="{{is_copartner == 0 || is_copartner == 2}}">
  29. <view class="con-no-top">您还不是合伙人?</view>
  30. <view class="con-no-main">
  31. <view class="con-no-maintext">正式成为合伙人 ,</view>
  32. <view class="con-no-maintext1">享<text style="color:#fe685a">额外1%</text>商品佣金及<text style="color:#fe685a">二级分佣资格</text>有福利 !</view>
  33. <view class="con-no-maintext2">同时将有机会享有<text style="color:#fe685a">凤凰菁选商城股份</text> !</view>
  34. <view class="con-no-mainbtn" bindtap="becomepartner" wx:if="{{!itshow}}">成为合伙人</view>
  35. <view class="con-no-mainbtn" style="background:#ccc" wx:if="{{itshow}}">成为合伙人</view>
  36. </view>
  37. </view>
  38. <view class="con-bottom">
  39. <view class="bottom-top">
  40. <view class="bottom-left">描述 / 产生时间</view>
  41. <view class="bottom-right">贡献值 / 结算后总值</view>
  42. </view>
  43. <view class="bottom-center">
  44. <view class="center-list" wx:for="{{clist}}" wx:key="{{index}}" wx:if="{{clist.length > 0}}">
  45. <view class="list-top">
  46. <view class="list-text">{{item.remark}}</view>
  47. <view class="list-count" wx:if="{{item.count >= 0}}">{{item.count >= 0 ? '+' + item.count : item.count}}</view>
  48. <view class="list-count" wx:if="{{item.count < 0}}" style="color:#32bb38">{{item.count >= 0 ? '+' + item.count : item.count}}</view>
  49. <view class="clear"></view>
  50. </view>
  51. <view class="list-bottom">
  52. <view class="list-time"><format-time type="formatTime" value="{{item.c_time}}" ></format-time></view>
  53. <view class="list-sum">{{item.accumulate_count}}</view>
  54. <view class="clear"></view>
  55. </view>
  56. </view>
  57. <view class="more-btn" wx:if="{{btnshow && clist.length > 0}}" bindtap="getContributions">加载更多</view>
  58. <view wx:if="{{clist.length <= 0}}">
  59. <image class="no-img" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/image/icon/no-contribution.png" />
  60. <view class="no-imgtext">暂无贡献值记录</view>
  61. </view>
  62. </view>
  63. </view>
  64. </view>
  65. <view wx:if="{{showDialog}}">
  66. <view class="p-panel">
  67. <view class="p-title">参与团购 , 即可领取合伙人资格。</view>
  68. <view class="p-item">
  69. <image src="{{projectdetail.detail_img}}" class="item-img" />
  70. <view class="item-title">{{projectdetail.title}}</view>
  71. <view class="item-line">
  72. <view class="item-text">单价</view>
  73. <view class="item-money">{{projectdetail.min_project_way_price / 100}}</view>
  74. <view class="item-text1">元起</view>
  75. <view class="item-text2" wx:if="{{projectdetail.left_copies_min === projectdetail.left_copies_max}}">剩余{{projectdetail.left_copies_min}}份</view>
  76. <view class="item-text2" wx:if="{{projectdetail.left_copies_min !== projectdetail.left_copies_max && !projectdetail.left_copies_min}}">剩余{{projectdetail.left_copies_max}}份</view>
  77. <view class="item-text2" wx:if="{{projectdetail.left_copies_min !== projectdetail.left_copies_max && projectdetail.left_copies_min}}">剩余{{projectdetail.left_copies_min}}~{{projectdetail.left_copies_max}}份</view>
  78. </view>
  79. </view>
  80. <view class="p-btn" bindtap="toteambuy">立 即 参 与 团 购</view>
  81. <view class="p-nobtn" bindtap="hidedialog">暂 不 参 与</view>
  82. </view>
  83. <view class="p-bg"></view>
  84. </view>