mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
[Improvement] SubmitBar: support custom currency symbol (#876)
This commit is contained in:
@@ -49,6 +49,7 @@ Use `slot` to custom content.
|
||||
| num | Number of goods | `String | Number` | - | - |
|
||||
| price | Price of goods | `String | Number` | - | - |
|
||||
| centered | Whether content vertical centered | `String` | `false` | - |
|
||||
| currency | Currency symbol | `String` | `¥` | - |
|
||||
|
||||
### Slot
|
||||
|
||||
|
@@ -71,6 +71,7 @@ Use slot to add custom contents.
|
||||
| tip | Tip | `String` | - | - |
|
||||
| disabled | Whether to disable button | `Boolean` | `false` | - |
|
||||
| loading | Whether to show loading icon | `Boolean` | `false` | - |
|
||||
| currency | Currency symbol | `String` | `¥` | - |
|
||||
|
||||
### Event
|
||||
|
||||
|
@@ -49,6 +49,7 @@ Vue.use(Card);
|
||||
| num | 商品数量 | `String | Number` | - | - |
|
||||
| price | 商品价格 | `String | Number` | - | - |
|
||||
| centered | 内容是否垂直居中 | `String` | `false` | - |
|
||||
| currency | 货币符号 | `String` | `¥` | - |
|
||||
|
||||
### Slot
|
||||
|
||||
|
@@ -71,6 +71,7 @@ Vue.use(SubmitBar);
|
||||
| tip | 提示文案 | `String` | - | - |
|
||||
| disabled | 是否禁用按钮 | `Boolean` | `false` | - |
|
||||
| loading | 是否显示加载中的按钮 | `Boolean` | `false` | - |
|
||||
| currency | 货币符号 | `String` | `¥` | - |
|
||||
|
||||
### Event
|
||||
|
||||
|
Reference in New Issue
Block a user