- var data = conf
- var help = conf.help
- var config = globalConfig();

#indexLeftSlide
  a.newAd( href="/ad/index/create?customer_id=#{config.customer_id}" target="_blank" )
    em
    span 新建广告
  .newad-layer
  .moneyDetails
    p.md-tit
      span 今日实时消耗
    .real-use.com-styl #{conf.realUse} 元
    p.md-tit
      span 账户余额
      em( class='tips' title = "<p class='tips-out'>扣除广告消耗或冻结金额后，账户可用余额</p>" )
    .account-balance.com-styl #{conf.accountBalance} 元
    p.md-tit
      span 每日消耗上限
      em( class='tips' title = "<p class='tips-out'>每日累计消耗的最高限额；<p>a.当额度调低时，您修改的额度将于第二天自动生效；</p><p>b.当额度调高时，消耗上限的最小值为100元，增加日消耗上限的最小单位为50元，您修改的额度立即生效；</p></p>" )
    .use-limit.com-styl
      span #{conf.useLimit} 元
      em.edit-limit
    if conf.userLimitIsShow
      p.down-limited
        |日限额调低次日生效，生效限额为
        em #{conf.userLimitReverse}
        |元
    .md-btns
      if conf.targetAdvertiserType == 1
        a.pay-btn( href='http://pro.weibo.com/#/customer/userRechange/userRechange' target='_blank') 充值
      a.details-btn( href='#{config.baseUrl}/account?customer_id=#{config.customer_id}#AccWater' ) 明细
    .edit-layer
  .ad-stat
    p.stat-tit
      span 广告统计
      em( class='tips' title = "<p class='tips-out'>各投放状态的广告计划条数</p>" )
    ul.ad-details
      li
        span 投放中 :
        a.tit.inCase( href="#{config.baseUrl}/ad/index/manage?customer_id=#{config.customer_id}&effectiveStatus=2&effective=投放中&from=index&to=planlist" ) #{conf.adDelivering}
      li
        span 待投放 :
        a.tit.pending( href="#{config.baseUrl}/ad/index/manage?customer_id=#{config.customer_id}&effectiveStatus=1&effective=待投放&from=index&to=planlist" ) #{conf.adWaitDeliver}
      li
        span 已结束 :
        a.tit.deliveryEnded( href="#{config.baseUrl}/ad/index/manage?customer_id=#{config.customer_id}&effectiveStatus=9&effective=已结束&from=index&to=planlist" ) #{conf.adDelete}
      li
        span 已暂停 :
        a.tit.paused( href="#{config.baseUrl}/ad/index/manage?customer_id=#{config.customer_id}&effectiveStatus=3&effective=已暂停&from=index&to=planlist" ) #{conf.adPause}
  .ad-help
    p.help-tit
      span 帮助中心
      a( href = 'http://tui.weibo.com/intro/question' target='_blank')
        span 更多
        em
    ul.ad-details
      - for ( var i = 0; i < help.length; i++ )
        li
          a( href="#{help[i].href}" title="#{help[i].title}" target='_blank') #{help[i].title}
