index.axml 1.7 KB

1234567891011121314151617181920212223242526
  1. <view class='page-container-classname' ref='saveChildRef0'>
  2. <demo-block title='基础用法' ref='saveChildRef1'>
  3. <van-submit-bar price='{{ 3050 }}' button-text='提交订单' custom-class='van-submit-bar' safe-area-inset-bottom='{{ false }}' onSubmit='onClickButton' ref='saveChildRef2'>
  4. </van-submit-bar>
  5. </demo-block>
  6. <demo-block title='禁用状态' ref='saveChildRef3'>
  7. <van-submit-bar disabled=" " price='{{ 3050 }}' button-text='提交订单' tip='您的收货地址不支持同城送, 我们已为您推荐快递' tip-icon='//img.yzcdn.cn/public_files/2017/8/10/6af5b7168eed548100d9041f07b7c616.png' custom-class='van-submit-bar' safe-area-inset-bottom='{{ false }}' onSubmit='onClickButton' ref='saveChildRef4'>
  8. </van-submit-bar>
  9. </demo-block>
  10. <demo-block title='加载状态' ref='saveChildRef5'>
  11. <van-submit-bar loading=" " price='{{ 3050 }}' button-text='提交订单' custom-class='van-submit-bar' safe-area-inset-bottom='{{ false }}' onSubmit='onClickButton' ref='saveChildRef6'>
  12. </van-submit-bar>
  13. </demo-block>
  14. <demo-block title='高级用法' ref='saveChildRef7'>
  15. <van-submit-bar price='{{ 3050 }}' button-text='提交订单' custom-class='van-submit-bar' tip='{{ true }}' safe-area-inset-bottom='{{ false }}' onSubmit='onClickButton' ref='saveChildRef8'>
  16. <van-tag type='primary' custom-class='submit-tag' ref='saveChildRef9'>
  17. 标签
  18. </van-tag>
  19. <view slot='tip'>
  20. 您的收货地址不支持同城送 <text class='edit-address' onTap='antmoveAction' data-antmove-tap='onClickLink'>
  21. 修改地址 </text>
  22. </view>
  23. </van-submit-bar>
  24. </demo-block> <van-toast id='van-toast' ref='saveChildRef10'>
  25. </van-toast>
  26. </view>