公 告
{foreach:items=Api::run('getAnnouncementList', 3)}
{$item['title']}
{/foreach}
自定义您的首页快速连接菜单
资 讯
{foreach:items=Api::run('getArtList', 3)}
{$item['title']}
{/foreach}
{set:$tuanitems=Api::run('getRegimentList',5)} {if:$tuanitems}
团购商品
更多>
{foreach:items=$tuanitems} {set:$tmpPId=$item['id'];} {set:$tmpGoodsId=$item['goods_id'];}
{$item['title']}
¥{$item['regiment_price']}
{/foreach}
{/if} {set:$panicbuying=Api::run('getPromotionList', 10);} {if:$panicbuying}
限时抢购
{foreach:items=$panicbuying} {set:$free_time = ITime::getDiffSec($item['end_time'])} {set:$countNumsItem[] = $item['p_id'];}
倒计时:
{echo:floor($free_time/3600);}
时
{echo:floor(($free_time%3600)/60);}
分
{echo:$free_time%60;}
秒
{$item['name']}
¥{$item['award_value']}
{/foreach}
{/if}
{echo:Ad::show("首页限时抢购下面广告1200*120(huewei)")}
{if:$pointData = Api::run('getCostPointList',5)}
积分兑换
更多>
{foreach:items=$pointData}
{$item['name']}
¥{$item['sell_price']}
{$item['point']}积分
{/foreach}
{/if} {foreach:items=Api::run('getCategoryListTop') item=$first }
{$first['name']}
更多>
{foreach:items=Api::run('getCategoryExtendList',array('#categroy_id#',$first['id']), 12)}
{$item['name']}
¥{$item['sell_price']}
{/foreach}
{/foreach}