联系官方销售客服
1835022288
028-61286886
想实现根据联动菜单别名切换改怎么写?
<!-- 全国城市 --> <div class="Js_clickTabBox"> <h2 class="f32 fn lh44 pb25 pt40 clr"> <span class="fll mr40">全国城市</span> <div class="fll f16 bigindex-h2-city fn ovh lh34 pt5"> <ul> {linkage code=address pid=0 num=10} <li class="fll mr40"><a href="javascript:;" data-content="Js_cityHosBody{$t.id}-1" class="Js_clickTab a-hover tab posr dib {if $key==0}on{/if}">{$t.name}</a></li> {/linkage} </ul> </div> <a href="#" target="_blank" class="flr f16 fc9 icon-right-more fn">更多城市</a> </h2> <div class="bigindex-hot-city clr"> {module module=yiyuan szcs=beijing num=6} <ul class="Js_clickTabBody Js_cityHosBody{$t.id}-1 "> <li class="fll"> <a href="{$t['url']}" target="_blank" class="db mr20 mb20 cell bsbb bw br-12 pl20 pr20 pt20"> <div class="posr img-name mb15"> <div class="img-box ovh"> <img class="all-img img-hover img-contain" onerror="setDefaultHospitalLogo(this)" src="{if $t['thumb']}{dr_get_file($t.thumb)}{else}{dr_thumb($c, 200, 200)}{/if}" alt="{$t['title']}"> </div> <h2 class="fn f18 ellipsis lh48">{$c1.name}</h2> <div class="f14 fc6 ellipsis">{$t['title']}</div> </div> <div class="info f14 fc9 lh30 bsbb"> <p class="ellipsis bigindex-icon-time">{$t['title']}</p> <p class="ellipsis bigindex-icon-address">{$t['title']}</p> <p class="ellipsis bigindex-icon-tel">{$t['title']}</p> </div> <div class="tac lh46"> <span class="green bigindex-icon-right-g f14">查看详情1</span> </div> </a> </li> </ul> {/module} </div> </div>