# GpIndexHor 横版首页
# 引入
import PressGpIndexHor from '@tencent/press-plus/press-gp-index-hor/press-gp-index-hor';
export default {
components: {
PressGpIndexHor,
}
}
# 代码演示
# 基础用法
# API
# Props
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
show | 是否显示弹窗 | boolean | false |
show-cancel-button | 是否显示取消按钮 | boolean | true |
# Events
事件名 | 说明 | 参数 |
---|---|---|
confirm | 点击确认 | show |
cancel | 点击取消 | show |