44 строки
2.1 KiB
Plaintext
44 строки
2.1 KiB
Plaintext
<#if pageResult.total() != 0>
|
|
<div id="mediaList" class="srcFileList">
|
|
<#for item : pageResult.list()>
|
|
<#if item_index!=0 && item_index%5==0></div></#if>
|
|
<#if item_index%5==0><div class="z-clearfix"></#if>
|
|
<div id="item_${item.getMediaId()}" class="item" title="${DesignTypeDao.name(item.getTypeId())} ${Global.get(DesignIndustryCache.class).getIndustryName(item.getIndustryId())} ${item.getIndustrySubName()} ${item.getAttributeName()} ${item.getKeywordName()}">
|
|
<div class="z-bg-white z-pointer
|
|
<#if item.getTemplateType() = 110>bestItem</#if>
|
|
<#if item.getTemplateType() = 100>modelItem</#if>
|
|
<#if item.getTemplateType() = 80>orderItem</#if>
|
|
<#if item.getTemplateType() = 10 || item.getTemplateType() = 20>myItem</#if>
|
|
<#if item.getTemplateType() = 0>temporaryItem</#if>
|
|
">
|
|
<img style="max-width:300px;" src="
|
|
<#if Validates.isEmpty(item.getMediaUrl())>/zinc/images/nopic.png
|
|
<#else>
|
|
<#if media.getMediaUrl().indexOf(",") == -1>
|
|
${item.getMediaUrl()}
|
|
<#else>
|
|
<#for path : Arrays.toStringArray(item.getMediaUrl())>
|
|
<#if path_index lt 1>
|
|
${path}
|
|
</#if>
|
|
</#for>
|
|
</#if>
|
|
</#if>
|
|
" onclick="Design.doTemplateShow('${item.getMediaId()}','${urlParam}');" />
|
|
<span class="allItem-info z-absolute" onclick="Design.doTemplateShow('${item.getMediaId()}','${urlParam}');">${item.getMediaId()}</span>
|
|
</div>
|
|
</div>
|
|
<#if item_index == (pageResult.list().size() - 1)></div></#if>
|
|
</#for>
|
|
</div>
|
|
|
|
<div style="width:100%;text-align:center;margin-bottom:35px;">
|
|
<table class="z-table z-bordered zi-bd-t-none z-bg-white">
|
|
<tr class="z-h50">
|
|
<td><div class="z-float-right z-mg-r10">${PagingGo.toHtmlClick(pageResult, "doTemplateSearch")}</div></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<#else>
|
|
<div class="z-float-left z-color-gray z-w100p z-text-center z-px20 z-mg-t20">暂无模板信息,请重新搜索</div>
|
|
</#if> |