联系官方销售客服
1835022288
028-61286886
{template "header.html", "/"} <div class="page-container"> <div class="page-content-wrapper"> <div class="page-content"> <div class="container"> <div class="page-content-inner"> <!--循环输出顶级栏目下面的子栏目及其内容,运用到了双list循环标签因此需要定义返回值return=c(都懂得)--> {list action=category pid=$catid num=5 return=c} <div class="row"> <div class="col-lg-12"> <div class="portlet light"> <div class="portlet-title"> <div class="caption"> <span class="caption-subject bold uppercase"><a class=" font-green" href="{str_replace('www.dkdr.net','m.dkdr.net', $t.url)}">{$c.name}</a></span> </div> </div> <div class="portlet-body"> <div class="row"> <div class="col-md-12"> <ul class="list-unstyled"> <!-- 调用模块的10条数据 --> {list action=module catid=$c.id order=updatetime num=10} <li style="line-height: 23px"> <span class="badge badge-empty badge-success"></span> <a href="{str_replace('www.dkdr.net','m.dkdr.net', $t.url)}" class="title">{dr_strcut($t.title, 45)}</a> </li> {/list} </ul> </div> </div> </div> </div> </div> </div> {/list} </div> </div> </div> </div> </div> {template "footer.html", "/"}
移动端 伪静态问题category.html 这个页面显示栏目地址有伪静态和动态得
想全部实现伪静态地址