.wenti-with {width: 580px; }2、在@media (max-width:736px)下面加上一行
.wenti-with {width: 100%;}3、打开/views/default/explore/ajax/list.tpl.htm 在<?php } else if ($val['question_id']) { ?> <a href="question/<?php echo $val['question_id']; ?>#!answer_form" class="pull-right text-color-999"><?php _e('回复'); ?></a> <?php } ?> 的下面加入
<div class="wenti-with"> <?php if(!empty($val['question_detail'])and($val['question_detail']!=$val['question_content']) ){ echo FORMAT::parse_attachs(nl2br(FORMAT::parse_bbcode(cjk_substr($val['question_detail'], 0, 130, 'UTF-8', '...')))); } ?> </div>效果: 参考链接:http://wenda.wecenter.com/question/18000 另外想问一下谁知道如果是调用最新回复,“question_detail”字段应该改成什么?
AI智能回复搜索中,请稍后...