app/views/layouts/educode_sales/application.html.erb in educode_sales-0.4.5 vs app/views/layouts/educode_sales/application.html.erb in educode_sales-0.4.6
- old
+ new
@@ -43,11 +43,11 @@
</div>
<div class="layui-side layui-bg-black">
<div class="layui-side-scroll ">
<!-- 左侧导航区域(可配合layui已有的垂直导航) -->
- <ul class="layui-nav layui-nav-tree"
+ <ul class="layui-nav layui-nav-tree ul"
lay-filter="test">
<li class="layui-nav-item layui-nav-itemed menu-li" >
<a class="" href="javascript:;"><b><%= image_tag "educode_sales/1.销售活动.png",size:"15"%><i style="padding-right: 25px"></i>销售活动</b></a>
<dl class="layui-nav-child">
<% if can? :trends, EducodeSales::SaleTrend %>
@@ -250,6 +250,11 @@
})
});
-</script>
+</script>
+<style>
+ .layuimini-mini .ul .layui-nav-child{
+ display: none;!important;
+ }
+</style>
\ No newline at end of file