内容区头部

可以配置头部面包屑导航, 导航页卡, 按钮组

效果预览

yml配置

header:
  breadcrumbs:
    content:
      - {model: link, content: '人员列表', href:'/platform/user/get_list'}
      - {model: text, content: '列表'}
  nav_tabs:
    active: 'zj'
    content:
      - {id: zj,model: tab, content: 组件, href: '/widget?id={%id%}',hide: 'true'}
      - {id: bd,model: tab, content: 表单, href: '/form',hide: true}
      - {id: list,model: tab, content: 列表, href: '/list'}
      - {id: view,model: tab, content: 展示页, hide: '{%nav_hide%}', href: '/detail/'}
      - {id: ace,model: tab, content: ACE, href: 'htt://ace.qq.com', target: '_blank'}
  btn_gtoup:
    content:
      - {model: btn,icon: fa-info-circle, name: 创建用户, hide: true, type: link, href: '/platform/user/edit', class_name: 'btn-test'}
      - {model: btn, name: 创建群组(ajax), type: ajax,url: '{%url%}', params: {user_id: '{%id%}',user_name: '{%nav_tabs.active_index%}'}}

字段说明

字段 类型 含义 默认值
breadcrumbs Object 面包屑导航,配置 -
nav_tabs Object 导航模块,配置 -
btn_gtoup Object 按钮组,配置 -

results matching ""

    No results matching ""