doctype html
html(lang="en")
  head
    include ../common/includeheader  
    title 组件详情
    link(rel="stylesheet", href="../../css/modules.css")
    script(src="../../js/modules.js")
  body(ng-app="myApp", ng-controller="customersCtrlx")
    .container.spacing
      .col-md-10.col-md-offset-1
        .detail_content
          h2.detail_tit
            a(href="/#modules",target="_blank")
              i.fa.fa-mail-reply-all 返回 
            | {{cpdetail.name}}
            a.btn_load.pull-right(href="{{cpdetail.download}}",onclick="nnmodulesDetail.loadcount()") 下载               
          p.mt_10.c_9
            span.pr_15 版本号：{{cpdetail.version}}
            span.pr_15 更新时间：{{cpdetail.updateTime}}              
          p.text-info.mt_10 {{cpdetail.desciption}}       
        .mt_10.detail_content
          p#detail_content_back
            span
              i.fa.fa-mail-reply
              | 返回
              span                
          #help              
        #message.mt_10.detail_content
          h2.message 留言板
          .message_input
            textarea#message_input_content.mt_10( placeholder="请输入您的留言...")
            button#btn_msg.pull-right 留言
          ul#msg_show.message_info
            li(ng-repeat="x in msglists")
              h5.msg_tit
                span.lm_name {{x.nickname}}
                span.pull-right.lm_time {{x.updateTime}}                        
              p {{x.message}}
    .message_board
      a.btn_msg_ship(onclick="nnmodulesDetail.shipMsg()") 留言板
    include ../common/popbox
    script(type="text/javascript", defer="defer").
        var app = angular.module('myApp', []);
        app.controller('customersCtrlx', nnmodulesDetail.init);