update 首页
This commit is contained in:
34
web-react/src/pages/home/notice.jsx
Normal file
34
web-react/src/pages/home/notice.jsx
Normal file
@@ -0,0 +1,34 @@
|
||||
import React, { Component } from 'react'
|
||||
import { Card, List } from 'antd'
|
||||
import { AntIcon } from 'components'
|
||||
import moment from 'moment'
|
||||
|
||||
const data = [
|
||||
{ title: '关于2020年度房屋征收评估机构信用考核情况的通报' },
|
||||
{ title: '关于2020年度房屋征收评估机构信用考核情况的通报' },
|
||||
{ title: '关于2020年度房屋征收评估机构信用考核情况的通报' },
|
||||
]
|
||||
|
||||
export default class notice extends Component {
|
||||
render() {
|
||||
return (
|
||||
<Card
|
||||
bordered={false}
|
||||
title="通知"
|
||||
extra={<a>更多</a>}
|
||||
>
|
||||
<List dataSource={data} itemLayout="horizontal" renderItem={
|
||||
(item) => (
|
||||
<List.Item>
|
||||
<List.Item.Meta
|
||||
title={item.title}
|
||||
description={moment().format('YYYY-MM-DD HH:mm:ss')}
|
||||
avatar={<AntIcon style={{ fontSize: '18px' }} type="MessageTwoTone" />}
|
||||
/>
|
||||
</List.Item>
|
||||
)
|
||||
} />
|
||||
</Card>
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user