beetl模板引擎中for循环语句(包含select设置默认值)和if判断语句

<#select id="salesOfficesId" name="售楼处" >
       @for(offices in officesList){
             
       @}

 

 

 

@if(!isEmpty(buildingDetail)){
      <#input id="averagePrice" name="楼盘均价" value="${buildingDetail.averagePrice}" underline="true"/>
      <#input id="floorPrice" name="最低价格" value="${buildingDetail.floorPrice}" underline="true"/>
       <#input id="introduction" name="项目简介" value="${buildingDetail.introduction}" underline="true"/>
@}

你可能感兴趣的:(beetl,for,select默认值,if)