✨: 发布 1.2.7 版本
This commit is contained in:
parent
f869b40b74
commit
7efb6a0935
@ -125,7 +125,9 @@
|
|||||||
</lay-dropdown>
|
</lay-dropdown>
|
||||||
</li>
|
</li>
|
||||||
<li class="layui-nav-item">
|
<li class="layui-nav-item">
|
||||||
<a href="http://layer.layui-vue.com/zh-CN/demo" target="_blank">layer</a>
|
<a href="http://layer.layui-vue.com/zh-CN/demo" target="_blank"
|
||||||
|
>layer</a
|
||||||
|
>
|
||||||
</li>
|
</li>
|
||||||
<li class="layui-nav-item">
|
<li class="layui-nav-item">
|
||||||
<a href="javascript:void(0)">
|
<a href="javascript:void(0)">
|
||||||
@ -146,7 +148,9 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="layui-nav-item">
|
<li class="layui-nav-item">
|
||||||
<a href="https://gitee.com/layui/layui-vue" target="_blank"> Gitee </a>
|
<a href="https://gitee.com/layui/layui-vue" target="_blank">
|
||||||
|
Gitee
|
||||||
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="layui-nav-item">
|
<li class="layui-nav-item">
|
||||||
<a href="javascript:void(0)">
|
<a href="javascript:void(0)">
|
||||||
|
@ -3,9 +3,7 @@
|
|||||||
<div class="markdown-body light-scheme">
|
<div class="markdown-body light-scheme">
|
||||||
<div class="alone-header">
|
<div class="alone-header">
|
||||||
<img class="alone-logo" src="../assets/logo.png" />
|
<img class="alone-logo" src="../assets/logo.png" />
|
||||||
<a class="version"
|
<a class="version">{{ version }}</a>
|
||||||
>{{ version }}</a
|
|
||||||
>
|
|
||||||
<a
|
<a
|
||||||
href="https://gitee.com/layui/layui-vue"
|
href="https://gitee.com/layui/layui-vue"
|
||||||
style="position: absolute; right: 10%; line-height: 75px"
|
style="position: absolute; right: 10%; line-height: 75px"
|
||||||
|
@ -370,7 +370,9 @@ export function removeNotifiyFromQueen(layerId: string | undefined) {
|
|||||||
// 间隙
|
// 间隙
|
||||||
let transOffsetTop = 15;
|
let transOffsetTop = 15;
|
||||||
// @ts-ignore 删除项的高度
|
// @ts-ignore 删除项的高度
|
||||||
let offsetHeight = document.getElementById(layerId)?.firstElementChild?.firstElementChild?.offsetHeight;
|
let offsetHeight =
|
||||||
|
document.getElementById(layerId)?.firstElementChild?.firstElementChild
|
||||||
|
?.offsetHeight;
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
window.NotifiyQueen = window.NotifiyQueen || [];
|
window.NotifiyQueen = window.NotifiyQueen || [];
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
@ -390,10 +392,14 @@ export function removeNotifiyFromQueen(layerId: string | undefined) {
|
|||||||
?.firstElementChild;
|
?.firstElementChild;
|
||||||
if (offsetType === "rt" || offsetType === "lt") {
|
if (offsetType === "rt" || offsetType === "lt") {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
dom.style["top"] = parseFloat(dom.style["top"]) - transOffsetTop - offsetHeight + "px";
|
dom.style["top"] =
|
||||||
|
parseFloat(dom.style["top"]) - transOffsetTop - offsetHeight + "px";
|
||||||
} else {
|
} else {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
let bottom = parseFloat(dom.style["top"].split(" - ")[1]) - transOffsetTop - offsetHeight;
|
let bottom =
|
||||||
|
parseFloat(dom.style["top"].split(" - ")[1]) -
|
||||||
|
transOffsetTop -
|
||||||
|
offsetHeight;
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
dom.style["top"] = "calc(100vh - " + bottom + "px)";
|
dom.style["top"] = "calc(100vh - " + bottom + "px)";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user