更新:首页-营销网络版块跳转链接调整

virtual
zwesy 2020-12-07 10:06:15 +08:00
parent 837a178343
commit 400a4b9270
1 changed files with 7 additions and 1 deletions

View File

@ -49,7 +49,13 @@
<div class="w-1500">
<div class="pull-left column-between">
<div class="all-title-box1 w-100"><span>{$blocks['marketing_name']['value'] ?? ''}</span><p>{$blocks['marketing_describe']['value'] ?? ''}</p></div>
<a href="{:url('article/index', ['category_id'=>$marketingCId])}">了解详情++</a>
{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}
<a href="{$marketingLink ?? 'javascript:;'}">了解详情++</a>
</div>
</div>
</div>