|
|
<!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 href="{$ecs_css_path}" rel="stylesheet" type="text/css" />
|
|
|
<link href="goods.css" rel="stylesheet" type="text/css" />
|
|
|
<link href="magiczoomplus.css" rel="stylesheet" type="text/css" />
|
|
|
{* 包含脚本文件 *}
|
|
|
{insert_scripts files='common.js'}
|
|
|
<script type="text/javascript">
|
|
|
function $id(element)
|
|
|
{
|
|
|
return document.getElementById(element);
|
|
|
}
|
|
|
//切屏--是按钮,_v是内容平台,_h是内容库
|
|
|
function reg(str)
|
|
|
{
|
|
|
var bt=$id(str+"_b").getElementsByTagName("h2");
|
|
|
|
|
|
for(var i=0;i<bt.length;i++)
|
|
|
{
|
|
|
bt[i].subj=str;
|
|
|
bt[i].pai=i;
|
|
|
bt[i].style.cursor="pointer";
|
|
|
|
|
|
bt[i].onclick=function()
|
|
|
{
|
|
|
$id(this.subj+"_v").innerHTML=$id(this.subj+"_h").getElementsByTagName("blockquote")[this.pai].innerHTML;
|
|
|
|
|
|
for(var j=0;j<$id(this.subj+"_b").getElementsByTagName("h2").length;j++)
|
|
|
{
|
|
|
var _bt=$id(this.subj+"_b").getElementsByTagName("h2")[j];
|
|
|
var ison=j==this.pai;
|
|
|
_bt.className=(ison?"":"h2bg");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
$id(str+"_h").className="none";
|
|
|
$id(str+"_v").innerHTML=$id(str+"_h").getElementsByTagName("blockquote")[0].innerHTML;
|
|
|
}
|
|
|
</script>
|
|
|
</head>
|
|
|
<body>
|
|
|
<!-- #BeginLibraryItem "/library/page_header.lbi" --><!-- #EndLibraryItem -->{insert_scripts files='magiczoomplus.js,easydialog.min.js'}
|
|
|
<script type="text/javascript" src="js/lizi_goods.js"></script>
|
|
|
<div id="wrapper">
|
|
|
<div class="breadcrumbs cle"> <!-- #BeginLibraryItem "/library/ur_here.lbi" --><!-- #EndLibraryItem -->
|
|
|
<!-- {if $goods.goods_brand neq "" and $cfg.show_brand} 显示產品品牌-->
|
|
|
<div class="right"><a href="{$goods.goods_brand_url}" target="_blank">进入{$goods.goods_brand}品牌馆</a> </div>
|
|
|
<!--{/if}-->
|
|
|
</div>
|
|
|
<div class="detail cle">
|
|
|
<!-- 图片 -->
|
|
|
<!-- #BeginLibraryItem "/library/goods_gallery.lbi" --><!-- #EndLibraryItem -->
|
|
|
|
|
|
<!-- 產品 -->
|
|
|
<div class="item-info" id="item-info">
|
|
|
<dl class="loaded">
|
|
|
<!-- 名字 -->
|
|
|
<dt class="product_name">
|
|
|
<h1>{$goods.goods_style_name}</h1>
|
|
|
<p class="desc"> <span class="gray">{$goods.goods_brief}</span> </p>
|
|
|
</dt>
|
|
|
|
|
|
<!-- 价格——正常时 -->
|
|
|
<dd class="property">
|
|
|
<ul>
|
|
|
|
|
|
<!-- {if $cfg.show_goodssn} 显示產品货号-->
|
|
|
<li> <span class="lbl">{$lang.goods_sn}</span> <em>{$goods.goods_sn}</em> </li>
|
|
|
<!-- {/if} -->
|
|
|
|
|
|
<!-- {if $cfg.show_goodsweight} 產品重量-->
|
|
|
<li> <span class="lbl">{$lang.goods_weight}</span> <em>{$goods.goods_weight}</em> </li>
|
|
|
|
|
|
<!-- {/if} -->
|
|
|
|
|
|
<!-- {if $cfg.show_marketprice} 市场价格-->
|
|
|
<li> <span class="lbl">{$lang.market_price}</span> <em class="cancel">{$goods.market_price}</em> </li>
|
|
|
<!-- {/if} -->
|
|
|
|
|
|
<li><span class="lbl">{$lang.exchange_integral}</span> <span class="unit"> <strong class="nala_price red">{$goods.exchange_integral}</strong> </span> </li>
|
|
|
|
|
|
|
|
|
|
|
|
<li><span class="lbl">销 量</span><span>最近售出<em class="red">{$goods.sales_volume_base}</em>件</span></li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
</dd>
|
|
|
|
|
|
<!-- 赠品 -->
|
|
|
|
|
|
<!-- 规格 -->
|
|
|
|
|
|
<dd class="tobuy-box cle">
|
|
|
|
|
|
<ul class="sku">
|
|
|
<form action="exchange.php?act=buy" method="post" name="ECS_FORMBUY" id="ECS_FORMBUY" >
|
|
|
|
|
|
<!-- {* 开始循环所有可选属性 *} -->
|
|
|
<!-- {foreach from=$specification item=spec key=spec_key} -->
|
|
|
<!-- {if $spec.attr_type eq 1} -->
|
|
|
|
|
|
<li class="sku_box cle" id="sku_box"> <span class="lbl">{$spec.name}</span>
|
|
|
<div id="sku_list" class="sku_list cle">
|
|
|
<!-- {foreach from=$spec.values item=value key=key} -->
|
|
|
<a {if $key eq 0}class="selected"{/if} href="javascript:;">{$value.label}<span class="icon_bg">已选中</span>
|
|
|
<input id="spec_value_{$value.id}" style="display:none;" type="radio" name="spec_{$spec_key}" value="{$value.id}" {if $key eq 0}checked{/if} />
|
|
|
</a>
|
|
|
<!-- {/foreach} -->
|
|
|
|
|
|
</div>
|
|
|
</li>
|
|
|
|
|
|
<!-- {else} -->
|
|
|
|
|
|
<li class="sku_box cle" id="sku_box"> <span class="lbl">{$spec.name}</span>
|
|
|
<div id="sku_list" class="sku_list cle">
|
|
|
<!-- {foreach from=$spec.values item=value key=key} -->
|
|
|
<label for="spec_value_{$value.id}">
|
|
|
<input type="checkbox" name="spec_{$spec_key}" value="{$value.id}" id="spec_value_{$value.id}" onclick="changePrice()" />
|
|
|
{$value.label} [{if $value.price gt 0}{$lang.plus}{elseif $value.price lt 0}{$lang.minus}{/if} {$value.format_price|abs}] </label>
|
|
|
</a>
|
|
|
<!-- {/foreach} -->
|
|
|
<input type="hidden" name="spec_list" value="{$key}" />
|
|
|
</div>
|
|
|
</li>
|
|
|
|
|
|
<!-- {/if} -->
|
|
|
<!-- {/foreach} -->
|
|
|
<!-- {* 结束循环可选属性 *} -->
|
|
|
|
|
|
<!-- 购买——正常按钮时 -->
|
|
|
<li class="add_cart_li"> <a href="javascript:$('#ECS_FORMBUY').submit();" class="btn" id="buy_btn"><i class="iconfont"></i>{$lang.exchange_goods}</a> </li>
|
|
|
<input type="hidden" name="goods_id" value="{$goods.goods_id}" />
|
|
|
</form>
|
|
|
</ul>
|
|
|
</dd>
|
|
|
</dl>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="detail_bgcolor">
|
|
|
<div class="z-detail-box cle">
|
|
|
<div class="z-detail-left">
|
|
|
<div class="itemContent">
|
|
|
<ul class="itemContentHead" id="D1">
|
|
|
<li data-position="D1" class="itemContentHeadFocus"><a href="javascript:void(0);">产品介绍</a></li>
|
|
|
<li data-position="D2"><a href="javascript:void(0);">规格参数</a></li>
|
|
|
<li data-position="D3"><a href="javascript:void(0);">评价 <em>({$goods.comments_number})</em></a></li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
<div class="product_tabs">
|
|
|
<div class="sectionbox z-box">
|
|
|
<div class="spxq_main">
|
|
|
<div class="spxq_dec">{$goods.goods_desc}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div id="D2" class="z-box sectionbox itemSpan">
|
|
|
<h4>规格参数</h4>
|
|
|
<div class="spxq_main">
|
|
|
<table>
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td width="20%" class="th"> 产品名称 :</td>
|
|
|
<td width="80%"> {$goods.goods_name}</td>
|
|
|
</tr>
|
|
|
<!-- {if $goods.goods_brand neq "" and $cfg.show_brand} 显示產品品牌-->
|
|
|
<tr>
|
|
|
<td width="20%" class="th"> 产品品牌 :</td>
|
|
|
<td width="80%"> {$goods.goods_brand}</td>
|
|
|
</tr>
|
|
|
<!--{/if}-->
|
|
|
<!-- {foreach from=$properties item=property_group key=key} -->
|
|
|
<!-- {foreach from=$property_group item=property} -->
|
|
|
<tr>
|
|
|
<td width="64" class="th"> {$property.name|escape:html}:</td>
|
|
|
<td> {$property.value}</td>
|
|
|
</tr>
|
|
|
<!-- {/foreach}-->
|
|
|
<!-- {/foreach}-->
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div id="D3" class="z-box sectionbox itemSpan">
|
|
|
<h4>用户评价</h4>
|
|
|
<!-- #BeginLibraryItem "/library/comments.lbi" --><!-- #EndLibraryItem -->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="z-detail-right">
|
|
|
<!-- #BeginLibraryItem "/library/goods_related.lbi" --><!-- #EndLibraryItem -->
|
|
|
<div class="tabs_bar_right">
|
|
|
<div class="tabs_bar2">精品推荐</div>
|
|
|
</div>
|
|
|
<div class="hot_box">
|
|
|
<ul>
|
|
|
<!--{foreach from=$best_goods item=goods name=goods}-->
|
|
|
{if $smarty.foreach.goods.iteration < 6}
|
|
|
<li>
|
|
|
<a href="{$goods.url}" target="_self">
|
|
|
<img width="194px" height="194px" data-original="{$goods.thumb}" src="images/spacer.gif" class="loading" />
|
|
|
<p>{$goods.short_style_name}</p>
|
|
|
<p class="hot_price">
|
|
|
<!-- {if $goods.promote_price neq ""} -->
|
|
|
{$goods.promote_price}
|
|
|
<!-- {else}-->
|
|
|
{$goods.shop_price}
|
|
|
<!--{/if}-->
|
|
|
</p>
|
|
|
</a>
|
|
|
</li>
|
|
|
{/if}
|
|
|
<!--{/foreach}-->
|
|
|
</ul>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="itemBar" style="">
|
|
|
<div class="wrapper">
|
|
|
<div class="itemBuy"><a href="javascript:$('#ECS_FORMBUY').submit();" class="itemAddCart">加入购物车</a></div>
|
|
|
<div class="itemMin" title="{$goods.goods_style_name}">
|
|
|
<span><img src="{$goods.goods_thumb}"></span>
|
|
|
<p>{$goods.goods_style_name}</p>
|
|
|
</div>
|
|
|
<ul class="itemContentHead" id="iteamBarHead">
|
|
|
<li id="H1" data-position="D1" class="itemContentHeadFocus"><a href="javascript:void(0);">产品介绍</a></li>
|
|
|
<li id="H2" data-position="D2"><a href="javascript:void(0);">规格参数</a></li>
|
|
|
<li id="H3" data-position="D3"><a href="javascript:void(0);">评价 <em>({$goods.comments_number})</em></a></li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- #BeginLibraryItem "/library/page_footer.lbi" --><!-- #EndLibraryItem -->
|
|
|
</body>
|
|
|
<script type="text/javascript">
|
|
|
<!-- {literal} -->
|
|
|
onload = function()
|
|
|
{
|
|
|
fixpng();
|
|
|
}
|
|
|
<!-- {/literal} -->
|
|
|
</script>
|
|
|
</html>
|