{layout name="layout" /}
{if isset($slides) && count($slides) > 0} {foreach $slides as $banner}
{php} $bannerLink = 'javascript:;'; if(!empty($banner['url'])) { $bannerLink = $banner['url']; } {/php}

{:nl2br($banner.title ?? '')}

{:nl2br($banner.description ?? '')}
{/foreach} {/if}
{$productsCenter['title'] ?? '产品中心'}

{$productsCenter['description'] ?? 'product center'}

{if isset($products) && count($products) > 0}

{foreach $products as $idx => $product}
- {$product['title']}

  {$product['description']}

  了解详情+ {:str_pad($idx + 1, 2, '0', STR_PAD_LEFT)}
{/foreach}

{/if}
{$blocks['marketing_name']['value'] ?? ''}

{:nl2br($blocks['marketing_describe']['value'] ?? '')}

{php} $marketingLink = url('page/index', ['category_id'=>$marketingCId]); if(isset($blocks['marketing_background']['link']) && !empty($blocks['marketing_background']['link'])) { $marketingLink = $blocks['marketing_background']['link']; } {/php} 了解详情++
{$newsCenter['title'] ?? '新闻动态'}{$newsCenter['description'] ?? ''}
{if isset($newsList) && count($newsList) > 0} {foreach $newsList as $newsCate}

{$newsCate.title ?? ''}

{if isset($newsCate['items']) && count($newsCate['items']) > 0} {foreach $newsCate['items'] as $news}
- {$news['title']|raw} {$news['create_time']|date='Y年m月d日'}
{/foreach} {/if}

{/foreach} {/if}