mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-03 02:21:49 +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>
|