| width |
宽度 |
number |
— |
250 |
| height |
高度 |
number |
— |
40 |
| text |
初始文字 |
string |
— |
swiping to the right side |
| successText |
成功提示文字 |
string |
— |
success |
| background |
滑块右侧背景色 |
string |
#eee / red / rgba(52,52,52,0.7) |
#eee |
| progressBarBg |
滑块左侧背景色 |
string |
#76c61d / white / rgba(52,52,52,0.7) |
#76c61d |
| progressBarBg |
滑块左侧背景色 |
string |
#76c61d / white / rgba(52,52,52,0.7) |
#76c61d |
| handlerBg |
滑块背景色 |
string |
#fff / white / rgb(255,255,255) |
#fff |
| completedBg |
验证通过背景色 |
string |
#76c61d / white / rgba(52,52,52,0.7) |
#76c61d |
| circle |
两侧是否圆形 |
boolean |
true / false |
false |
| radius |
圆角 |
string |
4px / 4% |
4px |
| handlerIcon |
滑块未验证通过时的图标,根据所选框架设置不同class |
string |
el-icon-d-arrow-right |
— |
| successIcon |
滑块验证通过时的图标,根据所选框架设置不同class |
string |
el-icon-circle-check |
— |
| textSize |
文字大小 |
string |
14px / 4em |
14px |
| textColor |
文字颜色 |
string |
#333 / gray / rgb(52,52,52) |
#333 |