{{each groups as list gIndex}} {{if (gIndex == 0)}}
{{=title}} {{=tip}}
{{each list as item iIndex}}
{{=item[textKey]}}
{{=item[tipKey]}}
{{if (item.children && item.children.length)}} {{/if}}
{{/each}}
{{else}}
{{each list as item iIndex}}
{{=item[textKey]}} {{if (item.children && item.children.length)}} {{/if}}
{{/each}}
{{/if}} {{/each}}