TP5 模板渲染語法

每次都要去網上找,又發現都不全。因此本身記錄一下html volist:循環 {volist name="collection" id="v"} {/volist} if {if condition=" a == 1 "} {/else} {/if} 這裏有個點,就是當你使用 if  -  else if() 的時候!必須是這麼寫post {if condition=" a == 1 "}
相關文章
相關標籤/搜索