如何使用
< lx-operate-bottom tipType="price" ></ lx-operate-bottom>
Props
参数 | 说明 | 类型 | 默认值 | 可选值 |
---|---|---|---|---|
tipType | 操作区的模式,分别包括价格、折扣、自定义 | price | discount | custom | - | - |
customTxt | 自定义左侧提示语,当tipType为custom时生效 | string | - | - |
rightConfirmTxt | 右侧提交类型按钮的文字 | string | - | - |
rightCancelTxt | 右侧取消类型按钮的文字 | string | - | - |
discount | 折扣值,当tipType为discount | price时生效 | string | number | - | - |
amount | 价格值,当tipType为discount | price时生效 | string | number | - | - |
tip | 左侧价格说明文字,当tipType为price时生效 | string | - | - |