docs: add version tip in en docs (#4262)
This commit is contained in:
+14
-14
@@ -70,20 +70,20 @@ Use slot to add custom contents.
|
||||
|
||||
### Props
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| price | Price | `number` | - |
|
||||
| label | Price left label | `string` | `Total:` |
|
||||
| suffix-label | Price right label | `string` | - |
|
||||
| button-text | Button text | `string` | - |
|
||||
| button-type | Button type | `string` | `danger` |
|
||||
| tip | Tip | `string` | - |
|
||||
| tip-icon | Icon | `string` | - |
|
||||
| disabled | Whether to disable button | `boolean` | `false` |
|
||||
| loading | Whether to show loading icon | `boolean` | `false` |
|
||||
| currency | Currency symbol | `string` | `¥` |
|
||||
| decimal-length | number of digits to appear after the decimal point | `number` | `2` |
|
||||
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation, to enable those features use `viewport-fit=cover` in the `viewport` meta tag | `boolean` | `false` |
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| price | Price | `number` | - | - |
|
||||
| label | Price left label | `string` | `Total:` | - |
|
||||
| suffix-label | Price right label | `string` | - | - |
|
||||
| button-text | Button text | `string` | - | - |
|
||||
| button-type | Button type | `string` | `danger` | - |
|
||||
| tip | Tip | `string` | - | - |
|
||||
| tip-icon | Icon | `string` | - | - |
|
||||
| disabled | Whether to disable button | `boolean` | `false` | - |
|
||||
| loading | Whether to show loading icon | `boolean` | `false` | - |
|
||||
| currency | Currency symbol | `string` | `¥` | - |
|
||||
| decimal-length | number of digits to appear after the decimal point | `number` | `2` | - |
|
||||
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation, to enable those features use `viewport-fit=cover` in the `viewport` meta tag | `boolean` | `false` | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ Vue.use(SubmitBar);
|
||||
|------|------|------|------|------|
|
||||
| price | 价格(单位分) | `number` | - | - |
|
||||
| label | 价格左侧文案 | `string` | `合计:` | - |
|
||||
| suffix-label | 价格右侧文案 | `string` | - | 2.0.0 |
|
||||
| suffix-label | 价格右侧文案 | `string` | - | - |
|
||||
| button-text | 按钮文字 | `string` | - | - |
|
||||
| button-type | 按钮类型 | `string` | `danger` | - |
|
||||
| tip | 提示文案 | `string` | - | - |
|
||||
|
||||
Reference in New Issue
Block a user