|
|
|
@ -17,6 +17,33 @@ |
|
|
|
display: block; |
|
|
|
clear: both; |
|
|
|
} |
|
|
|
|
|
|
|
.layuimini-container{ |
|
|
|
background-color: #efefef ; |
|
|
|
} |
|
|
|
|
|
|
|
.layuimini-authority-content-item a i{ |
|
|
|
background-color: #efefef; |
|
|
|
|
|
|
|
} |
|
|
|
.first a i { |
|
|
|
color: #993333; |
|
|
|
} |
|
|
|
.second a i { |
|
|
|
color: #6699CC; |
|
|
|
} |
|
|
|
|
|
|
|
.third a i { |
|
|
|
color: #99CC33; |
|
|
|
} |
|
|
|
|
|
|
|
.fourthly a i { |
|
|
|
color: #003399; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</style> |
|
|
|
<div class="layuimini-container"> |
|
|
|
<a id="refresh" href="javascript:" data-refresh="刷新"><i class="fa fa-refresh"></i></a> |
|
|
|
@ -131,7 +158,7 @@ |
|
|
|
if (menuInfoElement.href === '') { |
|
|
|
let menuItem = createMenuList(menuInfoElement); |
|
|
|
if (menuInfoElement.title.indexOf("辅助管理") !== -1) { |
|
|
|
let resultChild = '<div class="layui-collapse"> ' + |
|
|
|
let resultChild = '<div class="layui-collapse fourthly"> ' + |
|
|
|
'<div class="layui-colla-item">' + |
|
|
|
'<h2 class="layui-colla-title">' + menuInfoElement.title + '</h2>' + |
|
|
|
'<div class="layui-colla-content layui-show" >'; |
|
|
|
@ -231,14 +258,18 @@ |
|
|
|
// 如果存在子菜单 |
|
|
|
if (childList !== undefined && childList !== null && childList.length > 0) { |
|
|
|
let title = ''; |
|
|
|
let ItemClass = ''; |
|
|
|
if(data.title.indexOf("入") !== -1 || data.title.indexOf("出") !== -1){ |
|
|
|
title = "出入库管理"; |
|
|
|
ItemClass = 'second'; |
|
|
|
}else if(data.title.indexOf("申请提交") !== -1){ |
|
|
|
title = "申请提交" |
|
|
|
title = "申请提交"; |
|
|
|
ItemClass = 'first' |
|
|
|
}else{ |
|
|
|
title = "仓库管理"; |
|
|
|
ItemClass = 'third'; |
|
|
|
} |
|
|
|
let resultChild = '<div class="layui-collapse"> ' + |
|
|
|
let resultChild = '<div class="layui-collapse '+ItemClass+'"> ' + |
|
|
|
'<div class="layui-colla-item">' + |
|
|
|
'<h2 class="layui-colla-title">' + title + '</h2>' + |
|
|
|
'<div class="layui-colla-content layui-show" >'; |
|
|
|
|