<#include "../../liger.html"/>
<#include "attupload.html"/>

## 文档/添加

<#assign u = false/> <#assign u1 = false/> <#assign u2 = false/> <#assign count=0/> <#assign j=0/> <#list fieldList as field> <#assign cols=false> <#assign j=j+1/> <#assign first=true/> <#assign last=true/> <#if !field.single&&field_has_next&&!fieldList[j].single&&count%2==0><#assign last=false/> <#if !field.single&&j gt 1&&!fieldList[j-2].single&&count%2==1><#assign first=false/> <#if field.single||(!field.single&&field_has_next&&fieldList[j].single&&count%2==0)||(!field.single&&!field_has_next&&count%2==0)><#assign cols=true><#else><#assign count=count+1/> <#if field.economy> <#if field.name=="channelId"> <#if first>
*所属栏目: | colspan="3"> 关联栏目 浏览权限 <#list groupIds as groupId> <#if last>
<#elseif field.name=="title"> <#if first>
*${field.label!}： | colspan="3"> vld="{required:true,messages:{required:'${field.label!}不能为空!'}}"/> checked="checked"/>外部链接 style="display:none">URL: style="display:none"> <#if last>
<#elseif field.name=="redTape"> <#if first>
<#if field.required>*${field.label!}： | colspan="3"> vld="{required:true,messages:{required:'${field.label!}不能为空!'}}"/> <#if last>
<#elseif field.name=="subTitle"> <#if first>
<#if field.required>*${field.label!}： | colspan="3"> vld="{required:true,messages:{required:'${field.label!}不能为空!'}}"/> <#if last>
<#elseif field.name=="shortTitle"> <#if first>
<#if field.required>*${field.label!}： | colspan="3">vld="{required:true,messages:{required:'${field.label!}不能为空!'}}"/> <#if last>
<#elseif field.name=="titleColor"> <#if first>
${field.label!}： | colspan="3"> checked="checked"/>加粗value="${article.bold?string('true','false')}"<#else> value="false"/> <#if last>
<#elseif field.name=="tagStr"> <#if first>
${field.label!}： | colspan="3"> 用","分隔 <#if last>
<#elseif field.name=="description"> <#if first>
<#if field.required>*${field.label!}： | colspan="3"> ${article.description!} <#if last>
<#elseif field.name=="author"> <#if first>
<#if field.required>*${field.label!}： | colspan="3">vld="{required:true,messages:{required:'${field.label!}不能为空!'}}"/> <#if last>
<#elseif field.name=="origin"> <#if first>
<#if field.required>*${field.label!}： | colspan="3"> vld="{required:true,messages:{required:'${field.label!}不能为空!'}}"/> 来源链接: <#if last>
<#elseif field.name=="style"> <#if first>
${field.label!}： | colspan="3"> <#list typeList as type> checked="checked"/>${type.name!} <#if last>
<#elseif field.name=="recommend"> <#if first>
${field.label!}： | colspan="3"> checked="checked"/>推荐 checked="checked"/>置顶 <#assign c = false> <@Perm perm="admin:doc:check"> <#assign c = true> checked="checked"/>审核 <#if last>
<#elseif field.name=="commentControl"> <#if first>
${field.label!}： | colspan="3"> checked="checked"/>开启评论 checked="checked"/>关闭评论 <#if last>
<#elseif field.name=="tplContent"> <#if first>
${field.label!}： | colspan="3"> 浏览 <@Perm perm="admin:tpl:edit"> 编辑 <#if last>
<#elseif field.name=="atts"> <#assign u1 = true/> <#if first>
${field.label!}： | colspan="3"> <#if article.atts??> <#list article.atts as attach> ${attach.name!} <#if last>
<#elseif field.name=="txt"> <#if first>
${field.label!}： | colspan="3"> ${article.txtValue!} <#if last>
<#elseif field.name=="picture"> <#assign u2 = true/> <#if first>
${field.label!}： | colspan="3" id="aimgshow"> <#if article.pics??> <#assign s = -1> <#list article.pics as p> <#if p.thumb??&&p.thumb> <#assign s = s+1> checked="checked"/>标题图 <#list typeList as type> <#if type.hasImage> <#else>style="display:none" id="typeshow${type.id}${s}">checked="checked"/>${type.name!} <#if last>
<#elseif field.name=="pics"> <#assign u = true/> <#if first>
${field.label!}： | colspan="3" id="imgshow"> <#if article.pics??> <#assign i = -1> <#list article.pics as p> <#if !p.thumb??||!p.thumb> <#assign i = i+1> checked="checked"/>封面 ${p.description!} <#if last>
<#elseif field.name=="releaseDate"> <#if first>
${field.label!}： | colspan="3"> 留空则为当前时间 <#if last>
<#else> <#include "custom.html"/>
<@Perm perm="admin:doc:update">

<#include "divc.html"/>