export const cascadeContainerTpl = `
  <div class="cd-cascade-select-layer {{className}}"></div>
`
export const cascadeMenuLoading = `
  <div class="cd-cascade-select-menu-loading" data-level="{{level}}" data-parent="{{parentId}}"></div>
`
export const cascadeMenu = `
  <ul class="cd-cascade-select-menu" data-level="{{level}}" data-parent="{{parentId}}">
    {{if list && list.length}}
    {{each list item i}}
    <li class="cd-cascade-select-item{{if level < 2 && !item.childrenEmpty}} cd-cascade-select-more{{/if}}{{if item.catId == selectedValue}} cd--selected{{/if}}" data-id="{{item.catId}}" data-children="{{item.categorySubList}}" data-original="{{item}}">
        <span class="cd-cascade-select-text">{{item.catName}}</span>
    </li>
    {{/each}}
    {{else}}
    <li class="cd-cascade-select-empty">
        暂无数据！
    </li>
    {{/if}}
  </ul>
`