详细信息弹出层显示在顶层

master
RuoYi 6 years ago committed by Limy
parent c824e6cefa
commit a5a4e28735

@ -515,7 +515,7 @@
_width = 'auto'; _width = 'auto';
_height = 'auto'; _height = 'auto';
} }
layer.open({ top.layer.open({
type: 2, type: 2,
area: [_width + 'px', _height + 'px'], area: [_width + 'px', _height + 'px'],
fix: false, fix: false,
@ -524,14 +524,11 @@
shade: 0.3, shade: 0.3,
title: $.table._option.modalName + "详细", title: $.table._option.modalName + "详细",
content: _url, content: _url,
btn: '关闭', btn: ['关闭'],
// 弹层外区域关闭 // 弹层外区域关闭
shadeClose: true, shadeClose: true,
success: function(layer) { cancel: function(index){
layer[0].childNodes[3].childNodes[0].attributes[0].value='layui-layer-btn1'; return true;
},
btn1: function(index) {
layer.close(index);
} }
}); });
}, },

@ -135,6 +135,7 @@
<script th:src="@{/js/plugins/metisMenu/jquery.metisMenu.js}"></script> <script th:src="@{/js/plugins/metisMenu/jquery.metisMenu.js}"></script>
<script th:src="@{/js/plugins/slimscroll/jquery.slimscroll.min.js}"></script> <script th:src="@{/js/plugins/slimscroll/jquery.slimscroll.min.js}"></script>
<script th:src="@{/ajax/libs/blockUI/jquery.blockUI.js}"></script> <script th:src="@{/ajax/libs/blockUI/jquery.blockUI.js}"></script>
<script th:src="@{/ajax/libs/layer/layer.min.js}"></script>
<script src="http://tajs.qq.com/stats?sId=62048022"></script> <script src="http://tajs.qq.com/stats?sId=62048022"></script>
<script th:src="@{/ruoyi/js/ry-ui.js?v=3.1.0}"></script> <script th:src="@{/ruoyi/js/ry-ui.js?v=3.1.0}"></script>
<script th:src="@{/ruoyi/index.js}"></script> <script th:src="@{/ruoyi/index.js}"></script>

Loading…
Cancel
Save