{include file="public/layout" /}

### 积分兑换

#####

{eq name="'Memgift@gift_exchange_list'|is_check_access" value="1"}
- 兑换列表
{/eq} {eq name="'Memgift@index'|is_check_access" value="1"}
- 商品列表
{/eq}

新增商品
{$searchform.hidden|default=''}
价格范围：
至

ID | 商品名称 | {$score.score_name} | 类型 | 库存 | 兑换者 | 兑换次数 | 显示 | 操作 | 排序
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---

{empty name="list"}
{else/} {foreach name="list" item="vo" key="k" }
{$vo.gift_id} | {$vo.giftname} | {$vo.score} | {eyou:if condition="$vo.type eq -1"} 实物 {else /} 虚拟 {/eyou:if} | {$vo.stock} | {eyou:empty name="$vo.num"} 无人兑换 {else /} 查看兑换列表 {/eyou:empty} | {$vo.num} | {if condition="$vo['status'] eq 1"} 是 {else /} 否 {/if} | {eq name="$Think.const.CONTROLLER_NAME.'@edit'|is_check_access" value="1"} 编辑 {/eq} {eq name="$Think.const.CONTROLLER_NAME.'@del'|is_check_access" value="1"} 删除 {/eq} | {eq name="$Think.const.CONTROLLER_NAME.'@edit'|is_check_access" value="1"} {else /} {$vo.sort_order} {/eq}
{/foreach} {/empty}

{notempty name="list"}
{/notempty}
{include file="public/footer" /}