<a class="weui-cell weui-cell_access" href="javascript:;">
            <div class="weui-cell__bd">
                <p>{{@index}}- {{../title}} - {{name}}  {{#if ../n<1}}小于1{{else}}大于1{{/if}}  {{js "date('Y-m-d',time())"}}</p>
            </div>
            <div class="weui-cell__ft"> {{age}}
            </div>
        </a>
        {{else}}
        数组为空输出
        {{/each}}

        </script>

    <script>
var json = {
    "title":"我是一个中国人",
    "date":"2018-12-12",
    "n":"