#### <{t}>自定义菜单信息<{/t}>

<{input type='hidden' name='menu_id' value=$menu.menu_id}>

<{t}>公众账号:<{/t}> | <{$menu.bind_info.name}> <{input type='hidden' name='menu[bind_id]' vtype='required' value=$menu.bind_info.id }>
<{t}>菜单模板:<{/t}> | <{$menu.menu_theme_info.menu_theme_name}> <{input type='hidden' name='menu[menu_theme]' vtype='required' value=$menu.menu_theme_info.menu_theme_id }>
<{t}>自定义菜单名称:<{/t}> | <{input type='text' name='menu[menu_name]' vtype='required&&text' caution=$__weixin='请填写自定义菜单名称'|t:'weixin' value=$menu.menu_name }> <{t}>一级菜单最多4个汉字，二级菜单最多7个汉字,多出来的部分微信中将会以“...”代替<{/t}>
<{t}>上级菜单:<{/t}> | <{input noselect=true type='select' name='menu[parent_id]' value=$menu.parent_id required='true' vtype='required' caution=$__weixin='请选择上级菜单'|t:'weixin' rows=$selectmaps valueColumn="menu_id" labelColumn="menu_name"}> <{t}>顶级菜单默认选'无',添加子菜单默认选中当前父菜单<{/t}>
<{t}>排序:<{/t}> | <{input type='text' name='menu[ordernum]' size='20' size='3' vtype='required&&number' value='0' caution=$__weixin='请填写排序值'|t:'weixin' value=$menu.ordernum }> <{t}>数字越小越靠前<{/t}>
<{t}>回复类型:<{/t}> | <{input class="act-switch" type="radio" name="menu[content_type]" required="true" value=$menu.content_type options=$content_type_options separator=' '}>
style="display:none;"<{/if}> > <{t}>自定义链接:<{/t}> | <{input type="text" id="_msg_url" vtype="required" name='menu[msg_url]' value=$menu.msg_url size=150 maxLength=256 placeholder='http://' }>
<{t}>商品详细页:<{/t}> | <{input type="object" breakpoint=0 cols='name' textcol="name" object="products@b2c" select='radio' callback="_callback_product"}>
<{t}>商品列表页:<{/t}> | <{input type="object" breakpoint=0 cols='cat_name' textcol="cat_name" object="goods_cat@b2c" select='radio' callback="_callback_gallery"}>
<{t}>文章列表页:<{/t}> | <{input type='select' rows=$article_nodes valueColumn="node_id" labelColumn="node_name" onchange="_callback_articlelist(this.value)"}>
<{t}>文章页:<{/t}> | <{input type="object" breakpoint=0 filter="platform=wap" cols='title' textcol="title" object="article_indexs@content" select='radio' callback="_callback_article"}>
<{t}>需授权页:<{/t}> | <{input type='select' rows=$auth_url_options valueColumn="url" labelColumn="label" onchange="_callback_authlink(this.value)"}> | 如果需要使用这些页面，您的微信公众帐号必须开通了高级接口， 请务必至微信公众平台-〉服务-〉我的服务-〉高级接口-〉OAuth2.0网页授权， 设置授权回调页面域名为您的域名地址，比如：ecstoredemo.vip.vmod.cn
<{t}>维权:<{/t}> | <{input type="checkbox" value="true" onchange="_callback_weiquan(this.checked)"}> | 如果您的微信公众帐号已经申请开通了微信支付功能， 根据微信官方要求，必须接入微信维权客服系统，请务必配置维权菜单。
style="display:none;"<{/if}> > <{t}>文字消息:<{/t}> | <{input type="object" breakpoint=0 name='menu[msg_text]' value=$menu.msg_text cols='name' textcol="name" breakpoint=0 object=message_text app=weixin select='radio'}>
style="display:none;"<{/if}>> <{t}>图文消息:<{/t}> | <{input type="object" breakpoint=0 name='menu[msg_image]' filter="parent_id=0&has_children=true" value=$menu.msg_image cols="name" textcol="name" breakpoint=0 object=message_image app=weixin select='radio'}>

<{area inject='.mainFoot'}>
如果您需要将此更改生效至微信公众帐号,请点击确定之后再点击页面上方'更新当前菜单到微信'按钮
<{button type="button" label=$__weixin="确定"|t:'weixin' class="btn-primary" id="menu_add_form_submit_btn"}> <{button type="button" label=$__weixin="取消"|t:'weixin' isCloseDialogBtn="true" class="btn-secondary"}>
<{/area}>