docs: add version tip in en docs (#4262)

This commit is contained in:
neverland
2019-08-27 19:56:30 +08:00
committed by GitHub
parent 8ee0bef715
commit 959efb0ce6
88 changed files with 865 additions and 864 deletions
+14 -14
View File
@@ -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
+1 -1
View File
@@ -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` | - | - |