import reg from './shares/reg.js';
import { hrefModule } from "./shares/utils.js";

// 搜索问题？？？
export default route => {
    return {
        productTpl: `
            <div class="productItem col-lg-4 col-md-6 col-sm-12 productItemTpl">
                <div class="products">
                    <img class="productImg" src="{{ product_img }}" alt="高路华图片">
                    <div class="productContent">
                        <div class=" productType">{{ product_name }}</div>
                        <a href="/productInfo/{{product_id}}.html" class="productButton ">查看详情</a>
                    </div>
                </div>
            </div>
    `,
        headItemTpl: `
        <a href="{{ src }}" class="f1 " title="高路华">{{ name }}</a>
    `,
        NavItemTpl: `
        <div class="swiper-slide"><img src="{{ src }}"  alt="高路华" title="高路华"></div>
    `,
        honourTpl: `
        <div>
            <img src="{{ honour_img }}"  alt="高路华" title="高路华">
        </div>
    `,
        searchTpl: `
        <a class="searchDetailItem" href=/productInfo/{{dictionary_id}}.html>{{ product_type }}</a>
    `,
        productFMenuTpl: `
        <div class="productMenusBodyTitle productFMenu ">{{ product_type }}</div>
    `,
        productSMenuTpl: `
        <a href="/product/{{dictionary_id}}/{{index}}.html" class="productMenusItem productSMenu productSMenuTpl ">
            <div class="f1 productSMenu">{{ product_type }}</div>
            <div class="f1">({{ product_count }})</div>
        </a>
    `,
    }
}