{template 'common/header'} {if $do == 'display'} {if empty($data) && $_GPC['status'] == 'history'}
没有历史菜单
{else}
自定义菜单
{if $type == '1'} +添加默认菜单 {elseif $type == '3'} +添加个性化菜单 {/if}
{loop $data $da} {/loop}
菜单组名 显示对象 是否在微信生效 {if $type == '1'}
(只能生效一个默认菜单)
{/if}
操作
{if empty($da['title'])} {if $da['type'] == 1} 默认菜单 {elseif $da['type'] == 2} 默认菜单(历史记录) {else} 个性化菜单 {/if} {else} {$da['title']} {/if} {if $da['type'] == 3} {if $da['sex'] > 0}性别:{$names['sex'][$da['sex']]} ;{/if} {if $da['group_id'] != -1}粉丝分组:{if $da['group_id'] == -1}不限{else}{$groups[$da['group_id']]['name']}{/if} ;{/if} {if $da['client_platform_type'] > 0}客户端:{$names['client_platform_type'][$da['client_platform_type']]} ;{/if} {if !empty($da['area'])}地区:{$da['area']}{/if} {else} 所有粉丝 {/if} {if $da['type'] == 1} {if $da['status'] == 0} 生效并置顶 {else} 菜单生效中 {/if} {else}
{$pager}
{/if} {/if} {if $do == 'post'}
给菜单组起个名字吧!以便查找
{if $type != 1}
根据条件对显示对象进行筛选
{/if}
{/if} {template 'common/footer'}