# mui-result-case

## ResultCaseComponent

## 使用场景

案例列表

## 项目中用到的地方

首页全局搜索案例列表（单个组件）公共组件

## 代码示例

```html
   <mui-result-case *ngFor="let item of resCases?.content;" [item]="item"></mui-result-case>
```

## API

### 属性

| 参数     | 说明             | 类型     | 默认值 |
| -------- | ---------------- | -------- | ------ |
| `[item]` | 页面需要展示的值 | `Object` | ---    |

### item中的属性

| 参数                    | 说明           | 类型     | 示例                                              |
| ----------------------- | -------------- | -------- | ------------------------------------------------- |
| `item.id` | 案例的id       | `Number` | `2597925`                                         |
| `item.coverUrl`         | 案例的的面图   | `String` | ---                                               |
| `item.name`             | 案例的名称     | `String` | `"<span style="color:red">案例</span>测试一0919"` |
| `item.category`         | 案例的所属分类 | `String` | `"电子商务"`                                      |
| `item.author`           | 案例的作者     | `String` | ---                                               |
| `item.content`          | 案例的内容     | `String` | `"内容A"`                                         |
