摘要: 'bpath' 实现排序(很关键) $list = $category->field(array('id','name','pid','path',"concat(path,'-',id)"=>'bpath'))->order('bpath')->select(); foreach ($list as $key => $val){ //根据排序的位置生成无限极列表的样式 for($i = 0; $i assign(&# 阅读全文
posted @ 2013-08-18 10:53 arvim 阅读(775) 评论(0) 推荐(0) 编辑