<% //参数描述: //type: 表单 默认:form-group 列表的搜索栏:search-group //title:字段的名称 //colsxs:表示col-xs-样式后边跟数字。 6代表一行2列 4代表一行3列 //isNeed:默认否 是否必填字段 var typegroup = type!; if(typegroup == null){ typegroup = "form-group"; } var isNeedstr = false; if(isNeed! == null){ isNeedstr = false; }else{ isNeedstr = isNeed!; } var labelNum = 4; var contentNum = 8; if(colsxs! == 6){ labelNum = 4; contentNum = 8; }else if(colsxs! == 12){ labelNum = 2; contentNum = 10; } %> <% if (@StringUtils.equalsString('form-group', typegroup!)){ %>
${layoutContent}
<% } %> <% if (@StringUtils.equalsString('search-group', typegroup!)){ %>
${layoutContent}
<% } %>