index.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {extend name="default/base/base_home" /}
  2. {block name="mall_main"}
  3. <div class="dsh-inviterpro w1200">
  4. <div class="filter-box mb20">
  5. <dl class="clearfix">
  6. <dt>{$Think.lang.classification}</dt>
  7. <dd><a href="{:url('inviterpro/index')}" {if condition="!$Request.param.cate_id"}class="selected"{/if}>{$Think.lang.ds_all}</a></dd>
  8. {foreach name="goods_class_array" item="value"}
  9. <dd>
  10. <a href="{:url('inviterpro/index',['cate_id'=>$value.gc_id,'keyword'=>$Request.param.keyword])}" {if condition="$value.gc_id eq $Request.param.cate_id"}class="selected"{/if}>{$value.gc_name}</a>
  11. </dd>
  12. {/foreach}
  13. </dl>
  14. </div>
  15. {notempty name="goods_list"}
  16. <div class="goods-list clearfix">
  17. <ul>
  18. {foreach name="goods_list" item="value"}
  19. <li>
  20. <div class="goods-pic"><a href="{:url('Goods/index',['goods_id'=>$value.goods_id])}" target="_blank" title="{$value.goods_name}"><img class="lazyload" data-original="{:goods_thumb($value, 240)}" title="{$value.goods_name}" src="{$Think.HOME_SITE_ROOT}/images/loading.gif" alt="{$value.goods_name}" /></a></div>
  21. <div class="goods-name">
  22. <a href="{:url('Goods/index',['goods_id'=>$value.goods_id])}" target="_blank" title="{$value.goods_advword}">{$value.goods_name}</a>
  23. </div>
  24. <div class="goods-info">
  25. <span class="goods-price" title="{$Think.lang.goods_class_index_store_goods_price}{$Think.lang.ds_colon}{$Think.lang.currency}{$value.goods_price}">{:ds_price_format_forlist($value['goods_price'])}</span>
  26. <span class="inviter_amount">{if $value.inviter_amount>0}{$Think.lang.inviterpro_most_inviter_amount}&nbsp;<em>{:ds_price_format_forlist($value['inviter_amount'])}</em>{/if}</span>
  27. </div>
  28. </li>
  29. {/foreach}
  30. </ul>
  31. </div>
  32. <div class="pagination">{$show_page|raw}</div>
  33. {else /}
  34. <div class="no_results">{$Think.lang.inviterpro_no_record}</div>
  35. {/notempty}
  36. </div>
  37. {/block}