popup.wxml 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <!--component/popup/popup.wxml-->
  2. <view class="popup" hidden="{{flag}}">
  3. <!--成功-->
  4. <view class="popup-container" wx:if="{{typeOf == 'success' ? true : false}}">
  5. <view class="head-img" style="height: 240rpx">
  6. <image src="../../static/groupImg/success.png"></image>
  7. </view>
  8. <view class="head-txt">
  9. <view class="title">{{title}}</view>
  10. <view class="head-con">
  11. {{headTextOne}}
  12. </view>
  13. <view>
  14. {{headTextTwo}}
  15. </view>
  16. </view>
  17. <view class="content" style="font-size:32rpx; margin-top: 54rpx;">
  18. <block wx:for="{{content}}" wx:key="{{index}}">
  19. <text style="color: {{item.color}};">{{item.text}}</text>
  20. </block>
  21. </view>
  22. <view style="font-size: 28rpx; color: #7D7D7D; text-align: center; margin-top: 40rpx;">您收到的奖学金会自动到您的微信钱包</view>
  23. <view class="send-btn" bindtap="launchGroup">
  24. <text>{{btnContent}}</text>
  25. </view>
  26. </view>
  27. <!--失败 -->
  28. <view class="popup-container" wx:if="{{typeOf == 'error' ? true : false}}">
  29. <view class="head-img" style="height: 366rpx; margin-top: -120rpx;">
  30. <image src="../../static/groupImg/error.png"></image>
  31. </view>
  32. <view class="head-txt">
  33. <view class="title" style="margin-top: 80rpx; color: #4A90E2;">很遗憾 拼团失败</view>
  34. <view class="head-con" style="color: #000">
  35. 您发起的团购拼团成功
  36. </view>
  37. </view>
  38. <view class="content" style="margin-top: 30rpx;">
  39. <text style="color: #000;">您可以继续发起新的团购,</text>
  40. <text style="color: #FF9B00;">不再需要支付本课程费用,拼团成功,</text>
  41. <!-- <text style="color: #FF0000;">您将得到xxx元奖励。</text> -->
  42. </view>
  43. <view class="send-btn">
  44. <image src="../../static/groupImg/Invitation.png"></image>
  45. <text>发起团购</text>
  46. </view>
  47. </view>
  48. <!--发起拼团成功 -->
  49. <view class="popup-container" wx:if="{{typeOf == 'sendSuccess' ? true : false}}">
  50. <view class="content">
  51. <text style="color: #F66C1C; font-weight: bolder; margin-top: 20rpx;">{{title}}</text>
  52. <text style="font-size: 28rpx">{{headTextOne}}</text>
  53. <text style="font-size: 28rpx">{{headTextTwo}}</text>
  54. </view>
  55. <view class="content" style="margin-top: 15rpx; font-size:28rpx;">
  56. <block wx:for="{{content}}" wx:key="{{index}}">
  57. <text style="color: {{item.color}};">{{item.text}}</text>
  58. </block>
  59. </view>
  60. <view class="bottom">
  61. * 如果拼团失败,您预付的课程费将在48小时内退回您的账户。
  62. </view>
  63. </view>
  64. <!--发起拼团失败 -->
  65. <view class="popup-container" wx:if="{{typeOf == 'senderror' ? true : false}}">
  66. <view class="content">
  67. <text style="color: #F66C1C; font-weight: bolder;">感谢团长</text>
  68. <text style="color: #F66C1C;">不再需要支付本课程费用,拼团成功,</text>
  69. </view>
  70. <view class="head-img"style="text-align: center;margin-top: 29rpx;">
  71. <image src="../../static/groupImg/liwu.png" style="width: 288rpx; height: 184rpx;"></image>
  72. </view>
  73. <view class="bottom" style="color: #000;">
  74. * 如果拼团失败,您预付的课程费将在48小时内退回您的账户。
  75. </view>
  76. </view>
  77. <view class="cha" bindtap="close">
  78. <image src="../../static/image/lollipop.png"></image>
  79. </view>
  80. </view>