index.axml 1.6 KB

123456789101112131415161718192021222324252627282930
  1. <view class='page-container-classname' ref='saveChildRef0'>
  2. <demo-block card=" " title='提示弹窗' padding=" " ref='saveChildRef1'>
  3. <van-cell title='提示弹窗' is-link=" " onClick='onClickAlert' ref='saveChildRef2'>
  4. </van-cell>
  5. <van-cell title='提示弹窗(无标题)' is-link=" " onClick='onClickAlert2' ref='saveChildRef3'>
  6. </van-cell>
  7. <van-cell title='确认弹窗' is-link=" " onClick='onClickConfirm' ref='saveChildRef4'>
  8. </van-cell>
  9. </demo-block>
  10. <demo-block card=" " title='圆角按钮样式' padding=" " ref='saveChildRef5'>
  11. <van-cell title='提示弹窗' is-link=" " onClick='onClickThemeAlert' ref='saveChildRef6'>
  12. </van-cell>
  13. <van-cell title='提示弹窗(无标题)' is-link=" " onClick='onClickThemeAlert2' ref='saveChildRef7'>
  14. </van-cell>
  15. </demo-block>
  16. <demo-block card=" " title='异步关闭' padding=" " ref='saveChildRef8'>
  17. <van-cell title='异步关闭' onClick='onClickAsyncClose' ref='saveChildRef9'>
  18. </van-cell>
  19. </demo-block>
  20. <demo-block card=" " title='组件调用' padding=" " ref='saveChildRef10'>
  21. <van-cell title='组件调用' onClick='showCustomDialog' ref='saveChildRef11'>
  22. </van-cell>
  23. </demo-block>
  24. <van-dialog use-slot=" " title='标题' show='{{ show }}' show-cancel-button=" " confirm-button-open-type='getUserInfo' onClose='onClose' onGetuserinfo='getUserInfo' ref='saveChildRef12'>
  25. <image class='demo-image' src='https://img.yzcdn.cn/public_files/2017/09/05/4e3ea0898b1c2c416eec8c11c5360833.jpg'>
  26. </image>
  27. </van-dialog>
  28. <van-dialog id='van-dialog' ref='saveChildRef13'>
  29. </van-dialog>
  30. </view>