master
Lee 2022-11-08 09:01:01 +08:00
commit df31d2f384
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ $childrenMenu = Category::getChildrenByParentId($topCategoryId);
{foreach $images as $img}
<div class="swiper-slide">
<a href="{$img['link'] ?: 'javascript:;'}">
<img src="{$img.src ?? ''}" alt="{$img.alt}">
<img src="{$img.src ?? ''}" alt="{$img.alt ?? ''}">
</a>
</div>
{/foreach}
@ -47,7 +47,7 @@ $childrenMenu = Category::getChildrenByParentId($topCategoryId);
<div class="resource-advantage w1360 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
{if !empty($resource)}
{foreach $resource as $res}
<img src="{$res.src ?? ''}" alt="{$res.alt}" style="width: 100%;padding-top: 5px;">
<img src="{$res.src ?? ''}" alt="{$res.alt ?? ''}" style="width: 100%;padding-top: 5px;">
{/foreach}
{/if}
</div>

View File

@ -17,7 +17,7 @@ $childrenMenu = Category::getChildrenByParentId($topCategoryId);
{foreach $images as $img}
<div class="swiper-slide">
<a href="{$img['link'] ?: 'javascript:;'}">
<img src="{$img.src ?? ''}" alt="{$img.alt}">
<img src="{$img.src ?? ''}" alt="{$img.alt ?? ''}">
</a>
</div>
{/foreach}
@ -45,7 +45,7 @@ $childrenMenu = Category::getChildrenByParentId($topCategoryId);
<div class="resource-advantage wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
{if !empty($resource)}
{foreach $resource as $res}
<img src="{$res.src ?? ''}" alt="{$res.alt}" style="width: 100%;padding-top: 5px;">
<img src="{$res.src ?? ''}" alt="{$res.alt ?? ''}" style="width: 100%;padding-top: 5px;">
{/foreach}
{/if}
</div>