142 lines
7.0 KiB
HTML
Executable File
142 lines
7.0 KiB
HTML
Executable File
<div class='wst-search-container'>
|
||
<div class='wst-logo'>
|
||
<a href='{$Request.root.true}' title="{:WSTConf('CONF.mallName')}" >
|
||
<img src="__IMGURL__/{:WSTConf('CONF.mallLogo')}" height="120" width='240' title="{:WSTConf('CONF.mallName')}" alt="{:WSTConf('CONF.mallName')}">
|
||
</a>
|
||
</div>
|
||
<div class="wst-search-box">
|
||
<div class='wst-search'>
|
||
<input type="hidden" id="search-type" value="{:isset($keytype)?1:0}"/>
|
||
<ul class="j-search-box">
|
||
<li class="j-search-type">
|
||
{if empty($is_icp)}搜<span>{if isset($keytype)}店铺{else}商品{/if}</span>{else /}搜<span>商品 </span>{/if}<i class="arrow"> </i>
|
||
</li>
|
||
{if empty($is_icp)}
|
||
<li class="j-type-list">
|
||
{if isset($keytype)}
|
||
<div data="0">商品</div>
|
||
{else}
|
||
<div data="1">店铺</div>
|
||
{/if}
|
||
</li>
|
||
{/if}
|
||
</ul>
|
||
<input type="text" id='search-ipt' class='search-ipt' placeholder='{:WSTConf("CONF.adsGoodsWordsSearch")}' value='{:isset($keyword)?$keyword:""}'/>
|
||
<input type='hidden' id='adsGoodsWordsSearch' value='{:WSTConf("CONF.adsGoodsWordsSearch")}'>
|
||
<input type='hidden' id='adsShopWordsSearch' value='{:WSTConf("CONF.adsShopWordsSearch")}'>
|
||
<div id='search-btn' class="search-btn" onclick='javascript:WST.search(this.value)'>搜索</div>
|
||
</div>
|
||
<div class="wst-search-keys">
|
||
{php}$searchKeys = WSTSearchKeys();{/php}
|
||
{volist name="$searchKeys" id="vo"}
|
||
<a href='{:Url("home/goods/search","keyword=".$vo)}'>{$vo}</a>
|
||
{if $i< count($searchKeys)} | {/if}
|
||
{/volist}
|
||
</div>
|
||
</div>
|
||
<div class="wst-cart-box">
|
||
<a href="{:url('home/carts/index')}" target="_blank" onclick="WST.currentUrl('{:url("home/carts/index")}');"><span class="word j-word">我的购物车<span class="num" id="goodsTotalNum">0</span></span></a>
|
||
<div class="wst-cart-boxs hide">
|
||
<div id="list-carts"></div>
|
||
<div id="list-carts2"></div>
|
||
<div id="list-carts3"></div>
|
||
<div class="wst-clear"></div>
|
||
</div>
|
||
</div>
|
||
{/* 购物车 */}
|
||
<script id="list-cart" type="text/html">
|
||
{{# for(var i = 0; i < d.list.length; i++){ }}
|
||
<div class="goods" id="j-goods{{ d.list[i].cartId }}">
|
||
<div class="imgs"><a href="{{ WST.U('home/goods/detail','id='+d.list[i].goodsId) }}"><img class="goodsImgc" data-original="__IMGURL__/{{ d.list[i].goodsImg }}" title="{{ d.list[i].goodsName }}"></a></div>
|
||
<div class="number"><p><a href="{{ WST.U('home/goods/detail','id='+d.list[i].goodsId) }}">{{WST.cutStr(d.list[i].goodsName,26)}}</a></p><p>数量:{{ d.list[i].cartNum }}</p></div>
|
||
<div class="price"><p>¥{{ d.list[i].shopPrice }}</p><span><a href="javascript:WST.delCheckCart({{ d.list[i].cartId }})">删除</a></span></div>
|
||
</div>
|
||
{{# } }}
|
||
</script>
|
||
</div>
|
||
<div class="wst-clear"></div>
|
||
{/* 左侧菜单栏 */}
|
||
<div class="wst-nav-menus">
|
||
<div class="nav-w" style="position: relative;">
|
||
<div class="w-spacer"></div>
|
||
<div class="dorpdown {if isset($hideCategory)}j-index{/if}" id="wst-categorys">
|
||
<div class="dt j-cate-dt">
|
||
<a href="javascript:void(0)">全部商品分类</a>
|
||
</div>
|
||
<div class="dd j-cate-dd" {if !isset($hideCategory)}style="display:none" {/if}>
|
||
<div class="dd-inner">
|
||
{volist name=":WSTSideCategorys()" id="vo" key="k"}
|
||
{php}if($vo['catId']!=389){{/php}
|
||
<div id="cat-icon-{$k}" class="item fore1 {if ($key>=12)}over-cat{/if}">
|
||
<h3>
|
||
<div class="{if ($key>=12)} over-cat-icon {else /} cat-icon-{$k} {/if}"></div>
|
||
<a href="{:Url('home/goods/lists','cat='.$vo['catId'])}" target="_blank">{$vo['catName']}</a>
|
||
</h3>
|
||
</div>
|
||
{php}}{/php}
|
||
{/volist}
|
||
</div>
|
||
<div style="display: none;" class="dorpdown-layer" id="index_menus_sub">
|
||
{volist name=":WSTSideCategorys()" id="vo" key="k"}
|
||
<div class="item-sub" i="{$k}">
|
||
<div class="item-brands">
|
||
<div class="brands-inner">
|
||
{wst:brand cat="$vo['catId']" id="bvo" num='6' cache='86400'}
|
||
<a target="_blank" class="img-link" href="{:url('home/goods/lists',['cat'=>$bvo['catId'],'brand'=>$bvo['brandId']])}">
|
||
<img width="83" height="65" class='categeMenuImg' data-original="__IMGURL__/{$bvo['brandImg']}">
|
||
</a>
|
||
{/wst:brand}
|
||
<div class="wst-clear"></div>
|
||
</div>
|
||
<div class='shop-inner'>
|
||
{wst:shop cat="$vo['catId']" id="bvo" num='4' cache='86400'}
|
||
<a target="_blank" class="img-link" href="{:url('home/shops/home',['shopId'=>$bvo['shopId']])}">
|
||
<img width="83" height="65" class='categeMenuImg' data-original="__IMGURL__/{$bvo['shopImg']}">
|
||
</a>
|
||
{/wst:shop}
|
||
<div class="wst-clear"></div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="subitems">
|
||
{php}if(isset($vo['list'])){{/php}
|
||
{volist name="vo['list']" id="vo2"}
|
||
<dl class="fore2">
|
||
<dd>
|
||
<a
|
||
class="cat2_tit"
|
||
target="_blank"
|
||
href="{:Url('home/goods/lists','cat='.$vo2['catId'])}">
|
||
{$vo2['catName']}
|
||
<i>></i>
|
||
</a>
|
||
{php}if(isset($vo2['list'])){{/php}
|
||
{volist name="vo2['list']" id="vo3"}
|
||
<a target="_blank" href="{:Url('home/goods/lists','cat='.$vo3['catId'])}">{$vo3['catName']}</a>
|
||
{/volist}
|
||
{php}}{/php}
|
||
<div class="wst-clear"></div>
|
||
</dd>
|
||
</dl>
|
||
{/volist}
|
||
{php}}{/php}
|
||
</div>
|
||
</div>
|
||
{/volist}
|
||
</div>
|
||
</div>
|
||
</div>
|
||
{/* 横栏菜单 */}
|
||
<div id="wst-nav-items">
|
||
<ul>
|
||
{volist name=":WSTNavigations(0)" id='vo'}
|
||
<li class="fore1">
|
||
<a href="{$vo['navUrl']}" {if $vo['isOpen']==1}target="_blank"{/if}>{$vo['navTitle']}</a>
|
||
</li>
|
||
{/volist}
|
||
</ul>
|
||
</div>
|
||
|
||
</div>
|
||
<div class="wst-clear"></div>
|