调取栏目名称
{$CATEGORYS[$catid]['catname']}
调取栏目下信息列表( moreinfo=“1” 允许调取副表、自定义字段内容)
{pc:content action="lists" catid="$catid" num="9" moreinfo="1" order="id DESC" page="$page"}
{loop $data $r}
<div class="product-card" data-scrollreveal>
<a href="{$r[url]}" title="{$r[title]} {$CATEGORYS[$catid]['catname']}"><img class="product-card__image" src="{$r[thumb]}" alt="{$r[title]} {$CATEGORYS[$catid]['catname']}"></a>
<a href="{$r[url]}" title="{$r[title]} {$CATEGORYS[$catid]['catname']}" style="color: #222422;"><p class="product-card__title">{$r[title]}</p></a>
<div class="product-card__text">
<p>{$r['dxyy']}</p>
</div>
<div class="product-card__buttons">
{if $r['file'] }
<a href="{$r['file']}" title="{$r[title]} {$CATEGORYS[$catid]['catname']} PDF"
class="button button--small button--outline button--outline-black" target="_blank" >Download
</a>
{/if}
<a href="{$r[url]}" class="button button--small button--outline"
title="{$r[title]} {$CATEGORYS[$catid]['catname']}">View Product</a>
</div>
</div>
{/loop}
</div>
</div>
<div class="search-pagination styled-pagination">
<ul class="pagination">
{$pages}
</ul>
</div>
{/pc}
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27