mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 01:41:20 +08:00
1bca47dcf7
* fix(components): button displays icon only * docs: add chinese button
39 lines
1.4 KiB
Vue
39 lines
1.4 KiB
Vue
<template>
|
|
<el-row>
|
|
<el-button>Default</el-button>
|
|
<el-button type="primary">Primary</el-button>
|
|
<el-button type="success">Success</el-button>
|
|
<el-button type="info">Info</el-button>
|
|
<el-button type="warning">Warning</el-button>
|
|
<el-button type="danger">Danger</el-button>
|
|
<el-button>中文</el-button>
|
|
</el-row>
|
|
|
|
<el-row>
|
|
<el-button plain>Plain</el-button>
|
|
<el-button type="primary" plain>Primary</el-button>
|
|
<el-button type="success" plain>Success</el-button>
|
|
<el-button type="info" plain>Info</el-button>
|
|
<el-button type="warning" plain>Warning</el-button>
|
|
<el-button type="danger" plain>Danger</el-button>
|
|
</el-row>
|
|
|
|
<el-row>
|
|
<el-button round>Round</el-button>
|
|
<el-button type="primary" round>Primary</el-button>
|
|
<el-button type="success" round>Success</el-button>
|
|
<el-button type="info" round>Info</el-button>
|
|
<el-button type="warning" round>Warning</el-button>
|
|
<el-button type="danger" round>Danger</el-button>
|
|
</el-row>
|
|
|
|
<el-row>
|
|
<el-button icon="el-icon-search" circle></el-button>
|
|
<el-button type="primary" icon="el-icon-edit" circle></el-button>
|
|
<el-button type="success" icon="el-icon-check" circle></el-button>
|
|
<el-button type="info" icon="el-icon-message" circle></el-button>
|
|
<el-button type="warning" icon="el-icon-star-off" circle></el-button>
|
|
<el-button type="danger" icon="el-icon-delete" circle></el-button>
|
|
</el-row>
|
|
</template>
|