myModal.wxml 1.9 KB

1234567891011121314151617181920212223242526272829303132
  1. <cover-view class="myModal" catchtouchmove="touchMove">
  2. <cover-view class="box havePadding" wx:if="{{type === 'text'}}">
  3. <cover-view class="text" wx:for="{{text}}" wx:key="{{index}}">
  4. <cover-view class="{{item.type === 'bigOrange' ? 'orange' : 'normal'}}">
  5. {{item.text}}
  6. </cover-view>
  7. </cover-view>
  8. <cover-view class="btn" bindtap="confirm">{{btnText}}</cover-view>
  9. </cover-view>
  10. <cover-view class="box" wx:if="{{type === 'image'}}">
  11. <!-- <cover-view class="text" wx:for="{{text}}"></cover-view> -->
  12. <cover-image class="paySuccessImg" src="../../static/image/pay_success.png"></cover-image>
  13. <cover-view class="paySuccess">恭喜您支付成功</cover-view>
  14. <cover-view class="btn" bindtap="confirm">确定</cover-view>
  15. </cover-view>
  16. <cover-view class="androidBox" wx:if="{{type === 'androidVIP'}}">
  17. <!-- <cover-view class="text" wx:for="{{text}}"></cover-view> -->
  18. <cover-image class="androidVIPImg" src="../../static/vip/crown.png"></cover-image>
  19. <cover-view class="androidVIPText">快去开通VIP</cover-view>
  20. <cover-view class="androidVIPText">享受更多权益吧</cover-view>
  21. <cover-view class="btn" bindtap="confirm">立即开通</cover-view>
  22. </cover-view>
  23. <cover-view class="box" wx:if="{{type === 'iosCode'}}">
  24. <cover-image class="androidVIPImg" src="../../static/vip/crown.png"></cover-image>
  25. <cover-view class="androidVIPText">由于相关规范,ios功能暂不可用</cover-view>
  26. <cover-view class="androidVIPText">联系客服解锁哦</cover-view>
  27. <cover-view class="androidBtn" bindtap="confirm">立即解锁</cover-view>
  28. </cover-view>
  29. <cover-image class="close" src="../../static/groupImg/cha.png" bindtap="close" wx:if="{{isCloseShow}}">
  30. <!-- <cover-image src="" /> -->
  31. </cover-image>
  32. </cover-view>