You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

512 lines
26 KiB

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="{$keywords}" />
<meta name="Description" content="{$description}" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>{$page_title}</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link rel="stylesheet" type="text/css" href="themes/<?php echo $GLOBALS['_CFG']['template']; ?>/base.css" />
<link href="{$ecs_css_path}" rel="stylesheet" type="text/css" />
<!-- {if $cat_style} -->
<link href="{$cat_style}" rel="stylesheet" type="text/css" />
<!-- {/if} -->
<link href="area_stock.css" rel="stylesheet" type="text/css" />
{* 包含脚本文件 *}
{insert_scripts files='jquery-1.9.1.min.js,jquery.json.js,transport_jquery.js'}
{insert_scripts files='common.js,global.js,compare.js,search_category_menu.js'}
<link href="themes/<?php echo $GLOBALS['_CFG']['template']; ?>/store_css/store_css.css" rel="stylesheet" type="text/css" >
<link rel="stylesheet" href="themes/<?php echo $GLOBALS['_CFG']['template']; ?>/purebox.css">
<script type="text/javascript" src="themes/<?php echo $GLOBALS['_CFG']['template']; ?>/js/notLogin.js"></script>
</head>
<body>
<!-- #BeginLibraryItem "/library/page_header_store.lbi" --><!-- #EndLibraryItem -->
<div class="jShopHeader">
<div class="jFixWidth">
<div class="jShopHeaderArea">
<div class="j-shopHeader">
<div class="jLogo">
<a href="merchants_store.php?merchant_id={$merchant_id}">{$shop_info.shop_name}{$shop_info.shopNameSuffix}</a>
</div>
<div class="jRating">
<a class="jIconRating" href="#">
<span class="jGray"></span>
<span class="jRed" style="width:{$merch_cmt.cmt.all_zconments.allReview}%; background-position:-{$merch_cmt.cmt.all_zconments.position}px 0px;" title="综合好评({$merch_cmt.cmt.all_zconments.allReview}%)"> </span>
</a>
<em>{$merch_cmt.cmt.all_zconments.score} 分</em>
<div class="jRatingTotal" style="left:-120px; display: none;">
<table border="0" cellpadding="0" cellspacing="0">
<thead>
<tr>
<th><b>评分详细</b></th>
<th></th>
<th>与行业相比</th>
</tr>
</thead>
<tbody id="jRatingTotal_table">
<tr>
<td>商品评分:</td>
<td><span class="jNum">{$merch_cmt.cmt.commentRank.zconments.score} 分</span></td>
<td>
<span class="jIconHigh">{$merch_cmt.cmt.commentRank.zconments.goodReview}%</span>
</td>
</tr>
<tr>
<td>服务评分:</td>
<td><span class="jNum">{$merch_cmt.cmt.commentServer.zconments.score} 分</span></td>
<td>
<span class="jIconHigh">{$merch_cmt.cmt.commentServer.zconments.goodReview}%</span>
</td>
</tr>
<tr>
<td>时效评分:</td>
<td><span class="jNum">{$merch_cmt.cmt.commentDelivery.zconments.score} 分</span></td>
<td>
<span class="jIconHigh">{$merch_cmt.cmt.commentDelivery.zconments.goodReview}%</span>
</td>
</tr>
</tbody>
</table>
<ul class="shopTolal">
<li>
<span>店铺名称:</span><a href="merchants_store.php?merchant_id={$merchant_id}">{$shop_info.shop_name}{$shop_info.shopNameSuffix}</a>
</li>
<li>
<span>公司名称:</span><span>{$basic_info.shop_name}</span><a style="padding:0px;" href="#"><span class="icon"></span></a>
</li>
<li>
<span>客服电话:</span><span>{$basic_info.kf_tel}</span>
</li>
</ul>
<script type="text/javascript">
jQuery(".j-shopHeader").mouseout(function() {
jQuery('.jRatingTotal').css('display','none');
});
jQuery(".j-shopHeader").mouseover(function() {
jQuery('.jRatingTotal').css('display','block');
});
</script>
</div>
</div>
</div>
<div class="im jIm" title="{$shop_info.shoprz_brandName}{$shop_info.shopNameSuffix}在线客服">
<b><a href="{if $basic_info.kf_type eq 1}http://www.taobao.com/webww/ww.php?ver=3&touid={$basic_info.kf_ww}&siteid=cntaobao&status=1&charset=utf-8{else}http://wpa.qq.com/msgrd?v=3&uin={$basic_info.kf_qq}&site=qq&menu=yes{/if}">在线客服</a></b>
</div>
<div id="shop-attention" class="jAttention">
<a onclick="get_collect_store(2, {$merchant_id});" href="javascript:void(0);">
<span>加关注</span>
</a>
</div>
</div>
</div>
</div>
<div class="store_header" style=" width:100%; height:128px; background:url({$basic_info.shop_logo}) no-repeat center 0px"></div>
<div class="store_nav">
<div class="w1200">
<div class="store_nav_left">
<div class="all_box">
<div class="all_cats"><a href="#">店铺全部分类</a></div>
<div class="all_cats_tcc">
<ul>
{foreach from=$nav_cat item=cat key=key}
<li>
<span class="square_box"></span>
<a href="{$cat.url}">{$cat.cat_name}</a>
<div class="all_box_two">
<ul>
{foreach from=$cat.child_array item=cat key=key name=nocat}
<li><a href="{$cat.url}">{$cat.cat_name}</a></li>
{/foreach}
</ul>
</div>
</li>
{/foreach}
</ul>
</div>
</div>
</div>
<div class="store_nav_right">
<ul>
<li {if $cat_id eq 0}class="current"{/if}>
<a href="merchants_store.php?merchant_id={$merchant_id}">店铺首页</a>
</li>
{foreach from=$store_category item=category key=key}
<li class="s_box_id">
<a href="{$category.url}" {if $category.opennew eq 1} target="_blank"{/if} {if $cat_id eq $category.cat_id}class="nav_hover"{/if}>{$category.cat_name}</a>
</li>
{/foreach}
</ul>
</div>
</div>
</div>
<div class="picScroll-left">
<div class="hd">
<ul></ul>
</div>
<div class="bd">
{* ECSHOP 提醒您:动态载入position_merchantsIn_users.lbi,显示首页分类小广告 *}{insert name='get_adv_child' ad_arr=$adarr id=$merchant_id}
</div>
</div>
<div class="wrapper">
{if $cat_id > 0}
<!-- #BeginLibraryItem "/library/store_shaixuan.lbi" --> <!-- #EndLibraryItem -->
{/if}
<div class="jGoodsRecommend-159099">
<div class="left_cate left_pos">
<!--添加-->
<div id="sp-search" class="m m2">
<div class="mt">
<h2 style="position:relative;">店内搜索
{if $cat_id > 0}
<font style="position:absolute; top:0px; right:5px; color:#666;">
<a href="merchants_store.php?id={$parent_id}&merchant_id={$merchant_id}">返回上一级</a>
</font>
{/if}
</h2>
</div>
<form method="GET" action="merchants_store.php" class="sort" name="listform">
<div class="mc">
<p class="sp-form-item1">
<label for="sp-keyword">关键字:</label>
<span>
<input id="sp-keyword" name="keyword" value="{$keyword|default:}" type="text">
</span>
</p>
<p class="sp-form-item2">
<label for="sp-price">价 格:</label>
<span>
<input id="sp-price" name="price_min" value="{$price_min|default:}" type="text">
<em>到</em>
<input id="sp-price1" name="price_max" value="{$price_max|default:}" type="text">
</span>
</p>
<p class="sp-form-item3">
<span>
<input type="hidden" value="{$merchant_id}" id="merchant_id" name="merchant_id">
<input id="btnShopSearch" style="width:160px; margin-left:13px; " type="submit" value="搜索">
</span>
</p>
</div>
</form>
</div>
<div id="sp-search" class="m m2">
<div class="mt">
<h2 style="position:relative;">店铺公告</h2>
</div>
<div class="mc">
{$basic_info.notice}
</div>
</div>
<!--添加-->
<div class="ecsc-layout-210">
</div>
</div>
{if $goods_list}
<div class="mv">
<div id="filter">
<div class="component-filter-sort filter-store">
<div class="filter-sortbar" id="filter-sortbar" style=" width:958px; float:right; margin-right:1px;">
<div class="button-strip">
<a href="{$script_name}.php?id={$category}&merchant_id={$merchant_id}&display={$pager.display}&brand={$brand_id}&price_min={$price_min}&price_max={$price_max}&filter_attr={$filter_attr}&page={$pager.page}&sort=goods_id&order=<!-- {if $pager.sort == 'goods_id' && $pager.order == 'DESC'} -->ASC<!-- {else} -->DESC<!-- {/if} -->#goods_list" class="button-strip-item <!-- {if $pager.sort == 'goods_id'}-->current<!-- {/if} -->">默认<i class="icon <!-- {if $pager.sort == 'goods_id' && $pager.order == 'DESC'} -->icon-down<!-- {else} -->icon-up<!-- {/if} -->"></i></a>
<a href="{$script_name}.php?id={$category}&merchant_id={$merchant_id}&display={$pager.display}&brand={$brand_id}&price_min={$price_min}&price_max={$price_max}&filter_attr={$filter_attr}&page={$pager.page}&sort=sales_volume&order=<!-- {if $pager.sort == 'sales_volume' && $pager.order == 'DESC'} -->ASC<!-- {else} -->DESC<!-- {/if} -->#goods_list" class="button-strip-item <!-- {if $pager.sort == 'sales_volume'}-->current<!-- {/if} -->">销量<i class="icon <!-- {if $pager.sort == 'sales_volume' && $pager.order == 'DESC'} -->icon-down<!-- {else} -->icon-up<!-- {/if} -->"></i></a>
<a href="{$script_name}.php?id={$category}&merchant_id={$merchant_id}&display={$pager.display}&brand={$brand_id}&price_min={$price_min}&price_max={$price_max}&filter_attr={$filter_attr}&page={$pager.page}&sort=shop_price&order=<!-- {if $pager.sort == 'shop_price' && $pager.order == 'ASC'} -->DESC<!-- {else} -->ASC<!-- {/if} -->#goods_list" class="button-strip-item <!-- {if $pager.sort == 'shop_price'}-->current<!-- {/if} -->">价格<i class="icon icon-sx"></i></a>
<a href="{$script_name}.php?id={$category}&merchant_id={$merchant_id}&display={$pager.display}&brand={$brand_id}&price_min={$price_min}&price_max={$price_max}&filter_attr={$filter_attr}&page={$pager.page}&sort=last_update&order=<!-- {if $pager.sort == 'last_update' && $pager.order == 'DESC'} -->ASC<!-- {else} -->DESC<!-- {/if} -->#goods_list" class="button-strip-item <!-- {if $pager.sort == 'last_update'}-->current<!-- {/if} -->">新品<i class="icon <!-- {if $pager.sort == 'last_update' && $pager.order == 'DESC'} -->icon-down<!-- {else} -->icon-up<!-- {/if} -->"></i></a>
</div>
<div class="f-search">
<form method="GET" action="merchants_store.php" class="sort" name="listform">
<div class="fl"><input id="text-stock-search" class="text-stock-search" type="text" value="搜索商品关键字" name="keyword" autocomplete="off" onfocus="this.value=''"></div>
<div class="fl"><input id="btn-stock-search" class="btn-stock-search" type="submit" value="确定"></div>
<input type="hidden" name="category" value="{$category}" />
<input type="hidden" name="display" value="{$pager.display}" id="display" />
<input type="hidden" name="brand" value="{$brand_id}" />
<input type="hidden" name="price_min" value="{$price_min}" />
<input type="hidden" name="price_max" value="{$price_max}" />
<input type="hidden" name="filter_attr" value="{$filter_attr}" />
<input type="hidden" name="page" value="{$pager.page}" />
<input type="hidden" name="sort" value="{$pager.sort}" />
<input type="hidden" name="order" value="{$pager.order}" />
<input type="hidden" value="{$merchant_id}" id="merchant_id" name="merchant_id">
</form>
</div>
<div class="button-page">
<span class="pageState"><span>{$pager.page}</span>/{$pager.page_count}</span>
<!-- {if $pager.page_next} --><a href="{$pager.page_next}" title="下一页" class="demo">&gt;</a><!-- {else} --><a href="javascript:;">&gt;</a><!-- {/if} -->
<!-- {if $pager.page_prev} --><a href="{$pager.page_prev}" title="上一页">&lt;</a><!-- {else} --><a href="javascript:;">&lt;</a><!-- {/if} -->
</div>
</div>
</div>
</div>
<div class="j-module">
<ul>
{foreach from=$goods_list item=goods key=key}
<li style="margin-left:{if $key % 4 ==0}13{else}14{/if}px; margin-top: 15px; width: 229px; text-align:center;height:382px; overflow:hidden">
<div class="jItem" onmouseover="this.className='jItem_over jItem'" onmouseout="this.className='jItem'">
<div class="jPic">
<a target="_blank" href="{$goods.url}">
<img class="item_hd_{$goods.goods_id}" width="219" height="219" alt="{$goods.goods_name}" src="{$goods.goods_img}">
</a>
</div>
<div class="jGoodsInfo goods-info">
<div class="goods-pic-scroll-show" style="filter:progid:DXImageTransform.Microsoft.gradient(enabled='true',startColorstr='#E5FFFFFF', endColorstr='#E5FFFFFF');background:rgba(255,255,255,0.9); width: 209px; height: 35px; margin-bottom:5px;">
<!-- {if $goods.goods_id} -->
<div class="goodsItem" id="goods_item{$smarty.foreach.goods_list.iteration}">
<a href="javascript:void(0)" class="proThumb-prev ui-slide-arrow-s prev"></a>
<!--{if $goods.pictures}-->
<div class="hds bd">
<ul>
<!-- {foreach from=$goods.pictures name=picture item=picture}-->
<li<!--{if $smarty.foreach.picture.index eq 0}--> class="on"<!--{/if}--> data="hd_{$goods.goods_id}" style="width:30px; height:30px; margin:0 4px 0 0"><a href="javascript:void(0);"><img src="{if $picture.thumb_url}{$picture.thumb_url}{else}{$picture.img_url}{/if}" alt="{$goods.goods_name}" width="30" border="0" title="{$goods.goods_name}" /></a></li>
<!--{/foreach}-->
</ul>
</div>
<script type="text/javascript">
jQuery(".goodsItem").slide({mainCell:".hds ul",effect:"left",autoPlay:false,vis:5});
$(function(){
var hd_tab = $('.hds ul li');
hd_tab.hover(function(){
var hd_tab = $(this).attr('data');
var hd_img = $('.item_' + hd_tab);
var hd_goodsimg = $(this).find('img').attr('src');
hd_img.attr('src', hd_goodsimg);
$(this).addClass('on').siblings('li').removeClass('on');
})
})
</script>
<!--{/if}-->
<a href="javascript:void(0)" class="proThumb-next ui-slide-arrow-s next"></a>
</div>
<!--{/if}-->
</div>
<div style=" clear:both"></div>
<div class="jDesc" title="{$goods.goods_name}">
<a target="_blank" href="{$goods.url}">{$goods.goods_name}</a>
</div>
<div class="extra">
<span class="star">
<span class="star-white">
<span class="star-yellow h5"> </span>
</span>
</span>
<a href="{$goods.url}#content" target="_blank">已有{$goods.review_count}人评价</a>
</div>
<div class="jPrice">
<div class="jdPrice">
{if $goods.promote_price neq ''}
<span class="jdNum">{$goods.promote_price}</span>
{else}
<span class="jdNum">{$goods.shop_price}</span>
{/if}
</div>
</div>
<div class="jBtnArea hide">
<a onclick="addToCart({$goods.goods_id})" href="javascript:;">立即购买</a>
</div>
<div class="duli_btns">
<a class="btn-buy" onclick="addToCartShowDiv({$goods.goods_id})" href="javascript:;">加入购物车</a>
<a id="coll{$goods.goods_id}" class="btn-coll" onclick="collect({$goods.goods_id})">收藏</a>
</div>
</div>
</div>
</li>
{/foreach}
</ul>
</div>
</div>
{else}
<div style="text-align:center; font-size:16px; font-family:微软雅黑; color:#999; font-weight:bold; padding:80px; clear:both">
{$lang.no_search_result}
</div>
{/if}
</div>
<div id="content" style="width:970px; float:right; clear:both;">
<!-- #BeginLibraryItem "/library/pages.lbi" --> <!-- #EndLibraryItem -->
</div>
<div class="users_add" style="margin-bottom: 10px; margin-top:15px; float:left; overflow:hidden;">
{* ECSHOP 提醒您:动态载入position_get_adv_small.lbi,显示首页分类小广告 *}{insert name='get_adv_child' ad_arr=$adarr_bott id=$merchant_id}
</div>
<div id="product-track">
<!--{if $goods_new}-->
<div class="right">
<div id="maybe-like">
<div class="mt"><h2>新品推荐</h2></div>
<div class="mc bottom_outo">
<div class="bd">
<ul>
{foreach from=$goods_new item=goods key=key}
<li>
<div class="p-img">
<a href="{$goods.url}" title="{$goods.goods_name}" target="_blank">
<img width="220" height="220" src="{$goods.goods_thumb}" alt="">
</a>
</div>
<div class="p-info">
<div class="p-price">
<strong class="J-p-1072771509">
{if $goods.promote_price neq ''}
{$goods.promote_price}
{else}
{$goods.shop_price}
{/if}
</strong>
</div>
<div class="p-comm">
<a href="#" target="_blank">已有<em>{$goods.review_count}</em>人评价</a>
</div>
</div>
<div class="p-name">
<a href="{$goods.url}" title="{$goods.goods_name}" target="_blank" style=" color:#666666">{$goods.goods_name}</a>
</div>
</li>
{/foreach}
</ul>
</div>
</div>
</div>
</div>
<!--{/if}-->
<!--{if $goods_hot}-->
<div class="left">
<div id="recent-view-track" class="m m2">
<div class="mt">
<h2>热销商品</h2>
</div>
<div class="mc picscroll-top">
<div class="bdc">
<ul>
{foreach from=$goods_hot item=goods key=key name=sale}
<li {if $smarty.foreach.sale.last}class="last"{/if}>
<div class="p-img">
<a href="{$goods.url}" title="{$goods.goods_name}" target="_blank">
<img width="65" height="65" src="{$goods.goods_thumb}" alt="">
</a>
</div>
<div class="p-info">
<div class="p-name">
<a href="{$goods.url}" title="{$goods.goods_name}" target="_blank">{$goods.goods_name}</a>
</div>
<div class="p-price">
{if $goods.promote_price neq ''}
{$goods.promote_price}
{else}
{$goods.shop_price}
{/if}
</div>
</div>
</li>
{/foreach}
</ul>
</div>
</div>
</div>
</div>
<!--{/if}-->
</div>
</div>
<!-- #BeginLibraryItem "/library/page_footer.lbi" --><!-- #EndLibraryItem -->
</body>
<script type="text/javascript" src="themes/<?php echo $GLOBALS['_CFG']['template']; ?>/js/jquery.purebox.js"></script>
<script>
jQuery(".picscroll-top").slide({mainCell:".bdc ul",effect:"topLoop",autoPage:true,autoPlay:true,scroll:1,vis:7});
jQuery(".picScroll-left").slide({titCell:".hd ul",mainCell:".bd ul",effect:"left",autoPage:true,autoPlay:false});
$(function(){
var visible=false;
$(".attr-extra").click(function(){
visible=!visible;
if(visible){
$(".div_wrap").show();
$(this).text("收起");
}else{
$(".div_wrap").hide();
$(this).text("更多选项");
}
});
$('#area_address').hover(
function(){
$('.area_list_style').css({"display":"block"});
$('#area_address').css({"border-bottom":"none"});
}
)
$('.area_list_style').hover(
function(){
$(this).show();
$('#area_address').css({"border-bottom":"none"});
},
function(){
$(this).hide();
$('#area_address').css({"border-bottom":"1px solid #cecece"});
}
)
//鼠标经过弹出图片信息
$(".j-module ul li").hover(
function() {
$(this).find(".jGoodsInfo").animate({"bottom":0}, 400, "swing");
},function() {
$(this).find(".jGoodsInfo").stop(true,false).animate({"bottom": -45}, 400, "swing");
}
);
$('.s_box_id').mouseover(function(){
$(this).addClass('hover');
});
$('.s_box_id').mouseleave(function(){
$(this).removeClass('hover');
});
$('.s_box_cont').find('a').mouseover(function(){
$(this).addClass('p_bj');
});
$('.s_box_cont').find('a').mouseleave(function(){
$(this).removeClass('p_bj');
});
var leftCate = $(".left_cate").offset().top;
var leftHeight = $(".left_cate").height();
var product_track = $("#product-track").offset().top;
var users_add = $(".users_add").height();
var mv = $(".mv").height();
$(window).scroll(function(){
var scrollTop = $(window).scrollTop();
if(scrollTop>leftCate){
$(".left_cate").css({"position":"fixed","top":-19});
}else{
$(".left_cate").css({"position":"relative","top":0});
}
if(scrollTop>product_track-leftHeight-users_add){
$(".left_cate").css({"position":"absolute","top":mv-leftHeight-10});
}
});
});
{foreach from=$lang.compare_js item=item key=key}
{if $key neq 'button_compare'}
var {$key} = "{$item}";
{else}
var button_compare = '';
{/if}
{/foreach}
var compare_no_goods = "{$lang.compare_no_goods}";
var btn_buy = "{$lang.btn_buy}";
var is_cancel = "{$lang.is_cancel}";
var select_spe = "{$lang.select_spe}";
</script>
</html>