{extend name="shop/default/base" /} {block name="resources"}
{/block} {block name="main"}

#### 火爆兑换

{foreach name="hotGoods.data" item="good" key="k"}
- {$k+1} {$good.goods_name} 积分：{$good.point_exchange}
  {$k+1} {$good.goods_name}

  积分：{$good.point_exchange}

  立即兑换

{/foreach}

商品排序：
  按销售量
  按收藏量
  按评价量
  按分享量

{if condition="$page egt 1 && $page elt $page_count"}{$page}{else/}1{/if}/{$page_count} {if condition="$page elt 1"} 上一页 {else/} 上一页 {/if} {if condition="$page lt $page_count && $page egt 1"} 下一页 {else/} 下一页 {/if}
共{$hotGoods.total_count}个商品

{foreach $allGoods.data as $goods}

- {$goods.goods_name}

  {if condition="$goods.promotion_price neq 0 AND $goods.point_exchange neq 0"}
  ¥{$goods.promotion_price}+{$goods.point_exchange}积分
  {else/} {if condition="$goods.promotion_price eq 0"}
  {$goods.point_exchange}积分
  {else/}
  ¥{$goods.promotion_price}
  {/if} {/if}
  立即兑换
{/foreach}

{include file='shop/default/controlCommonPage' /}
{/block} {block name="javascript"}
{/block}