# empty组件
# JwChat-empty
点击查看代码
<div class="box">
<JwChat-empty size="5rem"/>
</div>
<style scoped>
.box {
position: relative;
width: 10rem;
height: 10rem;
margin: 2rem auto;
box-shadow: 0 0px 0px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.22);
}
</style>
# 参数配置
# Attribute
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
size | 组件大小 | String | - | 5rem |
← 用户组件