- var data = conf.data
- var color = ''
- var titleCon = ''
ul#mess-list
  each item in data
    - var kind = item.type
    case kind
      when 1
        - color = 'green'
        - titleCon = '产品公告：'
      when 2
        - color = 'org'
        - titleCon = '审核消息：'
      when 3
        - color = 'blue'
        - titleCon = '财务消息：'
      when 4
        - color = 'red'
        - titleCon = '账户消息：'
    li(class = "#{color}" )
      em.circle
      span.info #{titleCon} #{item.title}
      span.time #{item.time}
      //- em(class = "#{color}")
      //- span #{titleCon}
      //- span #{item.title}
      //- i #{item.time}
//- ul#mess-list
//-   li.blue
//-     em.circle
//-     span.info 产品公告: xxxxxxxxxxx
//-     span.time 2016/07/14
//-   li.yellow
//-     em.circle
//-     span.info 产品公告: xxxxxxxxxxx
//-     span.time 2016/07/14
//-   li.orange
//-     em.circle
//-     span.info 产品公告: xxxxxxxxxxx
//-     span.time 2016/07/14
//-   li.orange
//-     em.circle
//-     span.info 产品公告: xxxxxxxxxxx
//-     span.time 2016/07/14
//-   li.orange
//-     em.circle
//-     span.info 产品公告: xxxxxxxxxxx
//-     span.time 2016/07/14
//-   li.orange
//-     em.circle
//-     span.info 产品公告: xxxxxxxxxxx
//-     span.time 2016/07/14
//-   li.orange
//-     em.circle
//-     span.info 产品公告: xxxxxxxxxxx
//-     span.time 2016/07/14
