WebContent/assets/pages/shoppingcart.jsp
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>cartlist.jsp</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<link rel="stylesheet" type="text/css"
href="<c:url value='/assets/dist/css/list.css'/>">
</head>
<body>
<!-- 头部导航 -->
<%@ include file="topnav.jsp"%>
<c:if test="allCartItem.list.size == 0">
<table width="95%" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="right"><img align="top"
src="<c:url value='/assets/dist/img/icon_empty.png'/>" /></td>
<td><span class="spanEmpty">您的购物车中暂时没有商品</span></td>
</tr>
</table>
</c:if>
<c:else>
<h4 style="color:red; margin-left:135px;border-bottom: 2px red solid;height:35px;width:75px">全部商品</h4>
<table width="80%" align="center" cellpadding="0" cellspacing="0" style="margin-top:20px;margin-bottom:100px;">
<tr align="center" bgcolor="#efeae5">
<td align="left" width="80px"><input type="checkbox"
id="selectAll" checked="checked" style="margin-left:20px;" /><label for="selectAll">全选</label>
</td>
<td colspan="2"><b style="margin-left:-220px;">商品名称</b></td>
<td>单价</td>
<td>数量</td>
<td>小计</td>
<td>操作</td>
</tr>
<c:iterator value="allCartItem.list">
<tr align="center">
<td align="left">
<input value="<c:property value="cartId" escape="false" />"
type="checkbox" name="checkboxBtn" checked="checked" style="margin-left:20px;" />
</td>
<td align="left" width="70px">
<c:url var="idURL" action="selectById">
<c:param name="goodsId">
后面还有 209 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
