前端代码仿京东
<!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=gbk" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>{dede:field.title/}_{dede:global.cfg_webname/}</title>
<meta name="description" content="{dede:global.cfg_description/}" />
<meta name="keywords" content="{dede:global.cfg_keywords/}" />
<script type="text/javascript" src="/js/style.js"></script>
<script type="text/javascript">
function $(element) {
return document.getElementById(element);
}
//切屏--是按钮,_v是内容平台,_h是内容库
function reg(str){
var bt=$(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(){
$(this.subj+"_v").innerHTML=$(this.subj+"_h").getElementsByTagName("blockquote")[this.pai].innerHTML;
for(var j=0;j<$(this.subj+"_b").getElementsByTagName("h2").length;j++){
var _bt=$(this.subj+"_b").getElementsByTagName("h2")[j];
var ison=j==this.pai;
_bt.className=(ison?"":"h2bg");
}
}
}
$(str+"_h").className="none";
$(str+"_v").innerHTML=$(str+"_h").getElementsByTagName("blockquote")[0].innerHTML;
}
</script>
</head>
</head>
<body>
{dede:include filename="www.guangzhoukfp.com www.beijingkfp.com www.wuhankfp.com"/}
<div class="block vote">
<span>当前位置:{dede:field name='position'/} > {dede:field.title/}</span></div>
<div class="block clearfix">
<div id="left">
<!--#include file="/sort.php"-->
</div>
<div id="right" class="clearfix">
<div id="goodsInfo_img">
<div class="goodsImg">
<a href='{dede:field.exturl/}' target='_blank'><img width=310 height=310 src="{dede:field.litpic/}_310x310.jpg" alt="{dede:field.title/}" /></a>
</div>
</div>
<div id="goodsInfo_text">
<div class="clearfix">
<p class="f_l" style="margin-top:10px"><a href="{dede:field.exturl/}" target="_blank">{dede:field.title/}</a></p>
</div>
<li></li>
<li>店铺掌柜:{dede:field.contact/}</li>
<li>联系掌柜:<a target="_blank" width=77 height=19 href="http://amos1.taobao.com/msg.ww?v=2&uid={dede:field.contact/}&s=1" ><img border="0" src="http://amos1.taobao.com/online.ww?v=2&uid={dede:field.contact/}&s=1" alt="点击这里联系掌柜" /></a></li>
<li>掌柜信用:<img src='/img/credit/{dede:field.exlevel/}.gif' /></li>
<li>商品总数:{dede:field.auctioncount/}</li>
<li>所属分类:{dede:field name='typename'/}</li>
<div class="action">
<br><br><a href="{dede:field.exturl/}" target='_blank'><img src="/img/shop.gif" alt="去商家店铺看看。" /></a></div>
<div onclick="Scroll('goodsInfo_text', 600, 1.2);status('open');" id="open" class="open"></div>
</div>
<div id="com_b" class="goodsTagTitle clearfix">
<h2><span class="left"></span><span class="right"></span>{dede:field.title/} 详细介绍</h2>
<h2 class="h2bg"><span class="left"></span><span class="right"></span>商品简介</h2>
<h2 class="h2bg"><span class="left"></span><span class="right"></span>点击前往购买</h2>
</div>
<div id="com_v" class="clearfix"></div>
<div id="com_h">
<blockquote>
<br><br><div align=center><img src="{dede:field.litpic/}" alt="{dede:field.title/}" /></div>
<br><br><b>赛维数码科技编辑向您推荐{dede:field.title/},{dede:field.title/}是由淘宝网掌柜{dede:field.nick/}提供,如果你喜欢{dede:field.title/}请到淘宝网上通过支付宝购买。</b>
<br><br><div align=center><a href='{dede:field.exturl/}' target='_blank'><img src="/img/buy.gif" alt="到淘宝网站购买" /></a> <a href="{dede:field.exturl/}" target='_blank'><img src="/img/shop.gif" alt="去商家店铺看看。" /></a></div>
<br><script type="text/javascript"><!--
google_ad_client = "pub-3376810215432184";
/* 728x90, 创建于 10-6-8 */
google_ad_slot = "3476803407";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<h1><span>淘宝购物流程</span></h1>
<div class="remen"><img src="{dede:global.cfg_templeturl/}/taoke/images/mall_flow_20080430.png" width="740" height="79" /></div>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
</blockquote>
</div>
<script type="text/javascript">
<!--
reg("com");
//-->
</script>
<div class="clearfix" style="clear:both; margin-top:20px;">
</div>
</div>
</div>
<!--#include file="/footer.php"-->
</body>
</html>
浙公网安备 33010602011771号