Commit 923c3774 authored by lrd's avatar lrd

Update hlsPage.md commit by liangrending

parent c0805b0a
# hlsPage
代码示例
```xml
<h:hlsPage dataSource="pageDataSource" pageSize="3" titleSearchId="search" inputPlaceholder="项目信息" titleSearchInputId="searchId" id="pageFirst" titleImg="${contextPath!}/resources/images/CONT/contract.png" title="项目">
<h:columns>
<h:column field="divisionDesc" title='<@spring.message "业务模式"/>' >
</h:column>
<h:column field="projectStatusDesc" title='<@spring.message "审批状态"/>'>
</h:column>
<h:column field="tenantName" title='<@spring.message "承租人"/>' >
</h:column>
<h:column field="systemFlag" title='<@spring.message "系统级"/>' template="fn:businessTypeTemplate">
</h:column>
</h:columns>
</h:hlsPage>
```
属性说明
| **属性** | **参数** | **说明** |
| -------- | -------- | -------- |
| id | 唯一标志id | 返回一个名为id的分页对象 |
| dataSource | object | 数据源对象,参考标签hlsPageDataSource |
| pageSize | number | 每页的分页数量,可设置每页显示数据条数 |
| titleSearchId | 唯一标志id | 分页标签title查询框的id,可通过改标志获取数据或其它操作 |
| inputPlaceholder | text | 查询框的提示信息 |
| titleSearchInputId | 唯一标志id | 查询图片的标准id |
| titleImg | String | 标题栏的图片路劲 |
| title | String | 标题栏名称 |
| field | String | 字段的英文标注 |
| title(2) | String | 字段的中文标注 |
| template | function | 渲染函数,可将返回的html字符串渲染到对应的字段 |
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment