# mui-iframe-box

## NoticeComponent

## 使用场景

公告模块公用组件

## 项目中用到的地方

首页轮播图下面的公告列表

## 代码示例

```html
<mui-notice [noticeList]="noticeList"></mui-notice>
```

## API

### 属性

| 参数           | 说明                 | 类型                                                                  | 默认值     |
| -------------- | -------------------- | --------------------------------------------------------------------- | ---------- |
| `[type]`       | 调用公告组件的父类型 | `'common' | 'train'|'ugc' | 'ugc-detail'| 'subject'|'subject-detail'` | `'common'` |
| `[id]`         | 调用公告组件的父id   | `'number'`                                                            | --         |
| `[noticeList]` | 公告列表             | list                                                                  | --         |

### noticeList中的obj的属性

| 参数        | 说明       | 类型     | 默认值                             |
| ----------- | ---------- | -------- | ---------------------------------- |
| `obj.title` | 公告的标题 | `String` | `十三届全国政协履职工作一年综述`   |
| `obj.id`    | 公告的id   | `Number` | `402880cc69375718016938068f4c0000` |
