index.wxml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <block v-if="info">
  2. <image src="{{info.invite_activity_topback_img?info.invite_activity_topback_img:'../images/invite.png'}}"
  3. mode="widthFix" style="width: 100%;"></image>
  4. <!-- 记录 -->
  5. <view class="box u-p-35" style="margin-top: -285rpx;">
  6. <view class="text-center u-font-38 actColor">我的邀请战绩</view>
  7. <view class="u-m-t-60 u-m-b-60 i-flex text-center" style="align-items:flex-start;">
  8. <view class="i-flex-item u-border-right" bindtap="goLink" data-link="/lionfish_comshop/moduleB/invite/record?type=1">
  9. <view class="u-font-30">
  10. 邀请成功
  11. <text class="iconfont icon-youjiantou" style="color: #c7c7c7;font-size:24rpx;"></text>
  12. </view>
  13. <view class="actColor u-font-24 u-m-t-20">
  14. <text class="invite-num">{{info.income.invitee_succ_count}}</text>人
  15. </view>
  16. </view>
  17. <view class="i-flex-item u-border-right" bindtap="goLink" data-link="/lionfish_comshop/moduleB/invite/record?type=0">
  18. <view class="u-font-30">
  19. 累计邀请
  20. <text class="iconfont icon-youjiantou" style="color: #c7c7c7;font-size:24rpx;"></text>
  21. </view>
  22. <view class="actColor u-font-24 u-m-t-20">
  23. <text class="invite-num">{{info.income.invitee_count}}</text>人
  24. </view>
  25. </view>
  26. <view class="i-flex-item" bindtap="goLink" data-link="/lionfish_comshop/moduleB/invite/reward">
  27. <view class="u-font-30">
  28. 累计奖励
  29. <text class="iconfont icon-youjiantou" style="color: #c7c7c7;font-size:24rpx;"></text>
  30. </view>
  31. <view class="actColor u-font-24 u-m-t-20">
  32. <text class="invite-num">{{info.income.inviter_total_count}}</text>次
  33. </view>
  34. </view>
  35. </view>
  36. <view class="btn" bindtap="checkInvitegift">
  37. <image src="../images/invite-btn.png" mode="widthFix" class="btn-bg"></image>
  38. <view class="title medium text-center">立即邀请</view>
  39. </view>
  40. </view>
  41. <!-- 我邀请的好友 -->
  42. <view class="box u-m-t-35 u-p-35">
  43. <view class="text-center u-font-38 u-m-b-10 actColor">我邀请的好友</view>
  44. <view class="">
  45. <block wx:if="{{list.length}}">
  46. <view wx:for="{{list}}" wx:key="index" class="u-p-t-30 u-p-b-30 i-flex {{index==0?'':'u-border-top'}}" wx:if="{{index<3}}">
  47. <image class="avatar" src="{{item.avatar}}"></image>
  48. <view class="i-flex-item u-m-l-15 u-m-r-10">
  49. <view class="u-font-32 medium">
  50. <image src="{{'../images/'+item.user_type+'.png'}}" mode="widthFix" class="tag"></image>
  51. {{item.nickname}}
  52. </view>
  53. <view class="u-font-26 text-gray u-m-t-5">{{item.addtime}}</view>
  54. <view class="u-font-24 text-gray u-m-t-5">{{item.receive_content}}</view>
  55. </view>
  56. <view class="u-font-26 actColor">
  57. <button type="warn" size="mini" open-type="share" data-name="invite" wx:if="{{item.invite_order_btn==1&&item.invite_type=='wait'}}">邀请下单</button>
  58. <block wx:else>
  59. {{item.reward_content}}
  60. <i class="iconfont icon-question u-m-l-5" style="color:#666666;font-size:34rpx;" bindtap="handleTipModal"
  61. wx:if="{{item.invite_type=='invalid'||item.invite_type=='wait'}}" data-type="{{item.invite_type}}"></i>
  62. </block>
  63. </view>
  64. </view>
  65. <view class="u-font-26 actColor i-flex i-aic jcontent-c u-p-t-30 border-top" bindtap="goLink" data-link="/lionfish_comshop/moduleB/invite/record"
  66. wx:if="{{list.length>3}}">
  67. 查看更多 <text class="iconfont icon-youjiantou" style="color: #ff6139;font-size:24rpx;"></text>
  68. </view>
  69. </block>
  70. <i-empty wx:else>还没邀请到好友,快去邀请把!</i-empty>
  71. </view>
  72. </view>
  73. <!-- 规则 -->
  74. <view class="box u-m-t-35 u-p-35">
  75. <view class="text-center u-font-38 u-m-b-40 actColor">活动规则</view>
  76. <parser html="{{info.invite_activity_rules}}" />
  77. </view>
  78. </block>
  79. <view style="height: 100rpx;"></view>
  80. <!-- 分享 -->
  81. <view class='ui-mask' bindtap='hide_share_handler' hidden='{{showSharePopup}}'></view>
  82. <view class="model-services safebottom show" hidden='{{showSharePopup}}'>
  83. <view class="model-services-title">分享</view>
  84. <view class="model-services-content">
  85. <view class="service-list">
  86. <view class="service-item">
  87. <button open-type="share" class='none_btn' plain="true">
  88. <text class="iconfont icon-weixin2 service-icon"></text>
  89. <view class="cube-text">
  90. <text>好友</text>
  91. </view>
  92. </button>
  93. </view>
  94. <view class="service-item" bindtap="handleShareModal">
  95. <text class="iconfont icon-pengyouquan service-icon"></text>
  96. <view class="cube-text">
  97. <text>海报</text>
  98. </view>
  99. </view>
  100. </view>
  101. </view>
  102. </view>
  103. <!-- 分享 End -->
  104. <!-- 分享弹窗 -->
  105. <i-modal scrollUp="{{true}}" iClass="shareModal-box" visible="{{showShareModal}}" bind:cancel="handleShareModal">
  106. <view class="i-flex-col shareModal">
  107. <image src="{{image}}" mode="widthFix" class="mb10" style="width: 100%;"/>
  108. <view class="shareBtn fsz-32 bg-primary text-white rounded text-center" bindtap="saveImage">
  109. <text class="iconfont icon-fenxiang fsz-30"></text> 保存图片</view>
  110. </view>
  111. </i-modal>
  112. <i-painter customStyle='position: absolute; left: -9999rpx;' palette="{{template}}" bind:imgOK="onImgOK"/>