Skip to content

Commit 0128d6d

Browse files
author
百小僧
committed
v2.5.4
1 parent a0ea81c commit 0128d6d

File tree

9 files changed

+59
-49
lines changed

9 files changed

+59
-49
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# 序言
22

3-
Layx 下一代Web弹窗组件
3+
Layx 新一代Web弹窗组件
44

55
gzip压缩版仅 `13.5kb`,非常小巧。
66

77
## 信息
88

99
- `原创作者`:百小僧
1010
- `开源协议`:MIT
11-
- `当前版本`:v2.5.3
12-
- `发布日期`:2018.10.09
11+
- `当前版本`:v2.5.4
12+
- `发布日期`:2018.11.03
1313
- `交流Q群`[18863883](//shang.qq.com/wpa/qunwpa?idkey=60a832c9b6d9e7e56a0057fa341270fe52472e8390f9a8ec5985e47c319a166e)
1414
- `版权所有`:百签软件(中山)有限公司
1515

doc/doc.js

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ window.onload = function () {
101101
102102
<div id="about-layx">
103103
<h2>序言</h2>
104-
<p>Layx 下一代Web弹窗组件。</p>
104+
<p>Layx 新一代Web弹窗组件。</p>
105105
<p>gzip压缩版仅 <label>13.5kb</label>,非常小巧。</p>
106106
<h2>项目</h2>
107107
<ul>
@@ -116,8 +116,8 @@ window.onload = function () {
116116
<ul>
117117
<li><label>原创作者</label>:百小僧</li>
118118
<li><label>开源协议</label>:MIT</li>
119-
<li><label>当前版本</label>:<strong>v2.5.3</strong></li>
120-
<li><label>发布日期</label>:2018.10.09</li>
119+
<li><label>当前版本</label>:<strong>v2.5.4</strong></li>
120+
<li><label>发布日期</label>:2018.11.03</li>
121121
<li><label>交流Q群</label>:<a target="_blank" href="//shang.qq.com/wpa/qunwpa?idkey=60a832c9b6d9e7e56a0057fa341270fe52472e8390f9a8ec5985e47c319a166e">18863883</a></li>
122122
<li><label>版权所有</label>:百签软件(中山)有限公司</li>
123123
</ul>
@@ -268,6 +268,10 @@ window.onload = function () {
268268
layx.destroyInlay("float-log");
269269
layx.html('log', 'Layx 更新日志 v' + layx.v, layx.multiLine(function () {/*
270270
<div style="padding:0 10px 10px 10px">
271+
<h3># 2018.11.03 v2.5.4 发布</h3>
272+
<pre style="margin-top:0">
273+
- [修复] 关闭窗口、最小化窗口不能恢复页面滚动动态bug,感谢 QQ:869943174
274+
</pre>
271275
<h3># 2018.10.09 v2.5.3 发布</h3>
272276
<pre style="margin-top:0">
273277
- [修复] 储存窗口大小位置bug,感谢 QQ:315976369
@@ -573,16 +577,16 @@ window.onload = function () {
573577
]
574578
});
575579

576-
layx.tip('Layx 下一代Web弹窗组件.', document.getElementById('tip-top'), 'top');
577-
layx.tip('Layx 下一代Web弹窗组件.', document.getElementById('tip-bottom'), 'bottom');
578-
layx.tip('Layx 下一代Web弹窗组件.', document.getElementById('tip-left'), 'left');
579-
layx.tip('Layx 下一代Web弹窗组件.', document.getElementById('tip-right'), 'right');
580+
layx.tip('Layx 新一代Web弹窗组件.', document.getElementById('tip-top'), 'top');
581+
layx.tip('Layx 新一代Web弹窗组件.', document.getElementById('tip-bottom'), 'bottom');
582+
layx.tip('Layx 新一代Web弹窗组件.', document.getElementById('tip-left'), 'left');
583+
layx.tip('Layx 新一代Web弹窗组件.', document.getElementById('tip-right'), 'right');
580584

581585
var logBtn = layx.getButton("layx", "log");
582586
var winform = layx.html('float-log', 'Layx v' + layx.v + " 更新日志", layx.multiLine(function () {/*
583587
<div style="padding:10px">
584588
<pre style="margin-top:0;margin-bottom: 0;">
585-
- [修复] 储存窗口大小位置bug,感谢 QQ:315976369
589+
- [修复] 关闭窗口、最小化窗口不能恢复页面滚动动态bug,感谢 QQ:869943174
586590
</pre>
587591
*/ }), {
588592
floatTarget: logBtn,

doc/iframe.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1,minimum-scale=1,user-scalable=no" />
77
<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
88
<meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
9-
<title>Layx 下一代Web弹窗组件 v2.5.3</title>
9+
<title>Layx 新一代Web弹窗组件 v2.5.4</title>
1010
<style>
1111
html,
1212
body {

doc/index.html

Lines changed: 26 additions & 26 deletions
Large diffs are not rendered by default.

doc/topopen.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1,minimum-scale=1,user-scalable=no" />
77
<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
88
<meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
9-
<title>Layx 下一代Web弹窗组件 v2.5.3</title>
9+
<title>Layx 新一代Web弹窗组件 v2.5.4</title>
1010
<style>
1111
html,
1212
body {

layx.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
* gitee : https://gitee.com/monksoul/LayX
44
* github : https://github.com/MonkSoul/Layx/
55
* author : 百小僧/MonkSoul
6-
* version : v2.5.3
6+
* version : v2.5.4
77
* create time : 2018.05.11
8-
* update time : 2018.10.09
8+
* update time : 2018.11.03
99
*/
1010

1111
*[class^="layx-"] {

layx.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
* gitee : https://gitee.com/monksoul/LayX
44
* github : https://github.com/MonkSoul/Layx/
55
* author : 百小僧/MonkSoul
6-
* version : v2.5.3
6+
* version : v2.5.4
77
* create time : 2018.05.11
8-
* update time : 2018.10.09
8+
* update time : 2018.11.03
99
*/
1010
;
1111
!(function (over, win, slf) {
1212
var Layx = {
13-
version: '2.5.3',
13+
version: '2.5.4',
1414
defaults: {
1515
id: '',
1616
icon: true,
@@ -1679,6 +1679,9 @@
16791679
delete that.windows[id];
16801680
that.windows[id] = _winform;
16811681
that.updateMinLayout();
1682+
if (document.body.classList.contains("ilayx-body")) {
1683+
document.body.classList.remove('ilayx-body');
1684+
}
16821685
if (Utils.isFunction(winform.event.onmin.after)) {
16831686
winform.event.onmin.after(layxWindow, winform);
16841687
}
@@ -1882,6 +1885,9 @@
18821885
Layx.focusId = Layx.prevFocusId;
18831886
delete that.cloneStore[id];
18841887
delete that.windows[id];
1888+
if (document.body.classList.contains("ilayx-body")) {
1889+
document.body.classList.remove('ilayx-body');
1890+
}
18851891
layxWindow.parentNode.removeChild(layxWindow);
18861892
if (layxShade) {
18871893
layxShade.parentNode.removeChild(layxShade);

layx.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

layx.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)