{include file='index@common/header'/}

评论使用方法

评论模块支持插入到任何页面,支持一个页面插入多个!

{literal}{if condition="check_app('comment')"}
	<iframe src="{:url('comment/index/index',['group'=>'评论分组','key'=>'页面标识','size'=>分页大小,'type'=>展示类型])}"
	 frameborder="0" width="100%" scrolling=no height="auto" frameBorder=0></iframe>
{/if}{/literal}

评论分组:可以不填,例如内容模块,可以填写content,作用仅仅是将评论分组,方便以后查询。

页面标识:当前页面的唯一标识,例如文章内容推荐使用content_文章id

分页大小:默认10

展示类型:分页展示:1 下拉加载:2

{include file='index/comment1'/}
{include file='index@common/footer'/}