export const tpl = `
    <div class="cd-product-link-content">
        <div class="cd-query-area">
            <!--sdkm中会屏蔽部分UI-->
            {{ if !${window.page_data.isSDKM} }}
            <div class="cd-search">
                <input class="cd-search-input J_searchInput" placeholder="请输入SKU ID"/>
            </div>
            {{ /if }}
            <!--
            去掉价格查询条件。产品：龚秀，2019-01-25
            <div class="cd-price-interval">
                <div class="cd-price-block J_lowPrice">
                    <div class="cd-rmb-icon">￥</div>
                    <input>
                </div>
                <p class="cd-line">-</p>
                <div class="cd-price-block J_highPrice">
                    <div class="cd-rmb-icon">￥</div>
                    <input>
                </div>
            </div>-->
            <!--增加按照SKU或者SPU维度的查询条件。产品：龚秀，2019-01-25-->
            {{ if !${window.page_data.isSDKM} }}
            <div class="cd-condition-item">
                <select name="cd-select-order" class="J_goodsQueryType">
                    <option value="1" >SKU ID展示</option>
                    <option value="2" >SKU维度展示</option>
                    <option value="3" >SPU维度展示</option>
                </select>
            </div>
            <div class="cd-sure-btn J_searchBtn">搜索</div>
            {{ /if }}
        </div>
        <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 valign="middle">
            <input class="cd-simulink-radio cd-radio" type="radio" data-link="{{link}}" data-original-data="{{skuId}}" name="couponLink">
            <img src="{{imageUrl}}">
        </td>
        <td>
            <p class="cd-wname">{{skuName}}</p>
        </td>
        <td>{{skuId}}</td>
        <td><span class="cd-price">￥{{price}}</span></td>
    </tr>
`
export const yiyaoTpl = `
    <tr>
        <td valign="middle">
            <input class="cd-simulink-radio cd-radio" type="radio" data-link="{{link}}" data-original-data="{{skuId}}" name="couponLink">
            <img src="{{imageUrl}}">
        </td>
        <td>
            <p class="cd-wname">{{skuName}}</p>
        </td>
        <td><span class="cd-retail-price cd-price J_retailPrice">￥{{retailPrice}}</span></td>
        <td><span class="cd-wholesale-price cd-price J_wholesalePrice">￥{{wholesalePrice}}</span></td>
    </tr>
`