发布网友 发布时间:2022-04-25 07:14
共1个回答
热心网友 时间:2023-11-06 04:25
使用SQL
{dede:sql sql='Select body from `dede_addonarticle` where aid=146'}
[field:body/]
{/dede:sql}
使用arclist, 用idlist获取,aid 是没用的,在首页记得要获取typeid, 用addfields='body'来直接使用[field:body/]
{dede:arclist typeid='49' idlist='146' addfields='body' channelid='1' }
<section class="recommend">
<header class="header">
<h2><a href="[field:arcurl/]">[field:title/]</a></h2>
<a href="[field:arcurl/]" class="more" title="更多...">more</a>
</header>
<div class="content">
[field:body/]
</div>
</section>
{/dede:arclist}
秀站网整理回答,如对您有帮助,请采纳!
热心网友 时间:2023-11-06 04:25
使用SQL
{dede:sql sql='Select body from `dede_addonarticle` where aid=146'}
[field:body/]
{/dede:sql}
使用arclist, 用idlist获取,aid 是没用的,在首页记得要获取typeid, 用addfields='body'来直接使用[field:body/]
{dede:arclist typeid='49' idlist='146' addfields='body' channelid='1' }
<section class="recommend">
<header class="header">
<h2><a href="[field:arcurl/]">[field:title/]</a></h2>
<a href="[field:arcurl/]" class="more" title="更多...">more</a>
</header>
<div class="content">
[field:body/]
</div>
</section>
{/dede:arclist}
秀站网整理回答,如对您有帮助,请采纳!
热心网友 时间:2023-11-06 04:25
使用SQL
{dede:sql sql='Select body from `dede_addonarticle` where aid=146'}
[field:body/]
{/dede:sql}
使用arclist, 用idlist获取,aid 是没用的,在首页记得要获取typeid, 用addfields='body'来直接使用[field:body/]
{dede:arclist typeid='49' idlist='146' addfields='body' channelid='1' }
<section class="recommend">
<header class="header">
<h2><a href="[field:arcurl/]">[field:title/]</a></h2>
<a href="[field:arcurl/]" class="more" title="更多...">more</a>
</header>
<div class="content">
[field:body/]
</div>
</section>
{/dede:arclist}
秀站网整理回答,如对您有帮助,请采纳!
热心网友 时间:2023-11-06 04:25
使用SQL
{dede:sql sql='Select body from `dede_addonarticle` where aid=146'}
[field:body/]
{/dede:sql}
使用arclist, 用idlist获取,aid 是没用的,在首页记得要获取typeid, 用addfields='body'来直接使用[field:body/]
{dede:arclist typeid='49' idlist='146' addfields='body' channelid='1' }
<section class="recommend">
<header class="header">
<h2><a href="[field:arcurl/]">[field:title/]</a></h2>
<a href="[field:arcurl/]" class="more" title="更多...">more</a>
</header>
<div class="content">
[field:body/]
</div>
</section>
{/dede:arclist}
秀站网整理回答,如对您有帮助,请采纳!
热心网友 时间:2023-11-06 04:25
使用SQL
{dede:sql sql='Select body from `dede_addonarticle` where aid=146'}
[field:body/]
{/dede:sql}
使用arclist, 用idlist获取,aid 是没用的,在首页记得要获取typeid, 用addfields='body'来直接使用[field:body/]
{dede:arclist typeid='49' idlist='146' addfields='body' channelid='1' }
<section class="recommend">
<header class="header">
<h2><a href="[field:arcurl/]">[field:title/]</a></h2>
<a href="[field:arcurl/]" class="more" title="更多...">more</a>
</header>
<div class="content">
[field:body/]
</div>
</section>
{/dede:arclist}
秀站网整理回答,如对您有帮助,请采纳!