苹果CMS搜索框调用方法
1
2
3
4
5
6
7
8
9
10
<form class="search-form" id="search" name="search" method="get" action="{:mac_url('vod/search')}" onsubmit="return qrsearch();">
<input type="text" id="wd" name="wd"value="{$param.wd}" placeholder="请输入内容..."autocomplete="off" class="input">
<div class="so-key">
<!--搜索显示推荐-->
{maccms:foreach name=":explode(',',$maccms.search_hot)" key="key"}
<a href="{:mac_url('vod/search',['wd'=>$vo])}">{$vo}</a>
{/maccms:foreach}
</div>
<input type="submit" name="submit" class="imgbt" value="">
</form>
页:
[1]