index.axml 1.0 KB

1234567891011121314151617181920212223242526
  1. <view class='page-container-classname' ref='saveChildRef0'>
  2. <demo-block custom-class='white' title='基础用法' padding=" " ref='saveChildRef1'>
  3. <van-divider ref='saveChildRef2'>
  4. </van-divider>
  5. </demo-block>
  6. <demo-block custom-class='white' title='内容位置' padding=" " ref='saveChildRef3'>
  7. <van-divider content-position='center' ref='saveChildRef4'>
  8. 文本
  9. </van-divider>
  10. <van-divider content-position='left' ref='saveChildRef5'>
  11. 文本
  12. </van-divider>
  13. <van-divider content-position='right' ref='saveChildRef6'>
  14. 文本
  15. </van-divider>
  16. </demo-block>
  17. <demo-block custom-class='white' title='虚线' padding=" " ref='saveChildRef7'>
  18. <van-divider dashed=" " ref='saveChildRef8'>
  19. </van-divider>
  20. </demo-block>
  21. <demo-block custom-class='white' title='自定义样式' padding=" " ref='saveChildRef9'>
  22. <van-divider content-position='center' custom-style='color: #1989fa;border-color: #1989fa;font-size: 18px;' ref='saveChildRef10'>
  23. 文本
  24. </van-divider>
  25. </demo-block>
  26. </view>