mirror of https://gitee.com/y_project/RuoYi.git
详细信息弹出层显示在顶层
parent
2345dfdf42
commit
122e8b61a0
|
@ -515,7 +515,7 @@
|
|||
_width = 'auto';
|
||||
_height = 'auto';
|
||||
}
|
||||
layer.open({
|
||||
top.layer.open({
|
||||
type: 2,
|
||||
area: [_width + 'px', _height + 'px'],
|
||||
fix: false,
|
||||
|
@ -524,14 +524,11 @@
|
|||
shade: 0.3,
|
||||
title: $.table._option.modalName + "详细",
|
||||
content: _url,
|
||||
btn: '关闭',
|
||||
btn: ['关闭'],
|
||||
// 弹层外区域关闭
|
||||
shadeClose: true,
|
||||
success: function(layer) {
|
||||
layer[0].childNodes[3].childNodes[0].attributes[0].value='layui-layer-btn1';
|
||||
},
|
||||
btn1: function(index) {
|
||||
layer.close(index);
|
||||
cancel: function(index){
|
||||
return true;
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
|
@ -135,6 +135,7 @@
|
|||
<script th:src="@{/js/plugins/metisMenu/jquery.metisMenu.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/layer/layer.min.js}"></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/index.js}"></script>
|
||||
|
|
Loading…
Reference in New Issue