content: import React from 'react';
  const ArticleDetail = React.createClass({
      getInitialState: function(){
          return {
              title: '',
              artContent: ''
          }
      },
  
      componentWillMount: function(){
          let self = this;
          $.ajax({
              url: './art/detail/' + this.props.aid,
              type: 'get',
              dataType: 'json',
              success: function(rsp){
                  this.setState(rsp);
              }.bind(self)
          });
      },
  
      template: function(){
          return <article className='artDetail'>
              <div className='artDetailHeader'>
                  <div className='backBtn' onClick={this.props.onClickBack}>返回</div>
              </div>
              <div className='artDetailContent'>{this.state.artContent}</div>
              </article>
      },
  
      render: function(){
          return this.template();
      }
  });
  
  export default ArticleDetail;
  