wenda.baichebao.com/m/explore/
希望显示的已采纳样式:<i class="icon-g-replay"></i>
我已经找到了 控制的文件 /views/baichebao/m/ajax/ explore_list.tpl.htm
<?php if ($val['answer_count'] > 0) { ?>
<?php if ($val['answer']['anonymous']) { ?><a href="javascript:;" class="aw-user-name"><?php _e('匿名用户'); ?></a><?php } else { ?><a href="m/people/<?php echo $val['answer']['user_info']['url_token']; ?>" class="aw-user-name"><?php echo $val['answer']['user_info']['user_name']; ?></a><?php } ?> <?php _e('回复了问题'); ?> • <?php echo date_friendly($val['update_time']); ?>
<?php } else { ?>
<?php if ($val['anonymous'] == 0) { ?><a href="m/people/<?php echo $val['user_info']['url_token']; ?>" class="aw-user-name"><?php echo $val['user_info']['user_name']; ?></a><?php } else { ?><a href="javascript:;" class="aw-user-name"><?php _e('匿名用户'); ?></a><?php } ?> <?php _e('发起了问题'); ?> • <?php echo date_friendly($val['add_time']); ?>
<?php } ?>
<?php } else { ?>
<a href="m/people/<?php echo $val['user_info']['url_token']; ?>" class="aw-user-name"><?php echo $val['user_info']['user_name']; ?></a> <?php _e('发表于'); ?>: <?php echo date_friendly($val['add_time']); ?> • <?php _e('%s 个评论', $val['comments']); ?> • <?php _e('%s 次浏览', $val['views']); ?>
<?php } ?>
需要的效果是
阅读全文
收起全文