diff --git a/app/common/taglib/Zz.php b/app/common/taglib/Zz.php index 10fbad9..e47d00d 100644 --- a/app/common/taglib/Zz.php +++ b/app/common/taglib/Zz.php @@ -133,7 +133,7 @@ class Zz extends TagLib{ $parse .= '$__FUN__ ='."tpl_get_list(\"$orderby\",$pagesize,$typeid,\"$type\",\"$model\",\"$where\",$display);"; $parse .= '$__LIST__ =$__FUN__["lists"];$pager = $__FUN__["model"]->render();'; $parse .= ' ?>'; - $parse .= '{volist name="__LIST__" id="'.$void.'"}'; + $parse .= '{volist name="__LIST__" id="'.$void.'" key="i"}'; $parse .= $content; $parse .= '{/volist}'; return $parse; diff --git a/public/template/default/pc/index/index.html b/public/template/default/pc/index/index.html index cac2e85..90035d0 100644 --- a/public/template/default/pc/index/index.html +++ b/public/template/default/pc/index/index.html @@ -226,18 +226,18 @@

热门阅读

- {zz:arclist orderby="view desc"} + {zz:arclist orderby="view desc" type="where"}
- {$field['create_time']} + {$i} - {:cn_substr($field['title'],15)}... + {:cn_substr($field['title'],15)}
{$field['create_time']}
- {:cn_substr($field['title'],15)}... + {:cn_substr($field['category_title'],5)}
@@ -488,6 +488,7 @@
+