export const tpl = `
    
    <div class="cd-anchor-content J_anchorCotent">
        <div class="cd-table J_table">
        
        </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 = `
    {{if configEmpty || moduleFlag && (moduleFlag.indexOf('MobNavi')>=0 || moduleFlag.indexOf('mFloat')>=0) || disabled || floorStatus}}
    <tr class="cd-disabled">
    {{else}}
    <tr>
    {{/if}}
        <td>
            {{if platformId == 0}}
            <input class="cd-radio cd-simulink-radio" type="radio" data-link="#{{id}}" data-original-data="#{{id}}" name="anchorLink">
            {{else if platformId == 1}}
            <input class="cd-radio cd-simulink-radio"  {{if configEmpty }}disabled="disabled"{{/if}} type="radio" data-link="{{id}}" data-original-data="{{id}}" name="anchorLink">
            {{/if}}
            <span>{{index}}</span>
        </td>
        <td>
            {{ if alias }}
            {{name}}（{{alias}}）
            {{else}}
            {{name}}
            {{/if}}
        </td>
        <td>{{id}}</td>
    </tr>
`