25 sor
1.5 KiB
Plaintext
25 sor
1.5 KiB
Plaintext
<#if cardList.isEmpty()>
|
|
<div class="z-w100p z-h50 z-text-center z-px18">请创建名片</div>
|
|
<#else>
|
|
<script>
|
|
</script>
|
|
|
|
<div class="svgTemplateList">
|
|
<#for item : cardList>
|
|
<div id="sel_${item.getId()}" class="svgTemplateItem" onmouseenter='Z(this).children(".itemCtrBar").show();' onmouseleave='Z(this).children(".itemCtrBar").hide();'>
|
|
<#if item.getCardUrl() != null && item.getCardUrl() != "">
|
|
<div class="showSvg"><img src="${item.getCardUrl()}" width="240px" height="146px" /></div>
|
|
<#else>
|
|
<div class="showSvg"><img src="/zinc/images/nopic.png" width="240px" height="146px" /></div>
|
|
</#if>
|
|
<span class="itemCtrBar z-absolute z-w100p z-pd10 z-hide">
|
|
<button type="button" class="z-button modelCheckBtn z-blue z-float-left" onclick="goDzmpCardEdit('${item.getId()}', '${item.getMediaId()}');"><i class="z-font z-px12 z-modify"></i>编辑</button>
|
|
<button type="button" class="z-button modelCheckBtn z-red z-float-right" onclick="doDzmpCardDelete('${item.getId()}', '${item.getMediaId()}');"><i class="z-font z-px12 z-error"></i>删除</button>
|
|
<button type="button" class="z-button modelCheckBtn z-yellow z-absolute" style="right: 10px;top: 118px;" onclick="doDzmpCardCopy('${item.getId()}', '${item.getMediaId()}');"><i class="z-font z-px12 z-add"></i>复制</button>
|
|
</span>
|
|
<div class="z-lh30 z-px16 z-color-gray">${item.getId()}</div>
|
|
</div>
|
|
</#for>
|
|
</div>
|
|
</#if>
|