export const formTpl = `
<div class="cd-form-container">
    <div class="cd-data-content J_formContent"></div>
    <div class="cd-temp-content J_tempContent"></div>
</div>
`
export const formControlTpl = `
<div class="cd-form-group">
    <label class="cd-title"></label>
    <div class="cd-tips"></div>
    <div class="cd-body"></div>
</div>
`
export const pitFormControlTpl = `
<div class="cd-form-group">
    <label class="cd-title">{{title}}</label>
    <label class="cd-title-info">{{titleTip}}</label>
    <div class="cd-tips"></div>
    <div class="cd-body"></div>
</div>
`
export const crmModuleMaskTpl = `
    <div class="crm-module-mask cd-hide J_crmModuleGuide">
        <a class="crm-mask-close d-m-icons d-m-icons-close" href="javascript:;"></a>
        <div class="crm-tips-item" style="left: {{position1.left - 10}}px; top: {{position1.top - 10}}px">
            <img src="//img14.360buyimg.com/cms/jfs/t1/69806/20/12606/983/5d9dae63Ea083bd28/70ebb9d4c99f3a34.png">
            <div class="crm-tips-title">{{title1}}</div>
            <div class="crm-tips-msg">{{crmTips}}已由CRM自动同步修改需<a href="/marketing/strategy/isvOrder" target="_blank">前往CRM</a></div>
        </div>
        <div class="crm-tips-item" style="left: {{position2.left - 10}}px; top: {{position2.top - 10}}px">
            <img src="//img14.360buyimg.com/cms/jfs/t1/69806/20/12606/983/5d9dae63Ea083bd28/70ebb9d4c99f3a34.png">
            <div class="crm-tips-title">{{title2}}</div>
            <div class="crm-tips-msg">{{crmTips}}已由CRM自动同步修改需<a href="/marketing/strategy/isvOrder" target="_blank">前往CRM</a></div>
        </div>
    </div>
`
export const TemplateTitleTpl = `
<div class="J_moduleName"></div>
<div class='cd-relation-page'>模块已被{{pageNum}}个页面关联<a>查看</a></div>
<h3>内容配置</h3>
`
export const baseConfigTpl = `
<div class='cd-normal-line J_normalLine'>
    <h3>基础信息</h3>
    <div class='cd-info-wrap J_infoWrap'> 
        <div class='cd-choose-module-info J_moduleInfo {{if !curTemplate || !curTemplate.moduleInstanceId}}cd-hide{{/if}}'> 
            <span>【已选：</span>
            <span class='name J_chooseModuleName' title='{{curTemplate.name}}'>{{curTemplate.name}}</span>
            <span>】</span>
        </div>
        <a class='J_chooseModule'>{{if curTemplate && curTemplate.moduleInstanceId}}更换{{else}}选择已有模版{{/if}}</a>
        <a class='J_deleteModule cd-delete-module'>{{if curTemplate && curTemplate.moduleInstanceId}}删除{{/if}}</a>
    </div>
</div>`