fuint-application/application-web/src/main/webapp/template/page/components/storeList.html

(完整代码) 1KB

<div class="panel panel-inverse" data-sortable-id="table-basic-4" id="result">
    <div class="panel-heading">
        <small>店铺列表</small>
    </div>
    <div class="panel-body">
        <table class="table table-striped table-bordered" style="font-size: 12px !important;">
            <thead>
            <tr>
                <th>选择</th>
                <th>店铺ID</th>
                <th>店铺名称</th>
            </tr>
            </thead>
            <tbody>
            <#if storeList?has_content && storeList?exists &&storeList?size gt 0>
                <#list storeList as ct>
                <tr>
                    <td>
                        <input type="checkbox" value="${ct.id}" name="id"
                            <#if selectStoreIds?exists && selectStoreIds?seq_contains(ct.id+"") >
                               checked
                            </#if>
                        />
                    </td>
                    <td name="activityIdTD">${ct.id}<br></td>
                    <td name="activityNameTD">${ct.name}<br>
                        <input type="hidden" name="storeNameTD" value="${ct.name}"/>
                        <input type="hidden" name="storeIdTD" value="${ct.id}"/>
                    </td>
                </tr>
                </#list>
            <#else>
            <tr class="gradeA even" role="row">
                <td colspan="11" class="text-center">没有符合条件的数据!</td>
            </tr>
            </#if>
            </tbody>
        </table>
    </div>
</div>
<script type="text/javascript">
    $(function () {
        $('#checkAll').click(function () {
            $("[name='id']").prop("checked",$("#checkAll").prop("checked"));
        })
    });
</script>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。