WebRoot/WEB-INF/views/modules/common/product_cart_topbar.jsp
(完整代码) 1KB<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>
<%@ include file="/WEB-INF/layouts/base.jsp"%>
<!-- 导航栏购物车 begin -->
<c:if test="${not empty sessionScope.cart.shoppingCartVOs}">
<ul class="cart-list">
<c:forEach items="${sessionScope.cart.shoppingCartVOs}" var="shoppingCart">
<li>
<div class="cart-item clearfix first"><a class="thumb" href="${ctx }/item/${shoppingCart.productNumber}"><img alt="${shoppingCart.name}" src="${ctximg }/${shoppingCart.picImg}" width="60" height="60"></a><a class="name" href="${ctx }/item/${shoppingCart.productNumber}">${shoppingCart.name}
<c:forEach items="${shoppingCart.specificationName }" var="specificationName"> ${specificationName}</c:forEach>
</a><span class="price">${shoppingCart.price}元 × ${shoppingCart.buyNumber}</span><a class="btn-del J_delItem" href="javascript: void(0);"><i class="glyphicon glyphicon-remove" onclick="cart_delete(this, ${shoppingCart.productSpecNumber})"></i></a></div>
</li>
</c:forEach>
</ul>
<div class="cart-total clearfix"><span class="total">共 <em>${cartVO.totalNumber }</em> 件商品<span class="price"><em>${cartVO.totalPrice }</em>元</span></span><a href="${ctx}/cart/" class="btn btn-primary btn-cart">去购物车结算</a></div>
</c:if>
<c:if test="${empty sessionScope.cart.shoppingCartVOs}">
<div class="loading"> 购物车中还没有商品,赶紧选购吧! </div>
</c:if>
<!-- 导航栏购物车 end -->
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。