content: import React from 'react';
  
  class SectionHeader extends React.Component {
  	render() {
  		return (
  			<div className='sectionheader'>
  				{
  					this.props.header.map((item, index, arr) => {
  						return item.show ? <div className={index === 0 ? 'leftarea' : 'rightarea'} key={index}>
  							<h2>
  								<a href='javascript:;'>
  									{item.title}
  								</a>
  							</h2>
  							<div className='subtitle'>
  								{
  									item.subtitle.map((item, index, arr) => {
  										return  <span key={index}>
  													<a href='javascript:;'>{item}</a>
  													{ index !== arr.length - 1 ? '|' : '' }
  												</span>
  									})
  								}
  								{ item.more ? <span className='more'><a href='javascript:;'>更多></a></span> : null}
  							</div>
  						</div> : null
  					}) 
  				}
  			</div>
  		)
  	}
  }
  
  export default SectionHeader;