export const tpl = `
    <div class="cd-shop-category-content">
        <div class="cd-table J_table cd-link-list">
            
        </div>
        <div class="cd-footer">
            <p class="cd-text">如配置了店铺二级页、自定义链接，仅支持松果站内的跳转，暂不支持微信松果购物小程序内的跳转，望悉知，谨慎配置。</p>
            <div class="cd-cancel J_cancel">取消</div>
            <div class="cd-ok J_ok">确定</div>
        </div>
    </div>
`
export const tbodyTpl = `
    <div class="cd-row-item J_rowItem">
        <div class="cd-fir-cate J_firCate">
            <input class="cd-simulink-radio" type="radio" name="oftenLink" data-link="{{cateUrl}}" data-extra-data='{"cateName":"{{cateName}}"}' data-original-data="{{cid}}">
            <span class="cd-cid">{{cid}}</span>
            <span class="cd-cate-name">{{cateName}}</span>
            <span class="cd-cate-url">{{cateUrl}}</span>
            {{if children}}
            <i class="cd-arrow-icon J_arrow"></i>
            {{/if}}
        </div>
        {{if children}}
        <ul class="cd-sec-cates J_secCates">
        {{each children}}
            <li class="cd-sec-cate J_secCate">
                <input class="cd-simulink-radio" type="radio" name="oftenLink" data-link="{{$value.cateUrl}}" data-extra-data='{"cateName":"{{$value.cateName}}"}' data-original-data="{{$value.cid}}">
                <span class="cd-cid">{{$value.cid}}</span>
                <span class="cd-cate-name">{{$value.cateName}}</span>
                <span class="cd-cate-url">{{$value.cateUrl}}</span>
            </li>
        {{/each}}
        </ul>
        {{/if}}
    </div>
`