{include file="public/layout" /}
{include file="shop/left" /}
{include file="discount/bar" /}

#### 提示

- 注意：该功能仅限于【可视化微信小程序（商城版）】插件

{eq name="$Think.const.CONTROLLER_NAME.'@add'|is_check_access" value="1"}
新增限时折扣商品
{/eq}
{$searchform.hidden|default=''}

| 商品ID | 封面图 | 商品标题 | 限购数量 | 销量 | 库存 | 显示 | 更新时间 | 操作 | 排序
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---

{empty name="list"}
{else/} {foreach name="list" item="vo" key="k" }
| {$vo.discount_gid} |  | {eq name="$Think.const.CONTROLLER_NAME.'@edit'|is_check_access" value="1"} {$vo.title} {else /} {$vo.title} {/eq} | {$vo.limit} | {$vo.sales} | {$vo.seckill_stock} | {if condition="$vo['status'] eq 1"} 是 {else /} 否 {/if} | {$vo.update_time|date='Y-m-d',###} | {eq name="'Discount@edit'|is_check_access" value="1"} 编辑 {/eq} {eq name="'Discount@del'|is_check_access" value="1"} 删除 {/eq} | {eq name="'Discount@edit'|is_check_access" value="1"} {else /} {$vo.sort_order} {/eq}
{/foreach} {/empty}

{eq name="'Discount@del'|is_check_access" value="1"}
批量删除
{/eq} {include file="public/page" /}
{include file="public/footer" /}