
#### 解释：列表项

#### 属性说明：
|属性名 | 类型 | 必填 | 默认值 |说明 |
|---|---|---|---|
|clamp |Number |否|2|标题最多显示几行|
|title |String |是||标题|
|desc |String |是||描述|
|fixedBottom |Boolean |否|false|是否固定底部|
|noBorder |Boolean |否|false|搜索框的当前值|
|xCompitable |Boolean |否|false|是否要做iphonex 适配|
|clickable |Boolean |否|true|列表是否可点击|
|selectable |Boolean |r|true|描述文字是否可选择|


## slots

| slotName |  说明 |
| ----------| -----|
| title | 自定义title显示 |
| default | 列表右侧显示 |

## 示例
json:
```json
{
    "navigationBarTitleText": "搜索框",
    "usingComponents": {
        "list-item": "yourpath/components/ListItem/src/index"
    }
}
```
swan:
```html
<view>
    <list-item
        s-for="item, index in list"
        title="{{item.title}}"
        desc="{{'发文机关：' + item.office}}"
        clickable="{{true}}"
        bind:tap="gotoArticle"
    />
</view>
```

js:
```js
/* eslint-disable babel/new-cap */
Page({
/* eslint-enable babel/new-cap */
    data: {
        list: [
            {
                title: '国务院关于开展第七次全国人口普查的通知',
                office: '国务院',
                id: 123
            },
            {
                title: '国务院办公厅关于加强水上搜救工作的通知',
                office: '国务院',
                id: 124
            },
            {
                title: '国务院关于进一步做好利用外资工作的意见',
                office: '国务院',
                id: 125
            },
            {
                title: '中共中央办公厅印发《2019-2023年全国党员教育培训工作规划》',
                office: '国务院',
                id: 126
            }
        ]
    },

    gotoArticle(e) {
        swan.navigateTo({
            url: '/detail/detail?id=新页面'
        });
    }
})
```
