From f86c48f43c1577bdb33d905a70d0150b8453120f Mon Sep 17 00:00:00 2001
From: liyansheng <1761724207@qq.com>
Date: Sun, 22 Dec 2024 22:00:11 +0800
Subject: [PATCH] =?UTF-8?q?fix<=E6=B7=BB=E5=8A=A0=E6=A0=B7=E5=BC=8F>?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/main/webapp/cart.jsp | 84 ++++++++++
src/main/webapp/computerList.jsp | 279 ++++++++++++++++++++-----------
src/main/webapp/login.jsp | 93 ++++++++++-
src/main/webapp/myOrder.jsp | 84 ++++++++++
src/main/webapp/orders.jsp | 84 ++++++++++
src/main/webapp/register.jsp | 93 ++++++++++-
src/main/webapp/userList.jsp | 84 ++++++++++
7 files changed, 686 insertions(+), 115 deletions(-)
diff --git a/src/main/webapp/cart.jsp b/src/main/webapp/cart.jsp
index c28da24..f91dd49 100644
--- a/src/main/webapp/cart.jsp
+++ b/src/main/webapp/cart.jsp
@@ -7,6 +7,90 @@
购物车
+
diff --git a/src/main/webapp/computerList.jsp b/src/main/webapp/computerList.jsp
index e2c1381..52d21b4 100644
--- a/src/main/webapp/computerList.jsp
+++ b/src/main/webapp/computerList.jsp
@@ -1,111 +1,196 @@
<%@ page contentType="text/html; charset=UTF-8" language="java" %>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-
-
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+
+
-
-
-
-
-
电脑产品列表
-
+
+
+
+
+
+
电脑产品列表
+
+
+
+
+
电脑商城
+
你好!${sessionScope.user.username}
+
+ 电脑选购
我的购物车
+ 我的订单
-
- 发布电脑产品
-
-
-
-
-
\ No newline at end of file
+
+ 用户列表
+ 所有订单
+
+ 退出
+
+
+
+ 请登录后查看更多内容~
+
+ 注册
+ 登录
+
+
+
+
电脑产品列表
+
+ 发布电脑产品
+
+
+
+
+ ID |
+ 名称 |
+ 价格 |
+ 库存 |
+ 操作 |
+
+
+
+
+
+ ${computer.id} |
+ ${computer.name} |
+ ${computer.price} |
+ ${computer.stock} |
+
+
+ 编辑 |
+ 删除
+
+
+
+ 加购
+
+ |
+
+
+
+
+
+
+
+
${requestScope.msg}
+
+
+
+ 我的购物车
+
+
+
+
+
+
+
diff --git a/src/main/webapp/login.jsp b/src/main/webapp/login.jsp
index ae09049..f774b9e 100644
--- a/src/main/webapp/login.jsp
+++ b/src/main/webapp/login.jsp
@@ -1,12 +1,86 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
-
-
+
+
-
-
-
+
+
+
+
+
+
+
-电脑商城-用户登录
- ${requestScope.msg}
-
+
${requestScope.msg}
+
+
-
\ No newline at end of file
+