2019-09-06 23:53:10 +08:00

31 lines
1.2 KiB
HTML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="wst-co-search" id="wst-goods-search">
<header class="ui-header ui-header-positive wst-se-header2" style="border-bottom: 1px solid #f6f6f8;">
<i class="ui-icon-return" onclick="javascript:WST.searchPage('goods',0);"></i>
<div class="wst-se-search">
<i class="ui-icon-search" onclick="javascript:WST.search(0);"></i>
<form action"" class="input-form">
<input type="search" value="" placeholder="按关键字搜索商品" onsearch="WST.search(0)" autocomplete="off" id="wst-search">
</form>
</div>
</header>
<div class="list">
<p class="search"><i></i>热门搜索</p>
{php}$hotWordsSearch = WSTConf("CONF.hotWordsSearch");
if($hotWordsSearch!='')$hotWordsSearch = explode(',',$hotWordsSearch);{/php}
<div class="term">
{volist name="$hotWordsSearch" id="hot"}
<a href="{:url('wechat/goods/lists',['keyword'=>$hot])}">{$hot}</a>
{/volist}
</div>
</div>
</div>
<script type='text/javascript' src='__WECHAT__/js/jquery.min.js'></script>
<script>
jQuery.noConflict();
document.addEventListener('touchmove', function(event) {
//阻止背景页面滚动,
if(!jQuery("#wst-goods-search").is(":hidden")){
event.preventDefault();
}
})
</script>