myModal.wxml 1.0 KB

12345678910111213141516171819
  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-image class="close" src="../../static/groupImg/cha.png" bindtap="close" wx:if="{{isCloseShow}}">
  17. <!-- <cover-image src="" /> -->
  18. </cover-image>
  19. </cover-view>