index_goods_category.html 543 B

12345678910111213141516171819
  1. <div class="cf-container">
  2. <ul class="cf-content" id="nav-bar">
  3. <a href="{:U("Index/index")}">
  4. <li class="cf-tab-item" >
  5. <span <?php if(empty($gid)){ ?>class="cur-cf-tab"<?php } ?>>首页</span>
  6. </li>
  7. </a>
  8. <volist name='hot_list' id='cate'>
  9. <?php if(!empty($cate['name'])) { ?>
  10. <li class="cf-tab-item" onclick="location.href='{:U('category/info',array('gid' => $cate['id']))}';">
  11. <span <if condition="$gid eq $cate['id']" >class="cur-cf-tab"</if> >{$cate.name}</span>
  12. </li>
  13. <?php } ?>
  14. </volist>
  15. </ul>
  16. </div>