添加自定义的店内搜索框
示例代码如下:

<div module-name="search">
    <div class="j-module" module-param="{prefixUrl:'//mall.jd.com',defKeyword:'',keyword:'',isShowPriceSift:'',appId:'',venderId:'',shopId:'',categoryId:'0',cmsModId:''}" module-function="shopSearch">
        <input type="text" class="s_text inputMiddle"/>
        <button class="s_button s_btn">搜索</button> 
    </div>
</div>

参数解释:
appId, verdenId, shopId都可以从店铺首页上获取,必填
categoryId: 搜索的分类,必填(可填0)

最后编辑: admin  文档更新时间: 2020-03-23 17:36   作者:admin