时间戳转义
命令 | 参数名 | 默认值 | 参数说明 | 必填 |
---|---|---|---|---|
时间戳转义 | type | time | 把时间戳转换为时间格式 | |
公共配置 | title | 默认表头栏,当相表并头没有被定义时,取该值输出 | 1 | |
type | time | 字段内容转义输入类型 | 1 | |
titletag | 当前键名 | 标题标签 | 0 | |
parentkey | CommTag | 标题标签的父签 | 0 | |
width | 字段在列表中占据的宽度 | 0 | ||
class | 单元格自定义样式,设为“layui-table-cell-over”时,超出长度是自动截断,点击显示完整内容 | 0 | ||
参数配置 | format | Y-m-d | 时间格式 | 1 |
'livetime' => array( 'type' => 'time', 'format' => 'Y-m-d', 'title' => '入住时间', ),