iview
通用类别
../iview/src/styles/custom.less 定制主题 颜色/字体
属性值都可绑定变量 :loading=”istrue”
Button
Button的 属性 props
[type=""]
defaultprimarydashedtextinfosuccesswarningerror
[ghost]幽灵按钮将其他按钮的内容反色,背景变为透明,常用在有色背景上
[shape=""]
circlecircle-outline
[size=""]
smalldefaultlarge
[long]
[disabled]
[icon=""]使用Button的 icon 属性,图标位置将在最左边,如果需要自定义位置,需使用Icon组件
[loading]
[to=""], [replace], [target=""]实现点击按钮直接跳转 a
ButtonGroup[vertical]>Button
Icon
属性 props
[type=""]所有图标[size=""]Number | String 图标的大小,单位是 px[color=""][custom=""]自定义图标。 Icon 支持使用第三方自定义图标,你可以引入任意的字体文件库来使用- todo