Skip to content

按钮

普通按钮

html
<h-card title="普通按钮">
  <h-button>1515</h-button>
  <h-button>按钮11515</h-button>
</h-card>
<h-card title="普通按钮">
  <h-button>1515</h-button>
  <h-button>按钮11515</h-button>
</h-card>

主题按钮

html
<h-card title="主题按钮">
  <h-button type="primary">按钮</h-button>
</h-card>
<h-card title="主题按钮">
  <h-button type="primary">按钮</h-button>
</h-card>

成功按钮

html
<h-card title="成功按钮">
  <h-button type="success">按钮</h-button>
</h-card>
<h-card title="成功按钮">
  <h-button type="success">按钮</h-button>
</h-card>

错误按钮

html
<h-card title="错误按钮">
  <h-button type="danger">按钮</h-button>
</h-card>
<h-card title="错误按钮">
  <h-button type="danger">按钮</h-button>
</h-card>

警告按钮

html
<h-card title="警告按钮">
  <h-button type="warning">按钮</h-button>
</h-card>
<h-card title="警告按钮">
  <h-button type="warning">按钮</h-button>
</h-card>

块级按钮

html
<h-card title="块级按钮">
  <h-button type="warning" block>按钮</h-button>
</h-card>
<h-card title="块级按钮">
  <h-button type="warning" block>按钮</h-button>
</h-card>