# Empty 空状态 
该组件用于需要加载内容,但是加载的第一页数据就为空,提示一个“没有内容”的场景, 我们精心挑选了十几个场景的图标,方便您直接使用。自带登录。
# 基础用法
<template>
<qinui-empty />
</template>
# 按钮
<template>
<qinui-empty buttonText="首页" />
</template>
# API
# Props
| 参数 | 说明 | 类型 | 默认值 | 可选值 | 全局配置 |
|---|---|---|---|---|---|
| host | 图片主域 | String | - | - | 支持 |
| image | 图片地址 | String | - | - | - |
| imageWidth | 图片宽度 | String | - | - | 支持 |
| imageHeight | 图片高度 | String | - | - | 支持 |
| content | 文案 | String | 暂无数据 | - | - |
| buttonText | 按钮文案,有则显示 | String | - | - | - |
| buttonType | 按钮类型 | String | default | default | border | border | - |
| buttonSize | 按钮类型 | String | default | default | large | small | mini | - |
| useLogin | 是否使用登录组件,示例 | Boolean | false | true | false | - |
| logined | 是否登录 | Boolean | false | true | false | - |
| h5Auth | H5 点击回调 | Function | - | - | - |
| minAfterAuth | 小程序 点击回调 | Function | - | - | - |
| useStore | 是否使用 store | Boolean | true | ||
| contentDisabled | 内容是否使用禁用颜色 | Boolean | false | 支持 | |
| contentType | 内容文字类型,示例 | String | secondary | secondary | default | 支持 |
| contentSize | 内容文字大小,示例 | String | 32 | 参考示例 | 支持 |