
<script type="text/html" id="[id]">
    <li class="col-xs-4 col-sm-3 col-md-2 previewitem">
        <figure>
            <% if (suffix =='jpg' || suffix == 'png' || suffix=='gif' || suffix=='svg' || suffix=='webp'){ %>
            <img src="<%= fullurl%>" width="120" data-url="<%= url%>" alt="图片一" onerror="this.src=Fast.api.fixurl('ajax/icon') + '?suffix=<%= suffix%>;this.onerror=null;" class="img-responsive">
            <% }else{ %>
                <img src="__IMG__/ext/<%= suffix%>.svg" width="120" data-url="__IMG__/ext/<%= suffix%>.svg" alt="图片一" class="img-responsive">
            <% }%>
            <figcaption>
                <a class="btn btn-round btn-square btn-primary btn-preview" href="javascript:;"><i class="mdi mdi-eye"></i></a>
                <a class="btn btn-round btn-square btn-danger btn-remove" href="javascript:;"><i class="mdi mdi-delete"></i></a>
            </figcaption>
        </figure>
    </li>
</script>