invitationDetails.wxml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <wxs src="../../app.wxs" module="util" />
  2. <view class="invit">
  3. <view class="banner">
  4. <image src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220811/%E4%BA%8C%E5%9B%BE/%E5%9B%BE%E7%89%87/%E7%BC%96%E7%BB%84%2012%402x.png"></image>
  5. </view>
  6. <view class="content">
  7. <image class="content-image" src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220811/%E4%BA%8C%E5%9B%BE/%E5%9B%BE%E7%89%87/%E5%89%8D%E8%A8%80%402x.png"></image>
  8. <view class="list">
  9. <view class="list-title">
  10. <view>喊好友到店<text class="title-text">免费体验</text>项目</view>
  11. <!-- <view>满5位可获得:</view> -->
  12. </view>
  13. <view class="list-tips">
  14. <!-- <view><text class="tips-text">299</text> 元购买价值1297元</view>
  15. <view>JOLI聚拉提项目 <text class="tips-text">特权</text></view> -->
  16. <view class="list-tips-item">
  17. <image src="../../images/矩形 3.png" style="width: 30rpx;height: 30rpx;"></image>
  18. <view class="list-tips-num">成功邀请<text>1</text>人</view>
  19. </view>
  20. <view class="list-tips-text">获得价值226元<text>修丽可补水</text>1次</view>
  21. <view class="list-tips-item">
  22. <image src="../../images/矩形 3.png" style="width: 30rpx;height: 30rpx;"></image>
  23. <view class="list-tips-num">成功邀请<text>3</text>人</view>
  24. </view>
  25. <view class="list-tips-text">获得价值799元<text>小热玛吉</text>1次</view>
  26. <!-- <van-steps direction="vertical" active-color="#FA3020" active="{{active}}" steps="{{steps}}">
  27. </van-steps> -->
  28. </view>
  29. <view class="list-button" bindtap="onOpenShow" >
  30. <image src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220811/%E4%BA%8C%E5%9B%BE/%E5%9B%BE%E7%89%87/%E7%BC%96%E7%BB%84%2016%402x.png"></image>
  31. <text>马上邀请</text>
  32. </view>
  33. </view>
  34. <image class="center-image" src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220811/%E4%BA%8C%E5%9B%BE/%E5%9B%BE%E7%89%87/%E7%BC%96%E7%BB%84%2018%402x.png" style="position: relative; left: -37rpx; top: -58rpx"></image>
  35. </view>
  36. <view class="bottom">
  37. <!-- <view class="info-title">— 好友可免费体验 —</view>
  38. <view class="list other-list"> -->
  39. <!-- <view class="other-list-info" wx:for="{{experienceList}}" wx:for-item="item" wx:key="index">{{item}}</view> -->
  40. <!-- <view class="title">华熙生物润百颜补水1次</view>
  41. <image class="" src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220527/invite/project_img.png" mode="aspectFit|aspectFill|widthFix" />
  42. </view> -->
  43. <!-- 好友免费体验 -->
  44. <view class="freeImage">
  45. <image src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220811/%E4%BA%8C%E5%9B%BE/%E5%9B%BE%E7%89%87/%E5%A5%BD%E5%8F%8B%E5%85%8D%E8%B4%B9%E4%BD%93%E9%AA%8C%402x.png"></image>
  46. </view>
  47. <!-- 邀请记录 -->
  48. <view class="call-list">
  49. <image src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220811/%E4%BA%8C%E5%9B%BE/%E5%9B%BE%E7%89%87/%E7%BC%96%E7%BB%84%2014%402x.png">
  50. <view class="info-title">邀请记录</view>
  51. <view class="call-team">
  52. <view class="team-content">
  53. <!-- <view class="content-title">已邀请{{total}}人</view> -->
  54. <scroll-view class="content-list" scroll-y lower-threshold="100" bindscrolltolower="scrollToLower">
  55. <view class="list-info" wx:for="{{call_team}}" wx:key="index">
  56. <image src="{{item.avatar_url}}"></image>
  57. <text>{{ util.mysub( item.nickname,0,3)}}</text>
  58. <text class="list-info-text"><text>获得 </text>{{util.mysub(item.product_name,0,9)}}</text>
  59. <text>{{item.receive_time}}</text>
  60. </view>
  61. <van-loading wx:if="{{loading}}" size="24px">加载中...</van-loading>
  62. <!-- <view class="finished" wx:if="{{finished}}">没有更多了</view> -->
  63. </scroll-view>
  64. </view>
  65. </view>
  66. </image>
  67. </view>
  68. <!-- <view class="info-title">— 邀请记录 —</view>
  69. <view class="call-list">
  70. <view class="call-team">
  71. <view class="team-content">
  72. <view class="content-title">已邀请{{total}}人</view>
  73. <scroll-view class="content-list" scroll-y lower-threshold="100" bindscrolltolower="scrollToLower">
  74. <view class="list-info" wx:for="{{call_team}}" wx:key="index">
  75. <image src="{{item.avatar_url}}"></image>
  76. <text>{{ util.mysub( item.nickname,0,3)}}</text>
  77. <text><text>获得 </text>{{util.mysub(item.product_name,0,9)}}</text>
  78. <text>{{item.receive_time}}</text>
  79. </view>
  80. <van-loading wx:if="{{loading}}" size="24px">加载中...</van-loading> -->
  81. <!-- <view class="finished" wx:if="{{finished}}">没有更多了</view> -->
  82. <!-- </scroll-view>
  83. </view>
  84. </view>
  85. </view> -->
  86. <!-- 项目介绍 -->
  87. <view class="productInfo">
  88. <image src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220811/%E4%BA%8C%E5%9B%BE/%E5%9B%BE%E7%89%87/%E7%BC%96%E7%BB%84%2011%402x.png"></image>
  89. </view>
  90. <!-- <view class="info-title">— 活动介绍 —</view>
  91. <view class="introduce">
  92. <view class="tips" style="margin-top: 22rpx;">1.邀请者活动参与条件:到店体验过项目后的用户;</view>
  93. <view class="tips" style="margin-top: 20rpx;">2.被邀请者活动参与条件:新用户(未注册使用过小程序的用户);</view>
  94. <view class="tips" style="margin-top: 28rpx;">3.项目体验需提前在小程序进行预约,如无法在预约时间到场,可联系店员进行时间调整。</view>
  95. </view> -->
  96. <!-- 活动介绍 -->
  97. <view class="productIntroduce">
  98. <image src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220811/%E4%BA%8C%E5%9B%BE/%E5%9B%BE%E7%89%87/%E6%B4%BB%E5%8A%A8%E4%BB%8B%E7%BB%8D%402x.png"></image>
  99. </view>
  100. </view>
  101. </view>
  102. <van-popup show="{{ show }}" round position="bottom" custom-style="height: 35%;" bind:close="onClose">
  103. <view class="share">
  104. <view class="close" bindtap="onClose">
  105. <image src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220413/close.png"></image>
  106. </view>
  107. <view class="share-title">分享到</view>
  108. <view class="share-mode">
  109. <view class="weixin">
  110. <button type="default" bindtap="onShareFriends" open-type="share" class="clear-style">
  111. <image src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220413/wx.png"></image>
  112. <view class="title">微信</view>
  113. </button>
  114. </view>
  115. <view class="wechat-moments" bindtap="onMoments">
  116. <image src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220413/moments_icon.png"></image>
  117. <view class="title">朋友圈</view>
  118. </view>
  119. </view>
  120. </view>
  121. </van-popup>