tijian_tieying/web/dccdc/Views/Shared/_LayUILayout.cshtml
2025-02-20 12:14:39 +08:00

37 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - 新医路疾控管理系统</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/jqueryval")
<link href="/Controls/ExtJS/Css/layui.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/Controls/ExtJS/layui.js"></script>
@RenderSection("css", required: false)
</head>
<body>
@RenderBody()
@RenderSection("scripts", required: false)
<script type="text/javascript">
//按ESC关闭弹窗20221221
$(document).ready(function () {
}).keydown(
function (e) {
if (e.which === 27) {
layer.closeAll();
// top.layer.closeAll();
//
// var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
// parent.layer.close(index); // 关闭当前layer层
}
});
</script>
</body>
</html>