
import styles from './news.css';
import { Tabs, Table } from 'antd';
const TabPane = Tabs.TabPane;

export default function() {
  return (
    <div>
     	<div className={styles.container}>
     		<div style={{ padding: "20px 0px"}}>
     		<h2 style={{ padding: "15px 0px"}}>平台公告</h2>
     		<Tabs
	          defaultActiveKey="0"
	          tabPosition={'left'}
	          style={{ minHeight: 300 }}
	        >
	          <TabPane tab="所有公告" key="0">
	          	<ul>
	     			<li>
	     				<a className={styles.new}>
	     				 	开放平台上线了!
	     				</a>
	     				<span>2019-01-09</span>
	     			</li>
	     			<li>
	     				<a>
	     				 	了解小云营销!
	     				</a>
	     				<span>2019-01-01</span>
	     			</li>
	     		</ul>
	          </TabPane>
	          <TabPane tab="常见问题" key="4">暂无公告</TabPane>
	          <TabPane tab="运营商通知" key="1">暂无公告</TabPane>
			  <TabPane tab="接口调整" key="2">暂无公告</TabPane>
			  <TabPane tab="活动" key="3">暂无公告</TabPane>
	        </Tabs>
     		</div>
     	</div>
    </div>
  );
}
