| | |
| | | ,url = (item.jump && typeof item.jump === 'string') ? item.jump : item.name; |
| | | }} |
| | | <li data-name="{{ item.name || '' }}" data-jump="{{ item.jump || '' }}" class="layui-nav-item {{ classSelected() }}"> |
| | | <a href="javascript:;" {{ hasChildren ? '' : 'lay-href="'+ url+'"' }} lay-tips="{{ item.title }}" lay-direction="2"> |
| | | <a style="padding-top:0px;padding-bottom:0px;" href="javascript:;" {{ hasChildren ? '' : 'lay-href="'+ url+'"' }} lay-tips="{{ item.title }}" lay-direction="2"> |
| | | <i class="layui-icon {{ item.icon }}"></i> |
| | | <cite>{{ item.title }}</cite> |
| | | </a> |
| | |
| | | }} |
| | | <dd data-name="{{ item2.name || '' }}" data-jump="{{ item2.jump || '' }}" |
| | | {{ classSelected2() ? ('class='+ classSelected2()) : '' }}> |
| | | <a href="javascript:;" {{ hasChildren2 ? '' : 'lay-href='+ url2+' ' }}>{{ item2.title }}</a> |
| | | <a style="padding-top:0px;padding-bottom:0px;" href="javascript:;" {{ hasChildren2 ? '' : 'lay-href='+ url2+' ' }}>{{ item2.title }}</a> |
| | | {{# if(hasChildren2){ }} |
| | | <dl class="layui-nav-child"> |
| | | {{# layui.each(item2.list, function(index3, item3){ |
| | |
| | | }} |
| | | <dd data-name="{{ item3.name || '' }}" data-jump="{{ item3.jump || '' }}" |
| | | {{ match ? 'class="layui-this"' : '' }}> |
| | | <a href="javascript:;" lay-href="{{ url3 }}" {{ item3.iframe ? 'lay-iframe="true"' : '' }}>{{ item3.title }}</a> |
| | | <a style="padding-top:0px;padding-bottom:0px;" href="javascript:;" lay-href="{{ url3 }}" {{ item3.iframe ? 'lay-iframe="true"' : '' }}>{{ item3.title }}</a> |
| | | </dd> |
| | | {{# }); }} |
| | | </dl> |