share.wxml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <!--pages/my/share/share.wxml-->
  2. <view class="topBox">
  3. <image class="user" src="/image/my/fenxianghaoyou.png"></image>
  4. <view class="tips">您的朋友 大黄 邀请你体验海星洗护</view>
  5. </view>
  6. <view class="contioner">
  7. <image src="/image/my/tit.png" class="tit"></image>
  8. <view class="yhj">
  9. <image class="img-bgs" src="/image/my/bg-yhj.png"></image>
  10. <view class="msg">
  11. <view class="price">15<text class="tips">元</text></view>
  12. <view class="name">新人特惠洗护券</view>
  13. </view>
  14. </view>
  15. </view>
  16. <view class="footerBtn" bindtap="closeShow" >
  17. 领取
  18. </view>
  19. <van-overlay show="{{ show }}" bind:click="onClickHide">
  20. <view class="wrapper">
  21. <image src="/image/my/hongbao-bg.png" class="img-bgs"></image>
  22. <view class="content" wx:if="{{type == 1}}">
  23. <view class="inputbox flex ju-b">
  24. <input type="text" placeholder="请输入手机号"/>
  25. </view>
  26. <view class="inputbox flex ju-b">
  27. <input type="text" placeholder="请输入验证码"/>
  28. <view class="button">获取验证码</view>
  29. </view>
  30. <view class="btn" bindtap="changeType" data-type="2">领取</view>
  31. </view>
  32. <view class="content" wx:if="{{type == 2}}">
  33. <image class="state" src="/image/my/success.png"></image>
  34. <view class="tips">领取成功</view>
  35. <view class="btn" bindtap="changeType" data-type="3">前往小程序下单</view>
  36. </view>
  37. <view class="content" wx:if="{{type == 3}}">
  38. <image class="state" src="/image/my/fail.png"></image>
  39. <view class="tips">领取失败</view>
  40. <view class="tips m-top-20">你已经领取过了!</view>
  41. </view>
  42. <image src="/image/my/close.png" bindtap="closeShow" class="close"></image>
  43. </view>
  44. </van-overlay>