zoukankan      html  css  js  c++  java
  • juicer

        function financingBodyTable(){
            var jsonData = {
                FinancingBodyJSON:${relaListArr}//list数组
            }
            var addModel = $("#trSubject").html();//script 的id
            var j = juicer(addModel,jsonData);
            $("#divSubject").html(j);//加载到divSubject
        }
    <div id="divSubject"></div>
    <script id="trSubject" type="text/template">
    {@each FinancingBodyJSON as json,index}
        <div class="tk-proBox ml20 table-bordered" id='{{json.institutionsId}}' insName='{{json.name}}'>
                  {@if {{json.firstIndustryCodeName}} != null}
                       ({{json.firstIndustryCodeName}})--%>
                  {@/if}--%>
        </div>
        {@/each}
    </script>
    引人<%@include file="/framework/include/juicerHead.jsp" %> juicer-min.js
    后台要JSONArray.fromObject(FinancingBodyList).toString();
  • 相关阅读:
    2016第17周四
    2016第17周三
    2016第17周二
    OSGI框架学习
    2016年第16周日
    2016第16周六
    如何培养技术洞见力
    2016第15周四
    深入浅出ClassLoader
    Linux智能小开关rfkill
  • 原文地址:https://www.cnblogs.com/gaobing1252/p/8534807.html
Copyright © 2011-2022 走看看