菜单选中图标功能修复,根菜单修改图标
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
href="javascript:;" class="nav-link nav-toggle">
|
||||
</c:if>
|
||||
|
||||
<i class="${secondMenu.icon }"></i>
|
||||
<i class="fa fa-${secondMenu.icon }"></i>
|
||||
<span class="title">
|
||||
<%-- ${secondMenu.name } --%> <spring:message code="${secondMenu.code}"></spring:message></span>
|
||||
<c:if test="${not empty secondMenu.children }" var="secondClid">
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
<input id="${id}" name="${name}" type="hidden" value="${value}"/><a id="${id}Button" href="javascript:" class="btn"><spring:message code='select'/></a>
|
||||
<script type="text/javascript">
|
||||
$("#${id}Button").click(function(){
|
||||
top.$.jBox.open("iframe:${ctx}/tag/iconselect?value="+$("#${id}").val(), "<spring:message code='select_icon'/>", 700, $(top.document).height()-180, {
|
||||
top.$.jBox.open("iframe:${ctx}/tag/iconselect?value="+$("#${id}").val(), "<spring:message code='select_icon'/>", 1200, $(top.document).height()-180, {
|
||||
top:'8%',
|
||||
buttons:{"<spring:message code='ok'/>":"ok", "<spring:message code='clear'/>":"clear", "<spring:message code='close'/>":true}, submit:function(v, h, f){
|
||||
if (v=="ok"){
|
||||
var icon = h.find("iframe")[0].contentWindow.$("#icon").val();
|
||||
|
||||
@@ -231,7 +231,7 @@ window.onresize=function(){
|
||||
</c:if>
|
||||
<li>
|
||||
<a href="javascript:;" id="${secondMenu.id}">
|
||||
<i class="fa ${secondMenu.icon }"></i>
|
||||
<i class="fa fa-${secondMenu.icon }"></i>
|
||||
<%-- ${secondMenu.name } --%><spring:message code="${secondMenu.code}"></spring:message>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1405,6 +1405,10 @@ Font Awesome 4.x Demo
|
||||
color: #333; }
|
||||
.fa-item:hover {
|
||||
cursor: pointer;
|
||||
background: #eee; }
|
||||
|
||||
.fa-item.active {
|
||||
cursor: pointer;
|
||||
background: #eee; }
|
||||
|
||||
/***
|
||||
|
||||
Reference in New Issue
Block a user