网页导航增加是否显示判断

This commit is contained in:
thinkgem
2021-08-21 10:56:10 +08:00
parent 81b8cc7fe0
commit 1d49082735
2 changed files with 5 additions and 10 deletions

View File

@@ -110,8 +110,6 @@
<span class="required hide">*</span> ${text('主题风格')}<i class="fa icon-question hide"></i></label>
<div class="col-sm-8">
<#form:select path="theme" dictType="cms_theme" class="form-control" />
</div>
</div>
</div>
@@ -120,8 +118,7 @@
<label class="control-label col-sm-4" title="">
<span class="required hide">*</span> ${text('首页视图')}<i class="fa icon-question " title='自定义首页视图名称必须以"index"开始'></i></label>
<div class="col-sm-8">
<#form:select path="customIndexView" items="${indexViewList}" itemLabel="id" itemValue="id" class="form-control required" />
<#form:select path="customIndexView" items="${indexViewList}" itemLabel="id" itemValue="id" class="form-control " />
</div>
</div>
</div>
@@ -132,11 +129,9 @@
<label class="control-label col-sm-2" title="">
<span class="required ">*</span> ${text('版权信息')}<i class="fa icon-question hide"></i></label>
<div class="col-sm-10">
<#form:ueditor name="copyright" path="copyright" maxlength="10000" height="200" class="required"
simpleToolbars="false" readonly="false" outline="false"/>
</div>
</div>
</div>
</div>
@@ -152,8 +147,6 @@
</div>
</div>
</div>
</div>
<div class="box-footer">
<div class="row">

View File

@@ -14,8 +14,10 @@
<div class="navbar-collapse collapse" id="navbar-main">
<ul class="nav navbar-nav mr-auto">
<#html:foreach items="${categoryList(site.siteCode, '0', 4, '')}" var="c">
<li class="${c.categoryCode == category.categoryCode! ? 'active' : ''}"><a
href="${ctx}/list-${c.categoryCode}">${c.categoryName}</a></li>
<#html:if test="${c.inMenu == @Global.YES}">
<li class="${c.categoryCode == category.categoryCode! ? 'active' : ''}"><a
href="${ctx}/list-${c.categoryCode}">${c.categoryName}</a></li>
</#html:if>
</#html:foreach>
<li><a href="http://jeesite.com" target="_blank">官方网站</a></li>
<li><a href="http://s.jeesite.com" target="_blank">技术服务</a></li>