联系官方销售客服
1835022288
028-61286886
文章页想要实现本栏目下的相关文章调用和相关产品的调用,根据本文的关键词实现调用,调用出来一直是错误的
<p>相关产品</p> <span><img src="/static/picture/x-img.png" /></span> <div class="line"></div> </div> <div class="xhcp-view" style="height: 237px;"> <a class="swiper-button-prev xarrow-left" href="#"><i class="glyphicon glyphicon-menu-left"></i></a> <a class="swiper-button-next xarrow-right" href="#"><i class="glyphicon glyphicon-menu-right"></i></a> <div class="swiper-container"> <div class="swiper-wrapper"> {module module=image num=10 } <div class="swiper-slide"> <a href="{$t.url}" title="{$t.title}"> <img src="{dr_thumb($t.thumb, 200, 200)}" alt="{$t.title}" > <h3>{$t.title}</h3> </a> </div> {/module} </div> <div id="xpagination" class="pagination"></div> </div> </div> <div class="title clearfix"> <p>相关文章</p> <div class="zxdtnrk"> {related module=MOD_DIR catid=$catid order=rand num=10 tag=$tag} <li><a href="{$t.url}" title="{$t.title}">{$t.title}</a><span>{dr_date($t._updatetime, 'Y-m-d')}</span></li> {/related} </div> </div> </div>