0
ErrorException 未定义变量: vo
列表页调用时出错,vo 变量为识别
<portal:articles item="vo" where="$where" order="post.create_time DESC" page="$page"
relation="categories"
categoryIds="$category.id"
returnVarName="articles_data">
<div class="list-boxes">
<h2><a href="<?php echo cmf_url('portal/Article/index',array('id'=>$vo['id'],'cid'=>$category['id'])); ?>"><?php echo $vo['post_title']; ?></a>
</h2>
<p><?php echo $vo['post_excerpt']; ?></p>
<div>
<div class="pull-left">
<div class="list-actions">
<a href="javascript:;"><i class="fa fa-eye"></i><span><?php echo $vo['post_hits']; ?></span></a>
<a href="<?php echo url('portal/Article/doLike',array('id'=>$vo['id'])); ?>"
class="js-count-btn"><i class="fa fa-thumbs-up"></i><span class="count"><?php echo $vo['post_like']; ?></span></a>
<a href="<?php echo url('user/Favorite/add',array('id'=>$vo['id'],'cid'=>$category['id'])); ?>"