# GpTitle 标题
# 引入
import PressGpTitle from '@tencent/press-plus/press-gp-title/press-gp-title';
export default {
components: {
PressGpTitle,
}
}
# 代码演示
# 基础用法
<PressGpTitle
left-title="报名中"
right-title="全部赛程"
@clickRight="clickRight"
/>
# API
# Props
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
left-title | 左侧标题 | string | - |
left-icon | 左侧图标 | string | icon-team |
right-title | 右侧标题 | string | - |
right-icon | 右侧图标 | string | icon-back |
show-right-filter | 是否显示右侧的筛选箭头 | boolean | false |
# Events
事件名 | 说明 | 参数 |
---|---|---|
clickLeft | 点击左侧 | - |
clickRight | 点击右侧 | - |