Optimize the grid

master
就眠仪式 2021-04-28 14:47:38 +08:00
parent 5d2e2db032
commit abd4c7840b
5 changed files with 113 additions and 98 deletions

View File

@ -45,7 +45,8 @@
"title": "基础组件", "title": "基础组件",
"icon": "layui-icon layui-icon-console", "icon": "layui-icon layui-icon-console",
"type": 0, "type": 0,
"children": [{ "children": [
{
"id": 2011, "id": 2011,
"title": "功能按钮", "title": "功能按钮",
"icon": "layui-icon layui-icon-face-smile", "icon": "layui-icon layui-icon-face-smile",

View File

@ -8,8 +8,8 @@
"password": "$2a$10$1K7E1.IYCrsoZVCb6utOo.5jENtfOzhdKWhc49t2lk.UQd7Oam4FG", "password": "$2a$10$1K7E1.IYCrsoZVCb6utOo.5jENtfOzhdKWhc49t2lk.UQd7Oam4FG",
"salt": null, "salt": null,
"status": null, "status": null,
"realName": "超级管理员", "realName": "超级''理员",
"email": "8540854@qq.com", "email": "854085'4@'qq.com",
"avatar": null, "avatar": null,
"sex": "1", "sex": "1",
"phone": "15543526531", "phone": "15543526531",
@ -22,7 +22,7 @@
"password": null, "password": null,
"salt": null, "salt": null,
"status": null, "status": null,
"realName": "就眠仪式", "realName": "就\"\"仪式",
"email": null, "email": null,
"avatar": null, "avatar": null,
"sex": "1", "sex": "1",

View File

@ -205,6 +205,8 @@ body::-webkit-scrollbar-corner {
width: 100%; width: 100%;
} }
@media all and (min-width:993px) and (max-width:1199px) {
.pear-col-md-offset1 { .pear-col-md-offset1 {
margin-left: 4.16%; margin-left: 4.16%;
} }
@ -300,6 +302,8 @@ body::-webkit-scrollbar-corner {
.pear-col-md-offset24 { .pear-col-md-offset24 {
margin-left: 100%; margin-left: 100%;
} }
}
@media all and (max-width:768px) { @media all and (max-width:768px) {
.pear-col-xs1 { .pear-col-xs1 {

View File

@ -145,7 +145,8 @@
title: '操作', title: '操作',
toolbar: '#user-bar', toolbar: '#user-bar',
align: 'left', align: 'left',
width: 160 width: 160,
fixed: 'right'
} }
] ]
] ]

View File

@ -32,5 +32,14 @@
</div> </div>
<script src="../../component/layui/layui.js"></script> <script src="../../component/layui/layui.js"></script>
<script src="../../component/pear/pear.js"></script> <script src="../../component/pear/pear.js"></script>
<script>
layui.use(['jquery'],function(){
setTimeout(function(){
top.layui.tab.delCurrentTabByElem("content",function(){
/// 回调
})
},3000)
})
</script>
</body> </body>
</html> </html>