Authored by Rock Zhang

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

@@ -301,7 +301,7 @@ class FloorProcess @@ -301,7 +301,7 @@ class FloorProcess
301 301
302 // 区别多张图与一张图 302 // 区别多张图与一张图
303 if (count($data['big_image']) > 1) { 303 if (count($data['big_image']) > 1) {
304 - $result['big_image']['list'] = $data['big_image']; 304 + $result['big_image']['big_list'] = $data['big_image'];
305 unset($data['big_image']); 305 unset($data['big_image']);
306 } 306 }
307 307
1 {{> home/floor_header_more}} 1 {{> home/floor_header_more}}
2 <div class="goods-category"> 2 <div class="goods-category">
3 {{# big_image}} 3 {{# big_image}}
4 - {{#if list}} 4 + {{#if big_list}}
5 <div class="category-swiper"> 5 <div class="category-swiper">
6 <ul class="swiper-wrapper"> 6 <ul class="swiper-wrapper">
7 - {{# list}} 7 + {{# big_list}}
8 <li class="swiper-slide"> 8 <li class="swiper-slide">
9 <a href="{{url}}"> 9 <a href="{{url}}">
10 <img class="lazy" data-original="{{img}}" alt="{{title}}"> 10 <img class="lazy" data-original="{{img}}" alt="{{title}}">
11 </a> 11 </a>
12 </li> 12 </li>
13 - {{/ list}} 13 + {{/ big_list}}
14 </ul> 14 </ul>
15 <div class="swiper-pagination"> 15 <div class="swiper-pagination">
16 <div class="pagination-inner clearfix"> 16 <div class="pagination-inner clearfix">