📄 productinfo.tag
字号:
<%-- 品牌内商品信息 --%>
<%@ tag pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<script type="text/javascript" src="js/util.js"></script>
<div id="BrandProductDiv">
<ul>
<c:forEach items="${requestScope.products}" var="product">
<li>
<table height="60" width="100%" border="0">
<tr>
<td width="15" rowspan="3">
<span title="1002718">
<input id="rpProduct_ctl00_cbProductID" type="checkbox" name="compare$Product" value="${product.id }"/>
</span>
</td>
<td width="120" rowspan="3" align="center">
<a href="#" onclick="${pageContext.request.contextPath }/productinfo.htm?pid=${product.id }" title="${product.pname }">
<img width="70" src="/upload/ProductImage/12578/2008/08/29/e5e771f9-8178-48fe-8bae-88962ba2a76d_s.jpg" alt="${product.pname }" />
</a>
</td>
<td class="Pblack">
<b><a href='${pageContext.request.contextPath }/productinfo.htm?pid=${product.id }' title="${product.pname }" target="_blank">
${product.pname }
</a></b>
</td>
<td width="120" rowspan="3" align="right" class="Pred">
${product.price }
</td>
<td width="90" rowspan="3" align="right">
<input name="rpProduct$ctl00$hdProductID" type="hidden" id="rpProduct_ctl00_hdProductID" value="1002718" />
<br />
<a href='#' name='purchase' >
<img src="images/product/buy.gif" border="0" onclick='javascript:buyProduct(${product.id },1);'/>
</a>
</td>
</tr>
<tr>
<td class="Pred">
${(empty product.summary) ? '暂无商品摘要信息' : product.summary}
</td>
</tr>
<tr>
<td>
人气指数: <span class="Pred"> ${product.viewpopluarity } </span>
</td>
</tr>
</table>
</li>
</c:forEach>
</ul>
<table width="100%" >
<tr>
<td>
<input type="image" name="imgCompare" id="imgCompare" src="images/product/btn_duobi.png" style="border-width:0px;" onclick="compareTo();"/>
</td>
</tr>
</table>
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -