{gtpl header}
幸运抽奖
{foreach $items $item} {if $item['can_lottery']} {run $hasLottery = true;}
{$item[title]}
{/if} {/loop} {if !$hasLottery}
暂无抽奖奖品
{/if}
积分兑换
{foreach $items $item} {if $item['can_exchange']} {run $hasExchange = true;}
{$item[title]}
{/if} {/loop} {if !$hasExchange}
暂无兑换奖品
{/if}
{gtpl footer}