-99",
    "list":[
        {
            "name":"李白","age":"99岁"
        },
        {
            "name":"杜甫","age":"77岁"
        },
        {
            "name":"白居易","age":"1000岁"
        },
        {
            "name":"李贺","age":"100岁"
        }
    ]
};

var comtpl = $.t7.compile(document.getElementById('tpl').innerHTML);
document.getElementById('list').innerHTML = comtpl(json);
        
    </script>

    <div class="weui-cells__title">tpl是1kb模板引擎,只有一个函数