feat(SubmitBar): SubmitBar组件样式调整及新增文案对齐方向属性 (#5130)

This commit is contained in:
Lindy
2019-11-28 19:07:50 +08:00
committed by neverland
parent 00f6b5274f
commit a7ae694dbb
9 changed files with 61 additions and 23 deletions
+2 -1
View File
@@ -75,6 +75,7 @@ Vue.use(SubmitBar);
| price | 价格(单位分) | *number* | - | - |
| label | 价格左侧文案 | *string* | `合计:` | - |
| suffix-label | 价格右侧文案 | *string* | - | - |
| text-align | 价格文案对齐方向,可选值为 `right` `left` | *string* | `right` | - |
| button-text | 按钮文字 | *string* | - | - |
| button-type | 按钮类型 | *string* | `danger` | - |
| tip | 提示文案 | *string* | - | - |
@@ -82,7 +83,7 @@ Vue.use(SubmitBar);
| disabled | 是否禁用按钮 | *boolean* | `false` | - |
| loading | 是否显示加载中的按钮 | *boolean* | `false` | - |
| currency | 货币符号 | *string* | `¥` | - |
| decimal-length | 价格小数点后位数 | *number* | `2` | - |
| decimal-length | 价格小数点后位数 | *number* | `2` | - |
| safe-area-inset-bottom | 是否开启底部安全区适配,[详细说明](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `false` | - |
### Events