Authored by Rock Zhang

修复recommend_content_one类型中由于字段名称重复导致的渲染出错的bug

... ... @@ -301,7 +301,7 @@ class FloorProcess
// 区别多张图与一张图
if (count($data['big_image']) > 1) {
$result['big_image']['list'] = $data['big_image'];
$result['big_image']['big_list'] = $data['big_image'];
unset($data['big_image']);
}
... ...
{{> home/floor_header_more}}
<div class="goods-category">
{{# big_image}}
{{#if list}}
{{#if big_list}}
<div class="category-swiper">
<ul class="swiper-wrapper">
{{# list}}
{{# big_list}}
<li class="swiper-slide">
<a href="{{url}}">
<img class="lazy" data-original="{{img}}" alt="{{title}}">
</a>
</li>
{{/ list}}
{{/ big_list}}
</ul>
<div class="swiper-pagination">
<div class="pagination-inner clearfix">
... ...