# 3.7 目录标题(Catalog)
目录标题组件,用于展示分组标题
# 基础用法
<template>
<dof-catalog title="分组标题"></dof-catalog>
</template>
1
2
3
2
3
# Attributes
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
title | String | N | 目录 | 标题文本 |
background-color | String | N | #f9f9f9 | 背景颜色 |
text-color | String | N | '' | 文本颜色 |
avatar-icon | String | N | '' | 图标 |
has-margin | Boolean | N | false | 是否有外边距 |