thinkphp中模板volist三层循环

 <volist name="sanjifenlei" id="row1">
   <li class=a1 style="height:12px;">
    <div class=tx><a href="{:U('Shangcheng/totalgoods?GoodsSort='.$row1['GoodsSortName'])}"><i>&nbsp;</i>{$row1['GoodsSortName']}<!--<font color="#F5F5F5" style="float:right;margin-right:40px;">></font>--></a> </div>
    <div class=pop>
     <h3><a href="#">  </a></h3>
     <dl>
     <volist name="row1['element']"  id="row2">
      <dl>
       <dt><a  href="{:U('Shangcheng/totalgoods?GoodsSort='.$row2['GoodsSortName'])}">{$row2['GoodsSortName']}</a></dt>
       <dd>
          <volist name="row2['element']"  id="row3">
        <a class="ui-link" href="{:U('Shangcheng/totalgoods?GoodsSort='.$row3['GoodsSortName'])}">{$row3['GoodsSortName']}</a>
        </volist>
       </dd>
      </dl>
     </volist> 

     </dl>
    </div>
   </li>

</volist>


上一篇:软件应用程序的打包和部署


下一篇:开放搜索文档处理示例教程