PopupHeader

demo 原始链接demo 源码编辑文档组件源码

popup-header - 图1

二维码

popup-header - 图2

安装

局部注册

全局注册

  1. import { PopupHeader } from 'vux'
  2. export default {
  3. components: {
  4. PopupHeader
  5. }
  6. }

  1. // 在入口文件全局引入
  2. import Vue from 'vue'
  3. import { PopupHeader } from 'vux'
  4. Vue.component('popup-header', PopupHeader)

属性

名字类型默认值说明版本要求
left-textstring左侧文字v2.5.2
right-textstring右侧文字v2.5.2
titlestring标题v2.5.2
show-bottom-borderstring是否显示底部边框v2.5.2

事件

名字参数说明版本要求
@on-click-left左侧文字点击时触发v2.5.2
@on-click-right右侧文字点击时触发v2.5.2

贡献者

该组件(包含文档)迭代次数 7,贡献人数 1airyland

发布日志

  • v2.5.9 [fix] 修复错误的 slot 名字
  • v2.5.2 [feature] 新组件 popup-header, 配合 popup 使用统一头部样式