button 文档
button 文档
使用type
、plain
、round
和circle
属性来定义 Button 的样式。
复制显示源代码
<template>
<IButton class="button" type="primary">按钮实例</IButton>
<IButton class="button" type="success">按钮实例</IButton>
<IButton class="button" type="error">按钮实例</IButton>
</template>
<style scoped>
.button {
margin-right: 20px;
}
</style>
隐藏源代码