使用type、plain、round和circle属性来定义 Button 的样式。
<el-row>
<el-button>默认按钮</el-button>
<el-button type="primary" plain>主要按钮</el-button>
<el-button type="success" round>成功按钮</el-button>
<el-button type="info" icon="el-icon-message" circle></el-button>
<el-button type="warning" round>警告按钮</el-button>
<el-button type="danger" plain>危险按钮</el-button>
</el-row>

最后
以上就是无心口红最近收集整理的关于Element Button组件的使用方法的全部内容,更多相关Element内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复