📄 goodslist2.jsp
字号:
<%@ include file="/_head.jsp"%>
<%@ page contentType="text/html; charset=UTF-8" %>
<%
ListVO lvo = bean.getListVO();
Vector v = lvo.getData();
Vector bv = (Vector)request.getAttribute("BRAND");
//Vector cv = (Vector)request.getAttribute("RESULT");
GenericVO tvo = null;
%>
<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">
<tr>
<td align="center" height="29" bgcolor="#FFFFCC">商品分类
</td>
</tr>
<tr>
<td>
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<%
for(int i=0;i<bv.size();i++){
tvo = (GenericVO)bv.elementAt(i);
%>
<tr>
<td width="10"> </td>
<td style="border-bottom:#cccccc <%=(i==(bv.size()-1))?"0":"1"%>px solid;" height="20">
<a href="/main.do?event=toGoodsList3&goodstype_id2=<%=bean.getItem("GOODSTYPE_ID2")%>&brand_id=<%=tvo.getItem("BRAND_ID")%>"><%=tvo.getItem("NAME")%></a></td>
<td width="10"> </td>
</tr>
<%
}
%>
<tr>
<td height="5" colspan="3"></td>
</tr>
</table>
</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 align="left">
<font color="#0000FF"><strong>商品列表</strong></font><span style="width:300px;"></span>
</div>
<hr color="#808080" size="0">
<div style="width:100%;">
<%
for(int i=0;i<v.size();i++){
tvo = (GenericVO)v.elementAt(i);
%>
<div style="border:#CCCCCC 0px solid;height:180px;padding-left:12px;padding-right:12px;padding-top:10px;padding-bottom:10px;float:left;">
<table style="border:#CCCCCC 0px solid;" cellSpacing="0" cellPadding="0" width="166" border="0">
<tr>
<td valign="middle" align="center" height="18">
<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")%>" alt=""></a>
</td>
</tr>
<tr>
<td align="center" height="25">
<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="10">
价格:<font color="#ff0000"><strong><%=tvo.getItem("PRICE2")%></strong></font>
</td>
</tr>
</table>
</div>
<%
}
%>
</div>
<hr color="#808080" size="0">
<div align="right">
<%=AppUtil.getFooter("/main.do?event=toGoodsList2", lvo, bean)%>
</div>
</div>
<div style="width:1004px;height:30px;"></div>
<%@ include file="/_foot.jsp"%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -