From 329f2ae1ffa5194c21a35e1d32f96d80455595c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Tue, 25 Apr 2023 00:45:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20layout=20=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/layout/index.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/layout/index.md b/docs/layout/index.md index 7b0af3b3..150158bd 100644 --- a/docs/layout/index.md +++ b/docs/layout/index.md @@ -126,14 +126,14 @@ layui.use(['element', 'layer', 'util'], function(){ }, menuRight: function(){ // 右侧菜单事件 layer.open({ - type: 1 - ,title: '更多' - ,content: '
处理右侧面板的操作
' - ,area: ['260px', '100%'] - ,offset: 'rt' //右上角 - ,anim: 'slideLeft' - ,shadeClose: true - ,scrollbar: false + type: 1, + title: '更多', + content: '
处理右侧面板的操作
', + area: ['260px', '100%'], + offset: 'rt', // 右上角 + anim: 'slideLeft', // 从右侧抽屉滑出 + shadeClose: true, + scrollbar: false }); } });