📄 compare.tag
字号:
<%-- 对比商品 --%>
<%@ tag pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<table id="tableProduct" width="100%" class="compareTable">
<tr>
<td width="100px" class="compareTitle">图片</td>
<c:forEach items="${requestScope.products}" var="product">
<td width="266" class="compareContent">
<a href='#' onclick="popZoom('ImagesView.aspx?ID=1003603')"title='${produdct.pname }'>
<img width='70' src='productphoto.do?id=${product.id}&pid=0' title='${produdct.pname }' />
</a>
</td>
</c:forEach>
</tr>
<tr>
<td class="compareTitle">名称</td>
<c:forEach items="${requestScope.products}" var="product">
<td width="266" class="compareContent">
<a href='productinfo.htm?id=${produdct.id }'title='${produdct.pname }' target='_blank'>${product.pname }</a>
</td>
</c:forEach>
</tr>
<tr>
<td class="compareTitle">品牌</td>
<c:forEach items="${requestScope.products}" var="product">
<td width="266" class="compareContent"><a href='brand.htm' target='_blank'>${product.brand }</a></td>
</c:forEach>
</tr>
<tr>
<td class="compareTitle">型号</td>
<c:forEach items="${requestScope.products}" var="product">
<td width="266" class="compareContent">${product.ptype }</td>
</c:forEach>
</tr>
<tr>
<td class="compareTitle">价格</td>
<c:forEach items="${requestScope.products}" var="product">
<td width="266" class="compareContent">¥${product.price }元</td>
</c:forEach>
</tr>
<tr>
<td class="compareTitle">人气指数</td>
<c:forEach items="${requestScope.products}" var="product">
<td width="266" class="compareContent">${product.viewpopluarity }</td>
</c:forEach>
</tr>
<tr>
<td class="compareTitle">参数</td>
<c:forEach items="${requestScope.products}" var="product">
<td width="266" class="compareContent" align="left" valign="top">参 数<br></td>
</c:forEach>
</tr>
<tr>
<td class="compareTitle">规格</td>
<c:forEach items="${requestScope.products}" var="product">
<td width="266" class="compareContent" align="left" valign="top">规 格<br></td>
</c:forEach>
</tr>
<tr>
<td class="compareTitle">详细描述</td>
<c:forEach items="${requestScope.products}" var="product">
<td width="266" class="compareContent">
<a href='productinfo.htm?pid=${product.id }'title='${product.pname }' target='_blank'>详细描述</a>
</td>
</c:forEach>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -