share.wxml 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <!-- 加载图层 -->
  2. <loading wx:if="{{loading}}"></loading>
  3. <view class="content">
  4. <view class="user-card">
  5. <view class="user-card-info">
  6. <view class="info-title">
  7. <view class="cp-avatar">
  8. <image fit="fill" src="{{avatarUrl}}"></image>
  9. </view>
  10. <view class="title-info">
  11. <view class="cp-info">
  12. {{companyName}}
  13. <view class="version-card" wx:if="{{versionName && gradeCode === 'STD'}}">标准版</view>
  14. <view class="version-card PRO" wx:if="{{versionName && gradeCode === 'PRO'}}">专业版</view>
  15. </view>
  16. <view class="user-info">{{staffName}} | {{staffPhone}} </view>
  17. <!-- <view class="sign-record" wx:if="{{settingFlg}}" catch:tap="signRecord">个人签到记录</view> -->
  18. <view class="sign" wx:if="{{settingFlg}}" data-name="sign" bind:tap="open">
  19. <view style="display: flex;justify-content: center;align-content: center;justify-items: center;align-items: center; ">
  20. 签到
  21. <view style="display: flex;justify-content: center;align-content: center;align-items:center;background: #ECD1A7;border-radius: 50%;">
  22. <van-icon name="arrow" />
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. </view>
  29. <view class="integral-info">
  30. <view class="integral-item">
  31. <view class="item" data-name="integralDetail" bind:tap="open">
  32. 公司云币:<view class="number">{{ integral }}</view>枚
  33. </view>
  34. <view class="item" data-name="couponDetail" bind:tap="open">
  35. 优惠券:<view class="number">{{ couponNumber }}</view>张
  36. </view>
  37. </view>
  38. <view class="rearmk-view">
  39. <view class="title">云币说明:<span class="info">完成签到、分享、邀请可获得云币,云币可完全抵扣续费、购买授权、购买功能包等费用。<span style="color: #3F5CF4;text-decoration:underline;" bind:tap="toIntegralRules">查看云币具体规则;</span>完成助力可获得优惠券,优惠券有期限请注意使用</span></view>
  40. </view>
  41. </view>
  42. <view class="user-card-backgorund">
  43. <image class="scan-image" fit="fill" src="{{imageUrl+'/detail_sale_order.png'}}"></image>
  44. </view>
  45. </view>
  46. <view class="activity-card">
  47. <view class="activity-title" wx:if="{{ cilckViewId=='toShare' }}">
  48. 分享不停歇
  49. </view>
  50. <view class="card-item">
  51. <view class="integral-view" data-name="toShare" bind:tap="showCardItem">
  52. <view class="number">{{integralTacticItem.shareIntegral}}</view>
  53. <view>云币</view>
  54. </view>
  55. <view class="title-view" data-name="toShare" bind:tap="showCardItem">
  56. <view>分享好友,即得云币</view>
  57. </view>
  58. <view class="button-view">
  59. <van-button customStyle="background-color: #EBC07F;border-radius:50rpx;color:#ffffff;" dataset="toShare" open-type='share'>
  60. <view style="display: flex;justify-content: center;align-content: center;justify-items: center;align-items: center;font-size: 25rpx;">
  61. 立即分享
  62. <view style="display: flex;justify-content: center;align-content: center;align-items:center;background: #ECD1A7;border-radius: 50%;width: 15px;height: 15px;margin-left: 10rpx;">
  63. <van-icon name="arrow" />
  64. </view>
  65. </view>
  66. </van-button>
  67. <view class="remark">今日剩余<span style="color:#E4002B;">{{integralTacticItem.shareRemainderNum}}</span>次</view>
  68. </view>
  69. </view>
  70. </view>
  71. <view class="activity-card" wx:if="{{ couponItem }}">
  72. <view class="activity-title" wx:if="{{ cilckViewId=='toPower' }}">
  73. 助力拿福利
  74. </view>
  75. <view class="card-item">
  76. <view class="discount-view" data-name="toPower" bind:tap="showCardItem">
  77. <view class="number">{{ couponItem.discount }}</view>
  78. <view>折</view>
  79. </view>
  80. <view class="title-view" data-name="toPower" bind:tap="showCardItem">
  81. <view>{{ couponItem.couponDesc }}</view>
  82. </view>
  83. <view class="button-view">
  84. <van-button customStyle="background-color: #EBC07F;border-radius:50rpx;color:#ffffff;" dataset="toPower" open-type='share'>
  85. <view style="display: flex;justify-content: center;align-content: center;justify-items: center;align-items: center;font-size: 25rpx;">
  86. 立即助力
  87. <view style="display: flex;justify-content: center;align-content: center;align-items:center;background: #ECD1A7;border-radius: 50%;width: 15px;height: 15px;margin-left: 10rpx;">
  88. <van-icon name="arrow" />
  89. </view>
  90. </view>
  91. </van-button>
  92. </view>
  93. </view>
  94. <view class="button-view-footer" wx:if="{{ cilckViewId=='toPower' && couponSendItem && couponSendItem != null }}">
  95. <view class="user-list">
  96. <view class="user-icon" wx:for="{{couponSendItem.userHelpNum}}">
  97. <image fit="fill" src="{{imageUrl+'/user_icon.png'}}" />
  98. </view>
  99. <view class="user-icon" wx:for="{{ couponItem.userNum > 5? 5 - couponItem: couponItem.userNum - (couponSendItem.userHelpNum? couponSendItem.userHelpNum: 0) }}">
  100. <!-- <van-icon class="icon" name="add-o" /> -->
  101. <van-icon class="icon" name="plus" />
  102. </view>
  103. </view>
  104. <van-count-down use-slot time="{{ time }}" wx:if="{{true}}" bind:change="onCountDownChange">
  105. <view class="remark">
  106. <view class="time-view">
  107. <view class="time">{{ timeData.hours < 10? '0' + timeData.hours : timeData.hours }}</view>
  108. <view class="time">{{ timeData.minutes < 10? '0' + timeData.minutes : timeData.minutes }}</view>
  109. <view class="time">{{ timeData.seconds < 10? '0' + timeData.seconds: timeData.seconds }}</view>
  110. </view>后失效
  111. </view>
  112. </van-count-down>
  113. </view>
  114. </view>
  115. <view class="activity-card">
  116. <view class="activity-title" wx:if="{{ cilckViewId=='toRegister' }}">
  117. 邀请注册拿云币
  118. </view>
  119. <view class="card-item">
  120. <view class="integral-view" data-name="toRegister" bind:tap="showCardItem">
  121. <view class="number">{{integralTacticItem.shareRegIntegral}}</view>
  122. <view>云币</view>
  123. </view>
  124. <view class="title-view" data-name="toRegister" bind:tap="showCardItem">
  125. <view>邀请好友使用,互利共赢,一起得云币!</view>
  126. </view>
  127. <view class="button-view">
  128. <van-button customStyle="background-color: #EBC07F;border-radius:50rpx;color:#ffffff;" dataset="toRegister" open-type='share'>
  129. <view style="display: flex;justify-content: center;align-content: center;justify-items: center;align-items: center;font-size: 25rpx;">
  130. 立即邀请
  131. <view style="display: flex;justify-content: center;align-content: center;align-items:center;background: #ECD1A7;border-radius: 50%;width: 15px;height: 15px;margin-left: 10rpx;">
  132. <van-icon name="arrow" />
  133. </view>
  134. </view>
  135. </van-button>
  136. </view>
  137. </view>
  138. <view class="button-view-footer" wx:if="{{ cilckViewId=='toRegister' && integralShareItem }}">
  139. <view class="user-list">
  140. <view class="user-icon" wx:for="{{ 1 }}">
  141. <van-icon class="icon" name="plus" />
  142. </view>
  143. </view>
  144. <van-count-down use-slot time="{{ time }}" wx:if="{{true}}" bind:change="onCountDownChange">
  145. <view class="remark">
  146. <view class="time-view">
  147. <view class="time">{{ timeData.hours < 10? '0' + timeData.hours : timeData.hours }}</view>
  148. <view class="time">{{ timeData.minutes < 10? '0' + timeData.minutes : timeData.minutes }}</view>
  149. <view class="time">{{ timeData.seconds < 10? '0' + timeData.seconds: timeData.seconds }}</view>
  150. </view>后失效
  151. </view>
  152. </van-count-down>
  153. </view>
  154. </view>
  155. </view>