迅睿CMS框架是一款PHP8高性能·简单易用的CMS开源开发框架,基于MIT开源许可协议发布,免费且不限制商业使用,是免费开源的产品,以万端互联为设计理念,支持的微信公众号、小程序、APP客户端、移动端网站、PC网站等多终端式管理系统。
联系官方销售客服
1835022288
028-61286886
用户中心自建页面如何获取菜单
<ul class="page-sidebar-menu page-header-fixed page-sidebar-menu-compact" data-keep-expanded="false" data-auto-scroll="true" data-slide-speed="200"> <li class="nav-item start {if !$mymenu} active open{/if}"> <a href="{MEMBER_URL}" class="nav-link nav-toggle"> <i class="fa fa-home"></i> <span class="title">用户中心</span> </a> </li> {loop $menu $top} {if dr_member_menu_show($top)} <li class="nav-item {if dr_in_array($top.id, $mymenu)}active open{/if}"> <a href="javascript:;" class="nav-link nav-toggle"> <i class="{dr_icon($top.icon)}"></i> <span class="title">{$top.name}</span> <span class="arrow {if dr_in_array($top.id, (array)$mymenu)}open{/if}"></span> </a> <ul class="sub-menu"> {loop $top.link $t} {if dr_member_menu_show($t)} <li class="nav-item {if dr_in_array($t.id, $mymenu)}active open{/if}"> <a href="{if $t.url}{$t.url}{else}{dr_member_url($t.uri)}{/if}" class="nav-link "> <i class="{dr_icon($t.icon)}"></i> <span class="title">{$t.name}</span> </a> </li> {/if} {/loop} </ul> </li> {/if} {/loop} </ul>