<span th:if="${#dates.format(new java.util.Date().getTime(), 'yyyy-MM-dd HH:mm:ss')} lt ${#dates.format(activity.applyDeadline, 'yyyy-MM-dd HH:mm:ss')}">
    <a th:href="@{'/newsDetail?id='+${item.id}}">
    <div th:href="@{/Culturecloud/dispDetail(id=${item.id},flag=${'6'})}"></div>
<img th:src="@{'/upload/activity/'+${item.activityImg}}" "javascript:this.src='../statics/images/no-pictures.png';">
 <div  th:if="${#lists.isEmpty(heritageList)}"></div>
 <div  th:unless="${#lists.isEmpty(heritageList)}"></div>
 <div class="item" th:each="item : ${display}"></div>
    <div class="md-img" th:switch="${{item.resourceTypeid}}">
         <span th:case="1"></span>
         <span th:case="2"></span>
         ................
    </div>
    <!--判断是否为0-->
    <span th:if="${isfinally} == 0" ></span>
    <!--判断是否为空-->
    <span th:if="${object } != null"></span>
<span  th:utext="${cloudworks.worksContent}"></span>
 <span th:text="${activity.appointmen} - ${activity.appointmen}"></span>
    <span class="active" th:data="${#strings.substring(book[3],0,10)}+'@'+${book[0]['1'].stageid}" ></span>
    ${#strings.indexOf(name,frag)}																						
	${#strings.substring(name,3,5)}																						
	${#strings.substringAfter(name,prefix)}				
	${#strings.substringBefore(name,suffix)}												
	${#strings.replace(name,'las','ler')}	
 <sapn th:text="${book[0]['1']}></span>
<span th:data="${data.val}" id="val"></span>
<!--在js中获取:var val= $("#val").attr("data");-->
    
 <span th:if="${session.user != null}">
        <span id="userId" hidden th:text="${session.user.id}"></span>
        <span id="isVolun" th:text="${session.user.isVolun}" hidden></span>
    </span>
<!--类似还有application:⽤于获取应⽤程序或servlet上下⽂属性;request:直接访问与当前请求关联的-->
    
上一篇:CF482C Game with Strings


下一篇:golang 字符串去除空格和换行符