聯系官方銷售客服
1835022288
028-61286886
這個調用選中的標簽不知道怎么寫了
{category module=share pid=2 return=c}
<div class="pdright{if $c.id==0} HdIp{/if}" data-cs='{$key}' aos="fade-left">
{module module=product num=9 catid=$c.id}
<div class="pdrightitem">
<a href="{$t.url}">
<img src="{dr_get_file($t.thumb)}" alt="{$t.title}" />
<div class="pdrightitemh">
<span>{$t.title}</span>
<span>查看詳情</span>
</div>
</a>
</div>
{/module}
</div>
{/category}
默認情況下把所有的內容都調出來了 參考網站 http://sxz.zsza.cn/
你這是首頁調用,沒辦法選中,只有欄目內頁里面,選中當前欄目才能,首頁不行
首頁操作的話 要怎么寫呢?
首頁沒辦法,首頁根本沒有選中的行為
我的想法是 打開網站默認顯示第一個的 其他的我都實現了 現在是所有產品都顯示出來了
{if !$key_c} HdIp{/if}
{if $key_c} HdIp{/if}
才對