{{#if(modules.length)}}

    {{#each(layoutMap)}}
    <row>
      {{#each(children)}}

      {{set (id = this.children[0])}}
      {{set (currentModule = getItemById(root.modules, id))}}

      <column class="{{type}}">
        <section class="module-wrap J_Mod {{currentModule.name}}" {{#if(sceneData)}} data-scene='{{{sceneData}}}' {{/if}} data-spm="{{currentModule.spmC}}" id="{{currentModule.containerId}}" data-name="{{currentModule.name}}" data-group="{{currentModule.group}}" data-version="{{currentModule.version}}"></section>
      </column>

      {{/each}}
    </row>
    {{/each}}

    <script>
        KISSY.use('kg/pi/pi-rx', function(S, RxInit) {
            RxInit.render({{{modsJson}}});
        });
    </script>

{{/if}}


{{! 页面下线}}
{{{offlineRedirect}}}