export const shopCategoryTpl = `
<div class="d-shop-category">
    <ul class="d-shop-category-list J_shopCategoryList"></ul>
    <button class="d-add-category J_addCategory">
        <span class="d-add-category-icon">+</span>
        <span class="d-add-category-text">添加分类</span>    
    </button>
</div>
`;
export const shopCategoryItemTpl = `
{{each naviCategoryList value index}}
<li class="d-shop-category-item J_categoryItem">
    <div class="d-operations">
        <span class="d-shop-category-item-index">分类设置<span class="J_categoryIndex"></span></span>
        <span class="d-shop-category-btns">
            <span class="d-shop-category-btn d-icon-up J_operate J_categoryUp">
                <span class="cd-icons cd-icons-link-up"></span>
            </span>   
            <span class="d-shop-category-btn d-icon-down J_operate J_categoryDown">
                <span class="cd-icons cd-icons-link-down"></span>
            </span>   
            <span class="d-shop-category-btn J_operate J_categoryDel">
                <span class="cd-icons cd-icons-link-del"></span>
            </span>   
        </span>
    </div>
    <div class="d-shop-category-info">
        <input class="d-shop-category-name J_shopCategoryName" type="text" placeholder="分类名称" value="{{value.name || ''}}">
        <div class="d-shop-category-info-wrapper J_categoryLink">
            <input class="d-shop-category-value J_categoryValue" type="text" placeholder="分类链接" value="{{value.categoryLink.link || ''}}">
            <div class="d-shop-category-icon J_categoryLinkTool">
                <i class="cd-icons cd-icons-link-icon"></i>
            </div>
        </div> 
    </div>
</li>
{{/each}}
`;