From 4e87001d0fb4b88b001568213136fc59a0c76223 Mon Sep 17 00:00:00 2001 From: liyukun <1099438829@qq.com> Date: Tue, 27 Jul 2021 23:35:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/taglib/Zz.php | 2 +- public/template/default/pc/index/index.html | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) 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 @@
+