联系官方销售客服
1835022288
028-61286886
使用页面:seach.html
我的源代码:
{if $searchid} {search module=$dirname order=$params.order id=$searchid total=$sototal catid=$catid page=1 pagesize=6 urlrule=$urlrule more=1 return=s} <li class="house_item {if $s.thumb}item_img{/if}"> {if $s.thumb}<div class="list_img"> <a href="{$s.url}"><img src="{dr_thumb($s.thumb, 110, 84)}" width="110" height="84" alt="{$s.title}"></a> <span class="num">12图</span> </div>{/if} <div class="list_info"> <h2 class="title"><a href="{$s.url}">{$s.title}</a></h2> <p class="baseinfo"> <span>类别:{php $s.field = dr_field_options_id(22);} {$s.field[$s.lb]}</span> <span> / </span> <span> 经营模式:{php $s.field = dr_field_options_id(125);} {$s.field[$s.jyms]}</span><span> / </span><span>服务:{$cat.name}{php $field = dr_field_options_id(26);$names=array();} {loop $field $value $name}{if in_array($value, $s.fuwu)}{php $names[]=$name;}{/if}{/loop}{php echo implode("、", $names);}</span> </p> <p class="baseinfo"> <span>地区: {php $s.top = dr_linkage('address', $s.diqu, 1);}<a href="{dr_search_url($params, 'diqu', $s.top.id)}" class="ddress">{$s.top.name}</a> </span> </p> </div> <div class="view">浏览:{$s.hits}次</div> <div class="time">发布:{dr_fdate($s._updatetime)}</div> </li> {/search} {/if}
以上代码中的图片数量如何调取呢?
谢谢大牛赐教!
请看可接二开、定制、使用解答
这个字段是无法出现在list查询中,删除重建主表吧