📄 xiangxi.jsp~43~
字号:
<%@page contentType="text/html; charset=GBK"%>
<%@ page import="java.util.*" %>
<%@page import="taobaoproject.*" %>
<jsp:useBean id="goodsBean" scope="session" class="taobaoproject.GoodsBean" />
<jsp:setProperty name="goodsBean" property="*" />
<jsp:useBean id="goodsInfosBean" scope="session" class="taobaoproject.GoodsInfo_Bean" />
<jsp:setProperty name="goodsInfosBean" property="*" />
<jsp:include flush="true" page="head.jsp"/>
<html>
<head>
<title>xiangxi</title>
<link href="css//detail.css" type=text/css rel=stylesheet>
<link href="css//detail-left.css" type=text/css rel=stylesheet>
<LINK href="css/detail-right.css" type=text/css rel=stylesheet>
<LINK href="css/review.css" type=text/css rel=stylesheet>
</head>
<body bgcolor="#ffffff">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR>
<%
int classID =1;
String classff = request.getParameter("classID");
if(classff != null && !classff.equals("")) {
classID = java.lang.Integer.parseInt(classff);
}
else {
classID = 1;
}
int goodsID =1;
String goodsff = request.getParameter("goodsID");
if(goodsff != null && !goodsff.equals("")) {
goodsID = java.lang.Integer.parseInt(goodsff);
}
else {
goodsID = 1;
}
ArrayList goodsList = goodsInfosBean.getGoods_List(-1,goodsID,-1,-1,-1,-1,"");
GoodsBean goodsk = new GoodsBean();
goodsk = (GoodsBean)goodsList.get(0);
%>
<BODY>
<DIV id=PageWidth>
<!--top start-->
<!--top end--><!--ads start-->
<DIV id=StripeAds>
<div style="BACKGROUND-COLOR: #f7ebe7; TEXT-ALIGN: center">
<a href="">
<IMG alt="" hspace=0 src="images/ban_zhy_070629_sj_top02.gif" border=0>
</A>
</DIV>
</DIV>
<!--ads end--><!-- left start-->
<DIV id=left>
<%
ArrayList isDiscountList = goodsInfosBean.getGoods_List(15,-1,-1,-1,-1,1,"");
for(int i =0;i< isDiscountList.size();i++) {
GoodsBean isDiscountGoods = new GoodsBean();
isDiscountGoods = (GoodsBean)isDiscountList.get(i);
if(i ==0){
%>
<DIV id=left_td-bg>特价商品</DIV>
<DIV class=HackBox></DIV>
<DIV id=assort>
<UL>
<%} %>
<LI><a href="xiangxi.jsp?goodsID=<%=isDiscountGoods.getGoodsID() %>"><%=isDiscountGoods.getGoodsName() %></A>
<%} %>
</UL>
</DIV>
<DIV class=HackBox></DIV>
<%
ArrayList iserfinementList = goodsInfosBean.getGoods_List(15,-1,-1,1,-1,-1,"");
for(int i =0;i< iserfinementList.size();i++) {
GoodsBean iserfinementGoods = new GoodsBean();
iserfinementGoods = (GoodsBean)iserfinementList.get(i);
if(i ==0){
%>
<DIV id=left_td-bg>今日推荐</DIV>
<DIV class=HackBox></DIV>
<DIV id=topsales>
<UL><%} %>
<LI><a href="xiangxi.jsp?goodsID=<%=iserfinementGoods.getGoodsID() %>"><%=iserfinementGoods.getGoodsName() %></A>
<%} %>
</UL>
</DIV>
</DIV>
<DIV id=content>
<DIV id=buy-product>
</DIV>
<!-- buy-product end--><!-- product_info start-->
<TABLE>
<TBODY>
<TR>
<TD>
<DIV id=product-info>
<DIV>
<!-- 手机信息开始-->
<form action="buybook.jsp">
<input type="hidden" name="goodsID" value="<%=goodsk.getGoodsID() %>" />
<DIV class=product-title><%=goodsk.getGoodsName() %></DIV>
<DIV class=product-author> 品牌:
<a href="list.jsp?classID=<%=goodsk.getClassID() %>"><%=goodsk.getGoodsBrand() %></A>
</DIV>
</DIV>
<DIV id=product-pic>
<DIV id=productshowmidpic>
<a target="_blank" href="<%=goodsk.getGoodsUrl() %>">
<IMG height="150" width="150" class=product-pic id=ImageShow alt="<%=goodsk.getGoodsName() %>" src="<%=goodsk.getGoodsUrl() %>" border=0>
</A>
</DIV>
<DIV id=MorePic>
<a target="_blank" href="<%=goodsk.getGoodsUrl() %>">
<IMG src="images/az-see-more.gif" alt="" border=0>
</A>
</DIV>
</DIV>
<DIV id=info>
<DIV id=Price>
市场价:¥<S><%=goodsk.getMarketPrice() %></S>
</DIV>
<DIV id=JoyoPrice>
会员价: <SPAN class=our-price><%=goodsk.getMemberPrice() %></SPAN>
<SPAN class=PriceText> </SPAN>
</DIV>
<DIV id=JoyoPrice>
<SPAN class=SaleNumberText> 折扣: <SPAN class=SaleNumber><%=(int)Math.ceil((double)(goodsk.getMemberPrice()/goodsk.getMarketPrice())*100) %></SPAN> 折 </SPAN>
</div>
<DIV id=JoyoPrice>
<SPAN class=SalePriceText> 节省: <SPAN class=SalePrice><%=goodsk.getMarketPrice()-goodsk.getMemberPrice() %></SPAN> 元</SPAN>
</div>
<DIV id=btn-shopping-cart>
<a href="buybook.jsp">
<IMG src="images/az-add-to-shopping-cart-sm-pri.gif" border=0 alt="">
</A>
</DIV>
<DIV>
<STRONG>用户评分</STRONG>
暂无用户评分
</DIV>
</form>
<!-- 手机信息结束-->
</DIV>
</DIV>
</TD>
</TR>
</TBODY>
</TABLE>
<HR>
<DIV id=title>详细描述</DIV>
<DIV id=content-text>
<P>
<%=goodsk.getGoodsIntroduce() %>
</DIV>
<HR>
<BR>
<DIV id=title>同品牌其它商品</DIV>
<DIV id=gridview>
<%
ArrayList isHotList = goodsInfosBean.getGoods_List(3,-1,classID,-1,-1,1,"");
for(int i =0;i< isHotList.size();i++) {
GoodsBean isHotGoods = new GoodsBean();
isHotGoods = (GoodsBean)isHotList.get(i);
%>
<DIV class=item>
<DIV class=pic>
<a href="xiangxi.jsp?goodsID=<%=isHotGoods.getGoodsID() %>">
<IMG height=90 src="<%=isHotGoods.getGoodsUrl() %>" alt="<%=isHotGoods.getGoodsName() %>" width=70 border=0>
</A>
</DIV>
<DIV class=Name>
<a href="xiangxi.jsp?goodsID=<%=isHotGoods.getGoodsID() %>"><%=isHotGoods.getGoodsName() %></A>
</DIV>
<DIV class=Price> 会员价:¥ <SPAN class=our-price-small><%=isHotGoods.getMemberPrice() %></SPAN> 元
</DIV>
</DIV>
<%} %>
<div id="more-content"><a href="list.jsp?classID=<%=goodsk.getClassID() %>">[看更多同品牌商品]</a></div>
</DIV>
<HR>
</DIV>
</DIV>
<DIV class=HackBox></DIV>
</DIV>
<jsp:include flush="true" page="footer.jsp"/>
</BODY>
</HTML>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -