Skip to content

Commit

Permalink
v2.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
百小僧 committed Nov 3, 2018
1 parent a0ea81c commit 0128d6d
Show file tree
Hide file tree
Showing 9 changed files with 59 additions and 49 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# 序言

Layx 下一代Web弹窗组件
Layx 新一代Web弹窗组件

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

## 信息

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

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

layx.tip('Layx 下一代Web弹窗组件.', document.getElementById('tip-top'), 'top');
layx.tip('Layx 下一代Web弹窗组件.', document.getElementById('tip-bottom'), 'bottom');
layx.tip('Layx 下一代Web弹窗组件.', document.getElementById('tip-left'), 'left');
layx.tip('Layx 下一代Web弹窗组件.', document.getElementById('tip-right'), 'right');
layx.tip('Layx 新一代Web弹窗组件.', document.getElementById('tip-top'), 'top');
layx.tip('Layx 新一代Web弹窗组件.', document.getElementById('tip-bottom'), 'bottom');
layx.tip('Layx 新一代Web弹窗组件.', document.getElementById('tip-left'), 'left');
layx.tip('Layx 新一代Web弹窗组件.', document.getElementById('tip-right'), 'right');

var logBtn = layx.getButton("layx", "log");
var winform = layx.html('float-log', 'Layx v' + layx.v + " 更新日志", layx.multiLine(function () {/*
<div style="padding:10px">
<pre style="margin-top:0;margin-bottom: 0;">
- [修复] 储存窗口大小位置bug,感谢 QQ:315976369
- [修复] 关闭窗口、最小化窗口不能恢复页面滚动动态bug,感谢 QQ:869943174
</pre>
*/ }), {
floatTarget: logBtn,
Expand Down
2 changes: 1 addition & 1 deletion doc/iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1,minimum-scale=1,user-scalable=no" />
<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
<title>Layx 下一代Web弹窗组件 v2.5.3</title>
<title>Layx 新一代Web弹窗组件 v2.5.4</title>
<style>
html,
body {
Expand Down
52 changes: 26 additions & 26 deletions doc/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion doc/topopen.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1,minimum-scale=1,user-scalable=no" />
<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
<title>Layx 下一代Web弹窗组件 v2.5.3</title>
<title>Layx 新一代Web弹窗组件 v2.5.4</title>
<style>
html,
body {
Expand Down
4 changes: 2 additions & 2 deletions layx.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
* gitee : https://gitee.com/monksoul/LayX
* github : https://github.com/MonkSoul/Layx/
* author : 百小僧/MonkSoul
* version : v2.5.3
* version : v2.5.4
* create time : 2018.05.11
* update time : 2018.10.09
* update time : 2018.11.03
*/

*[class^="layx-"] {
Expand Down
12 changes: 9 additions & 3 deletions layx.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
* gitee : https://gitee.com/monksoul/LayX
* github : https://github.com/MonkSoul/Layx/
* author : 百小僧/MonkSoul
* version : v2.5.3
* version : v2.5.4
* create time : 2018.05.11
* update time : 2018.10.09
* update time : 2018.11.03
*/
;
!(function (over, win, slf) {
var Layx = {
version: '2.5.3',
version: '2.5.4',
defaults: {
id: '',
icon: true,
Expand Down Expand Up @@ -1679,6 +1679,9 @@
delete that.windows[id];
that.windows[id] = _winform;
that.updateMinLayout();
if (document.body.classList.contains("ilayx-body")) {
document.body.classList.remove('ilayx-body');
}
if (Utils.isFunction(winform.event.onmin.after)) {
winform.event.onmin.after(layxWindow, winform);
}
Expand Down Expand Up @@ -1882,6 +1885,9 @@
Layx.focusId = Layx.prevFocusId;
delete that.cloneStore[id];
delete that.windows[id];
if (document.body.classList.contains("ilayx-body")) {
document.body.classList.remove('ilayx-body');
}
layxWindow.parentNode.removeChild(layxWindow);
if (layxShade) {
layxShade.parentNode.removeChild(layxShade);
Expand Down
4 changes: 2 additions & 2 deletions layx.min.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions layx.min.js

Large diffs are not rendered by default.

0 comments on commit 0128d6d

Please sign in to comment.