Title页头
页头title组件,通常用于显示页面title或表单分割title。
基础用法
简单标题
vue
<template>
<ra-title title="简单标题"></ra-title>
</template>
前置插槽
简单标题
注释文字
vue
<template>
<ra-title title="简单标题">
<template #prefix>
<el-icon><InfoFilled /></el-icon>
<span>注释文字</span>
</template>
</ra-title>
</template>
后置插槽
简单标题
简单标题
展开 >
vue
<template>
<ra-title title="简单标题">
<template #suffix>
<el-button>新增</el-button>
</template>
</ra-title>
<ra-title title="简单标题">
<template #suffix>展开 ></template>
</ra-title>
</template>
属性说明
Title属性:
Title插槽: