Commit 3b4d11b3 by mouthliu

修改背景颜色

parent f34dc3d1
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
</a> </a>
<ul class="nav nav-second-level collapse"> <ul class="nav nav-second-level collapse">
<li th:each="cmenu : ${menu.children}"> <li th:each="cmenu : ${menu.children}">
<a th:if="${#lists.isEmpty(cmenu.children)}" th:class="${cmenu.target == ''} ? |menuItem| : ${cmenu.target}" th:utext="${cmenu.menuName}" th:href="@{${cmenu.url}}">二级菜单</a> <a th:if="${#lists.isEmpty(cmenu.children)}" th:class="${cmenu.target == ''} ? |menuItem| : |${cmenu.target} menu_${cmenu.orderNum}|" th:utext="${cmenu.menuName}" th:href="@{${cmenu.url}}">二级菜单</a>
<a th:if="${not #lists.isEmpty(cmenu.children)}" href="#">[[${cmenu.menuName}]]<span class="fa arrow"></span></a> <a th:if="${not #lists.isEmpty(cmenu.children)}" href="#">[[${cmenu.menuName}]]<span class="fa arrow"></span></a>
<ul th:if="${not #lists.isEmpty(cmenu.children)}" class="nav nav-third-level"> <ul th:if="${not #lists.isEmpty(cmenu.children)}" class="nav nav-third-level">
<li th:each="emenu : ${cmenu.children}"> <li th:each="emenu : ${cmenu.children}">
...@@ -309,3 +309,24 @@ $(function() { ...@@ -309,3 +309,24 @@ $(function() {
</script> </script>
</body> </body>
</html> </html>
<style>
.menu_11,.menu_12{
background-color: #E6E6FA;
}
.menu_13,.menu_14,.menu_15,.menu_16,.menu_19{
background-color: #F0F8FF;
}
.menu_20,.menu_21{
background-color: #F5FFFA;
}
.menu_22,.menu_23{
background-color: #FFFFF0;
}
.menu_24{
background-color: #F5F5F5;
}
.menu_25,.menu_26,.menu_27{
background-color: #FAF0E6;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment