element-plus/docs/examples/card/basic.vue
JeremyWuuuuu e97fe719c4
chore(docs): update text button type (#7533)
- Update button's type in examples per changes for button
2022-05-06 17:33:52 +08:00

32 lines
532 B
Vue

<template>
<el-card class="box-card">
<template #header>
<div class="card-header">
<span>Card name</span>
<el-button class="button" text>Operation button</el-button>
</div>
</template>
<div v-for="o in 4" :key="o" class="text item">{{ 'List item ' + o }}</div>
</el-card>
</template>
<style>
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.text {
font-size: 14px;
}
.item {
margin-bottom: 18px;
}
.box-card {
width: 480px;
}
</style>