📄 goodsdetail.jsp
字号:
<%@ include file="/_head.jsp"%>
<%@ page contentType="text/html; charset=UTF-8" %>
<div style="border:#cccccc 0px solid;width:218px;float:left;">
<div>
<table cellspacing="0" cellpadding="0" width="100%" border="1" style="border-collapse: collapse" bordercolor="#CCCCCC" height="134">
<tr>
<td align="center" height="29" bgcolor="#FFFFCC">购物车信息</td>
</tr>
<tr>
<td id="buyCart" height="105"></td>
</tr>
</table>
<script language="javascript" type="text/javascript">
sendRequest3('buyCart', '/main.do?event=toBuyCartLet');
</script>
</div>
<div style="height:20px;"></div>
<div>
<table cellspacing="0" cellpadding="0" width="100%" border="1" style="border-collapse: collapse" bordercolor="#CCCCCC" height="134">
<tr>
<td align="center" height="29" bgcolor="#FFFFCC">商品分类
</td>
</tr>
<tr>
<td id="tdCate" valign="top" height="105"></td>
</tr>
</table>
<script type="text/javascript">
sendRequest3("tdCate", "/htmlet/indexcate.htm");
</script>
</div>
<div style="height:20px;"></div>
<!--
<div>
<table cellpadding="2" width="100%" border="1" style="border-collapse: collapse" bordercolor="#CCCCCC" height="134">
<tr>
<td align="center" height="29" bgcolor="#FFFFCC">我浏览过的商品
</td>
</tr>
<tr>
<td height="105" valign="top" style="line-height: 150%">
<a href="http://www.buy.com.cn/Click.asp?FileName=2007-4-20/20074201356473.asp">索尼 W80 数码照相机</a><br>
<a href="http://www.buy.com.cn/Click.asp?FileName=2007-4-20/20074201356473.asp">索尼 W80 数码照相机</a><br>
<a href="http://www.buy.com.cn/Click.asp?FileName=2007-4-20/20074201356473.asp">索尼 W80 数码照相机</a><br>
</td>
</tr>
</table>
</div>
-->
</div>
<div style="border:#cccccc 0px solid;width:15px;float:left;"></div>
<div style="border:#cccccc 0px solid;width:774px;float:left;">
<div>
<table cellspacing="0" cellpadding="0" width="100%" border="0" style="border-collapse: collapse" bordercolor="#CCCCCC" height="134">
<tr>
<td height="105" style="padding:8px;" valign="top">
<div style="width:100%;">
<div style="padding-left:15px;padding-right:15px;padding-top:10px;padding-bottom:10px;float:left;">
<table style="border:0px solid #CCCCCC;; border-collapse:collapse" cellSpacing="0" cellPadding="0" width="744" border="0" bordercolor="#111111">
<tr>
<td align="center" height="10" width="169">
<img border="0" src="<%=bean.getItem("LOGO2")%>" alt=""></td>
<td height="10" width="573">
<font color="#0000FF" size="2"><span><strong><%=bean.getItem("NAME")%></strong></span></font>
</td>
</tr>
<tr>
<td align="center" height="105" width="169">
<a target="_blank" href="<%=bean.getItem("PHOTO")%>"><img onload="javascript:resizeimg2(this,125,125);" border="0" src="<%=bean.getItem("SPHOTO")%>" alt=""></a>
</td>
<td vAlign="top" height="105" width="573" style="line-height: 150%">
媒体价:¥<%=bean.getItem("PRICE1")%>.00<br>
价格:<strong><font color="#ff0000">¥<%=bean.getItem("PRICE2")%>.00</font><br>
</strong><font color="#ff0000">降↓</font>:¥<%=BaseUtil.toInt(bean.getItem("PRICE1"))-BaseUtil.toInt(bean.getItem("PRICE2"))%><br>
赠送积分:<font color="#ff0000"><%=bean.getItem("DOT")%></font><br>
计费重量:<%=bean.getItem("WEIGHT")%>克 库存状况:<%=bean.getItem("KUCUN")%> 商品人气:<%=bean.getItem("PV")%><br>
<img alt="" src="/images/review.gif" />
<img alt="" src="/images/go_to_bbs.gif" />
<a target="_blank" href="/main.do?event=doFavoriteAdd&goods_id=<%=bean.getItem("GOODS_ID")%>"><img alt="" src="/images/addtowishlist.gif" /></a>
<img alt="" src="/images/mailtofriand.gif" />
</td>
</tr>
<tr>
<td align="center" height="28" width="169">
<a target="_blank" href="<%=bean.getItem("PHOTO")%>"><img border="0" src="/images/zoom.gif" width="63" height="38" alt=""></a>
</td>
<td style="border-top:#000000 1px solid;" height="20" width="573">
<a href="/main.do?event=doAddToCart&goods_id=<%=bean.getItem("GOODS_ID")%>"><img alt="" src="/images/addtobasket.gif" /></a>
</td>
</tr>
</table>
</div>
</div>
<div>
<div align="left"><img border="0" src="/images/allow.gif" width="6" height="6" alt=""> 商品描述</div>
<hr color="#C0C0C0" size="1">
<%=bean.getItemStr2("DESCRIPTION")%>
<br>
<div align="left">
<img border="0" src="/images/allow.gif" width="6" height="6" alt=""> 相关商品
<hr color="#C0C0C0" size="1">
<%
Vector rg = (Vector)bean.getItem("RELATEGOODS");
GenericVO tvo = null;
for(int i=0;i<rg.size();i++){
tvo = (GenericVO)rg.elementAt(i);
%>
<div style="border:#CCCCCC 0px solid;height:170px;padding-left:10px;padding-right:10px;padding-top:10px;padding-bottom:10px;float:left;">
<table style="border:#CCCCCC 0px solid;" cellSpacing="0" cellPadding="0" width="168" border="0">
<tr>
<td vAlign="bottom" align="center" height="10">
<img border="0" src="<%=tvo.getItem("LOGO1")%>" alt=""></td>
</tr>
<tr>
<td valign="middle" align="center" height="91">
<a href="/main.do?event=toGoodsDetail&goods_id=<%=tvo.getItem("GOODS_ID")%>"><img onload="javascript:resizeimg2(this,91,91);" border="0" src="<%=tvo.getItem("SPHOTO")%>" width="91" height="91" alt=""></a>
</td>
</tr>
<tr>
<td align="center" height="9">
<a href="/main.do?event=toGoodsDetail&goods_id=<%=tvo.getItem("GOODS_ID")%>"><font color="#0000FF"><strong><%=tvo.getItem("NAME")%></strong></font></a>
</td>
</tr>
<tr>
<td align="center" height="11">
价格:<strong><font color="#ff0000"><%=tvo.getItem("PRICE2")%> </font></strong>
</td>
</tr>
</table>
</div>
<%
}
%>
</div>
</td>
</tr>
</table>
</div>
</div>
<div style="width:1004px;height:30px;"></div>
<%@ include file="/_foot.jsp"%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -