mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-05 12:48:04 +08:00
16 lines
297 B
Vue
16 lines
297 B
Vue
<template>
|
|
<el-badge :value="200" :max="99" class="item">
|
|
<el-button>comments</el-button>
|
|
</el-badge>
|
|
<el-badge :value="100" :max="10" class="item">
|
|
<el-button>replies</el-button>
|
|
</el-badge>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.item {
|
|
margin-top: 10px;
|
|
margin-right: 40px;
|
|
}
|
|
</style>
|