Skip to content

Commit

Permalink
v2.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
百小僧 committed Oct 9, 2018
1 parent 8922008 commit a0ea81c
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 33 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ gzip压缩版仅 `13.5kb`,非常小巧。

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

Expand Down
11 changes: 7 additions & 4 deletions doc/doc.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ window.onload = function () {
<ul>
<li><label>原创作者</label>:百小僧</li>
<li><label>开源协议</label>:MIT</li>
<li><label>当前版本</label>:<strong>v2.5.2</strong></li>
<li><label>发布日期</label>:2018.09.22</li>
<li><label>当前版本</label>:<strong>v2.5.3</strong></li>
<li><label>发布日期</label>:2018.10.09</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.10.09 v2.5.3 发布</h3>
<pre style="margin-top:0">
- [修复] 储存窗口大小位置bug,感谢 QQ:315976369
</pre>
<h3># 2018.09.22 v2.5.2 发布</h3>
<pre style="margin-top:0">
- [修复] useFrameTitle:true bug,感谢 <a href="https://github.com/MonkSoul/Layx/pull/7" target="_blank">#7</a>
Expand Down Expand Up @@ -578,8 +582,7 @@ window.onload = function () {
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;">
- [修复] useFrameTitle:true bug,感谢 <a href="https://github.com/MonkSoul/Layx/pull/7" target="_blank">#7</a>
- [修复] 窗口百分比居中bug,感谢 QQ:1034937343
- [修复] 储存窗口大小位置bug,感谢 QQ:315976369
</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.2</title>
<title>Layx 下一代Web弹窗组件 v2.5.3</title>
<style>
html,
body {
Expand Down
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.2</title>
<title>Layx 下一代Web弹窗组件 v2.5.3</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.2
* version : v2.5.3
* create time : 2018.05.11
* update time : 2018.09.22
* update time : 2018.10.09
*/

*[class^="layx-"] {
Expand Down
42 changes: 24 additions & 18 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.2
* version : v2.5.3
* create time : 2018.05.11
* update time : 2018.09.22
* update time : 2018.10.09
*/
;
!(function (over, win, slf) {
var Layx = {
version: '2.5.2',
version: '2.5.3',
defaults: {
id: '',
icon: true,
Expand Down Expand Up @@ -3024,12 +3024,14 @@
handle.winform.area.left = handle.layxWindow.offsetLeft;
handle.winform.area.width = handle.layxWindow.offsetWidth;
handle.winform.area.height = handle.layxWindow.offsetHeight;
Layx.storeWindowAreaInfo(handle.winform.id, {
top: handle.winform.area.top,
left: handle.winform.area.left,
width: handle.winform.area.width,
height: handle.winform.area.height
});
if (handle.winform.storeStatus === true) {
Layx.storeWindowAreaInfo(handle.winform.id, {
top: handle.winform.area.top,
left: handle.winform.area.left,
width: handle.winform.area.width,
height: handle.winform.area.height
});
}
if (Utils.isFunction(handle.winform.event.onresize.after)) {
handle.winform.event.onresize.after(handle.layxWindow, handle.winform);
}
Expand Down Expand Up @@ -3220,21 +3222,25 @@
LayxDrag.isFirstMoveing = true;
handle.winform.area.top = handle.layxWindow.offsetTop;
handle.winform.area.left = handle.layxWindow.offsetLeft;
Layx.storeWindowAreaInfo(handle.winform.id, {
top: handle.winform.area.top,
left: handle.winform.area.left,
width: handle.winform.area.width,
height: handle.winform.area.height
});
if (handle.winform.area.top === 0 && handle.winform.status === "normal" && handle.winform.maxable === true && handle.winform.resizable === true && handle.winform.dragInTopToMax === true) {
handle.winform.area.top = handle.defaultArea.top;
handle.winform.area.left = handle.defaultArea.left;
if (handle.winform.storeStatus === true) {
Layx.storeWindowAreaInfo(handle.winform.id, {
top: handle.winform.area.top,
left: handle.winform.area.left,
width: handle.winform.area.width,
height: handle.winform.area.height
});
}
if (handle.winform.area.top === 0 && handle.winform.status === "normal" && handle.winform.maxable === true && handle.winform.resizable === true && handle.winform.dragInTopToMax === true) {
handle.winform.area.top = handle.defaultArea.top;
handle.winform.area.left = handle.defaultArea.left;
if (handle.winform.storeStatus === true) {
Layx.storeWindowAreaInfo(handle.winform.id, {
top: handle.winform.area.top,
left: handle.winform.area.left,
width: handle.winform.area.width,
height: handle.winform.area.height
});
}
Layx.max(handle.winform.id);
}
if (Utils.isFunction(handle.winform.event.onmove.after)) {
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 a0ea81c

Please sign in to comment.