- var config = globalConfig()
- var customId = config.customer_id
- var website = config.baseUrl

#toolbar
  .logo-menu
    .logo
    .menu
      ul
        li( class={active: conf.active === '首页' } )
          a( href="#{website}?customer_id=#{customId}" ) 首页
        li( class={active: conf.active === '推广' } )
          a( href="#{website}/ad/index/manage?customer_id=#{customId}" ) 推广
        li( class={active: conf.active === '报表' } )
          a( href="#{website}/data/index?customer_id=#{customId}" ) 报表
        li( class={active: conf.active === '工具' } )
          a( href="#{website}/toolCenter?customer_id=#{customId}" ) 工具
        li( class={active: conf.active === '账户' } )
          a( href="#{website}/account?customer_id=#{customId}#SubAccount" ) 账户
  .mess-user
    span.money
      span.num-wraper
        span.num
    span.mess
      span.num-wraper
        span.num
    a.help( href="http://tui.weibo.com/intro/question" target='_blank')
    a.user( href="#" )
      img.user-img( src= conf.imgsrc )
      .arr-out
    span.user-name #{conf.user}
    if conf.type.length > 0
      span.power
        i.arr-down
        | #{ conf.type }
