SubmitBar 提交订单栏
使用范例
更多例子请参考Demo
API
参数 | 说明 | 类型 | 默认值 |
price | 价格 |
| - |
label | 价格左侧文案 |
|
|
suffixLabel | 价格右侧文案 |
| - |
textAlign | 价格文案对齐方向,可选值为 |
|
|
buttonText | 按钮文字 |
| - |
tip | 提示文案 |
| - |
tipIcon | 左侧图标 |
| - |
disabled | 是否禁用按钮 |
|
|
loading | 是否加载中 |
|
|
currency | 货币符号 |
|
|
decimalLength | 价格小数点后位数 |
|
|
onSubmit | 按钮点击事件回调 |
| - |
customTip | 提示文案中的额外操作和说明 |
| - |
customTop | 自定义订单栏上方内容 |
| - |
customLeft | 自定义订单栏左侧内容 |
| - |
Demo截图
Last updated