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

#### 提示

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

{eq name="$Think.const.CONTROLLER_NAME.'@active_add'|is_check_access" value="1"}
新增活动
{/eq}

| 活动ID | 活动名称 | 活动日期 | 预热 | 显示 | 更新时间 | 操作
--- | --- | --- | --- | --- | --- | --- | ---

{empty name="list"}
{else/} {foreach name="list" item="vo" key="k" }
| {$vo.active_id} | {$vo.active_name} | {$vo.start_date|date='Y-m-d H:i:s',###} 至 {$vo.end_date|date='Y-m-d H:i:s',###} | {if condition="$vo['preheat'] eq 1"} 是 {else /} 否 {/if} | {if condition="$vo['status'] eq 1"} 是 {else /} 否 {/if} | {$vo.update_time|date='Y-m-d',###} | {eq name="'Discount@active_edit'|is_check_access" value="1"} 编辑 {/eq} {eq name="'Discount@active_del'|is_check_access" value="1"} 删除 {/eq}
{/foreach} {/empty}

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