|
|
@ -266,7 +266,7 @@ layer.open({
|
|
|
|
是否开启标题栏的最大化和最小化图标。
|
|
|
|
是否开启标题栏的最大化和最小化图标。
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td>array</td>
|
|
|
|
<td>boolean</td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
`false`
|
|
|
|
`false`
|
|
|
@ -456,28 +456,42 @@ layer.open({
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>time</td>
|
|
|
|
<td>id</td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
弹层自动关闭所需的毫秒数。 如 `time: 3000` ,即代表 3 秒后自动关闭。 提示框、加载层、Tips 层三种弹出模式默认开启。
|
|
|
|
弹层的唯一索引值。 一般用于页面层或 iframe 层弹出时的状态识别,设置该属性可防止弹层的重复弹出。
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td>number</td>
|
|
|
|
<td>string</td>
|
|
|
|
|
|
|
|
<td>-</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>hideOnClose <sup>2.8.3+</sup></td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
`0`
|
|
|
|
关闭弹层时,是否将弹层设置为隐藏状态(而非移除),当再次打开,直接显示原来的弹层。 若设为 `true`,则必须同时设置 `id` 属性方可有效。
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>boolean</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
`false`
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>id</td>
|
|
|
|
<td>time</td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
弹层的 ID 值。一般用于防止页面层或 iframe 层的重复弹出。
|
|
|
|
弹层自动关闭所需的毫秒数。 如 `time: 3000` ,即代表 3 秒后自动关闭。 提示框、加载层、Tips 层三种弹出模式默认开启。
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>number</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
`0`
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td>string</td>
|
|
|
|
|
|
|
|
<td>-</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>fixed</td>
|
|
|
|
<td>fixed</td>
|
|
|
|