index.wxml 1.3 KB

12345678910111213141516171819202122232425262728
  1. <view class="top-bg">
  2. <!-- <image class="award-title" src="{{imgServerUrl}}/images/recommend/title.png" mode="widthFix" />
  3. <view class="desc">
  4. <view >每邀请1位新用户注册</view>
  5. <view >即可得5元现金红包</view>
  6. </view> -->
  7. <image class='awardBg' src='{{imgServerUrl}}/images/recommend/awardBg.png' mode='widthFix'></image>
  8. </view>
  9. <i-notice-bar icon="systemprompt" loop background-color="#ffc" color="#169bd5" wx:if="{{false}}">
  10. <text style='color:#333'>恭喜XXX邀请2名好友,获得<text style='color:red'>10</text>元红包</text>
  11. </i-notice-bar>
  12. <view class='box'>
  13. <image class="card" src="{{imgServerUrl}}/images/recommend/step.png" mode="widthFix"/>
  14. <view class="yao-box">
  15. <view class="ms">
  16. <view>我在【开心工作】</view>
  17. <view>赚了5块钱</view>
  18. <view>扫码分享给你</view>
  19. </view>
  20. <image src="{{qrCode}}" class="qycode" />
  21. </view>
  22. <button class="create" bindtap='onCreatePoster' wx:if="{{hasAuth}}">保存图片</button>
  23. <button class="create" open-type="openSetting" bindopensetting="onCreatePoster" wx:else>打开授权页</button>
  24. </view>
  25. <poster id="poster" hide-loading="{{true}}" preload="{{false}}" config="{{posterConfig}}" bind:success="onPosterSuccess" bind:fail="onPosterFail">
  26. </poster>