📄 goodslist1.jsp
字号:
<%@ include file="/_head.jsp"%>
<%@ page contentType="text/html; charset=UTF-8" %>
<%
Vector gv = (Vector)request.getAttribute("GOOD");
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<cv.size();i++){
tvo = (GenericVO)cv.elementAt(i);
%>
<tr>
<td width="10"> </td>
<td style="border-bottom:#cccccc <%=(i==(cv.size()-1))?"0":"1"%>px solid;" height="20">
<a href="/main.do?event=toGoodsList2&goodstype_id2=<%=tvo.getItem("GOODSTYPE_ID") %>"><%=tvo.getItem("TYPENAME") %></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:764px;float:left;">
<div align="left"><font color="#0000FF"><strong>精选推荐</strong></font></div>
<hr color="#808080" size="0">
<div style="width:100%;">
<%
for(int i=0;i<gv.size();i++){
tvo = (GenericVO)gv.elementAt(i);
%>
<div style="height:175px;text-align:center;padding-left:5px;padding-right:5px;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="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 valign="middle" align="center" height="32">
<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="5">
价格:<font color="#ff0000"><strong><%=tvo.getItem("PRICE2")%>.00</strong></font>
</td>
</tr>
</table>
</div>
<%
}
%>
</div>
</div>
<div style="width:1004px;height:30px;"></div>
<%@ include file="/_foot.jsp"%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -