{extend name="$base" /} {block name="resources"}{/block} {block name="main"}

游戏活动名称 | 奖励规则等级 | 奖励 | 剩余奖品数/总奖品数 | 操作
--- | --- | --- | --- | ---
{if condition="$game_detail"} {if condition="count($game_detail.rule)>0"} {foreach name="$game_detail.rule" item="vo" key="k"}
{$game_detail.name} | {$vo.rule_name} | 奖励 {if condition="$vo.type==1"} {$vo.points}积分 {elseif condition="$vo.type==2"} 优惠券 {elseif condition="$vo.type==3"} ￥{$vo.hongbao}余额红包 {elseif condition="$vo.type==4"} 赠品 {/if} | {if condition="$vo.remaining_number==0"} {$vo.remaining_number}/{$vo.rule_num} {else/} {$vo.remaining_number}/{$vo.rule_num} {/if} | 编辑游戏活动
{/foreach} {else/}
暂无奖项
{/if} {/if}

{/block} {block name="script"}{/block}