WebRoot/WEB-INF/views/modules/product/product_cart_list.jsp

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>
<%@ include file="/WEB-INF/layouts/base.jsp"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<html>
<head>
<title>我的购物车 - 二次元商城</title>
<link rel="stylesheet" href="${ctxsta}/os/css/cart.css">
<link rel="stylesheet" href="${ctxsta}/common/icheck/flat/orange.css" />
</head>
<body>
<!-- 轮播top菜单导航引入 -->
<jsp:include page="/WEB-INF/views/modules/common/site_header.jsp" />
<!-- 轮播top菜单导航引入 --> 

<!-- 我的购物车begin -->
<div class="page-main">
  <div class="container-fluid">
    <div class="catbox hide" id="J_cartBox">
      <table id="cartTable">
        <thead>
          <tr>
            <th>选择商品</th>
            <th>商品名称</th>
            <th>单价</th>
            <th>数量</th>
            <th>小计</th>
            <th>操作</th>
          </tr>
        </thead>
        <tbody>
          <c:forEach items="${sessionScope.cart.shoppingCartVOs}" var="shoppingCart">
            <tr data-sid="${shoppingCart.productSpecNumber}">
              <td class="checkbox"><input data-initial="true" data-sid="${shoppingCart.productSpecNumber}" data-check-status="1" class="check-one check" type="checkbox"/></td>
              <td class="goods"><a href="${ctx}/detail/${shoppingCart.productNumber}" target="_blank"><img src="${ctximg}/${shoppingCart.picImg}" alt="${shoppingCart.name}"/></a> <a href="${ctx}/detail/${shoppingCart.productNumber}" target="_blank"><span>${shoppingCart.name}
                <c:forEach items="${shoppingCart.specificationName}" var="specificationName">&nbsp;${specificationName}</c:forEach>
                </span></a></td>
              <td class="price">${shoppingCart.price}</td>
              <td class="count"><div class="change-goods-num clearfix J_changeGoodsNum"> <a href="javascript:void(0)" class="reduce">-</a>
                  <input class="count-input goods-num J_goodsNum" type="text" value="${shoppingCart.buyNumber}" readonly/>
                  <a href="javascript:void(0)" class="add">+</a> </div></td>
              <td class="subtotal">${shoppingCart.buyNumber * shoppingCart.price}</td>
              <td class="operation"><div class="col-action"><a href="javascript:void(0);" title="删除" class="del J_delGoods"  data-sid="${shoppingCart.productSpecNumber}" onclick="cart_list_delete(this,${shoppingCart.productSpecNumber})"><i class="glyphicon glyphicon-remove"></i></a> </div></td>
            </tr>
          </c:forEach>
        </tbody>
      </table>
      <div class="cart-bar clearfix" id="J_cartBar">
        <div class="section-left"> <a href="${ctx}/list?categoryId=1">继续购物</a> <span class="cart-total">共 <i id="J_cartTotalNum"></i> 件商品,已选择 <i id="J_selTotalNum"></i> 件</span></div>
        <span class="total-price"> 合计(不含运费):<em id="J_cartTotalPrice"></em>元 </span> <a href="javascript:void(0);" class="btn btn-a btn btn-primary" id="J_goCheckout" onclick="J_goCheckout();">去结算</a>
        <div class="no-select-tip hide" id="J_noSelectTip"> 请勾选需要结算的商品 <i class="arrow arrow-a"></i> <i class="arrow arrow-b"></i> </div>
      </div>
    </div>
  <div class="cart-empty hide" id="J_cartEmpty">
            <h2>您的购物车还是空的!</h2>
            <p class="login-desc">登录后将显示您之前加入的商品</p>
            <a href="#" class="btn btn-primary btn-login" id="J_loginBtn">立即登录</a>
            <a href="${ctx}/list?categoryId=1" class="btn btn-primary btn-shoping J_goShoping">马上去购物</a>
        </div>
  </div>
后面还有 13 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。