wesmiler 5 anos atrás
pai
commit
262e1301a3
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      public/themes/mjmls/index/index/floor/brand.html

+ 2 - 2
public/themes/mjmls/index/index/floor/brand.html

@@ -35,9 +35,9 @@
                 <li>
                     <a href="/b{$v.id}/" title="{$v.title}" target="_blank">
                         <if condition="!$is_mobile">
-                            <img  src="{:cmf_get_image_preview_url($v.logo)}?v=1" width="174" height="130" alt="{$v.title}" onerror="imageError(this)">
+                            <img class="lazyload" data-src="{:cmf_get_image_preview_url($v.logo)}?v=1" width="174" height="130" alt="{$v.title}" onerror="imageError(this)">
                             <else/>
-                            <img  src="{:cmf_get_image_preview_url($v.logo)}?v=1" width="174" onload="resetSize(this)" height="130" alt="{$v.title}" onerror="imageError(this)" >
+                            <img class="lazyload" data-src="{:cmf_get_image_preview_url($v.logo)}?v=1" width="174" onload="resetSize(this)" height="130" alt="{$v.title}" onerror="imageError(this)" >
                         </if>
 
                         <h3 class="nowrap">{$v.title}</h3>