You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
31
hyhproject/mobile2/view/default/goods_search.html
Executable file
31
hyhproject/mobile2/view/default/goods_search.html
Executable file
@ -0,0 +1,31 @@
|
||||
<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('mobile/goods/lists',['keyword'=>$hot])}">{$hot}</a>
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type='text/javascript' src='__MOBILE__/js/jquery.min.js'></script>
|
||||
<script>
|
||||
jQuery.noConflict();
|
||||
document.addEventListener('touchmove', function(event) {
|
||||
//阻止背景页面滚动,
|
||||
if(!jQuery("#wst-goods-search").is(":hidden")){
|
||||
event.preventDefault();
|
||||
}
|
||||
})
|
||||
</script>
|
Reference in New Issue
Block a user