首页 > 建站‧营销

Pbootcms当前栏目下的子栏目和子栏目调用


Pbootcms当前栏目下的子栏目和子栏目调用

{pboot:nav parent={sort:scode}}
   <div class="news-list">
       <a href="[nav:link]" title="[nav:name]" class="title" target="_self">
          <i class="icon fa-newspaper-o"></i>
           [nav:name]</a>
   </div>
   
   <div class="news-content">
        <ul class="blocks-100 blocks-md-2">
	{pboot:list scode=[nav:scode]}	
         <li class="m-y-5">
           <a href="[list:link]" title="[list:title]" class="clearfix">
              <div><span style="">[list:title]</span></div>
                <span class="hits"><i class="icon wb-thumb-up m-r-5"></i>108</span>
           </a>
         </li>
	{/pboot:list}		
	</ul>
    </div>
    
{/pboot:nav}

本文链接:https://zhanque.net/cms/4531.html