export const tpl = `
    <ul class="{{rootClass}}">
        {{each list}}
        <li class="cd-accordion-content J_accordion" data-id={{$value.id}}>
            <div class="cd-accordion-title J_accordionTitle">
                <span class="cd-accordion-after"></span>
                <p class="cd-accordion-text">{{$value.accordionTitle}}</p>
                <i class=" cd-accordion-arrowDown J_accordionArrow"></i>
            </div>
            <div class="cd-accordion-wrap J_accordionWrap">
                {{each $value.accordionWrap}}
                <div class="cd-sub-item J_rowItem{{if $value.checked}} {{checkedClass}}{{/if}}">
                    {{if $value.link}}<a href="{{$value.link}}" target="{{$value.target}}" >{{/if}}
                        {{$value.wrapContent}}
                    {{if $value.link}}</a>{{/if}}
                </div>
                {{/each}}  
            </div>
        </li>
        {{/each}}
    </ul> 
`