分享


淘宝店招如何添加搜索框?

淘宝店招如何添加搜索框?如何在不使用模版的情况下添加


提问者:深***帝20悬赏 3回答 8389浏览 04-21问题状态:已解决
提问者采纳 04-21



使用自定义店招  将一下代码放到合适的位置

<form class="focus"  name="SearchForm" action="http://weiway.taobao.com" method="get" target="_blank"><input type="hidden" name="userId" value="" /><input type="hidden" name="shopId" value="73028132" /><input type="hidden" name="view_type" value="" /><input type="hidden" name="order_type" value="" /><input type="hidden" name="search" value="y" /><input id="J_ShopSKey" name="keyword" type="text" class="text J_SEKeyword" value="" style="width:190px;height:17px;"><button type="submit" class="button" style="border:1px solid gray;background:#ddd;">搜索商品</button></form>
请将里面的店铺地址换为你的店铺地址,shopid换为你的店铺ID。


没想到随便贴的代码还有人老找去问我。。看来是有人需要的,那就继续贴一个。
把上面的代码随便改改,就可以把后面的提交按钮换为图片:

<form class="focus"  name="SearchForm" action="http://weiway.taobao.com" method="get" target="_blank"><input type="hidden" name="userId" value="" /><input type="hidden" name="shopId" value="73028132" /><input type="hidden" name="view_type" value="" /><input type="hidden" name="order_type" value="" /><input type="hidden" name="search" value="y" /><input id="J_ShopSKey" name="keyword" type="text" class="text J_SEKeyword" value="" style="width:190px;height:17px;"><input type="image" src="http://xy19.net/images/search.gif" border="0" WIDTH="16" height="16" align=absmiddle></form>

希望能够对需要的人有所帮助。

 


评论(0) 支持(1) 反对(0)

我来帮他解答

0 / 200

3条回答


可以用是可以用,但是怎么改变他的样式呢?

评论(0) 支持(0) 反对(0)

试了下,搜索英文2014之类的正常,但是搜索中文的时候变成了乱码,这是为什么

评论(0) 支持(0) 反对(0)