Skip to content

Commit 3c9375e

Browse files
author
woytu
committed
点击遮罩不关闭弹窗
1 parent 4176bc3 commit 3c9375e

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

static/js/index.js

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,13 @@ function getKey() {
135135
area: [area_width],
136136
type: 1,
137137
icon: 1,
138-
skin: 'layui-layer-lan', //样式类名,目前layer内置的skin有:layui-layer-lan、layui-layer-molv
139-
closeBtn: 1, //关闭按钮
138+
// 样式类名,目前layer内置的skin有:layui-layer-lan、layui-layer-molv
139+
skin: 'layui-layer-lan',
140+
// 关闭按钮
141+
closeBtn: 1,
140142
anim: 2,
141-
shadeClose: true, //开启遮罩关闭
143+
// 点击遮罩是否关闭弹窗
144+
shadeClose: false,
142145
title: false,
143146
content: html
144147
});
@@ -193,10 +196,13 @@ function netSarangDownload() {
193196
area: [area_width],
194197
type: 1,
195198
icon: 1,
196-
skin: 'layui-layer-lan', //样式类名,目前layer内置的skin有:layui-layer-lan、layui-layer-molv
197-
closeBtn: 1, //关闭按钮
199+
// 样式类名,目前layer内置的skin有:layui-layer-lan、layui-layer-molv
200+
skin: 'layui-layer-lan',
201+
// 关闭按钮
202+
closeBtn: 1,
198203
anim: 2,
199-
shadeClose: true, //开启遮罩关闭
204+
// 点击遮罩是否关闭弹窗
205+
shadeClose: false,
200206
title: false,
201207
content: html
202208
});

0 commit comments

Comments
 (0)