1 list循环一行内容:
<#list route.slightList as slightList> <w:p wsp:rsidR="001013E7" wsp:rsidRDefault="001013E7" wsp:rsidP="006A454B"><w:pPr><w:ind w:first-line="420"/><w:rPr><w:rFonts w:ascii="楷体_GB2312" w:fareast="楷体_GB2312" w:cs="Tahoma" w:hint="fareast"/><wx:font wx:val="楷体_GB2312"/><w:color w:val="000000"/></w:rPr></w:pPr> <w:r wsp:rsidRPr="001013E7"> <w:rPr><w:rFonts w:ascii="宋体" w:h-ansi="宋体" w:cs="Arial" w:hint="fareast"/><wx:font wx:val="宋体"/><w:b/><w:b-cs/><w:noProof/><w:sz-cs w:val="40"/></w:rPr>AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEB</w:r> <w:r><w:rPr><w:rFonts w:ascii="楷体_GB2312" w:fareast="楷体_GB2312" w:cs="Tahoma" w:hint="fareast"/><wx:font wx:val="楷体_GB2312"/><w:color w:val="000000"/></w:rPr>
<w:t>${slightList.slightName}</w:t> </w:r> </w:p> </#list>
2 if else
<w:p wsp:rsidR="00B75072" wsp:rsidRPr="009C1F35" wsp:rsidRDefault="00857799" wsp:rsidP="009C1F35"><w:pPr><w:pStyle w:val="HTML"/><w:adjustRightInd w:val="off"/><w:snapToGrid w:val="off"/><w:spacing w:line="380" w:line-rule="exact"/><w:rPr><w:rFonts w:ascii="楷体_GB2312" w:fareast="楷体_GB2312" w:h-ansi="Arial" w:cs="Arial"/><wx:font wx:val="楷体_GB2312"/><w:b/><w:b-cs/><w:sz w:val="21"/></w:rPr></w:pPr>
<w:r wsp:rsidRPr="009C1F35"><w:rPr><w:rFonts w:ascii="楷体_GB2312" w:fareast="楷体_GB2312" w:h-ansi="Arial" w:cs="Arial"/><wx:font wx:val="楷体_GB2312"/><w:b/><w:b-cs/><w:sz w:val="21"/></w:rPr> <w:t>早餐: <#if route.breakFastType != ""> ${route.breakFastType} <#else>无</#if></w:t> </w:r>
</w:p>
3
<w:tc> <w:tcPr><w:tcW w:w="2268" w:type="dxa"/><w:shd w:val="clear" w:color="auto" w:fill="auto"/></w:tcPr> <#list route.scenicStr?split("#") as scen> <w:p wsp:rsidR="00857799" wsp:rsidRPr="00D60619" wsp:rsidRDefault="00857799" wsp:rsidP="009C1F35"><w:pPr><w:pStyle w:val="HTML"/><w:adjustRightInd w:val="off"/><w:snapToGrid w:val="off"/><w:spacing w:line="380" w:line-rule="exact"/><w:rPr><w:rFonts w:ascii="楷体_GB2312" w:fareast="楷体_GB2312" w:h-ansi="Arial" w:cs="Arial" w:hint="fareast"/><wx:font wx:val="楷体_GB2312"/><w:b/><w:b-cs/><w:sz w:val="21"/><w:lang w:val="EN-US" w:fareast="ZH-CN"/></w:rPr></w:pPr><w:r wsp:rsidRPr="00D60619"><w:rPr><w:rFonts w:ascii="楷体_GB2312" w:fareast="楷体_GB2312" w:h-ansi="Arial" w:cs="Arial" w:hint="fareast"/><wx:font wx:val="楷体_GB2312"/><w:b/><w:b-cs/><w:sz w:val="21"/><w:lang w:val="EN-US" w:fareast="ZH-CN"/></w:rPr> <w:t> <#if (scen?split("|")[1])??> <#if (scen?split("|")[1]) != " "> ${scen?split("|")[0]?split("-")[0]} : <#list scen?split("|")[1]?split(",") as sce> <#if sce_index = 0> ${sce?split("-")[0]} </#if> <#if sce_index != 0> ,${sce?split("-")[0]} </#if> </#list> </#if> </#if> </w:t> </w:r></w:p> </#list> </w:tc>
5
<#list route.scenicStr?split("#") as scen> <#if (scen?split("|")[1])??> #??判断对象是否存在 <#if (scen?split("|")[1]) != " "> <w:tc><w:tcPr><w:tcW w:w="2268" w:type="dxa"/><w:shd w:val="clear" w:color="auto" w:fill="auto"/></w:tcPr> <w:p wsp:rsidR="00857799" wsp:rsidRPr="00D60619" wsp:rsidRDefault="00857799" wsp:rsidP="009C1F35"><w:pPr><w:pStyle w:val="HTML"/><w:adjustRightInd w:val="off"/><w:snapToGrid w:val="off"/><w:spacing w:line="380" w:line-rule="exact"/><w:rPr><w:rFonts w:ascii="楷体_GB2312" w:fareast="楷体_GB2312" w:h-ansi="Arial" w:cs="Arial" w:hint="fareast"/><wx:font wx:val="楷体_GB2312"/><w:b/><w:b-cs/><w:sz w:val="21"/><w:lang w:val="EN-US" w:fareast="ZH-CN"/></w:rPr></w:pPr><w:r wsp:rsidRPr="00D60619"><w:rPr><w:rFonts w:ascii="楷体_GB2312" w:fareast="楷体_GB2312" w:h-ansi="Arial" w:cs="Arial" w:hint="fareast"/><wx:font wx:val="楷体_GB2312"/><w:b/><w:b-cs/><w:sz w:val="21"/><w:lang w:val="EN-US" w:fareast="ZH-CN"/></w:rPr><w:t> ${scen?split("|")[0]?split("-")[0]} : <#list scen?split("|")[1]?split(",") as sce> <#if sce_index = 0>${sce?split("-")[0]}</#if> <#if sce_index != 0>,${sce?split("-")[0]}</#if> </#list> </w:t></w:r> </w:p> </w:tc> </#if> <#else> <w:tc><w:tcPr><w:tcW w:w="2268" w:type="dxa"/><w:shd w:val="clear" w:color="auto" w:fill="auto"/></w:tcPr> <w:p wsp:rsidR="00857799" wsp:rsidRPr="00D60619" wsp:rsidRDefault="00857799" wsp:rsidP="009C1F35"><w:pPr><w:pStyle w:val="HTML"/><w:adjustRightInd w:val="off"/><w:snapToGrid w:val="off"/><w:spacing w:line="380" w:line-rule="exact"/><w:rPr><w:rFonts w:ascii="楷体_GB2312" w:fareast="楷体_GB2312" w:h-ansi="Arial" w:cs="Arial" w:hint="fareast"/><wx:font wx:val="楷体_GB2312"/><w:b/><w:b-cs/><w:sz w:val="21"/><w:lang w:val="EN-US" w:fareast="ZH-CN"/></w:rPr></w:pPr><w:r wsp:rsidRPr="00D60619"><w:rPr><w:rFonts w:ascii="楷体_GB2312" w:fareast="楷体_GB2312" w:h-ansi="Arial" w:cs="Arial" w:hint="fareast"/><wx:font wx:val="楷体_GB2312"/><w:b/><w:b-cs/><w:sz w:val="21"/><w:lang w:val="EN-US" w:fareast="ZH-CN"/></w:rPr><w:t> 无 </w:t></w:r> </w:p> </w:tc> </#if> </#list>