Skip to content

Commit fb2e803

Browse files
committed
优化权限配置页面的样式
1 parent 7c35608 commit fb2e803

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ant.mgr/mgr.core/Areas/Admin/Views/Role/RoleAction.cshtml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77

88
<style>
9+
body{
10+
min-width: 800px;
11+
overflow-x: auto;
12+
}
913
.top {
1014
position: fixed;
1115
top: 50%;
@@ -40,6 +44,7 @@
4044
height: 80%;
4145
overflow: auto;
4246
padding-top: 250px;
47+
text-align: center;
4348
}
4449
</style>
4550

@@ -105,6 +110,11 @@
105110
},
106111
ready: function () {
107112
auth();
113+
114+
//设置tree的初始化高度
115+
$('.left').css('height',$(window).height());
116+
$('.right').css('height',$(window).height());
117+
108118
//获取总的数据
109119
QQT.ajax('/Admin/Home/GetMenuActionTree', 'Post', {})
110120
.done(function (response) {

0 commit comments

Comments
 (0)