{pboot:nav parent=6}
<p><h5 style="font-size:16px; border-bottom:solid 1px #ddd; height:32px;">[nav:name]</h5></p>
<div class="button-grid">
{pboot:2nav parent=[nav:scode]}
<div class="button1" onclick="updateContent('{pboot:content scode="[2nav:scode]"}[content:content]{/pboot:content}')">[2nav:name]</div>
{/pboot:2nav}
</div>
{/pboot:nav}
但上面的代码会附带html标签, 可以接着处理一下
drophtml=1
{pboot:nav parent=6}
<p><h5 style="font-size:16px; border-bottom:solid 1px #ddd; height:32px;">[nav:name]</h5></p>
<div class="button-grid">
{pboot:2nav parent=[nav:scode]}
<div class="button1" onclick="updateContent('{pboot:content scode="[2nav:scode]"}[content:content drophtml=1]{/pboot:content}')">[2nav:name]</div>
{/pboot:2nav}
</div>
{/pboot:nav}
标签:专题,name,parent,2nav,调用,nav,scode,pboot,pbootcms From: https://www.cnblogs.com/hwrex/p/18445848