diff --git a/docs/layer/examples/other.md b/docs/layer/examples/other.md index fa4341b8..2d607b1e 100644 --- a/docs/layer/examples/other.md +++ b/docs/layer/examples/other.md @@ -68,7 +68,7 @@ layui.use(function(){ } ] }, - hideFooter: true // 是否隐藏底部栏 --- 2.8+ + footer: false // 是否显示底部栏 --- 2.8.16+ }); }, 'test-tips-photos': function(){ @@ -98,4 +98,4 @@ layui.use(function(){ } }) }); - \ No newline at end of file + diff --git a/docs/layer/index.md b/docs/layer/index.md index a91be9d5..9ec0acc9 100644 --- a/docs/layer/index.md +++ b/docs/layer/index.md @@ -248,9 +248,9 @@ layer.prompt({ | 私有属性 | 描述 | 类型 | 默认值 | | --- | --- | --- | --- | | photos | 图片层的数据源,格式详见下述示例。 | object | - | -| hideFooter 2.8+ | 是否隐藏底部栏 | boolean | `false` | +| toolbar 2.8.16+ | 是否显示顶部工具栏 | boolean | `true` | +| footer 2.8.16+ | 是否隐藏底部栏 | boolean | `true` | | tab | 图片层切换后的回调函数,返回的参数见下述示例 | function | - | -| toolbar 2.8.16+ | 是否显示顶部工具栏 | boolean | `false` | 该方法用于弹出图片层,基于 `type: 1`(即 `page` 层)的自定义内容。 diff --git a/examples/layer.html b/examples/layer.html index 78ee296e..e7ac981a 100644 --- a/examples/layer.html +++ b/examples/layer.html @@ -1,20 +1,15 @@ - -
- - -