添加自定义的店内搜索框示例代码如下:
<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)
本站装修模板和素材资源均来源于网络,如果有图片侵犯了您的产权,请联系我们,我们尽快处理。 管理员邮箱:2903619511@qq.com
Copyright 2025 © xsheji.com All Rights Reserved 湘ICP备14014746号-3