# lui-single-notice

## SingleNoticeComponent

## 使用场景

公告列表

## 项目中用到的地方

首页--公告--列表（单个组件）

## 代码示例

```html
 <lui-single-notice [data]="item"></lui-single-notice>
```

## API

### 属性

| 参数     | 说明               | 类型     | 默认值 |
| -------- | ------------------ | -------- | ------ |
| `[item]` | 单个公告显示的数据 | `Object` | `{}`   |

### data中的属性

| 参数               | 说明         | 类型     | 默认值 |
| ------------------ | ------------ | -------- | ------ |
| `item.title`       | 公告标题     | `String` | ----   |
| `item.createdDate` | 公告创建时间 | `Number` | ----   |
