export const tpl = `
    
    <div class="cd-activity-content J_activityCotent">
        <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 = `
    <tr>
        <td>
            {{if shortUrl}}
            <input class="cd-radio cd-simulink-radio" type="radio" data-link="//conecli.com/m/h5/{{shortUrl}}.html" data-original-data="{'shortUrl':'{{shortUrl}}','projectId':'{{id}}'}" name="activityPage">
            <a class="cd-jump-link" href="//conecli.com/m/h5/{{shortUrl}}.html" target="_blank">
                <span>{{name}}</span>
            </a>
            {{else}}
            <input class="cd-radio cd-simulink-radio" type="radio" data-link="{{url}}" data-original-data="{{id}}" name="activityPage">
            <a class="cd-jump-link" href="{{url}}" target="_blank">
                <span>{{name}}</span>
            </a>
            {{/if}}
        </td>
        {{if shortUrl}}
        <td>
        {{else}}
        <td>{{url}}</td>
        {{/if}}
    </tr>
`
export const tbodyTplYhd = `
    <tr>
        <td>
            {{if shortUrl}}
            <input class="cd-radio cd-simulink-radio" type="radio" data-link="//act.m.yhd.com/{{shortUrl}}.htm" data-original-data="{'shortUrl':'{{shortUrl}}','projectId':'{{id}}'}" name="activityPage">
            {{else}}
            <input class="cd-radio cd-simulink-radio" type="radio" data-link="{{url}}" data-original-data="{{id}}" name="activityPage">
            {{/if}}
            <span>{{name}}</span>
        </td>
        {{if shortUrl}}
        <td>
        {{else}}
        <td>{{url}}</td>
        {{/if}}
    </tr>
`