WebRoot/WEB-INF/jsp/cart.jsp
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0043)http://localhost:8080/mango/cart/list.jhtml -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>购物车</title>
<link href="${pageContext.request.contextPath}/css/common.css"
rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath}/css/cart.css"
rel="stylesheet" type="text/css" />
</head>
<body>
<%@ include file="menu.jsp"%>
<div class="container cart">
<s:if test="#session.cart.cartItems.size() != 0">
<div class="span24">
<div class="step step1">购物车信息</div>
<table>
<tbody>
<tr>
<th>图片</th>
<th>商品</th>
<th>价格</th>
<th>数量</th>
<th>小计</th>
<th>操作</th>
</tr>
<s:iterator var="cartItem" value="#session.cart.cartItems">
<tr>
<td width="60"><img
src="${pageContext.request.contextPath}/<s:property value="#cartItem.product.image"/>"></td>
<td><a target="_blank"><s:property
value="#cartItem.product.pname" /></a></td>
<td>¥<s:property value="#cartItem.product.shop_price" />
</td>
<td class="quantity" width="60"><s:property
value="#cartItem.count" /></td>
<td width="140"><span class="subtotal">¥<s:property
value="#cartItem.subtotal" /></span></td>
<td><a
href="${ pageContext.request.contextPath }/cart_removeCart.action?pid=<s:property value="#cartItem.product.pid"/>"
class="delete">删除</a></td>
</tr>
</s:iterator>
</tbody>
</table>
<dl id="giftItems" class="hidden" style="display: none;">
</dl>
<div class="total">
<em id="promotion"></em> <em> 登录后确认是否享有优惠 </em> 赠送积分: <em
id="effectivePoint"><s:property value="#session.cart.total" /></em>
商品金额: <strong id="effectivePrice">¥<s:property
后面还有 47 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。