模板标签里面前端模板如何调用文章评论列表展示看起来就像文章列 迅睿框架 更新 2019-08-16 22:13:55 zhuroufanzi 模板标签里面前端模板如何调用文章评论列表:展示看起来就像文章列表。不需要评论发布框,也不需要显示回复的。
{list action=comment module=news order=inputtime num=10} 评论内容:{$t.content} 评论时间:{dr_date($t.inputtime, 'Y-m-d')} {/list}{comment module=news order=inputtime num=10} 评论内容:{$t.content} 评论时间:{dr_date($t.inputtime, 'Y-m-d')} {/comment}我直接贴,没有显示。内容页面显示看截图。本人小白,大家路过就把我送到家吧。
{table table=1_news_comment cid=$id order=inputtime num=10} 评论内容:{$t.content} 评论时间:{dr_date($t.inputtime, 'Y-m-d')} {/table}{table table=1_news_comment cid=$id reply=0 order=inputtime num=10} 评论内容:{$t.content} 评论时间:{dr_date($t.inputtime, 'Y-m-d')} {/table}