## SubmitBar ### Install ``` javascript import { SubmitBar } from 'vant'; Vue.use(SubmitBar); ``` ### Usage #### Basic Usage ```html ``` #### Disabled `submit` event will not triggerd when disabled. ```html ``` #### Loading `submit` event will not triggerd when loading. ```html ``` #### Advanced Usage Use slot to add custom contents. ```html Check Some tips, Link ``` ### API | Attribute | Description | Type | Default | Accepted Values | |-----------|-----------|-----------|-------------|-------------| | price | Price | `Number` | - | - | | label | Price label | `String` | `合计:` | - | | button-text | Button text | `String` | - | - | | button-type | Button type | `String` | `danger` | - | | tip | Tip | `String` | - | - | | disabled | Whether to disable button | `Boolean` | `false` | - | | loading | Whether to show loading icon | `Boolean` | `false` | - | | currency | Currency symbol | `String` | `¥` | - | ### Event | Event | Description | Arguments | |-----------|-----------|-----------| | submit | Triggerd when click submit button | - | ### Slot | Name | Description | |-----------|-----------| | default | Custom left content | | tip | Custom tips |