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