迅睿CMS框架是一款PHP8高性能·简单易用的CMS开源开发框架,基于MIT开源许可协议发布,免费且不限制商业使用,是免费开源的产品,以万端互联为设计理念,支持的微信公众号、小程序、APP客户端、移动端网站、PC网站等多终端式管理系统。
联系官方销售客服
1835022288
028-61286886
模板标签里面
现在首页展现出所有的模块内容, 如何去掉某一个模块的首页展现呢
URL地址相对路径:模板文件相对路径:
<ul class="layui-tab-title"> <li class="layui-this">网站源码</li> <li>游戏源码</li> <li>插件模块</li> <li>软件工具</li> <li>视频教程</li> <li>综合资源</li> </ul> <div class="layui-tab-content"> {cache name=module cache=36000 return=m} <div class="layui-tab-item {if $key_m == code}layui-show{/if}"> <ul class="fly-case-list layui-main"> {module module=$m.dirname thumb=1 field=title,url,updatetime,description,comments,hits,thumb,ding order=updatetime num=20 cache=3600} <li> <a class="fly-case-img" href="{$t.url}" target="_blank"><img lay-src="{dr_cos($t.thumb,1)}" alt="{$t.title}"><i class="iz iz-search"></i></a> <h2 class="layui-elip"><a href="{$t.url}" target="_blank">{$t.title}</a></h2> <p class="fly-case-desc">{$t.description}</p> <div class="fly-case-info"> <p class="layui-elip"> {if $t.ding == 1} <span style="color:#ff5722;font-weight:bold;"><i class="layui-icon"></i></span>{else}<span style="color:#666;">{dr_date($t._updatetime, 'Y-m-d')}</span> {/if} <i class="iz iz-chakan"></i> 999+ <i class="iz iz-pinglun"></i> </p> </div> </li> {/module} </ul> </div> {/cache} </div>
{cache name=module cache=36000 return=m} <?php if (in_array($m.dirname, ["aaaa"])) { continue; }?> <div class="layui-tab-item {if $key_m ==“code”}layui-show{/if}"> <ul class="fly-case-list layui-main"> {module module=$m.dirname thumb=1 field=title,url,updatetime,description,comments,hits,thumb,ding order=updatetime num=20 cache=3600} <li> <a class="fly-case-img" target="_blank" href="{$t.url}" target="_blank"><img lay-src="{dr_cos($t.thumb,1)}" alt="{$t.title}"><i class="iz iz-search"></i></a> <h2 class="layui-elip"><a target="_blank" href="{$t.url}" target="_blank">{$t.title}</a></h2> <p class="fly-case-desc">{$t.description}</p> <div class="fly-case-info"> <p class="layui-elip"> {if $t.ding == 1} <span style="color:#ff5722;font-weight:bold;"><i class="layui-icon"></i></span>{else}<span style="color:#666;">{dr_date($t._updatetime, 'Y-m-d')}</span> {/if} <i class="iz iz-chakan"></i> 999+ <i class="iz iz-pinglun"></i> </p> </div> </li> {/module} </ul> </div> {/cache}